Hi team,
I hope to achieve the following scenario where the model will perform 3 rounds, and in each round, the model will execute 5 tries. Between each simulation, the model will first stop, then reset, and then run again. In other words, the model will run 15 times repeatedly.
At the beginning, I set Round = 1 and Try = 1 in the table, and start the simulation. Before the simulation ends, the next Round and Try values will be written in the table. Afterwards, the model will stop, reset, and run again.
The values of (Round, Try) are in sequence: (1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (3, 1), (3, 2), (3, 3), (3, 4), (3, 5).
My model takes 2 seconds to simulate each time. I have written the following program, but I feel like the model does not spend any time simulating after the first simulation (less than 2 seconds of simulation time). After that, the numbers just keep jumping until the (Round, Try) values are (1, 4).
May I know if my program is written incorrectly? Thank you.Round Try.fsm