First time here? Check out the Help page!

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

Add ChillerElectricEIR to tertiary loop

asked 1 year ago

jt1234's avatar

updated 1 year ago

I'm trying to revive an old OpenStudio measure I wrote from a few years back that added the ChillerElectricEIR object to a tertiary loop to function as a heat recovery system so I would end up with a supply-side connection on a chiller water loop and a hot water loop as well as a demand-side connection on a condenser system. We can't manually drag/drop the object in the GUI to a third plant loop so the measure relied on the function 'addToTertiaryNode.' It appears this function is not longer available in the newer versions of OS so I'm looking for something equivalent. Does that function exist?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 1 year ago

updated 1 year ago

  1. Yes, you can do it in the OpenStudio Application.

    • Put a chiller onto the supply side of the Chilled water loop, and then on the demand side (via the My Model tab!) of the condenser loop.
    • Now go to your heat recovery loop, and drag again the same chiller from "My Model" tab to the demand side of that loop. Your chiller will be on all three loops.
    • The OpenStudio SDK logic in addToNode is that if you try to connect a ChillerElectricEIR to the demand side of a loop, if it's already connected on the demand side and does not have a Heat Recovery yet, then addToTertiaryNode is called. (see C++ source here)
  2. addToTertiaryNode is still perfectly valid. ChillerElectricEIR is a WaterToWaterComponent, and the method is there (and functional, I just tested). https://s3.amazonaws.com/openstudio-s...

    • Your mistake is very likely that you aren't working with the chiller as a ChillerElectricEIR or a WaterToWaterComponent but probably as an HVACComponent or a ModelObject. You need to cast it, via modelObject.to_ChillerElectricEIR.get
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 1 year ago

Seen: 100 times

Last updated: Dec 07 '23