You are here:Home>Index out of Range

Index out of Range

Question:Index out of Range

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.


There can be two causes for this.

  1. 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.
    1. There are two ways to resolve this problem. Both are located under Simulation / Options… / Output Summary
      1. Uncheck the Show Standard Deviation check box OR
      2. Select a larger number from the Number of Cycle Time drop down list.
  2. An entity name is being changed (e.g. using the NewName statement) to a name that hasn’t been defined.
    1. Add an entity graphic to your model with the name used in the NewName statement.

If you need further help, please contact support.

By |Comments Off on Index out of Range

About the Author:

Scott Baird has been president of ProcessModel for more than 15 years. His focus has been to teach others how to improve processes dramatically. He has been successful in transferring these skills to over 200 companies, including ESPN, NASA, GE, Nationwide, Cendant, SSA and many more. Specialties: Group facilitation for process improvement, process design and simulation, simulation modeling, business management and training others to see opportunities. Scott loves to teach process improvement and has often been heard to say, “Of all the things I do, training others to improve processes is my favorite.” Scott is a father of four and a grandfather of eight. He is an avid woodworker, designing and creating presentation boxes. In his spare time, he volunteers in a college preparation program.