i have a problem in linear algebric loop

4 次查看(过去 30 天)
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.

回答(1 个)

Spruha
Spruha 2025-2-20
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

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by