question

xuan-123 avatar image
0 Likes"
xuan-123 asked Joerg Vogel answered

How to automatically reset and run without pressing a button?

How to use custom code in process flow to repeat Reset, Run, record the completion time to the global table, and the number of simulations is based on the parameter "Simulation times"?

In addition, my random seed is different every time.


Thank you for your response!


Repeat operation and record.fsm

FlexSim 23.0.10
customcodeprcocess flowautomatic reset and run
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
I think that is a feature of the experimenter tool. It is a feature of a valid license. Your request would work similar to this feature, but this time even in a demo version.

Typically a process flow runs in the scope of a running model. Once you stop a model run or you do the same by a reset, then a process flow instance stops, too. There doesn’t exist a control instance that runs further on while a model is stopped. You cannot even create an event that starts automatically a model run. There are two exceptions: you can start a model run directly after loading FlexSim as a program or you can try to emulate hitting a program button from windows system by command.

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

xuan-123 avatar image xuan-123 commented ·

Thank you for your response!

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.