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

Revision history [back]

click to hide/show revision 1
initial version

Not sure about alternative measures. However, in my experience of changing any HVAC via measures, the biggest issue was "left-over" components that aren't connected to anything, but are still in the model. What I'd do is edit the measure to identify the existing components and remove them. For example, I do the following for unit heaters when I'm swapping other things in

    #--------------------------------------------------------------------------------------
    ## Removing unit heaters/air loops from zone if they're not the selected system
    if hvac_type != "Unit Heater"

      # Start looking for and removing unit heaters
      model.getZoneHVACUnitHeaters.each do |unitheater|
        if unitheater.to_ZoneHVACComponent.get.thermalZone.get.empty?
          runner.registerWarning("Your unit heater #{unitheater.name.get.to_s} is without a thermal zone")
        elsif unitheater.to_ZoneHVACComponent.get.thermalZone.get == thermzon
          unitheater.to_ZoneHVACUnitHeater
          unitheater.supplyAirFan.remove
          unitheater.heatingCoil.remove
          unitheater.remove
        end
      end
      # End removing unit heaters

*thermzon here is a thermal zone being checked in an each/do loop