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
3

Make My own Output Variable in Energyplus?

asked 4 years ago

sergerwehbe's avatar

updated 4 years ago

Hi all, I would like to create my own output variable from my IDF Output:Variable object.

I have several zone in my building ( for exmp zone 1, 2,3). From my RDD File I have "HVAC,Average,Zone Ideal Loads Zone Sensible Heating Rate [W]".

In the excel File, I obtained:

-Zone 1 Ideal Loads Zone Sensible Heating Rate [W]

-Zone 2 Ideal Loads Zone Sensible Heating Rate [W]

-Zone 3 Ideal Loads Zone Sensible Heating Rate [W]

How to create my own Output variable to be the sum of all Ideal Loads zone sensible heating rate?

Thank you

Preview: (hide)

3 Answers

Sort by » oldest newest most voted
2

answered 4 years ago

updated 4 years ago

As alternative of what Aly suggested, , always through EMS:

1- create 3 EMS:Sensors to take in your 3 variable (same as Aly suggested);

2- write a simple EMS:Program to sum the 3 Sensors: ZoneTot = Zone1 + Zone2 + Zone3 (same as Aly suggested);

3- call the program through a EMS:CallingManager : my suggesiton Before Zone Time Step reporting

4- create an EMS:OutputVariable that calls the EMS variable sum of the three Sensors (ZoneTot),

5- than create a standard Output:Variable (that could sounds like ZoneTotFromEMS), with "*" as Key Value and the EMS variable name (ZoneTot) as Variable Name

Please see steps 4- and 5- in the screenshot as exapmle for the sum of Chillers Cooling Energy

image description

Preview: (hide)
link
3

answered 4 years ago

Aly ElHefny's avatar

updated 4 years ago

Hello Sergerwehbe, one suggestion is that you can assign the three values to sensors of EMS, add their values in EMS. Then if the EMS variable cannot be displayed directly through Output:Variable, you can create a dummy schedule compact type to be ON for all days, then in EMS assign the sum value to an actuator pointing to the dummy schedule you created. Now you will have a schedule that has a value of the sum at each timestep where you can display it using Output:Variable directly in your excel file.

Hope this helps a little bit !

Preview: (hide)
link
1

answered 4 years ago

sergerwehbe's avatar

updated 4 years ago

Thank you a lot.

I've tried both methods, and they are working well.

Thanks again

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

2 followers

Stats

Asked: 4 years ago

Seen: 420 times

Last updated: May 27 '20