lib/openstudio-standards/standards/Standards.Model.rb in openstudio-standards-0.2.16.rc1 vs lib/openstudio-standards/standards/Standards.Model.rb in openstudio-standards-0.2.16.rc2
- old
+ new
@@ -3982,10 +3982,13 @@
loop.remove
end
# Air loops
model.getAirLoopHVACs.each(&:remove)
+ if model.version > OpenStudio::VersionString.new('3.1.0')
+ model.getAirLoopHVACDedicatedOutdoorAirSystems.each(&:remove)
+ end
# Zone equipment
model.getThermalZones.sort.each do |zone|
zone.equipment.each do |zone_equipment|
next if zone_equipment.to_FanZoneExhaust.is_initialized
@@ -5205,9 +5208,10 @@
# htg_fuels.size == 0 shoudln't happen
electric = true
if htg_fuels.include?('NaturalGas') ||
+ htg_fuels.include?('Propane') ||
htg_fuels.include?('PropaneGas') ||
htg_fuels.include?('FuelOilNo1') ||
htg_fuels.include?('FuelOilNo2') ||
htg_fuels.include?('Coal') ||
htg_fuels.include?('Diesel') ||