Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to model resources with two serial server tasks in SimEvents

조회 수: 1 (최근 30일)
Zahra Moussavi
Zahra Moussavi 2015년 11월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I want to model a concreting process with SimEvents. In this process trucks are entities that enters a waiting queue before the pump and wait for the pump to be free to be able to serve them. The problem is that in my model, once a pump is assigned to a truck, the occupation time of the pump depends on two serial tasks (positioning and unloading) with different time distributions. I modeled these two serial tasks by two serial N-servers and released the pump after the second task. But it doesn't act as I expected.
For testing the model I put 2 for service time of positioning and 1 for service time of unloading. So I expect the first truck to depart from the Pump at 3 and the next one as 6. Cause the pump will be released at 3 and the next action takes 3 as well. but the results are as below:
Which means that trucks do not wait for both positioning and loading to be completed and once the positioning finishes they move through the server. Any idea how I can fix this?
  댓글 수: 2
Teresa Hubscher-Younger
Teresa Hubscher-Younger 2015년 11월 25일
Hi,
I created the model you described above and got the results you expected. What could give you the results you're getting is if you have more than one pump. If the resource amount is more than one in the Resource Pool block, the next truck will go ahead and start positioning with another pump before unloading occurs. Can you check the Resource Pool block and see what you've specified the Resource Amount to be?
Thanks, Teresa
Zahra Moussavi
Zahra Moussavi 2015년 12월 4일
Hi Teresa,
Thank you. True I had more than one pump in my resource pool.
Regards,

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by