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
Solved! Go to Solution.
I've modified your model a bit.
Have a look in it if it does what you want to achieve.
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.
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.
freelance simulation specialist