Hi, I have some redundant heating water coil in plant loop, OpenStudio model, but I'm not sure how to verify. My primary idea is check whether thoes coil belong to any other HVAC Components, or belong to some air loop. any other possibility? here is my Ruby code:
coils = model.getCoilHeatingWaters
hotWaterLoop = model.getPlantLoopByName('hot water loop')
coils.each do |coil|
if coil.airLoopHVAC.empty?
if coil.containgHVACComponent.empty?
hotWaterLoop.removeDemandBranchWithComponent(coil)
end
end
end