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

Revision history [back]

Error using ComStock create_typical_building_from_model measure

I ran into the following error while using the ComStock create_typical_building_from_model measure with the ashrae_90_1_2016 template. I get the same error with ashrae_90_1_2019. Can anyone suggest where I should look to troubleshoot?

Failed to run workflow. Last Error:
  Found error in state 'OpenStudioMeasures' with message: 'Runner error: Measure '/~ ... /measures/create_typical_building_from_model/measure.rb' reported an error with [SWIG director method error. ArgumentError: comparison of Float with nil failed

Traceback (most recent call last):
:/ruby/2.7.0/gems/openstudio-standards-0.5.0/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.PumpVariableSpeed.rb:138:in `>'
:/ruby/2.7.0/gems/openstudio-standards-0.5.0/lib/openstudio-standards/prototypes/ashrae_90_1/ashrae_90_1_2016/ashrae_90_1_2016.PumpVariableSpeed.rb:138:in `pump_variable_speed_get_control_type'
:/ruby/2.7.0/gems/openstudio-standards-0.5.0/lib/openstudio-standards/prototypes/common/objects/Prototype.PumpVariableSpeed.rb:31:in `pump_variable_speed_control_type'
:/ruby/2.7.0/gems/openstudio-standards-0.5.0/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb:1794:in `block in model_apply_prototype_hvac_assumptions'
:/ruby/2.7.0/gems/openstudio-standards-0.5.0/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb:1794:in `each'
:/ruby/2.7.0/gems/openstudio-standards-0.5.0/lib/openstudio-standards/prototypes/common/objects/Prototype.Model.rb:1794:in `model_apply_prototype_hvac_assumptions'