First time here? Check our help page!
3

EnergyPlus Parameterize an IMF for Parametric Simulation

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?

JustinShultz's avatar
1.3k
JustinShultz
asked 2016-06-14 10:39:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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 -0500) 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 -0500) edit
add a comment see more comments

2 Answers

2

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
Chandan Sharma's avatar
2.4k
Chandan Sharma
answered 2016-06-14 20:39:36 -0500, updated 2016-06-14 20:40:37 -0500
edit flag offensive 0 remove flag delete link

Comments

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 -0500) edit
1

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 -0500) 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 -0500) edit
add a comment see more comments
1

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.

JustinShultz's avatar
1.3k
JustinShultz
answered 2016-12-11 15:17:46 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments