PV Module's I-V Characteristic Curve Fitting Tools

Version 2.0.0 (6.25 KB) by Roy Teong
A tool created to demonstrate how the diode idealiy factor,shunt and series resistance parameter affect the characteristic of I-V curve.
Updated 21 Nov 2019

View License

%This script is originally developed by Dr Rodney and Landon Hoo with the
%original file attached at the reference link.
% Version 1.00 (Aug 2018)

%This model is develoepd in order to characterize the PV panels through the
%simplified five-parameter model.

%The simplified five-parameter model refer to derived photo-generated and
%diode saturation current, with manual algorithmic parameterization of
%diode ideality factor, shunt and series resistance.

%The characterization of PV module is performed by matching both of the
%measured and mathematically modelled I-V curve. The parameterization is
%carried out by adjusting diode ideality factor, shunt and series
%resistance parameter.

%A total of three measured data is provided with this attached script.
%which are :

% Monocrystalline Panel 70W at 999W/m^2 'Mono70W999.csv'
% Polycrystalline Panel 70W at 1000W/m^2 'Poly70W1000.csv'
% Amorphous Thin Film Silicon Panel 100W at 1005W/m^2 'aSi100W1005.csv'

%Mean Absolute Percentage Error (MAPE) would be the error criterion and the
%algorithmic parameterization should terminate when minimum possible MAPE
%value is achieved.

% This edited version include following amendments:
% The data of .CSV file are edited, so that the Isc and Voc parameter
% value can be traced from the y- and x- intercept respectively from
% the I-V curve
% Previous model present the data through Mean Absolute Error (MAE) in
% percentage form. This model propose the much accurate definition error criterion
% of Mean Absolute Percentage Error (MAPE).
% This MATLAB script includes with traditional and proposed formula for
% both photo-generated and diode saturation current at script of line 120
% to line 123. User can make selection among the two provided formula.
% It is tested that the proposed formula give a better modelling
% accuracy for crystalline silicon PV modules' I-V curve.

Cite As

Roy Teong (2024). PV Module's I-V Characteristic Curve Fitting Tools (https://www.mathworks.com/matlabcentral/fileexchange/72427-pv-module-s-i-v-characteristic-curve-fitting-tools), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: PV Panel Characterization Tool

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Corrected MAPE formula