I am new in anylogic, and I want to write a stop condition for the simulation and then save the final values: I have some stocks and flows and I want that when one of my stock values reaches a specific value, the simulation stop and then saves all the values;
- where should I write the condition?
- what is the statement for stopping simulation in this case?
- how can I save the values?
Thanks :)