Error while simulating a model containing PV array

10 views (last 30 days)
Hello I receiving the following error:
  • Algebraic state in algebraic loop containing 'test2/PV Array/I Filter/First-Order Filter/Model/sum1' computed at time 1.6565 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Currently the solver is variable type in auto mode. The max, min, initial step sizes, and absolute sizes are auto and relative tolerance is 1e-8. Someone please help with the solution.
When the time constant of the PV arrays were greater than 1e-4 the model worked by the results were unsatisfactory.Someone please help with the solution.

Answers (1)

Ayush Gupta
Ayush Gupta on 11 Jun 2020
Refer to the following link for the various steps that can be followed in order to resolve algebraic loops in Simulink model:
  1 Comment
Shubham Thorat
Shubham Thorat on 14 Jun 2020
Thank you . It worked . I reduced both the errors to 1e-8 and broke the loop in the PV array.

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!