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

1 view (last 30 days)
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.

Answers (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 18 Mar 2021
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.

Categories

Find more on Discrete-Event Simulation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!