question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Felix Möhlmann commented

TimeTableNotWorking?

Hi Team,

I am working on problem where provider may chat to more than 1 patient at a time. I am creating duplicates of providers based on chat capacity and pushing into list. Based on patient arrival, providers are pulled from list.

I want to use timetable along with this where I can define provider working hours. But after defining working hours in time table, it is not taking into consideration. Even provider is used while he is offschedule.

Do I need to use any other way?

TimeTableIsNotWorking.fsm

Thank you!

@Jordan Johnson @Jason Lightfoot

FlexSim 20.0.10
timetablemultichat
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
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

The 'OffSchedule' down behavious does three things: It sets the state of the object and has it travel to its reset location. It also makes it so the object can't be acquired as a resource. Neither of these have any influence over how the model chooses a provider, which uses lists, not resources.

What you could do to connect the time table to the logic, is to have a process flow listen to the time table going into the 'down' state (The 'OffSchedule' down behavious doesn't trigger the down function, so I changed it to a custom behavious).

The created tokens can then pull all instances of the provider off the list, so they are unavailable. If they are currently busy this will not interrupt their task. After the duration of the break/off shift, the provider is then pushed back to the list.

You can also add activities that set the providers 'Availability' state to 'unavailable'.

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

Ankur A3 avatar image Ankur A3 commented ·
Hi @Felix Möhlmann,

Thank for your answer!

I can see while provider is offschedule, it is not showing on utilization chart. Instead of that Can we show offshift state on chart with respect to provider?

Thank you!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·

The 'Unavailable' state is excluded from the graphs by default. To include it, install the chart components and check the respective option in the calculated table.

1654697061012.png

You can't simply mix the two state profiles (HC states and Availability), though there is a chart that combines them into state pairs. To use that, do the same as above to include the 'Unavailable' states.

1654697214364.png

You might want to add another pair of activities that sets the HC State to something other than 'Idle' when the provider is acquired. You can see which states are available and add more in the People Settings.

1654697368654.png

timetableisnotworking-fm_1.fsm

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·
Thanks @Felix Möhlmann , this is a great approach.
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 commented ·
Hi @Felix Möhlmann,

If I have n number of providers with different timetables, it seems difficult to implement this approach. The reason is I will have to create process flow with respect to every provider's timetable. What is your suggestion whether I should continue to do it?

Thank you!

0 Likes 0 ·
Ankur A3 avatar image Ankur A3 commented ·

Hi @Felix Möhlmann,

I am not getting OffSchedule option in Down State dropdown while selecting HC States in States Profile. Can you help me what is going wrong?

1654788895430.png

Thank you!

0 Likes 0 ·
1654788895430.png (3.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·

All providers apart from 'A' have never entered that state before, so it's missing from their profile in the tree (Staff in HC starts with only the 'Idle' state in the profile, other states get added when needed). You can replace the other providers with copies of Provider_A and the option should appear in the time table their are connected to.

You don't have to create a new process flow for each provider (if the down state stays the same). The event-triggered source can listen to multiple events at the same time. So you can add every time table to it.

1654790355610.png

0 Likes 0 ·
1654790355610.png (18.6 KiB)