During simulation of mathematical model occuring following error

1 visualización (últimos 30 días)
Kunal Vasudeo Mahajan
Kunal Vasudeo Mahajan el 28 de Ag. de 2022
Editada: VBBV el 30 de Ag. de 2022
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)

Respuestas (2)

VBBV
VBBV el 28 de Ag. de 2022
Use limit output option for selecting integrator saturation limits. May be in your case, its running indefinitely.
  2 comentarios
Kunal Vasudeo Mahajan
Kunal Vasudeo Mahajan el 29 de Ag. de 2022
I changed limits and changed solver too still not getting desirable output.
Can you please help me ?
VBBV
VBBV el 30 de Ag. de 2022
Editada: VBBV el 30 de Ag. de 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

Iniciar sesión para comentar.


Sam Chak
Sam Chak el 28 de Ag. de 2022
Editada: Sam Chak el 28 de Ag. de 2022
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.

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by