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

Ventilation Report Measure?

asked 2020-07-30 15:45:07 -0500

TheEnergyTutor gravatar image

updated 2020-08-01 11:05:26 -0500

Is this measure broken?

image description

[16:39:02.101159 WARN] Could not get data for ZoneComponentLoadSummary TZ BC2 Estimated Cooling Peak Load Components Fenestration Solar Total.
[16:39:02.103869 WARN] Could not get data for ZoneComponentLoadSummary TZ BC2 Cooling Peak Conditions Time of Peak Load Value.
Zone:TZ 100
Get Ventilation
Get Infiltration
Get Occupant
Unoccupied: 0, Lightly Occupied: 0
[16:39:02.870246 ERROR] undefined method `getOutdoorAirFlowperPerson' for #<OpenStudio::Model::DesignSpecificationOutdoorAir:0x0000022e3b9a75e8>
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:239:in `block (2 levels) in run'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:224:in `each'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:224:in `block in run'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:141:in `each'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:141:in `run'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:514:in `apply_measure'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:109:in `block in apply_measures'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:67:in `apply_measures'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/jobs/run_reporting_measures.rb:105:in `perform'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:292:in `step'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:234:in `run'
:/openstudio_cli.rb:973:in `execute'
:/openstudio_cli.rb:763:in `execute'
:/openstudio_cli.rb:1757:in `<main>'
eval:149:in `eval'
eval:149:in `require_embedded_absolute'
eval:123:in `block in require'
eval:117:in `each'
eval:117:in `require'
eval:3:in `<main>'
[16:39:02.872974 ERROR] :/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb failed with message 
Runner error :/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb failed with undefined method `getOutdoorAirFlowperPerson' for 
#<OpenStudio::Model::DesignSpecificationOutdoorAir:0x0000022e3b9a75e8>, 
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:239:in `block (2 levels) in run'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:224:in `each'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:224:in `block in run'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:141:in `each'
C:/Users/Steve/AppData/Local/Temp/osmodel-1596140605-0/resources/measures/VentilationQAQC/measure.rb:141:in `run'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:514:in `apply_measure'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:109:in `block in apply_measures'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/measure.rb:67:in `each_index'
:/ruby/2.5.0 ...
(more)
edit retag flag offensive close merge delete

Comments

Are you using the Ventilation Report measure from the Building Component Library (BCL)? It looks like it's failing when using the getOutdoorAirFlowperPerson method. This can either be because the method isn't used properly in the measure, or because it's not defined correctly in your OSM for the zone that you're applying this measure to.

Aaron Boranian gravatar imageAaron Boranian ( 2020-07-31 08:02:21 -0500 )edit

Yeah i just grabbed it from the library and ran it to see what it does. The only option is "all zones"

TheEnergyTutor gravatar imageTheEnergyTutor ( 2020-07-31 08:56:15 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-07-31 09:12:36 -0500

updated 2020-07-31 09:15:40 -0500

Yes, the getFoo methods that returned a Quantity were deprecated. That measure needs to be updated to use outdoorAirFlowperPerson on line 239, outdoorAirFlowperFloorArea on line 240, and outdoorAirFlowAirChangesperHour on line 242.

@David Goldwasser

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2020-07-30 15:45:07 -0500

Seen: 49 times

Last updated: Jul 31