Info

This question is closed. Reopen it to edit or answer.

In SimEvents, how to start with entities in the queues and servers at the beginning of the simulation

1 view (last 30 days)
I am developing a manufacturing simulation in SimEvents, which consists of a series of queues and servers (to indicate the processing steps) and each entity goes through the servers one by one. I want to begin the simulation with some entities already present in the queues and the servers and having certain attributes. So basically at the start of the simulation, instead of having empty servers and queues, I want them to contain entities. Is there an easy way to do this?
Thanks

Answers (1)

Pieter Cuijpers
Pieter Cuijpers on 19 Nov 2014
I am looking for something similar. He only trick I found so far is to use a time-based event generator with period set to infty. This creates one event at the start of the simulation. Then use a path combiner to put that first event into the queue...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!