example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/waterheater.rb in urbanopt-cli-0.5.2 vs example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/waterheater.rb in urbanopt-cli-0.6.0

- old
+ new

@@ -181,9 +181,10 @@ if water_heating_system.water_heater_type == HPXML::WaterHeaterTypeCombiStorage if water_heating_system.standby_loss <= 0 fail 'A negative indirect water heater standby loss was calculated, double check water heater inputs.' end + act_vol = calc_storage_tank_actual_vol(water_heating_system.tank_volume, nil) a_side = calc_tank_areas(act_vol)[1] ua = calc_indirect_ua_with_standbyloss(act_vol, water_heating_system, a_side, solar_fraction) else ua = 0.0