File Exchange

image thumbnail

Simple Solar Cell And Panel Model

version 1.0.0.0 (952 KB) by Thibaut Leroy
Simple function for I/V and P/V calculation for a Sunpower solar cell, frequently used in solar cars

36 Downloads

Updated 04 May 2011

View License

May 2011, tested on MATLAB R2010A

A simple function with a quick graph extraction on Excel from Sunpower's datasheets.
Made for A300 Sunpower's cells and panel, but easy to modify for other Silicons cells (amorphous, crystalline...)

Based on published code by Francisco M. González-Longatt, "Model of Photovoltaic Module in MatlabTM", 2DO CONGRESO IBEROAMERICANO DE ESTUDIANTES DE INGENIERÍA ELÉCTRICA, ELECTRÓNICA Y COMPUTACIÓN (II CIBELEC 2005)

Cite As

Thibaut Leroy (2020). Simple Solar Cell And Panel Model (https://www.mathworks.com/matlabcentral/fileexchange/31305-simple-solar-cell-and-panel-model), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)

Nida Rehman

sir i am trying to make a single solar cell and i made model and it is error free now but i dont know how to set graph values like i am not getting my desired graph can you please help me ... either i have to chnage ramp value or graph value even i used scope and it shows graph but it is wrong curve in wrong direction can you help out me
email id chillpillnida@gmail.com

Error Convert cell's temperature from Celsius to Kelvin [K]

nup

sir,
i am unable to run solar.m file. please help

and also how to formulate the excel sheet for other solar cells. what technique have u used..

please help.

thanks.

tareq

This is very nice work, but I am working on Solarex MSX-60 module. I need Excel file of MSX-60 module badly. Do you have any idea how I can find that ?

Thibaut Leroy

@Hossein: It's a reproduction of the Current/Voltage nominal curve from Datasheet.
The 1.665V value is Open Voltage (0.665) + 1V to have a large range because of low temperature effect. It can be less, but 0.665V is not enough.

Hossein

would you please explain the excel data?
what is the first and second column?
and why you define the voltage in this range?(0 to 1.665)

Regards,

Sepideh

Sepideh

Thibaut Leroy

You've to run SimpleSolarCellAndPanelModel.m, does it solve your problem?
solar.m is just the external calculation function, but you can use it in your own scripts.

Unable to run solar.m file

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

SimpleSolarCellAndPanelModel/