question

Nicolas M6 avatar image
0 Likes"
Nicolas M6 asked Nicolas M6 commented

how to manage Maintenance on release ?

Hi, I would like to set up room maintenance when the patient has finished in the room (on realese).

Approach 1: I tried to create a token that solicits staff and performs a time. In this case, I have problems:
1) the patient still occupies a room and there is an error message when the patient token is destroyed.
2) the created token disappears with the patient token

Approach 2: I found that it is possible to use condition maintenance in people objects. Perfect! However, the trigger of the On Release subflow is also called when the room changes state due to the time table. At 7 am the room becomes available and maintenance is called. What is not desired.

Can you refer me to the best method and how to
- Correct the error of approach 1 (error message when destroying the token)
- Correct the unintended effect of approach 2 (maintenance not desired when changing state due to time table)

the two approaches in the attached models. Thanks in advance

MaintenanceIndependanteDuPatient_Approach_1_Create_token_for_maintenance.fsm

MaintenanceIndependanteDuPatient_Approach_2_MaintenanceCondition.fsm

FlexSim 20.1.1
resourcemaintenancepeople
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Nicolas M6 avatar image
1 Like"
Nicolas M6 answered Nicolas M6 commented

in approach 2, I corrected as follows: I
- moved the maintenance routine into a general flow process (not error message anymore)
- make a request in the "Rooms" resource (value = puller.Room) to find the same room as before
- set a high priority (200) so that the request has priority over other patients who also wish to use this room



approach-3-suggestion-completed-solution.fsm



· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.