Energy+ and FMU initial conditions problem

asked 2019-03-15 07:09:09 -0500

Paolo's avatar

updated 2019-03-17 11:11:45 -0500

Deal all, I wrapped an EnergyPlus model using the EnergyPlusToFMU tool. Since we will run experiment in real time and with setpoints/meteo/renewableEnergy that comes from the outside (optimization, weather station, PVstation), I configured the idf in order to accept all this external signals. Everything seems to work correctly, a part for one thing. Rooms temperature (and %humidity) at the beginning of the simulation are really low (see picture 1 where the first day is represented, 180s simulation timestep). The strange thing is that if I remove the actuator that overwrites the outdoor air bulb temperature, temperatures initialize well!

ps: I launched the two FMU with a simulator. The only difference between the two FMUs is the above-mentioned actuator (that I must use!) Could be this a bug? Thank in advance for the answer. Paolo



edit retag flag offensive close merge delete


Have you set the initial conditions of the ExternalInterface actuators you are using?Those are the values which will be used during warm-up period of your model.

Thierry Nouidui's avatar Thierry Nouidui  ( 2019-03-15 14:18:34 -0500 )edit

Hi Thierry, yes, I set the initial conditions and I found two issues: 1) for any initial conditions I set (weather variables or heating set point) the room temperature initialization does not change. 2) if I try to left the field in blank, simulation gives a fatal error at the beginning.

Best, Paolo

Paolo's avatar Paolo  ( 2019-03-18 03:44:27 -0500 )edit

Hi all, although the initialization problem is still unsolved, we decided to simulate 1 week not in real time but with 10 seconds time step (laboratory measurements accuracy) and then slow down the simulation and synchronize it to real time. In this way we are able to put the building in a coherent initial conditions without running 1 week of experiment. Cheers, Paolo

Paolo's avatar Paolo  ( 2019-03-28 07:28:29 -0500 )edit