Eject entity from server when failure occurs
1 回表示 (過去 30 日間)
古いコメントを表示
Sander van den Heuvel
2020 年 11 月 24 日
編集済み: Sander van den Heuvel
2020 年 11 月 25 日
Hi there,
On page 2-28 of the simevents documentation there is noted: "If you want to eject the current entity from the server upon a failure occurence, then you can use the preemption feature of the server to replace the current entity with a high-priority placeholder". This is a nice note, but I am unsure how to model such a situation when a failure is modeled in the same way as in the example on page 2-28 (via an entity gate)? How can the failure gate and the entity server communicate when a failure occurs and preempt the order that is processed at that moment from the server, give it a high priority and a residual processing time and send it back to the queue?
In the attachments you can find an example with explanation of what I am trying to achieve.
Thank you very much
0 件のコメント
採用された回答
Abdolkarim Mohammadi
2020 年 11 月 24 日
Generally speaking, failures are preempted entities that does not consume resources. They are generated from another entity generator of the same type of the main entities, but are generated in another route, so that they do not acquire resources. The routes of normal entities and failures are then combined with each other via Entity Input Switch block.
1 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Discrete-Event Simulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!