# Automatically converted SIMSTEP to STEP.

Rama Raditya 6 posts |
Thank you for fast answer in my previous question. I got another problem in Forio.
This my new model http://forio.com/simulate/rama_rdty/ppic-game-2 The question is why Forio automatically converted SIMSTEP to STEP ? I want to use simstep to return the value in my array for every time step. I use time step based on this guide: http://forio.com/simulate/docs/index.php/page/5 Another problem of using "step" instead of timestep is my model is not working properly. Shipping and FNG variable in not working. Thank you. |

Michael Bean Administrator 71 posts |
Hi Rama,
Thanks for pointing that out. The problem is the documentation need to be updated. The correct term in Forio Simulate is now STEP, not SIMSTEP. For example, if: V Data[0..5] = {1,2,3,4,5,6} V Delivery Schedule = Data[STEP] Delivery Schedule will be equal to 1 at step 0, 2 at step 1, and so on. I'm not sure why Shipping and FNG aren't working but the problem is not due to the SIMSTEP to STEP conversion. Best, Michael |

Rama Raditya 6 posts |
Thank you. I know why STEP cause problem. When I define an array I type V Data[1..5] = {1,2,3,4,5,6} not V Data[0..5] = {1,2,3,4,5,6} . Since step function start from zero (0), the syntax will produce error since I have not define range 0.
PS: I there any quick way to import array from Excel ? I have hundred of data of demand in Excel. Adding coma (,) for each one of them will be time consuming. Thank you. |

Michael Bean Administrator 71 posts |
Hi Rama,
Professional Simulate accounts allow you to load data from an Excel spreadsheet template into a model. One relatively easy way to add Excel data directly into your model equations is to save your spreadsheet as a .CSV file (comma delimited) and then open the file in a text editor such as Notepad and finally copy-and-paste the comma delimited data into your model. Best, Michael |

Please log in to reply to topics.