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)

49 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson about 14 hours 前
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:

请先登录,再进行评论。

回答(1 个)

Sivsankar
Sivsankar 2024-8-30,10:17
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

类别

Help CenterFile Exchange 中查找有关 Simscape Electrical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by