First time here? Check our help page!
3

Make My own Output Variable in Energyplus?

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

sergerwehbe's avatar
233
sergerwehbe
asked 2020-05-26 04:08:31 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-05-26 09:26:24 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

3

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 !

Aly ElHefny's avatar
482
Aly ElHefny
answered 2020-05-26 14:23:48 -0500, updated 2020-05-26 14:25:04 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
2

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

Ag's avatar
1.4k
Ag
answered 2020-05-26 18:55:07 -0500, updated 2020-05-26 18:55:58 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

Thank you a lot.

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

Thanks again

sergerwehbe's avatar
233
sergerwehbe
answered 2020-05-27 09:20:07 -0500, updated 2020-05-27 14:28:25 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments