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 -0600

TheEnergyTutor's avatar

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

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's avatar Aaron Boranian  ( 2020-07-31 08:02:21 -0600 )edit

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

TheEnergyTutor's avatar TheEnergyTutor  ( 2020-07-31 08:56:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

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

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

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

Comments

I need to write a measure test for this to confirm the fix, which I have not had a chance to, but if someone wants to check this out and try it, would be good to know if it works. https://github.com/NREL/openstudio-co...

David Goldwasser's avatar David Goldwasser  ( 2020-08-11 15:06:34 -0600 )edit

Updated measure is now on BCL. In addition to this fix, it was also updated to support unoccupied zones. Added test using small office prototype.

David Goldwasser's avatar David Goldwasser  ( 2020-08-17 18:00:42 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

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

Seen: 2,648 times

Last updated: Jul 31 '20