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

Revision history [back]

click to hide/show revision 1
initial version

Possible causes for "Optional is not initialized" error in an OpenStudio Results measure?

Hi there, I am getting the following error when attempting to run a measure to specify single DX heating and cooling

Found error in state 'os_measures' with message :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with message Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized, C:/Users/AppData/Local/Temp/osmodel-1684756282-1/resources/measures/a_20230522_ashptest_1 1 1 1 1/measure.rb:34:in `get'

Not sure where to start with debugging this, and the only other post I can find online related to this error does not seem relevant to my own context. Any help would be appreciated in figuring out when this type of error arises, and what possible next steps are to resolve - thank you!

Possible causes for "Optional is not initialized" error in an OpenStudio Results measure?

Hi there, I am getting the following error when attempting to run a measure to specify single DX heating and cooling

Found error in state 'os_measures' with message :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with message Runner error :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb failed with Optional not initialized, C:/Users/AppData/Local/Temp/osmodel-1684756282-1/resources/measures/a_20230522_ashptest_1 1 1 1 1/measure.rb:34:in `get'

Not sure where to start with debugging this, and the only other post I can find online related to this error does not seem relevant to my own context. Any help would be appreciated in figuring out when this type of error arises, and what possible next steps are to resolve - thank you!