question

Lenny C avatar image
0 Likes"
Lenny C asked Steven Hamoen commented

Scheduling availability of large numbers of counters

I have a site with 16 counters open, and an excel sheet of how many counters are open at certain times of the day (e.g. 5 open at 8am, 13 open at 12pm, etc)

How can I implement this in my model without adding a timetable to each individual counter (i.e. 16 schedules, when there could be 1)? This can be tedious when trying multiple iterations.


FlexSim 20.1.3
flexsim 20.1.3timetablesscheduleschanging timetables
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Lenny C, was steven.hamoen's answer helpful? If so, please click the red "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

·
Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Steven Hamoen commented

@Lenny C I would create a small process flow. Each counter has it's own token that looks at the column of the counter. The first encountered time is the time after 24:00 so the token waits until that time is reached. Then it opens the counter, increase the table row and calculates how long to wait for the closure etc.

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

Lenny C avatar image Lenny C commented ·

@steven.hamoen Apologies for the delay.

I've added a sample layout with 6 counters and a table of the various schedules I would like to try out, to observe performance on wait time and % of patients in Waiting area.

Tableschedule Example.xlsxTableschedules.fsm

Ideally I would like to integrate this process with the Experimenter, for a more rapid and broad testing of schedules to find what is optimal!

Thank you for the help.



0 Likes 0 ·
Steven Hamoen avatar image Steven Hamoen Lenny C commented ·

@Lenny C I attached a model that should solve your problems. Unfortunately there is something strange which I also posted as a question here.

What I have changed is that I put a label "Close" on the desks and on the resource I added that label. On the acquire I only select the desks where that label == 0.

The seperate process flow "Close_Open Desks" gets a token every 30 minutes and then looks up in the table how many desks have to be opened or closed and based on that number I open and close the correct number of desks.

I have a global variable the represents what schedule you are using and you can change that number in the experimenter so that you can easily run all schedules. TableSchedule_TAL.fsm

0 Likes 0 ·
Steven Hamoen avatar image Steven Hamoen Steven Hamoen commented ·

@Lenny C After the comments on my bug reporting (here) I redid the model with the location resource from the people flow and now it works. I also changed the value that determines what schedule is run by a label on the process flow and I entered all 7 options in the experimenter. I think this is what you asked for.

TableSchedule_TAL_2.fsm

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.