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

Revision history [back]

You can't insert python code in the E+ model, it's the reverse: you use python to edit the idf file and then call the E+ simulation through eppy. In this case you should build your idf as usual and then use the python script to fill those fields you want to scroll in the parametric simulation.

However, as suggested by Tom, I would recommend using jEPlus, because it's a very easy tool to start with. It is also limited in its functionality, therefore you can use python scripts to cover its shortcomings. You can include python scripts in the parameter tree (i.e. use them before the E+ simulation starts, to build your idf) or in the rvx file (i.e. use them after the simulation, in the results collection phase).