Control Joint Availability of Two Servers
1 次查看(过去 30 天)
显示 更早的评论
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):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153719/image.png)
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153720/image.png)
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?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!