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)

조회 수: 5 (최근 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 2024년 8월 31일
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일
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