Begin New Environment[LINK]
The calling point referred to with the keyword “BeginNewEnvironment” occurs once near the beginning of each environment period. Environment periods include sizing periods, design days, and run periods. This calling point will not be useful for control actions, but is useful for initializing variables and calculations that do not need to be repeated during each timestep. Once a value is set, Erl variables remember the value during the remainder of the environment period. However, they are automatically reinitialized to 0.0 at the beginning of each new environment period and this calling point executed again to redo the initializations. Considerable repetition can be avoided by designing Erl programs to use this calling point for initializations and calculations that are needed only once for each environment period. It is not called during individual timesteps. It is not called until well into the simulation after sizing and the final setup of actuators and internal variables.
Begin New Environment[LINK]
The calling point referred to with the keyword “BeginNewEnvironment” occurs once near the beginning of each environment period. Environment periods include sizing periods, design days, and run periods. This calling point will not be useful for control actions, but is useful for initializing variables and calculations that do not need to be repeated during each timestep. Once a value is set, Erl variables remember the value during the remainder of the environment period. However, they are automatically reinitialized to 0.0 at the beginning of each new environment period and this calling point executed again to redo the initializations. Considerable repetition can be avoided by designing Erl programs to use this calling point for initializations and calculations that are needed only once for each environment period. It is not called during individual timesteps. It is not called until well into the simulation after sizing and the final setup of actuators and internal variables.
Documentation content copyright © 1996-2016 The Board of Trustees of the University of Illinois and the Regents of the University of California through the Ernest Orlando Lawrence Berkeley National Laboratory. All rights reserved. EnergyPlus is a trademark of the US Department of Energy.
This documentation is made available under the EnergyPlus Open Source License v1.0.