
Please help. I am have this code that I am trying to run but I keep getting an error about algebraic loop with a voltage measurement and that there might be a singularity.
8 views (last 30 days)
Show older comments
Attached is a copy of the Simulink code. I keep trying to run it, but I keep getting an error saying that there might be a singularity in the code. I've tried different things but I can't get the code to run. Run it for yourself and you will see what I mean. Thanks.
0 Comments
Accepted Answer
Cris LaPierre
on 14 Mar 2025
Edited: Cris LaPierre
on 21 Mar 2025 at 20:52
The error identifies the loops in 5 subsystems. I was able to resolve them by adding a unit delay to each subsystem.

There is still an error that stopped the simulation (there may be a sigularity)
0 Comments
More Answers (0)
See Also
Categories
Find more on Solar Power in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!