Question:
A model runs fine for a short to medium length of time. However, if I run the same model for a very long time I get an Index out of range error on an Entity_CycleTime_Data variable.
Answer:
There can be two causes for this.
- The array used to collect Standard Deviation statistics for entity cycle time has reached maximum capacity. The default value is 10,000 and the maximum is 34,464.
- There are two ways to resolve this problem. Both are located under Simulation / Options… / Output Summary
- Uncheck the Show Standard Deviation check box OR
- Select a larger number from the Number of Cycle Time drop down list.
- There are two ways to resolve this problem. Both are located under Simulation / Options… / Output Summary
- An entity name is being changed (e.g. using the NewName statement) to a name that hasn’t been defined.
- Add an entity graphic to your model with the name used in the NewName statement.
If you need further help, please contact support.