Help Needed: Using Global List

Help Needed: Using Global List

amyhyolee
Not applicable
2,102 Views
8 Replies
Message 1 of 9

Help Needed: Using Global List

amyhyolee
Not applicable

[ FlexSim 21.2.4 ]

I don't have much time, so I'm posting again for help.

I want to implement a simulation model for the hospital's transfer process. I've created a model to generate patients according to the transfer reservation time, but this leads to a situation where nurses cannot pick up patients earlier than the reservation time.

I'm trying to fix this by using a Global List to push patients and make the Staff pull them, but it doesn't seem to be working properly.

There seems to be a problem where even the first incoming patient isn't being transferred. I'm not sure how to solve this, so I'm asking for help.

I would really appreciate your assistance.


hospital_flexsim_v2.3.4.fsm

0 Likes
Accepted solutions (1)
2,103 Views
8 Replies
Replies (8)
Message 2 of 9

FelixMoehlmann
Mentor
Mentor
Your model didn't upload successfully. Could you try again? (You can edit your post and try to upload it again or do so in a comment)
0 Likes
Message 3 of 9

amyhyolee
Not applicable
@Felix Möhlmann, I uploaded the file again. Can you check if I uploaded the file successfully?
0 Likes
Message 4 of 9

FelixMoehlmann
Mentor
Mentor
Accepted solution

The list, as you have currently implemented it, does nothing. Because the tokens are allowed to continue immediately and "Keep On List On Early Release" is not checked, the pushed values are removed from the list directly after they are pushed to it.

That said, I don't see how a list would help. If I see this correctly, the patients are currently created at a fixed time, presumably the reservation time. And your goal is that the staff can get the transport equipment and move to the start location of the transport before that time, correct?

An option might be to create the patients some time before the reservation time and to write the actual reservation time to a label. Then use the "Inner Flow" of the Transport Patient activity directly in the patient flow (as I also mentioned in one of your other questions) and place a delay activity where the patient would start to be moved which holds the token until the reservation time has been reached.

That the first transports are not happening in your model is I think only due to all staff members being inactive at the start. Some of the time tables overlap. And the default settings also do not prevent the staff from being acquired in Process Flow. You should use the HC down behaviours for this.

1711633501882.png

0 Likes
Message 5 of 9

amyhyolee
Not applicable

Thank you @Felix Möhlmann for your answer. To this answer "your goal is that the staff can get the transport equipment and move to the start location of the transport before that time, correct?" -- yes. so when staff is ready to pick up the patients, the patients don't wait for the reservation time and goes to the destination.


I might be wrong, but not sure how delay could be used. If I put a delay on patients, doesn't that mean the patient waits for the reservation time and leaves on that time?


I pasted the inner flow to my actual model. Is is ok to just paste it?

1711640853422.png


For the second question, I changed the down behavior to OffSchedule and the staff does not overlap now. However, tech 25, 26 are not working when they are not off.

1711638708641.png


0 Likes
Message 6 of 9

FelixMoehlmann
Mentor
Mentor

If it's fine when a patient is picked up earlier than the reserved time, then you don't need a delay. (And the whole idea of pasting the inner flow would only be useful for the milestones).

The inner flow uses specific label names on the token to refer to the staff and transport, so if you paste it in, make sure that those labels exist.

1711645048287.png

I can't say anything in regards to tech 25 and 26. In the model you uploaded there are only 22 techs.

0 Likes
Message 7 of 9

amyhyolee
Not applicable

hospital_flexsim_v2.3.4.fsm


@Felix Möhlmann , I added more tech so that they don't overlap. Tech 1- 9 seems to be working fine but other tech are not working when they are not off.

0 Likes
Message 8 of 9

FelixMoehlmann
Mentor
Mentor
In the latest model from the "Shift Schedule" post only techs 1-22 are part of the "Porters" group that is used in the staff resource in the patient flow. Those seemed to be working when on schedule.
0 Likes
Message 9 of 9

amyhyolee
Not applicable
@Felix Möhlmann , Thank you! After changing the "Porters" group, it works fine!
0 Likes