question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Maryam H2 commented

Conditioning the Quantity in the Arrival Table

Hi -

In the Arrival table ⇾ Source in the quantity column how I can define if the person has shown up on previous day/time, then the Quantity should be 0 otherwise it should be 1?

To put it another way, considering a weekly schedule, I want the person to show up 3 days per week randomly from Monday to Friday, how can I do that in the Arrival table?

*Each person is unique, and I label them with their names in the table.


Thanks

FlexSim 22.1.3
quantityarrival tableconditioning
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Maryam H2 commented

I would schedule all visits at the beginning of the week. Create one 'main' token per patient, then determine how often and when the patient will arrive for that week and create one token per arrival. These then wait in a delay activity until the scheduled times are reached and then create the patient.

Similar to how I described it in this answer.

· 7
5 |100000

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