how to solve this error?

2 ビュー (過去 30 日間)
Hridhya
Hridhya 2023 年 8 月 11 日
回答済み: Karanjot 2023 年 8 月 23 日
An error occurred while running the simulation and the simulation was terminated
Caused by:
  1 件のコメント
Prateekshya
Prateekshya 2023 年 8 月 21 日
Please share the relevant files for a better understanding of the issue.

サインインしてコメントする。

回答 (1 件)

Karanjot
Karanjot 2023 年 8 月 23 日
Hi Hridhya,
If possible, Kindly share the files associated with the error:
Derivative of state '1' in block 'untitled/Norway/Model/Thermal Model/Transfer Fcn (with initial outputs)/State Space' at time 87590.000000000058 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)
A singularity refers to a situation where the mathematical equations being solved do not have a unique solution or become unstable. It occurs when there is a point or region in the system where the equations become undefined or result in infinite or non-finite values.
You can try inspecting if :
  1. The system is unstable by design and hence causing a singularity
  2. You are using the correct solver & associated settings. Open Simulation > Model Configuration Parameters and check out the solver options. Try reducing the absolute and relative tolerances.
To learn more about this error, you can refer to the below MATLAB Answers.
I hope this information helps!

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by