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

Skip Warming in the simulation data exchange with Python API

asked 2020-10-27 17:38:32 -0500

hermmanhender's avatar

updated 2020-11-09 09:47:22 -0500

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-10-30 12:00:09 -0500

hermmanhender's avatar

Resolved.

There is a DataTransfer API function called warmup_flag() that returns 1 while the warm-up process is running and 0 when not.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

Stats

Asked: 2020-10-27 17:38:32 -0500

Seen: 224 times

Last updated: Dec 14 '20