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

Revision history [back]

Your EMS program looks OK to me at first glance. The calling point can be any of the early calls to EMS:

BeginTimestepBeforePredictor
AfterPredictorBeforeHVACManagers
AfterPredictorAfterHVACManagers
InsideHVACSystemIterationLoop

Turn on EMS reporting so you can see what your program is doing:

Output:EnergyManagementSystem,
  Verbose,                 !- Actuator Availability Dictionary Reporting
  Verbose,                 !- Internal Variable Availability Dictionary Reporting
  Verbose;                 !- EMS Runtime Language Debug Output Level

Then after you run your simulation, look in the edd file. There is a lot of information. Note the "During Warmup" in the messages. This means that actual simulation has not started yet, it's just getting warmed up. Scroll down until you don't see this anymore to see what happens during the actual simulation.