Problem to resolve algebraic loop

7 vues (au cours des 30 derniers jours)
razevedo
razevedo le 20 Juil 2011
Commenté : ahmed altaee le 27 Jan 2017
Hi Mathworkers.. I make a model and appear this error:
Simulink cannot solve the algebraic loop containing 'testestestes/Bateria/Subsystem/Simulink-PS Converter1/EVAL_KEY/SFUN' at time 2126.0 using the TrustRegion-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues.
To rule out solver convergence as the cause of this error, either
a) switch to LineSearch-based algorithm using
set_param('testestestes','AlgebraicLoopSolver','LineSearch')
b) reducing the ode23t solver RelTol parameter so that the solver takes smaller time steps.
If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.
I think that the problem is in connection of Simscape and SimPowerSystems, like the image... I know that i need use a tranfer function, but i doní know when i put this... My model is in the next picture: http://img151.imageshack.us/img151/1276/80572262.png
When i put Transfer Fcn?
  1 commentaire
ahmed altaee
ahmed altaee le 27 Jan 2017
i have the same problem !!

Connectez-vous pour commenter.

Réponses (1)

Arnaud Miege
Arnaud Miege le 20 Juil 2011
Put the transfer function between the voltage measurement block and the Simulink - PS Converter block, or between the PS - Simulink Converter block and the current source. This will help break the algebraic loop. You might want to change the coefficients of the transfer function though to represent a low-pass filter with a cut-off frequency that is above the maximum frequency content that you want to capture.
HTH,
Arnaud
  4 commentaires
razevedo
razevedo le 20 Juil 2011
But I can not connect it... Like i show in the picture appear a red line...
Arnaud Miege
Arnaud Miege le 20 Juil 2011
Yes, I know. I told you in my answer how to connect it. Read it again.

Connectez-vous pour commenter.

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by