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

Multiple run in EnergyPlus

asked 2018-01-18 10:07:01 -0600

mifg8's avatar

updated 2018-01-18 12:06:33 -0600

I need help to model the following things: energy consumption electric equipment will be different at each interval (15 minutes) and it will be for 24 hours simulation. I want to find my hvac consumption due to the use of the equipment for the day and similarly I need the consumption for 30 replication(30 days) where energy consumption for each 15 minutes will be different. How can I model this.

edit retag flag offensive close merge delete

Comments

Can you try rephrasing your question? Are you asking, "what percent of my HVAC energy consumption is attributable to internal electrical equipment loads?"?

mdahlhausen's avatar mdahlhausen  ( 2018-01-18 17:59:43 -0600 )edit

Also could you explain what you have tried so far, and what specifically is giving you trouble? This sounds like a generic "how do I model" question, which can be hard to answer on this type of forum. Modeling equipment variation and looking at the resulting HVAC load is a pretty fundamental part of energy modeling, so I might suggest going through an introductory tutorial or how-to guide.

bbrannon4's avatar bbrannon4  ( 2018-01-18 18:30:16 -0600 )edit

@bbrannon4@mdahlhausen As I get it he asks how to automate 30 runs. Maybe PAT or some kind of integrated simulation (Matlab?).

Avi's avatar Avi  ( 2018-01-19 00:10:31 -0600 )edit

I am trying to determine the HVAC energy consumption using the example template of HVACunitary5zone system where I want to assign the value for electric equipment. The power of the equipment will be changed at each time step, my timestep is 15 minutes, already defined. The value of power consumption will also be changed in every run (desired: 10 replication).

mifg8's avatar mifg8  ( 2018-01-19 18:22:50 -0600 )edit

(Rest of @mifg8 's comment)

It will be looked like this:

timestep: 00:15 00:30 00:45 ..... Run 1: 10 15 30 ........ Run 2: 20 15 10........... .............. I have defined a variable "$EE$" in the electric equipment. Then in schedule I call the variable and change the variable with different variables "$EE1$,$EE2$,..." equal to the number of timestep. Lastly, in "parametric:set value for run" I have implement the two dimensional matrix. However, it's not working. Please help me to figure it out.

Aaron Boranian's avatar Aaron Boranian  ( 2018-01-20 08:11:17 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2018-01-22 02:39:16 -0600

bbrannon4's avatar

It's still not clear what your question is. Here are some suggestions if what @mdahlhausen suggested doesn't help.

It sounds like you may have successfully run one simulation of the model and would now like to run it with parallel simulations for your 10 replications? To make the parametric simulations work you just need to have a unique text in the equipment or schedule, and then define a Parametric:SetValueForRun for each of them, and a Parametric:FileNameSuffix to name the output files, and Parametric:RunControl to tell the simulation to run for each.

If you've got that working but are having trouble viewing the outputs in 15 minute intervals, then there are two things that need to be set. First, the Timestep needs to be set to 4 per hour (or whatever you want). Then the Output:Variable or Output:Meter objects all should have they Reporting Frequency set to "Timestep". Most of the example files default to hourly, monthly, or annual.

Otherwise, can you try to be more specific, like posting what error messages you are seeing, or what IDF objects you currently have for the parallel simulation? Alternatively, feel free to just send your IDF file.

edit flag offensive delete link more

Comments

It helps. However, probably I have missed something. That's why it's not working. How can i upload the IDF file. it shows me that only image file I can upload. Please help to solve the issue

mifg8's avatar mifg8  ( 2018-01-23 12:26:17 -0600 )edit

@mifg8 either you can change the extension of the IDF (for example to .jpg) and upload it (a bit of a hack) or you could post the contents to pastebin and share the link.

Jamie Bull's avatar Jamie Bull  ( 2018-01-24 09:06:48 -0600 )edit
1

answered 2018-01-21 14:46:51 -0600

Define a Schedule:File object from a .csv file of 15 min interval values. You can then set the Electric Equipment schedule to follow this schedule.

edit flag offensive delete link more
-1

answered 2018-01-23 15:58:24 -0600

mifg8's avatar

updated 2018-01-23 15:59:41 -0600

I have attached the image of the formulation. Is it right?problem.jpg

edit flag offensive delete link more

Comments

This should be posted as a comment, not an answer. In any case, I think your main problem may be adding a variable to the equipment name. Do you need that name to change every time, or just the values?

bbrannon4's avatar bbrannon4  ( 2018-01-23 16:32:14 -0600 )edit

I need to change the value with time step and also with the number of replication

mifg8's avatar mifg8  ( 2018-01-23 16:45:24 -0600 )edit

You need to change the name of the equipment?

bbrannon4's avatar bbrannon4  ( 2018-01-23 16:47:08 -0600 )edit

delete this answer and edit your original question to add it there. This is a StackExchange format, not a forum format.

In your model, your value definitions are the same as your object names; that's not going to work. I think your best bet is to use the Schedule:File object as mentioned above, and change the reference .csv file for each run if you want to stay in native EnergyPlus. If you did this in OpenStudio, you could very easily set this up as a parametric run with an Electrical Equipment measure.

mdahlhausen's avatar mdahlhausen  ( 2018-01-23 17:53:26 -0600 )edit

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: 2018-01-18 10:07:01 -0600

Seen: 779 times

Last updated: Jan 23 '18