Simscape simulation using operating points
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
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!
0 件のコメント
回答 (1 件)
Meet
2023 年 3 月 10 日
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.
参考
カテゴリ
Help Center および File Exchange で Variable Initialization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!