Wait for Event : NEXT DAY

Wait for Event : NEXT DAY

guillaume_v
Not applicable
38 Views
2 Replies
Message 1 of 3

Wait for Event : NEXT DAY

guillaume_v
Not applicable

[ FlexSim 19.0.0 ]

Hello, I'm a decide and wait for event to loop tokens until a condition is true.


The condition is a certain day when I'll allow my token to continue.
I'd like to use a wait for event activity that allows the token to continue every day.


Any idea how to do it?

wait-for-event-next-day.png

0 Likes
Accepted solutions (1)
39 Views
2 Replies
Replies (2)
Message 2 of 3

andrew_rooney
Not applicable
Accepted solution

Hi,

I would use a Date/Time Source set to Daily repeat to generate a token at the time you want to perform the check. Set the Object in the Wait for Event to the Date/Time Source and the Event to On Exit.

1636047170969.png

In the Decide I would expect you to use the Conditional Decide and a condition based on, for example, Model.time

1636047748419.png


0 Likes
Message 3 of 3

guillaume_v
Not applicable

Thanks @AndrewR that's exactly what I needed

0 Likes