Control Joint Availability of Two Servers

1 visualización (últimos 30 días)
Zahra Moussavi
Zahra Moussavi el 1 de Feb. de 2016
Hi,
I want to model what is exactly described in the link below, which is:
"Suppose that each entity undergoes two processes, one at a time, and that the first process does not start if the second process is still in progress for the previous entity. If you connect a queue, a server, and another server in series, then the first server can start serving a new entity while the second server is still serving the previous entity. This does not accomplish the stated goal. The model needs a gate to prevent the first server from accepting an entity too soon, that is, while the second server still holds the previous entity."
I tried to implement it but it doesn't work! This is my model (base on the example in the link):
the unloading has a service time of 2 and Manouvre has a service time of 5. So the entities should leave the queue at time 0,7,14 and so on. but the results are as follow:
which shows that the first entity enters the first server without waiting for the second server to finish with the previous entity.
Is there anything that I am missing in my model?

Respuestas (0)

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by