Showing results for 
Search instead for 
Did you mean: 

MU creation and routing based on tablefile


Dear all,

I could use some help in creating MU's based on a tablefile. I am not able to make it work in a method. I would like to use a method that reads the columns of the tablefile that I assign to it. It is preferred not to use a delivery table in connection with a  source as it has a different layout from a very large dataset I would like to use in the final model.

The tabefile contents are:
-The creation time of the MU
-The origin where it should be created
-The destination where it should enter a drain

The MU's are transporters which will use automatic routing.

I have a hard time creating a method that does the following things:
It begins reading the first row, checks if the cell is empty, if it is not empty then create the MU based on creation_time in the tablefile (by checking Eventcontroller.SimTime when it is equal with the time in the tablefile). If the time matches then a transporter is created at the specified object. Also the transporter should be given the destination from the tablefile. Then the sequence starts over by shifting a row lower in the tablefile.

I've added a small sample model to illustrate my problem. It has just 2 objects where a MU can be created and 2 drains. However, in the final model I intend to have many more origin- and destination objects.

Can anybody give some tips and advice on how to shape this in a method? Help is appreciated


Re: MU creation and routing based on tablefile

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi TPSuser,


I've modified your model a bit.

Have a look in it if it does what you want to achieve.





Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: MU creation and routing based on tablefile


Hello RalfTobel,

Your solution does exactly what I had in mind. Thank you Smiley Happy

Re: what could be used as routing and server blocks


I need to develop call centre modelling.What can i use as routing and server blocks for my model can anyone help me in this regard


• Service staff answers calls from 8-17 clock. The work includes a 15 minute break and a second break of 45 minutes. In average there are 35 customers per hour. The duration of a call takes on average 5 minutes and 20 seconds. If more than 10 callers in a queue, the call is rejected.  

Re: what could be used as routing and server blocks

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

You can use the SingleProc (processing time as call duration) to model the agents (you can assign a ShiftCalendar to each agent).

The calls you can model with MUs (Entity); create them using a source; as queue you can use a buffer. Look at the exit strategy (see help) for modeling the dispatching rules.

Steffen Bangsow
freelance simulation specialist