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

Combination of Simulations in Energyplus

asked 2018-06-02 21:21:42 -0500

Arc Honist's avatar

updated 2018-06-04 18:01:31 -0500

I want to perform different permutations and combinations of different parameters in energyplus Unfortunately,each new object in Parametric:SetValueForRun every value is in correspondence to the run E.g.: if Run 3 is going on,Object 1 will use value 3; Object 2 will use value 3 and so on Is it possible in anyway to set that until object 1 values have not been finished, the values from other objects will be constant like a loop in a loop E.g: obj 1 has 10 values but object 2 has 5 Therefore total runs are 50 and on run 11; 10th value is chosen from object 1 and and 2nd value from object 2 is used Thus allowing simulation of all possible combinations

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-06-04 11:09:18 -0500

There are probably some more sophisticated options for doing permutations using EnergyPlus than the Parametric objects. Search for "parametrics" and you will find a bunch. OpenStudio has a way, jePlus, eppy, etc.

If you really do want to using the Parametric objects, I would suggest that you simply enumerate every combination within each Parametric:SetValueForRun object. So if you have two variable each with three values (1, 2 and 3), you would make the first Parametric:SetValueForRun 1, 1, 1, 2, 2, 2, 3, 3, 3, and the second Parametric:SetValueForRun 1, 2, 3, 1, 2, 3, 1, 2, 3. Crude but effective.

edit flag offensive delete link more

Comments

Unfortunately,the maximum amount of runs in this scenario is only limited to 100. The variables that I am changing create combinations that exceed 100 That is the actual problem here Also could you please elaborate on jeplus and eppy please

Arc Honist's avatar Arc Honist  ( 2018-06-04 13:58:30 -0500 )edit

It has been a while since I worked on the ParametricPreprocessor's code but I do not believe that it is fundamentally limited to 100 runs. In fact, I think there is no specific limit for the number of runs. If you are using IDF Editor, that only shows 100 fields but that can be extended by editing the IDD file (see https://unmethours.com/question/4734/...)

JasonGlazer's avatar JasonGlazer  ( 2018-06-05 08:03:45 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2018-06-02 21:21:42 -0500

Seen: 246 times

Last updated: Jun 04 '18