question

Amy avatar image
0 Likes"
Amy asked Amy commented

Shift Schedule

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

FlexSim 24.0.0
schedule shift
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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Amy commented

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


· 6
5 |100000

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

Amy avatar image Amy commented ·

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 0 ·
1711627956600.png (2.1 MiB)
Felix Möhlmann avatar image Felix Möhlmann Amy commented ·

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 0 ·
1711631363373.png (4.6 KiB)
Amy avatar image Amy Felix Möhlmann commented ·
Thank you!!
0 Likes 0 ·
Amy avatar image Amy commented ·

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


hospital_flexsim_v2.3.4.fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Amy commented ·

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 0 ·
Amy avatar image Amy Felix Möhlmann commented ·
Thank you!
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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