フィルターのクリア

How can fix that error in this simulation?

1 回表示 (過去 30 日間)
Merve Ala
Merve Ala 2023 年 4 月 19 日
回答済み: Walter Roberson 2023 年 4 月 19 日
I am working on this simulation and it gives me this error. What can I do?
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Derivative of state '1' in block 'hwmid/Aerodynamic_Data/total forces/Subsystem/Integrator' at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Component:Simulink | Category:Block error

回答 (1 件)

Walter Roberson
Walter Roberson 2023 年 4 月 19 日
Derivatives not being finite at time zero are typically mistakes in initialization -- in particular, forgetting that input signals that are updated by a feedback model need to be initialized
But it is also not uncommon to have a model that effectively has a division by t (time) and forgetting that at time 0 that means a division by 0.

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by