First time here? Check our help page!
1

Ventilation Report Measure?

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)
TheEnergyTutor's avatar
868
TheEnergyTutor
asked 2020-07-30 15:45:07 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-08-01 11:05:26 -0500
edit flag offensive 0 remove flag 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 -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's avatar TheEnergyTutor (2020-07-31 08:56:15 -0500) edit
add a comment see more comments

1 Answer

3

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

ericringold's avatar
10.6k
ericringold
answered 2020-07-31 09:12:36 -0500, updated 2020-07-31 09:15:40 -0500
edit flag offensive 0 remove flag delete link

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 -0500) 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 -0500) edit
add a comment see more comments