Replies: 4 comments
-
BSK doesn't have a way to reset the simulation back to the original states. With the steps above it is trying to recreate integration states over again, and thus the warning. Initial conditions won't be setup properly for all modules. In the Monte Carlo scripts we fully terminate the simulations and start up fresh copies. Having a way to reset has been on our wish list, but we haven't had time or a pressing need for now. |
Beta Was this translation helpful? Give feedback.
-
Oh very good to know! Thank you! Do you know if there is anything in particular we need to do to "cleanup" a scenario after it finishes running? We want to prevent any memory leaks if possible. I looked through the SimulationExecution class in "dist3/Basilisk/utilities/MonteCarlo/Controller.py" script but didn't see anything clean up routines but I may have missed something. Mark Lai |
Beta Was this translation helpful? Give feedback.
-
Mm, I worked on such code in a while. I would try to use the SimulationBase class |
Beta Was this translation helpful? Give feedback.
-
Very helpful. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am interested in running setting up a scenario and then running it to different times e.g.
run to 600 seconds
reset
run to 300 seconds
Is the following a proper way to reset a simulation?
Beta Was this translation helpful? Give feedback.
All reactions