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 2020-05-26 04:08:31 -0600

sergerwehbe's avatar

updated 2020-05-26 09:26:24 -0600

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

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2020-05-26 18:55:07 -0600

updated 2020-05-26 18:55:58 -0600

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

edit flag offensive delete link more
3

answered 2020-05-26 14:23:48 -0600

Aly ElHefny's avatar

updated 2020-05-26 14:25:04 -0600

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 !

edit flag offensive delete link more
1

answered 2020-05-27 09:20:07 -0600

sergerwehbe's avatar

updated 2020-05-27 14:28:25 -0600

Thank you a lot.

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

Thanks again

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

2 followers

Stats

Asked: 2020-05-26 04:08:31 -0600

Seen: 375 times

Last updated: May 27 '20