Shift Schedule

Shift Schedule

amyhyolee
Not applicable
1,074 Views
7 Replies
Message 1 of 8

Shift Schedule

amyhyolee
Not applicable

[ FlexSim 24.0.0 ]

I would like to change my model as if the operator doesn't have enough time to complete the next tranfer before the shift, the transfer agent will not start the next shift.

Also, could I reflect the cases where transportation agents do not finish work exactly at the end of their scheduled shift, but sometimes leave early or stay late, based on their working hours, in a simulation model, representing it as a distribution?


https://answers.flexsim.com/questions/57995/dont-start-a-job-that-wont-be-finished-before-shif.html

I think this question is similar to my question but I'm having hard time implementing it.

2_porter_schedule.fsm

0 Likes
Accepted solutions (1)
1,075 Views
7 Replies
Replies (7)
Message 2 of 8

FelixMoehlmann
Mentor
Mentor
Accepted solution

I see two issues here: It is quite hard to exactly determine how long a task will takeand it would also be complex to reschedule the break start to an earlier date.

What I would suggest instead, to at least approximate this, would be to have all shifts end a little bit earlier than they normally should in the schedule. With the current down function setting the break doesn't start while the staff member is busy anyway. So having the the break start early essentially results in the staff member leaving early if there is nothing to do at the time and not starting a new task in the X minutes before the 'normal' shift end time.

You can then use a subflow to actually implement the break behaviour, creating a token there in the schedule's down function.

A statistics collector can listen for activity in this subflow and collect information about when a break was started vs. when it was supposed to start.

2-porter-schedule-fm.fsm

0 Likes
Message 3 of 8

amyhyolee
Not applicable

Thank you for your answer, @Felix Möhlmann.

I am currently in the process of applying this to my actual model, but I am seeing numbers instead of RN1 in the Staff column. Is it just the staff id? or am I doing something wrong?


1711627956600.png

0 Likes
Message 4 of 8

FelixMoehlmann
Mentor
Mentor

That is the unique ID number that the Statistics Collector creates for each object. You have to set the "Display Format" to "Object", so the table view and dashboard translate the number back into the object name.

1711631363373.png

0 Likes
Message 5 of 8

amyhyolee
Not applicable
Thank you!!
0 Likes
Message 6 of 8

amyhyolee
Not applicable

@Felix Möhlmann , downtimestatscollector is not working.. and not sure why. Could you please help me?


hospital_flexsim_v2.3.4.fsm

0 Likes
Message 7 of 8

FelixMoehlmann
Mentor
Mentor

Because of the different down behaviour. I guess a decent option to track the break times now might be a gantt chart of the availability status of the staff.

hospital-flexsim-v234-availability-gantt.fsm

I also noticed that the output connectors of "Decide: Transportation2" had the wrong ranks (trying to return transport if walking and not doing so when a equipment was actually used).

0 Likes
Message 8 of 8

amyhyolee
Not applicable
Thank you!
0 Likes