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

EnergyPlus Parameterize an IMF for Parametric Simulation

asked 2016-06-14 10:39:44 -0600

I'm aware of how to do a parametric run in an IDF file but when attempted in an IMF I receive errors. Is it possible to do parametric simulations directly in the IMF file? If so, what is the syntax?

edit retag flag offensive close merge delete


There are several different way to do parametric simulations with EnergyPlus, which one are you using?

JasonGlazer's avatar JasonGlazer  ( 2016-06-14 10:59:01 -0600 )edit

I'm referring to parameterizing a variable directly within the IMF file. Without the use for third-party applications or splitting the file into individual configurations.

JustinShultz's avatar JustinShultz  ( 2016-06-14 13:24:11 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-12-11 15:17:46 -0600

I wanted to touch base on this question. I have since found a tool able to do parametric simulation on EnergyPlus IMF files. It is not native to EnergyPlus but it is quite powerful and has really sped up my parametric studies, especially since it compiles all the output results into one file too.

The tool is called jEPlus, main page can be found here. There are a number of video tutorials that can be found here.The one that helped me with parametric IMF manipulation was this one here.

I hope this is helpful to someone else looking for the answer to this question.

edit flag offensive delete link more

answered 2016-06-14 20:39:36 -0600

Chandan Sharma's avatar

updated 2016-06-14 20:40:37 -0600

One approach is to run EP-Macro first and get out.idf. Then out.idf can be run using EP-Launch which will automatically run parametric preprocessor program. AbsorptionChiller_Macro.imf EnergyPlus example file is a good place to start. The HVAC3ZoneMat-Const.idf below can have Parametric:SetValueForRun etc. objects.

##include C:\EnergyPlusV8-5-0\HVAC3ZoneMat-Const.idf
edit flag offensive delete link more


Yeah, I could run the IMF file, take the .expidf file, rename to .idf and parameterize that file. However, I would like to parameterize an IMF defined variable that is used to calculate a number of other variables in the IMF.

I guess my question would be more simply worded as: Can I parameterize a ##set1 variable[] =?

JustinShultz's avatar JustinShultz  ( 2016-06-15 14:41:36 -0600 )edit

Do you mean by using Parametric:SetValueForRun? If so, than no you cannot use those variables in a EPMacro ##set1 statement.

JasonGlazer's avatar JasonGlazer  ( 2016-06-16 10:38:58 -0600 )edit

So I guess the best way is to simulate the IMF to get the IDF and then parameterize the IDF file?

Thank you for your time.

JustinShultz's avatar JustinShultz  ( 2016-06-16 15:35:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2016-06-14 10:39:44 -0600

Seen: 862 times

Last updated: Dec 11 '16