First time here? Check our help page!
2

Combination of Simulations in Energyplus

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

Arc Honist's avatar
21
Arc Honist
asked 2018-06-02 21:21:42 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-06-04 18:01:31 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2018-06-04 11:09:18 -0500
edit flag offensive 0 remove flag delete link

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