ZoneHVAC_TerminalUnit_VariableRefrigerantFlow supplyAirFan in OS measure
So, the following seems to work reasonably well:
vrfs_in = model.getZoneHVACTerminalUnitVariableRefrigerantFlows
vrfs_in.each do |vrf_in|
puts vrf_in.name
cooling_coil = vrf_in.coolingCoil().get
puts cooling_coil.name
end
However, the following fails, stating that the get method is undefined:
vrfs_in = model.getZoneHVACTerminalUnitVariableRefrigerantFlows
vrfs_in.each do |vrf_in|
puts vrf_in.name
supply_air_fan = vrf_in.supplyAirFan().get
end
Yet, both coolingCoil() and supplyAirFan() appear to have identical "status" per this reference, and so I would have thought they both can be treated the same way? Why does it fail for supplyAirFan() but not for coolingCoil()?