FinalState Operating Points Generated by Parallel Pool
Mostra commenti meno recenti
I'm running a model on a set of parallel workers (MDCS) and I'd like to use the FinalState operating points from these runs to as the InitialStates for second set of simulations. My code runs fine when I'm not using the parallel pool (run a single simulation, use its FinalState as the InitialState for the second run), however when the first set is run on the parallel pool, I get an error saying that the model was changed after the operating point was saved. The only change I'm making between parallel runs is to assign the InitialState to the SimulationInput parameter for the second set.
Risposte (1)
Ayush
il 2 Gen 2024
0 voti
Hi @Peter Carow
I understand that you are get an error saying that the model was changed after the operating point was saved when using parallel pool. The error has been fixed in R2020b Release, you can use parsim to simulate the multiple system in parallel. You may refer to this documentation to read about parsim: https://www.mathworks.com/help/simulink/slref/parsim.html.
If you are facing issues in R2020b release kindly attach your model for further assistance.
Thanks,
Ayush
2 Commenti
Peter Carow
il 2 Gen 2024
Modificato: Peter Carow
il 2 Gen 2024
Ayush
il 4 Gen 2024
could you please attach your code here?
Categorie
Scopri di più su Simulation and Analysis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!