During simulation of mathematical model occuring following error

Derivative of state '1' in block 'Model/Integrator1' at time 161.23669481078912 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)

Antworten (2)

VBBV
VBBV am 28 Aug. 2022

0 Stimmen

Use limit output option for selecting integrator saturation limits. May be in your case, its running indefinitely.

2 Kommentare

I changed limits and changed solver too still not getting desirable output.
Can you please help me ?
VBBV
VBBV am 30 Aug. 2022
Bearbeitet: VBBV am 30 Aug. 2022
Add a summer block before the Integrator block and give a feedback loop. It seems your velocity values in scope display block dont seem realistic. There are also no damping and stiffness gains the feedback that need to be connected to summer (adder) block in the feedback

Melden Sie sich an, um zu kommentieren.

Sam Chak
Sam Chak am 28 Aug. 2022
Bearbeitet: Sam Chak am 28 Aug. 2022

0 Stimmen

The evolution of the states due to one or some unknown singularity-induced terms (something happened in the feedback loop, not displayed in the image) caused the system to blow up to .
Please check the Equations of Motion for the division-by-zero terms, or the logarithmic or trigometric singularities. A light aircraft probably have the mass of 5,000 kg.

Kategorien

Mehr zu General Applications finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Bearbeitet:

am 30 Aug. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by