i have a problem in linear algebric loop

4 Ansichten (letzte 30 Tage)
RAFEE DRISSI
RAFEE DRISSI am 2 Okt. 2023
Beantwortet: Spruha am 20 Feb. 2025
im using this block to limit the power of voltage source and i implemented first order transfer function as a delay to vanish the linear algebric loop but still i get this error: Nonlinear solver to advance time one step failed to converge due to Linear Algebra error. Failed to solve using iteration matrix.
and i have a problem in the gain and the integrator units as well.

Antworten (1)

Spruha
Spruha am 20 Feb. 2025
Hi RAFEE,
I understand that you are trying to implement first order transfer function as delay to remove algebraic loop. The error “Nonlinear solver to advance time one step failed to converge due to Linear Algebra. Failed to solve using iteration matrix” can be due to the following factors:
  • Using incorrect solver type or inappropriate step size and tolerance settings can be cause of the error. Consider using a small discrete time step if you're using continuous simulation. This can aid in convergence of numerical solvers.
  • Try setting appropriate initial conditions for your integrator to prevent unexpected jumps or instability at the start of the simulation
  • Try checking the equation and see if they take in account the assumptions made.
Refer this documentation to understand continuous and discrete time representation and delay equations of transfer function : https://www.mathworks.com/help/ident/ug/what-are-transfer-function-models.html

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by