You are here

ModelsForum

Discussion of models, techniques, tips and tricks.

Keeping track of queue events

I am building a model in which there is a queue, and individuals can go onto the queue or come off it. I have a state variable for the queue length with rules to add one or delete one when people join or leave the queue. This works fine except when someone joins and leaves at the same time, then the queue length still decreases! The add rule does not fire. How can I fix this?

Forums: 

Model examples for discrete events

Hi,

I would like to use the new features of Simile 6 concerning discrete event modelling. For that I would need examples of simple models implementing this formalism but I did not find any in the model gallery or in the model catalogue at simulistics website.

Could you please provide such model examples or templates?

Thanks,

François

Forums: 

Run Simile model as part of c++ project

I just created a simple model and exported it to c++ code. I want to run the c++ code as part of qt creator c++ project. I want the output of the model to be written to a file. So, I created new c++ project and I added the model file(in which I exported), support1.cpp, support2.cpp, process.cpp, and shank.cpp files. But I get an error message that says 6d.h is not found, in which i couldn't locate in Simile folder. Has anyone tried to run the exported c++ file as part of c++ project? Please share your experience.

Forums: 

Using weights with PEST

I'm using PEST with Simile, a really neat extension - I'd like to use weights, but it is not apparent to me how to do this. I've looked in pestlink.tcl, but am not much wiser. Is there an efficient way to set weights within Simile's PEST interface?

Thanks

Jerry

Forums: 

removing the duplicate values in array

I am trying to make the macro to remove the duplicates values in array. But i am not able to do it.

e.g A=[1,2,3,2,4,5,6]

I want only [1,2,3,4,5,6]

Any help will be appericate

thankyou

Forums: 
Taxonomy upgrade extras: 

flow transmission between instances in multiple-membership submodel

I followed the 'water flow in different layers' example in 'help' of the software to do my simulation (attachment see transmission.sml). My expected result is the flow was transported between instances in each time step (attachment see wantedresult.jpg), but the real result shows time-step lags between instances (attachment see realresult.jpg).

I think the problem is probably because in the example, the outflow was defined as initial values. But in my work, the outflow depends on the 'inflow' flow and 'growth' flow. But I can not define outflow value before simulation in my work.

Forums: 

hexagon grid coupled to GIS

I'm currently developing a dynamic model that desribes the growth of seagrass in Tampa Bay FL.  The model will be spacially explicite.  I'm currently thinking of using a 501 by501 hexagon grid and a unit model for growth.  When one hexigon is filled I will have it spill to adjacent hexs having no grass.  What's the best way to use GIS data to set the initial coverage. 

Forums: 

Optimising collection point on spatial modelling

Hello everyone,

I have a map displaying the pollution hot spots, which I model in Simile. Now I want to put in the model collection points for treatment of the pollution by directing waste from other parishes, which are represented as polygons to that collection point.  Is there any one who have an idea of how to go about modelling this so that it appears on the spatial map?

Best,

Richard

 

Forums: 

Polygon display

Dear members,

Have got sets of X and Y coordinates for the polygon boundary. I have five polygons connected to each other. I would like to display these polygons so that I see the spaitial variation of the population in these different polygons.

If there is any one out there please help. I have tried to follow the example of the Hexagon but not succeeded.

Thanks

 

Forums: 

Pages

Subscribe to RSS - ModelsForum