Jump to content

Release resource AFTER entity departs system


whc563
 Share

Recommended Posts

Is it possible to release a resource after a model entity departs the system? I am trying to model a case when an exam room in a hospital is cleaned after a patient leaves the system. The exam room should not be made available to other patients prior to cleaning.


It seems the default is to release all associated resources when an entity departs the system.


Thanks in advance!

Link to comment
Share on other sites

Before the entity (patient) leaves the room (in an add on process perhaps), you can have the patient entity create a 'cleaning room' entity that will 'seize' the room as soon as the patient actually leaves the room, then the 'cleaning room' entity can delay for cleaning time and release the room (keep it a different 'type' of entity with no statistics required (Report Statistics = false) so that it doesn't get mixed in with the patient entity stats.

Link to comment
Share on other sites

×
×
  • Create New...