simulation error with PV array

24 views (last 30 days)
Ahmad
Ahmad on 23 Sep 2024
Commented: Vinay on 26 Sep 2024
An error occurred during simulation and the simulation was terminated
Caused by:
Block 'solar/PV Array/Diode Rsh/Math Function' outputs 'Inf' for element 1 of output port 1 at major time step 0
Component:Simulink | Category:Block error

Accepted Answer

Vinay
Vinay on 24 Sep 2024
Hi @Ahmad,
The issue arises because the PV array's output voltage is extremely high, resulting in a (Vd/Vt) ratio of around 3. 8e4.The issue can be resolved by decreasing the value of the shunt resistance (Rsh) connected with the diode to reduce the Voltage drop across the PV array as Vd depends on PV array voltage as (Vd=V_PV + Rs*I_PV)
The Number of series cells (Nser) can be increased to increase the threshold voltage of the diode to achieve the desired Vd/Vt levels or to use a DC-DC converter to regulate the output voltage of the PV array
Kindly refer to the below documentation of “pv array” for more details:
I hope this helps!
  2 Comments
Ahmad
Ahmad on 26 Sep 2024
from where do i decrease the value of shunt resistor from below picture it is not changable.
Vinay
Vinay on 26 Sep 2024
Hi @Ahmad,
You can use the Ctrl+U to view under the mask in the PV array and can change the value of shunt resistance named "Rsh_5%".

Sign in to comment.

More Answers (1)

Ayush
Ayush on 24 Sep 2024
The error you are encountering is because the model is evaluating the exponential of vd/vt = 3.8e4 as shown in the signal values:
As a workaround you can limit the exponential Input as:
% Pseudo-code for limiting vd/vt
vd_vt_limited = min(vd/vt, max_limit);

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!