question

Jingyong P avatar image
0 Likes"
Jingyong P asked Joerg Vogel answered

Set up multiple model stop timers

Is it possible to set up a series of timers to stop model?

For example, I want the model to stop on the first day of each month. Once I click "Run", model will resume running until hits next timer.


Thank you

FlexSim 20.2.3
flexsim 20.2.3multiple timer
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Yes, you can do it. But it is not actually a timer it is more any event that can stop a model by the command stop.
A standard construct would be to send a delayed message and then the OnMessage trigger executes the stop command. Any similar structure can achieve the same as long as you let execute the command stop.

5 |100000

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