Modelling two activities that start at the same time on a common entity in SimEvents
조회 수: 1(최근 30일)
표시 이전 댓글
Zahra Moussavi 2016년 2월 3일
답변: Abdolkarim Mohammadi 2021년 3월 18일
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.
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.
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!