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

Revision history [back]

Jamie,

Looking at the source from EnergyPlus 8.1.0.009, line 2468 of ScheduleManager.f90 is in the function that gives the current schedule value at a point in the simulation. At that line, the function is checking whether EMS is overriding a schedule. In the current C++ code, it corresponds to right about here.

Without seeing the actual example file, I'm guessing on this project you are using EMS. It appears maybe there is an indexing problem that the code tries to access either a too-high, or zero schedule index in the internal array, which causes the access violation. I know the project might be over, but in case you are still having this issue, if you are able to send the EMS logic that (I presume) you are using, it would be helpful in debugging.

Suggestions to fix would be:

  • Check to make sure you initialize the EMS variable you are using to store the schedule index to a meaningful value before using it
  • If that doesn't reveal the problem, post the EMS logic you use to help diagnose the problem here, or
  • Post the file to the EnergyPlus Helpdesk for further developer assistance