Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

How can I generate an eQuest "parms" equivalent in OpenStudio?

asked Apr 7

codygillmore's avatar

updated Apr 14

In eQuest, you can use the energy efficiency wizard to run measures and then a parms.csv file is created stating the energy use of each measure run. This was used in my analysis workflow to show energy savings of each measure. Is there a way to perform this same analysis?

This seems like a straightforward thing and I am probably missing something basic, but can't seem to find it.

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
2

answered Apr 13

There are notebooks here that document how to use the various SDK and CLI methods to run parametric analyses using OSAF.

Preview: (hide)
link

Comments

This is super helpful. Thank you!

codygillmore's avatar codygillmore  ( Apr 14 )
1

answered Apr 7

The functionality to do parametric analyses and optimizations is in a separate tool, the Parametric Analysis Tool (PAT). You can get that tool from https://github.com/NREL/OpenStudio-PAT and read more about it at https://nrel.github.io/OpenStudio-use...

Preview: (hide)
link

Comments

Thanks for this. I knew of PAT and its capabilities, but am trying to use OpenStudio SDK to run measures and determine energy savings from there. It doesn't look like there is any documentation for running PAT via CLI. Are you aware if it is possible to mimic PAT's functionality using CLI? Mainly running a workflow.osw file via CLI and exporting the energy savings of each measure run?

codygillmore's avatar codygillmore  ( Apr 9 )

Dump a workflow.osw on disk, use whatever scripting language you're using to syscall to the OpenStudio CLI and run the workflow (eg: python subprocess.check_output(['openstudio', 'run', '-w', 'workflow.osw'])). If using Ruby, you have some helper functions in openstudio-standards, cf https://github.com/NREL/openstudio-st...

Julien Marrec's avatar Julien Marrec  ( Apr 16 )

Thanks Julien. This is my current process, I am mainly wondering if there is a measure to aggregate the resulting energy use (ideally by end use type) for each measure run in an easy to read excel/csv file? example: Measure 1 = 100,000 kWh; Measure 2 = 86,000 kWh; etc...

codygillmore's avatar codygillmore  ( Apr 19 )

Either use PAT, or write your own. You can load the sqlFile (either in Ruby/Python directly, or via OpenStudio::SqlFile and it's totalSiteEnergy method for eg) and query the energy use.

Julien Marrec's avatar Julien Marrec  ( Apr 23 )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: Apr 7

Seen: 397 times

Last updated: Apr 13 '24