Modelling two activities that start at the same time on a common entity in SimEvents

조회 수: 1(최근 30일)
Hi,
I want to model a concrete pouring process with SimEvents. For that I need to model the "unloading" and "pumping" processes. The unloading and pumping activities start at the same time, once the entity "truck" enters the unloading server. But as pumping takes a longer time, the server unloading should not start functioning on the next entity till pumping ends. Thus, unloading and pumping should be two parallel servers acting on a single entity. I would appreciate any hint.

답변(1개)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2021년 3월 18일
You need a Resource Acquirer block, two Entity Server blocks, and two Resource Release blocks. When the entity enters the Resource acquirer, it acquires resources from both tasks. Then the entity enters into the first server, which is the one with the smaller service time. Next, it is forwarded to the first resource releaser, where the resources for the task with smaller service time is released. Then the entity enters into the second server, where it will be delayed for the REMAINING serivce time of the task with the larger service time. Finally, it enters the second resource releaser, where it relinquieshes the other acquired resource.

Community Treasure Hunt

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

Start Hunting!

Translated by