Revision history  [back]

How to locate each heating water coil by Ruby binding?

I have some redundant heating water coil in plant loop, OpenStudio model, but I'm not sure how to locate them. My primary idea is checking whether these coils belong to any other HVAC Components (reheater, etc), 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.containingHVACComponent.empty?
            hotWaterLoop.removeDemandBranchWithComponent(coil)
        end
    end
end

How to locate each heating water coil by Ruby binding?

Hi, I have some redundant heating water coil in plant loop, OpenStudio model, but I'm not sure how to locate them. My primary idea is checking whether these coils belong to any other HVAC Components (reheater, etc), 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.containingHVACComponent.empty?
            hotWaterLoop.removeDemandBranchWithComponent(coil)
        end
    end
end

How to locate each heating water coil by Ruby binding?

Hi, I have some redundant heating water coil in plant loop, OpenStudio model, but I'm not sure how to locate them. My primary idea is checking whether these coils belong to any other HVAC Components (reheater, etc), 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.containingHVACComponent.empty?
coil.containgHVACComponent.empty?
            hotWaterLoop.removeDemandBranchWithComponent(coil)
        end
    end
end

How to locate find each heating water reheat coil location by Ruby binding?

Hi, I have some redundant heating water coil in plant loop, OpenStudio model, but I'm not sure how to locate them. verify. My primary idea is checking check whether these coils thoes coil belong to any other HVAC Components (reheater, etc), 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

How to find each reheat coil location by Ruby binding?

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