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

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

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

How to find locate each reheat heating water 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. locate them. My primary idea is check checking whether thoes coil these coils belong to any other HVAC Components, 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.containgHVACComponent.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.containgHVACComponent.empty?
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