Skip to content

EMS calling point BeginNewEnvironment not run during "Setup Simulation" #11440

@joseph-robertson

Description

@joseph-robertson

Issue overview

While working on #11409, I noticed that it appears EMS programs with the BeginNewEnvironment calling point are not run during setup, as Setup Simulation in the EMS Application Guide graphic would suggest.

You can see that SetupSimulation gets called here, which I believe corresponds to "Setup Simulation" in the above referenced graphic, well before both EMSCallFrom::SetupSimulation and then EMSCallFrom::BeginNewEnvironment get called.

Not only are you then unexpectedly initializing some variables to zero during setup, but if you don't subsequently (re)initialize them in a BeginNewEnvironment program (to explicitly something other than zero), they would begin the run period with a value of zero.

Operating System (Multiple choices)

Any

Operating System Version

NA

Version of EnergyPlus

25.2.0

Unmethours link or helpdesk ticket number

N/A

Defect file

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    TriageIssue needs to be assessed and labeled, further information on reported might be neededUnconfirmedDefectDefect has not yet confirmed to be an actual issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions