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
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.

类别

Help CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by