Global Stack overflow

Category:support request
Assigned:Hamdy Elsayed

Dear Simulistics,


I hope my e-mail finds you very well. I am working on a model using Simile. Suddenly, the model crashed while executing and an error message appears. I have attached a link to the model and the error message. Please let me know how to solve it and your advice to avoid it in the future.

Thank you for your cooperation in advance. If you need further information please let me know.

I am looking to hearing from you soon.


Best regards,





Hi Hamdy,

I'm afraid I didn't receive the model via your link, only the image with the error message.

You can attach the model file to this thread if you wish.




Good morning Jasper, 

Thank you so much for your reply. Here you are the link to the model.




Hi Hamdy,

Thanks for supplying the model. The problem seems to be that you have too many numerical constants saved in the model itself. This is because you are using the table() function to save large arrays of time series data in several places.

You should instead be using variable parameters. These enable the model to read data from files as it executes, meaning the model code can be more compact. They also give you extra flexibility, since you can create different scenario files to load data from different sources.

Variable parameters are described in Simile documentation here.

I also notice that the layout of your model seems to follow a map of the region of East Africa that it models. You might be interested to know that we are working on an extension to Simile that will allow components placed on an image background to interact with cells in a grid submodel according to their position on the image -- so, for instance, you could have a flow indicating water from a well at a particular position, and have that remove water from a particular cell in a grid model representing groundwater.

Anyway, please let me know if you need any extra help using variable parameters to supply data to your model.

Kindest regards



Dear Jasper,

Thank you so much for this valuable advice. I will use it.

Is the extension available now? I am intersted to know more about it.





It's still in development. I'll be sure to post a news story when it's complete.