Simscape simulation using operating points
2 vues (au cours des 30 derniers jours)
I'm trying to proceed a simulation starting at an operating point of another simulation run.
Due to convergence issues I have to reduce the simulation step size for the second sim run and it seems like that change inside the
"Solver Configuration" block actually changes the model. Thus, proceeding with the former operating point is not possible, anymore.
Is there a workaround or is it currently simply not possible to change the solver configuration while using stored operating points?
Thanks a lot!
Meet le 10 Mar 2023
When you change the solver configuration in Simulink, it can affect the behaviour of the simulation, including the results of a previously stored operating point. This is because the solver configuration affects how the simulation integrates the model equations, and changing the solver configuration can change the way the equations are integrated.
One possible workaround is to manually adjust the solver settings to try to match the settings used in the original simulation run as closely as possible. This might involve adjusting the step size, tolerance, or other settings in the solver configuration block. You can try using the "View/Edit Operating Point" feature in Simulink to adjust the stored operating point to match the new solver settings.
Another option is to use a fixed-step solver with a very small step size for both simulation runs. This can help to ensure that the simulation runs are consistent and that the operating point can be transferred between them.
Ultimately, it may not be possible to precisely reproduce the operating point from the first simulation run if the solver configuration is changed significantly. In this case, it may be necessary to re-run the first simulation with the new solver settings to generate a new operating point that is compatible with the second simulation run.