Clear Filters
Clear Filters

A solution for simpowersystem model

4 views (last 30 days)
Mohsen
Mohsen on 6 Dec 2018
Edited: Mohsen on 7 Dec 2018
Dear friends
I have a simulink model based on phasor solution. in fact that is 4 machine kondur model in simulink demos.
I want to add a Facts device to it based on a paper text. i placed 3 controlled voltage source at one of transmition line in seris .the its angle and ampitude is made by two independent controlled circuits. the problem is make up 3 signals to input into three contoled voltage sources by this amplitude and phase. i get three branch from output of angle cnotrol circuit. first branch directly sent to a "Magnitude-Angle to Complex" block for source of phase A, another by a gain block by "exp(-j*2*pi/3)" value and third by "exp(j*2*pi/3)". after running i am facing this error:
"Simulink cannot solve the algebraic loop containing 'CasePSS1_15_09_97/IPC1/Subsystem/Gain3' at time 0.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('CasePSS1_15_09_97','AlgebraicLoopSolver','LineSearch')
b) reducing the ode23tb 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."
Can you help me to solve it?
Best Regards
  2 Comments
Steven Lord
Steven Lord on 6 Dec 2018
What happened when you tried what the error message suggested?
To rule out solver convergence as the cause of this error, either
a) switch to LineSearch-based algorithm using
set_param('CasePSS1_15_09_97','AlgebraicLoopSolver','LineSearch')
b) reducing the ode23tb 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."
Mohsen
Mohsen on 7 Dec 2018
Edited: Mohsen on 7 Dec 2018
I already tried, are not effective. the error persisted

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!