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

Revision history [back]

click to hide/show revision 1
initial version

Skip Warming in the simulation data exchange with Python API

Hi everyone. I am using the new EnergyPlus Python API in version 9.4. When I set the callback_begin_zone_timestep_after_init_heat_balance function from the Runtime API, I set a function to run when the simulation starts. In this way, with the Data Transfer API I obtain information on each time step and execute actions according to some calculations.

My problem starts when the Warming process is executed. During this initial stage of the simulation, the callback function is also executed, which I would like to avoid, because it hinders the information that I generate and then do a post-processing.

Is there a way to identify the beginning and the end of the Warming with the EnergyPlus Python API? Or any alternative to execute the callback function after the Warming process finishes? Thanks

Skip Warming in the simulation data exchange with Python API

Hi everyone. I am using the new EnergyPlus Python API in version 9.4. When I set the callback_begin_zone_timestep_after_init_heat_balance function from the Runtime API, I set a function to run when the simulation starts. In this way, with the Data Transfer API I obtain information on each time step and execute actions according to some calculations.

My problem starts when the Warming process is executed. During this initial stage of the simulation, the callback function is also executed, which I would like to avoid, because it hinders the information that I generate and then do a post-processing.

Is there a way to identify the beginning and the end of the Warming with the EnergyPlus Python API? Or any alternative to execute the callback function after the Warming process finishes? Thanks