Array or Simstep Bug

Subscribe to Array or Simstep Bug 4 posts, 2 voices

 
?path=armand Armand Moeis 16 posts I follow (copy-paste)this guide to extract number from Array
http://forio.com/forums/posts?q=simstep&commit=Search
But delivery schedule shows ? instead of 1 at step 0, 2 at step 1, and so on.
This is the link.
http://forio.com/simulate/armand.moeis/array/model/explore/#page=related&level=1&variable=Delivery%20Schedule
I hope this bug is fixed soon because I really need Array. Thank you.
 
?path=armand Armand Moeis 16 posts I have a workaround solution. I add INT in equation instead just STEP
Here is my new model. Thank you.
http://forio.com/simulate/armand.moeis/tes-syntax/model/explore/#page=related&level=1&variable=Potensial%20Demand
 
?path=mbean&height=32 Michael Bean Administrator 65 posts Hi Armand,

Sorry you're having trouble.

This is due to a bug in your model. The problem is that your model is running beyond 5 steps. You need to define the start and end time of your model so that time does not extend beyond the final array element in your variables.

Try this instead:

M StartTime = 0
M EndTime = 5
V Data[0..5] = {1,2,3,4,5,6}
V Delivery Schedule  = Data[STEP]

Best, Michael

 
?path=armand Armand Moeis 16 posts Thany you very for your advice. Sorry I am still learning Forio.

Please log in to reply to topics.

Forums Support