question

mark zhen avatar image
0 Likes"
mark zhen asked Jeanette F commented

I want to create a shift model

This model has six workers, but everyone's work position is different every day. How can I assign them to the designated positions and make them commute normally

And if I have special needs and I need to work overtime, how can I adjust it?

https://drive.google.com/file/d/1Rnga9o6ZR--_clp0NQhqD3lI8f52jGSS/view?usp=sharing

FlexSim 20.0.10
healthcareshift schedule
· 1
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @mark zhen , was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered Jacob W2 commented

Hey @mark zhen, for your rotating schedule, you could make a Global Table with the days and assignments and then fill in the cells with which RN is assigned to each day/station. If it's constantly rotating, you could have a variable that all of the RNs have (i.e., Station) and increment the number each day, modulus (%) it by the number of Stations, and then they'll be constantly rotating.

As for overtime for special events, you could have emergency events spawn at specific times with a higher priority than their OffSchedule Priority. That way they'll continue to perform emergency situations until there are no more.

· 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.

mark zhen avatar image mark zhen commented ·

This might take a little case for me to refer to, okay?

-1 Like -1 ·
mark zhen avatar image mark zhen mark zhen commented ·

What I call overtime, for example

My current processing time is 10 minutes, and my off-duty time is 6:00 pm, so I receive the job at 5:58 pm, so I have to finish the get off work before off-duty, so how do I design this process and count overtime time

0 Likes 0 ·
Jacob W2 avatar image Jacob W2 ♦ mark zhen commented ·

@mark zhen,

In healthcare models staff will continue to work on their current task even after a time table break or of shift activity has occurred. Once it finishes the task it is working on, the staff will then go on break.

In regards to collecting overtime minutes I am including a model that highlights one way to do it. It creates a token in processflow everytime a staff member has a state change. It then checks whether this occurs during overtime or not. If not the token is sent to a sink. Once it makes sure that it is a valid state change, it writes to a global table. With the time overtime ended, which states were invovled, and the staff member who was working overtime.

Overtime model timefsm.jpg

(Rightclick on the file attachment -> Save Link/Target As (might be called differently depending on the browser) -> Set "Save as type" to All Types -> Save with a name ends with .fsm)

0 Likes 0 ·