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 2024-04-07 11:06:56 -0500

codygillmore's avatar

updated 2024-04-14 07:05:40 -0500

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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2024-04-13 08:36:54 -0500

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

edit flag offensive delete link more

Comments

This is super helpful. Thank you!

codygillmore's avatar codygillmore  ( 2024-04-14 11:00:29 -0500 )edit
1

answered 2024-04-07 11:37:17 -0500

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...

edit flag offensive delete link more

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  ( 2024-04-09 15:55:56 -0500 )edit

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  ( 2024-04-16 03:09:45 -0500 )edit

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  ( 2024-04-19 06:42:43 -0500 )edit

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  ( 2024-04-23 10:11:11 -0500 )edit

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: 2024-04-07 11:06:56 -0500

Seen: 158 times

Last updated: Apr 13