With FMI, is it possible to output energy values at the end of each simulation timestep in energyplus, and use python code to change the EMS code for the next timestep?
I need to call python code from energyplus software and the python code should be able to access my EMS for the next timestep. Keeping the python modules of theano, keras and numpy intact. Is this possible ? If yes, can you please suggest some documentation where I can start this ?
Could you please clarify your question? Are you talking about using EnergyPlus as an FMU, exporting some of the outputs so they can be used in a downstream Python code whose results will be fed back to EnergyPlus through EMS? Best might be to describe your system setup so we know what you want to achieve.
Why do you need a separate code? are using a large python library? You can make an FMU in Modelica and specify all your equations / calculations there.
Thanks, Thierry, yes that's what I want. I want to use some python libraries like numpy, theano, do some learning in real-time. That's why I need python code.