Eject entity from server when failure occurs
조회 수: 1(최근 30일)
Sander van den Heuvel 2020년 11월 24일
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
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.