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 2023-12-07 06:38:22 -0500

jt1234's avatar

updated 2023-12-07 08:52:41 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-12-07 09:05:52 -0500

updated 2023-12-07 09:06:09 -0500

  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
edit flag offensive delete link more

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: 2023-12-07 06:38:22 -0500

Seen: 56 times

Last updated: Dec 07 '23