emorph
├ *.py - scripts demo
├ /cases
└ /openstudio
├ /gbxmls - gbXML resource
├ /seeds - blank/template .osm
├ /weather - weather resource
├ /measures - openstudio measures
│ └ /*
│ ├ measure.rb
│ └ measure.xml
└ /workflow
├ /run - Utility functions
└ *.osw - openstudio workflows
This openstudio workflow will create a prototype building with perimeter-core zoning, set its space type and construction by ASHRAE default, run ideal loads system and get the time series of cooling load in .csv output. Make sure you have 3.X version OpenStudio SDK installed
# replace the installation path in run_osw.py
# which is 'C:\openstudio-3.X.0\bin\openstudio.exe' by default
> py run_osw.py
# the script writes a .osw file under ./openstudio/workflow/
# then execute it by calling openstudio
or test the workflow by command line
> openstudio.exe run -w prototype.osw
The best practice to standardize your workflow may be:
- Serialize your typical configurations in the template .osm file, the Schedule:Compact, SimulationControl, Output:Variables...
- Create a standard .osw template with placeholders so that you can render it by user inputs, with engines like Jinja2