Borrar filtros
Borrar filtros

Derivative of state '5' in block 'Simulatio​n_of_Six_D​oF_PADS/In​tegrator' at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution.

3 visualizaciones (últimos 30 días)
Steps taken to try to fix the error:
  • reducing step size
  • changing solver type
Any other potential steps I can take to try to fix the error?

Respuestas (1)

Dhruv
Dhruv el 20 de Mzo. de 2024
A possible reason for getting the error message 'Derivative of state '5' in block 'Simulatio​n_of_Six_D​oF_PADS/In​tegrator' at time 0.0 is not finite' is the incorrect implementation of the logic or the use of an unstable equation while creating the Simulink model.
This error message appears if one of the blocks is generating either an infinite or NaN value at some point in time. These infinite or NaN values get passed to the "Integrator" block which generates this error.
In order to find out which block is responsible for generating infinite or NaN value, you can set the Configuration Parameters by performing the below steps:
  1. Go to "Model Settings" of Top Model from toolstrip.
  2. Search for "Inf or NaN block output" using the search bar present above in the Configuration Parameters panel.
  3. Set the value of "Inf or NaN block output" to "error" (by default it would be "none")
  4. Click Apply and OK. Run the model again.
Now you can see an error in the "Diagnostic Viewer" which points to the block that is creating infinite or NaN value. To avoid such errors you can always check for any logical errors relating to that block (such as division by zero) or the correctness of the equations.

Categorías

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

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by