How to fix this issue while trying to simulate a PV Panel composed of PV Cells (represented as 36 diodes in series into de subsystem)

1 Ansicht (letzte 30 Tage)
I tried to simulate a PV panel (with 36 diodes in series in subsystem) but it doesnt converge into a solution, and I get the following warning, how do I solve it? when I simulate PV Panel with one diode the simulation is ok.
  1 Kommentar
Walter Roberson
Walter Roberson am 31 Aug. 2024
The complete messages are:
The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below. all components and nodal across variables involvedCannot solve for one or more variables: 'Subsystem.Diode1.private.Diode.v_diode' (Intrinsic diode voltage) 'Subsystem.Diode2.private.Diode.p.v' (Voltage)
Component:Simulink | Category:Model warning
An error occurred during simulation and the simulation was terminated
Caused by:

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sivsankar
Sivsankar am 30 Aug. 2024
Hi Raul,
Since you have not shared the file, I’ve limited knowledge on your model. But I believe that the error message indicates that there is an issue with the execution time setting for the XY Graph block. I think it may be due to algebraic loop constraints.
One possible workaround is to break any algebraic loops present. You can check if any algebraic loop is present through the ‘getAlgebraicLoops’ command and break any loops if present. Please leverage the following documentation to understand the usage of the function:
Another possible workaround is to tighten the relative tolerance as stated by the diagnostic viewer. You can change it in the solver settings. You could also try to use stiff solvers such as ode15s as its more suitable for real-time systems.
These are some troubleshooting techniques that you can apply on your model. I hope it may rectify the issue. If the issue persists, please share the model here, so that I can get more details.
Thanks

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by