Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Editing the 'Enable Ideal Air Loads' measure is probably the easiest. All it should take is changing this (lines 41-48):

thermalZones = model.getThermalZones
thermalZones.each do |zone|
  if zone.useIdealAirLoads
    startingIdealAir << zone
  else
    zone.setUseIdealAirLoads(true)
  end
end

to this:

thermalZones = model.getThermalZones
thermalZones.each do |zone|
  if zone.useIdealAirLoads
    startingIdealAir << zone
    zone.setUseIdealAirLoads(false)
  end
end