[Energyplus] [BCVTB] timestep as a dummy variable in cosimulation

asked 2018-02-27 03:27:50 -0500

cs_bot's avatar

updated 2018-02-27 03:28:34 -0500

I have co-simulation model, that couples BCVTB & EnergyPlus via the PythonActor. From PythonActor, at each timestep, I call a series of other python scripts.

These scripts need the value of the current timestep ( current simulation time ) But this timestep needs to be global ( i.e independent of the components involved )

It is just an integer variable, where is pass it along from E+ to BCVTB. When PythonActor is executed in BCVTB, the variable needs to get updated (timestep += 1). After it is updated, it needs to be passed along to E+ again. ( & the cycle goes on until termination)

can someone please elucidate the steps involved in this?

edit retag flag offensive close merge delete