Using OpenStudio Results Measure as an 'always run measure' causes crash
Every time I use the OpenStudio Results Measure, no matter which model I am using, the simulation always fails. Then when I try to remove the measure, the simulation won't run as it did before. No .err file is created.
The simulation reads the following after pressing 'run':
Initializing workflow. Processing OpenStudio Measures. Translating the OpenStudio Model to EnergyPlus. Processing EnergyPlus Measures. Failed.
It seems like there may be something invalid in your OSM file that fails when it forward translates to an IDF prior to running the simulation. What happens if you open the model in the OpenStudio Application and choose File Export to IDF? Does it produce a file, does it crash, does it give any warnings?
Hi, thanks for looking into this! This problem is not specific to one OSM file but any OSM file I create. If I add the measure to always run under the reporting measures subtab then the simulation fails when I run in OpenStudio. I can file export to IDF without issue whether I have the measure added in OpenStudio or not. This IDF file appears to run the simulation normally in EP, so I am assuming there is some problem in the OpenStudio Application software somewhere? The reason I am adding the measure to begin with is that my OSM files don't seem to produce OpenStudio reports as standard.
@jaklloyd, do you mind letting me know what version of the OpenStudio Application you are using, and when EnergyPlus simulation fails, what is the severe error that leads to the fatal error? This will be in the
eplusout.err
file which you can open with a text editor.No problem - I am using OpenStudio Application 1.0.0 with OpenStudio 3.0.0 as core version. The Energy Plus simulation does not appear to run - in OpenStudio, after hitting 'run' it reads:
Initializing workflow. Processing OpenStudio Measures. Translating the OpenStudio Model to EnergyPlus. Processing EnergyPlus Measures. Failed.
However it does create a file called 'run' which has a really long error that is too long to paste here, but it starts:
[20:58:19.134901 ERROR] Found error in state 'preprocess' with message [":/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb failed with message cannot load such file -- C:/Users/Spare/AppData/Local/Temp/osmodel-1597089327-0/resources/measures/OpenStudio Results/resources/Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit in eval:129:in
require'\neval:129:in
require'\n:/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\n