question

Troy M3 avatar image
0 Likes"
Troy M3 asked Andrew O commented

Triggered Event

Looking for help on how to trigger an event for all patients/patrons at a specific timestamp or other triggered event. For example, we are studying a theater where everyone would enter the lobby, execute a series of processes (i.e. coat drop, ticketing, etc) and then congregate in the lobby until 5min before a showtime and then move to their seats.

FlexSim 22.1.4
event triggertriggered
· 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.

Andrew O avatar image Andrew O ♦ commented ·

Hi @Troy M3, was Felix Möhlmann'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

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

Since you mention "patients", I assume you are working the in the HC environment and the patrons are controlled in a process flow.

If each patron is done with all other activities when the event is supposed to trigger, you could simply use a Delay activity, set to delay the token until a specified time. The attached model assumes that the start time is given as a decimal hour value on the token. By determining the current time of day in the model, the delay time can be given as the difference between the current time and the start time.

1668159293634.png

If the patrons might still be busy with other activities, you can create a child token of the patrons token. Then this child token waits until the start time is reached and moves the main token from its current activity to a set point via the "Release" activity (found under "Preemption"). Note that depending on what activities the patron is currently doing this can lead to errors.

1668159269403.png

ContinueAtSpecificTime.fsm


5 |100000

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

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.