NREL / gbxml-to-openstudio

Releases of the OpenStudio CLI for Revit Systems Analysis.
5 stars 2 forks source link

Add Error Logging for EnergyPlus Runs #118

Open anchapin opened 2 years ago

anchapin commented 2 years ago

Use branch feature/energyplus-reporting.

Previously simulations would run like: openstudio run --workflow workflow.osm​

Now: openstudio run -w workflow.osw --measures-only​ ExpandObjects.exe​ (or the macOS equivalent) python run-energyplus.py​ openstudio run -w workflow.osw --postprocess-only   Current Issue: The reporting measures don’t work as expected, I believe this is due to the original single process maintaining certain variables in memory (e.g. the advanced_import_gbxml measure sets runner.unitsPreference in memory for post-process measures like openstudio_results to use, we’d have to modify it to persist that value to the run directory and modify the other measures to read it (or they can all just parse the xml, but that seems unnecessary).