lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb in openstudio-standards-0.2.12.rc1 vs lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb in openstudio-standards-0.2.12.rc2

- old
+ new

@@ -63,9 +63,13 @@ # @return [String] reheat type. One of NaturalGas, # Electricity, or HotWater. def air_terminal_single_duct_vav_reheat_reheat_type(air_terminal_single_duct_vav_reheat) type = nil + if air_terminal_single_duct_vav_reheat.to_AirTerminalSingleDuctVAVNoReheat.is_initialized + return nil + end + # Get the reheat coil rht_coil = air_terminal_single_duct_vav_reheat.reheatCoil if rht_coil.to_CoilHeatingElectric.is_initialized type = 'Electricity' elsif rht_coil.to_CoilHeatingWater.is_initialized