[Simulink] Open Circuit Voltage measurement for PV array

25 views (last 30 days)
HI everyone,
I might have asked a silly qustion but when I try to measure the open circuit voltage of a PV array, connecting the + and - side directly to the voltage measurement block, it always show an error :
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Algebraic state in algebraic loop containing 'untitled1/PV Array/Diode Rsh/Product5' computed at time 0.0 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)
WHat is the right way to measure open circuit voltage of a PV array? Thank you so much!

Answers (1)

Mohd Saood
Mohd Saood on 22 Nov 2023
I had the same problem. It seems like in the case of open circuit, or very low load the voltage shoots to infinite at initialization time. Its definately a problem with how the solver works.
This can be avoided by adding a capacitor to the output terminals of PV array. The capacitor provides a very low resistance path at the initialization point and acts as open circuit at steady state. Infact its actually a good practice to put such a capacitor as it will also stabilize the output terminal voltage .

Products

Community Treasure Hunt

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

Start Hunting!