PV Array Model for PSCs
Version 1.0.1 (325 KB) by
Edwin David Erazo Caicedo
Photovoltaic array model with bypass diode effects for partial shading conditions analysis.
This function gives a numerical result of the current generated by a specific PV array composed of M series-connected modules with bypass diodes, when a given voltage is applied to its terminals
Input variables
: Array voltage measured at the terminals [V].
: Photogenerated-current vector [A].
: Modules-Absolute-Temperature vector [°C].
: Number of cells connected in series (it is assumed that all modules are identical).
: Initial conditions for the numerical process , where is the PV_array current, and is the output voltage of the module. They are important in the numerical solution, and are taken from the every previous solution, in order to reduce convergence time and avoid some errors due to the complex equation-system structure. The following expression could be used in the first iteration , where is the short circuit array current;
Input parameters
(they are considered equal for each module)
: CELL Shunt Resistance [Ohms]
: CELL Series Resistance [Ohms]
: Diode saturation current [A]
: Diode ideality factor
: Bypass-diode saturation voltage [V]
The output is
: PV-array generated current [A]
Cite As
Edwin David Erazo Caicedo (2026). PV Array Model for PSCs (https://in.mathworks.com/matlabcentral/fileexchange/118710-pv-array-model-for-pscs), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
