フィルターのクリア

Why should I tighten error tolerances if I am violating minimum stepsize?

10 ビュー (過去 30 日間)
Federico Toso
Federico Toso 2022 年 11 月 23 日
編集済み: Torsten 2022 年 11 月 23 日
The followiing is a typical warning message of Simulink that can be displayed after a model has been simulated:
"Solver was unable to reduce the step size without violating minimum step size of [...]"
The Diagnostic Viewer then proposes some fixing actions, most of which I understand. However I cannot grasp the following one:
"Try tightening the error tolerances, and/or the tolerances for computing consistent conditions"
If I tighten the error tolerances, I expect the solver to take even smaller steps, and so to violate the minimum step size even more easily.
What am I missing?

採用された回答

Torsten
Torsten 2022 年 11 月 23 日
編集済み: Torsten 2022 年 11 月 23 日
The stepsize reduction down to the minimum stepsize often occurs because in previous time steps, the solver was not exact enough in computing the solution variables. This may lead to unphysical results. The errors in previous steps cannot be repaired later, and the solver quits when the minimum stepsize is reached. Tightening the error tolerances can lead to longer computation times and smaller step sizes, but can often prevent the solver from reaching out because of accumulated inaccuracies in computation.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Events and Mode Charts についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by