2

Read RunPeriod parameters from python

Hello,

Is there any way to read the RunPeriod parameters of an EP model exported as FMU ? When I call the FMU in python, I would like to be able to check if the start date and end date are consistent with data in my python script.

Thank you very much for your help, C.

clcs's avatar
113
clcs
asked 2020-04-03 07:47:28 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2020-04-03 11:31:22 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

After running the FMU, a folder will be created which is called Output_EPExport_XXX. XXX will be your FMU model instance name. In that folder, you can see the IDF which is used for the run as well as the RunPeriod. You can also look at the output results file of the EnergyPlus FMU (e.g. .csv file) to see the simulation period.

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2020-04-06 07:28:49 -0500
edit flag offensive 0 remove flag delete link

Comments

Awesome, thank you. I hadn't noticed these files. I was looking for something to check the run period just after loading the FMU and before initializing it. These files are created after initialization unfortunately, but I'll work with it.

clcs's avatar clcs (2020-04-07 09:37:30 -0500) edit
add a comment see more comments