Open access peer-reviewed chapter

Modeling of Photovoltaic Cell Using Free Software Application for Training and Design Circuit in Photovoltaic Solar Energy

By Miguel Pareja Aparicio, José Pelegrí-Sebastiá, Tomás Sogorb and Vicente Llario

Submitted: April 23rd 2012Reviewed: July 27th 2012Published: March 13th 2013

DOI: 10.5772/51925

Downloaded: 6528

1. Introduction

There are numerous studies that develop the mathematical modeling of photovoltaic cells and verified by software, for example [1] or [2]. The model presented is based on an equivalent circuit implemented in free software. Free software used is Quite Universal Circuit Simulator (QUCS), [3]. QUCSuses a generic diode for adjust the current and voltage curve (IV curve) at photovoltaic cell. Additionally, you can use equations to define the model of photovoltaic cell and represent the characteristic curves on the same page, [4]. QUCS is a multiplatform application that runs on Windows and Linux, this software is available in Linux distributions for electronics. [5].

This model can be used for training in photovoltaic solar energy, using: subcircuits, curves, tables and equations. Further, can be used an attractive presentation to the student with a real representation of PV cell. Also, can be used to test circuit with photovoltaic solar cell as power supply, in applications such as: micropower systems for harvesting energy, stand alone PV system for control battery charge.

The model of PV cell can be used to simulate a PV module, because PV module is an association of cells in series and parallel. The model PV module can use to study mismatch effects due to different electrical characteristics of PV cells and the use of pass diode to reduce loss due to partial shadows. Then, can be use PV module study PV grid connection and energy production prediction.

Advertisement

2. Equivalent circuit of photovoltaic cell

The equivalent circuit of an ideal cell is formed by a current source in parallel with a diode (figure 1a). There are several circuits that include resistors for real effects of a photovoltaic cell, for example, figure 1b includes a resistor in series, [2], figure 1c includes parallel and series resistance, [1] and [6]. Other models include two diodes as in figure 1d, [7] and [8].

The circuit of figure 1c is the more commonly used, although in several simulations simplifies the parallel resistance value with a high value, using the series resistance to include effect of fill factor, gets a similar circuit of figure 1d and used Rpto avoid problem with simulation. Then, this circuit has a simple and accurate model to simulate a photovoltaic cell.

The problem is the parameter values of circuit components. Therefore, in Section 4 are calculated parameters using data from the photovoltaic cell indicated in datasheets, for equivalent circuit onfigure 1c.

Figure 1.

Equivalents circuits of photovoltaic cell

3. Current-Voltage (I-V) Curve

Calculate equivalent circuit parameters need to know the I-V curve. In the I-V curve(figure 2) can extract the electrical characteristics of the photovoltaic cell in standard conditions of measurement (SCM): ISC(short circuit current) is maximum intensity that can generate a photovoltaic cell or module when measuring the current if performing a short circuit (output voltage of 0 volts), VOC(open circuit voltage) is maximum voltage that can generate a photovoltaic cell or module when measuring the voltage if not flowing current (current of 0 amps), PMAX(Maximum power) is maximum power that can generate a photovoltaic cell or module and it’s the product of maximum voltage and current, VMAX(Maximum Voltage) is the voltage at maximum power (around 80% of open circuit voltage) and IMAX(Maximum Current) is the current at maximum power.

Figure 2.

IV Curve of photovoltaic module

Compare the figure 2 with equivalent circuit (figure 1b), value of ISCrelated with ILand value of VOCrelated with voltage and current diode (Id). Then diode includes effects of exponential of I-V curve. Finally Rsadjusts value of PMAX. All parameter information is extract to datasheets, and SCMare: 25ºCfor cell temperature (TC), 1000 W/m2for irradiance (G), 1,5 for spectrum solar and 3m/sfor wind speed.

4. Modeling equations of photovoltaic cell

Reference to the circuit of figure 1c, then show all equations needed to obtain all the parameters that define the model in standard conditions of measurement (SCM). In equation 1 shows the intensity value generated by the photovoltaic cell, [9]: Iis output current of photovoltaic cell, Vis output voltage of photovoltaic cell, ILis the photogenerated current, I0is the saturation current of diode, RSis series resistance due to the junction between the semiconductor and the metal contacts (interconnects), RPis parallel resistance due to no linearity of union PN, mis ideal factor of diode and Vtis thermovoltage shown in equation 2 (where: kis the Boltzmann constant, qis the electron charge and Tis temperature in degree Kelvin).

I=ILI0[e(V+I·RSm·Vt)1][V+I·RSRP]E1
Vt=k·TqE2

Equation 1 can simplify the last term with a high value of RP(for example 100kΩ). Furthermore, ILis considered equal to the short circuit current in SCM(ISC_SCM), [1]. Then we obtain the equation 3 at SCM.

I=ISC_SCMI0_SCM[e(V+I·RSm·Vt)1]E3

The value of I0is obtained for SMC(I0_SMC) using equation 4, based on [10], considering open voltage circuit in SCM(VOC_SCM) and cell temperature in SCM(TC_SCM).

I0_SCM=ISC_SCM(e(q·VOC_SCMm·k·TC_SCM)1)E4

There is an empirical relationship between the value of VOC_SCMand ISC_SCMwith RS, [9]. Then, needs calculate fill factor of ideal device (FF0) at equation 5, using parameter vocof equation 6, and calculate RSusing equation 8. The fill factor (FF) of photovoltaic cell shows at equation 7. This approach only use when RPis high, therefore fill factor depends of RSvalue.

FF0=vocln(voc+0,72)voc+1E5
voc=VOC_SCMVtE6
FF=VMAX_SCM·IMAX_SCMISC_SCM·VOC_SCME7
RS=(1FFFF0)·(VOC_SMCISC_SMC)E8

Changes in temperature affect the values of ISC,vocand PMAX, when cell temperature increase the VOCdecrease, same with the PMAX, and when irradiation increase the ISCalso increase. The datasheet used parameters of table 1, establishing the relationship between units (voltage, current and power) and temperature. Temperature can be expressed on degree Celsius or Kelvin, depends of manufacturer.

ParametersAffect to…Units
βVOCmV/ºCor %/ºC
αISCmA/ºCor %/ºC
δPMAXmW/ºCor %/ºC

Table 1.

Parameters that include temperature variations on photovoltaic cell

Also, changes in irradiance (G) affect the value of ISCand VOC. Therefore, using approximation of Luque-Sala and Duffie & Beckman, [10], we obtain the equation 9 for IL. Besides empirical tests simulation to study the effects of temperature on I0, used for get equation 10, based on the approximation Duffie&Beckman.

IL=ISC_SCM·GGC_SCM·(1+α·(TCTC_SCM)E9
I0=ISC_SCM·GGSCM·(1+α·(TCTC_SCM)(e(q·(VOC_SCM+β·(TcTC_SCM))m·k·TC_SCM)1)E10

The relationship between temperature ambient (TA) and cell (TC), can used equations 11 and12, [11]. It is based on normal operating temperature cell (TNOC), is defined as the average temperature of equilibrium within a photovoltaic cell to an irradiance of 800W/m2and an outside temperature of 20ºC. Use this approximation is interesting because there are statistics of temperature ambient on geographic situation but temperature cell depends to PV cell and module.

TCTA=C·GTc=C·G+TAE11
C=TNOC20800W/m2E12

Figure 3 shows the simulation window with all the necessary equations and the visualization of results using QUCS. Photovoltaic cell simulated in figure 3 is C3ISF200SBof Isofoton, [12]. QUCS allows represented on the same page a circuit and results of simulation, for example in figure 3 included: IV Curve, output power curve, output current curve, output voltage curve and a table with numerical results. For functions used in QUCSsee on [13], in figure 3 used following equations: eqn1 for parameters of photovoltaic cell, eqn2 for change temperature ambient to cell temperature, eqn3 for parameters adjust to equivalent circuit and eqn4 to calculate variables to represented results on graphical depends to output measurement of equivalent circuit.

Figure 3.

Final result of the simulation Qucs photovoltaic cell

The equivalent circuit is formed by following components: current source (dc current sourceon sourcelibrary), diode (diodeon non linear componentslibrary) and resistors (resistoron lumped componentslibrary). The value of current source is calculate on variable IL(current generate) on equ3 based on equation 9, the value of current saturation on diode is calculate on variable I0on equ3 based on equation 10, the value of resistor series and parallel its calculate manually and indicate on eqn3. The model of diode simulation includes ohmic series resistence (Rs) and zero bias junction capacitance (Cjo), to adjust to PV cell model must changue to 0Ωand 0Frespectively.

Current measurement of PV cell model used current probe (Icell) on probe library, for voltage measurement used a wire label (Vcell) to get voltage on node. Power generate (Pcell) of PV cell is calculates using equ4 as the product of current (Icell.I) and voltage (Vcell.V) measurement. To represent a IV curveis needs to get a variable Iusing function PlotVS()on equ4. The results on simulation show on graphical (Cartesianon diagramslibrary) and table (Tabularon diagramslibrary).

In QUCSis a used component of library simulations for configuring simulation, for example to get IV curveneed components: dc simulationand parameter sweep(figure 4). The configuration of simulation that show on figure 4, changes value of variable Rlfrom 0,01Ωto 10Ω, variable Rlis used to change value of resistor R3(figure 3).

Figure 4.

Simulation configuration

Also, if changes value of Irradiancevariable on eqn2 (figure 3), changes the solar condition and current generate of PV cell. For example on figure 5 shows IV curveto different values of solar irradiance at the same value of cell temperature (25ºC): 1000W/m2(G_1000), 750W/m2(G_750) and 500W/m2(G_500).

Figure 5.

IV Curve for different values of irradiation

Further, if changes value Tambvariable on eqn2 (figure3), change ambient temperature and therefore the cell temperature condition based on equations 10 and11. For example on figure 6 shows IV curveto different values of cell temperature at the same value of irradiance (1000W/m2): 50ºC(T_50), 25ºC(T_25) and 0ºC(T_0). Then, combining the two variables can adjust weather conditions.

Figure 6.

IV Curve for different values of cell temperature

5. Educational application

The model shown in Section 4 can be used for the formation of PV system. In particular, using subcircuit for an attractive presentation for the student, [10]. In addition to evaluating the effects of: association series and parallel, potential losses, weather conditions, non-ideality of photovoltaic cells and effect of partial shadow. Figure 7 shows steps for modelling by subcircuits of a PV cell and module, first represented a equivalent circuit and include parameters gets of datasheet, second create a symbol to represented a PV cell, third the subcircuit used to external variables for irradiance (G) and cell temperature (Tc), fourth associate cells to build a PV module, and finally create a symbol to represented a PV module.

To create a subcircuit needs connection for output PV cell, after to select all component of equivalent circuit (figure 3) the output connection of PV cell (in series with Rsfor positive connection) connects used insert port (figure 8). Once finish equivalent circuit can be edit representation of subcircuit pressing F9, for edit representation can be used painting library, [13].

Model for PV module can be create using PV cell subcircuit and connection in series and parallel, for example a PV module for 12V nominal voltage can be formed by 36 PV cells connects in series, in figure 9 shows connections of PV module with 2 pass diodes and external ports connections (positive for P1and negative for P2). Representation used for PV cell and module shows on figure 7, after can be used subcircuit of PV cell or module on different practices.

Figure 7.

Steps modeling subcircuit

Figure 8.

Insert connection to subcircuit

Figure 9.

Model of PV module based on subcircuit PV cell

Then, student works directly with subcicuits independently of equivalent circuit model, because student can be used the same representation for different PV cells. The material used will consist of a compressed file, which contains a project QUCS(for example practices_solar_prj.rar), this file contains a number of files to be need for practical work (files used on QUCSuse extension schand a project contains all files on QUCSdirectory). The practices developed show in table 2, for study for photovoltaic training on stage generation, after can be complete with model of all components on photovoltaic system (battery, regulator or inverter) and can be used on renewable energy training. Practices on table 2 can be complete with a previous work: select values for equivalent circuit and introduction of QUCS.

PractiquesDescriptions
Obtaining IV CurveThis practice consists in the practical realization of obtaining an IV curve, connecting a resistor to photovoltaic cell, how it is done in laboratory, the student modify the values of resistance load and take measurements of voltage and current generate by photovoltaic cell.
Connecting PV cellsIn this practice the student performed tests: vacuum, short circuit and load. Also, performed measurements with various connections: serial, parallel and mixed. This practice can be extent compare with a real measurement.
Effect of irradiance and temperature on PV cellThis practice is to see the effects on curve IV by changing irradiance and temperature. Simulation can be used by scanning parameter to be directly represents the curve IV and only change the values of irradiance and cell temperature. Can use the same practice of PV module.
Partial and total shadowing effectThis practice associated series and parallel solar cells and see the effects for partial shadowing about currentand voltage generate by PV cell. After can repeat practice for total shadowing effect. After, the student can extract conclusion about the shadow problem on PV cell.
Using bypass diodes and losses from partial shading on PV moduleThis practice is to see the utility about bypass diodes in the manufacturing on PV module. Must create two models about PV module, one with diode and other without diode. After the student compare results.
Connection blocking diodesThis practice is to see the effect and necessity of blocking diodes. Must connect a circuit PV cell and battery between blocking diode, after remove blocking diode and compare results.
Mismatch losses in PV ModuleThis practice is to see effects to use different PV cells to manufacturing PV module, must create two models about PV module, one with ideal PV cells and other with different values of short current. After the student compare results.
Voltage drop in PV cells connectionThis practice is to see the losses associated with wiring to connect photovoltaic devices. Can show the effect of using one or another section, and the length between the module and circuit regulator. It creates a new subcircuit corresponding to the calculation of the resistance of the wiring with copper conductors.

Table 2.

Examples of practical using modeling and GPL application

Figure 10 shows several examples for use subcircuits model for educational, and are directly applicable to any practices described. As parameters such as temperature (variable Tcin ºC) and irradiance (variable Gin W/m2) cell, see the effects of partial shading on the association of cells and the use of bypass diodes in the manufacture of photovoltaic modules, and the measurement of short circuit current.

Figure 10.

Examples for subcircuit model

Advertisement

6. Design circuit application

The availability of the model described in section 4, allows design circuits power management when energy source are PV cells or modules. For example, in power supply of sensor nodes, [14], to design efficient harvesting energy control, because QUCSdispose different electronic components for simulation by means of changing parameters to adjust to real component. QUCShas generic devices electronic on non lineallibrary and adjust parameter on properties menu to adjust real component, or use component library (selected on Toolsmenu or Ctrl+5) for used component with properties adjusted to real device (figure 11).

Also, working in selection PV cells to power supplies performing a comparative commercial device to adapted for applications at climatologic conditions of system localization, for example to study PV cell to weather station [15] or irrigation actuator [16]. Further, to test regulator circuit using in stand-alone PV system and control circuit to obtain maximum power point tracker, [17].

Figure 11.

Component library for QUCS

Other application, its predict power generation from PV cells and modules, using a variable parameter for irradiance and ambient temperature. In addition, can be include partial shadow for same object (for example: tree or building) in PV grid connection or stand-alone.

For example, in figure 12a shows curve of irradiation variation of irradiance (G) around day. Value used can be extracted to Photovoltaic Geographical Information Systems (PVGIS) [18] mean values per moths. After connection a constant resistor to photovoltaic cell and get outputs: power, voltage and current (figure 12b). After can complete modifying load connected. Also, can included ambient temperature around day using variable TC. The PV cell characteristics used on figure 12 is: 3,27Afor ISCand 0,6Vfor VOCon SCM.

Figure 12.

Variation Irradiance (G) around day with a constant load

Other example shows on figure 13 to use PV cell model for simulate a circuit control to obtain the maximum power point to PV cell. In figure 13a show a subcircuit connect to dc converter, and figure 13b show output voltage and control signal, the output is controlled modify duty cycle, then the duty cycle decrease when the output voltage arrive to maximum power voltage and increase when output voltage away from maximum power voltage. The PV cell characteristics used on figure 13 is: 150mAfor ISCand 0,62Vfor VOCon SCM.

Figure 13.

Used model to study circuit control of PV cell

Also, model PV cell can be used to study number of PV cells need to supply energy to the system, for example figure 14 show 16 PV cellsfor simple circuit supply of 5Vsource formed by: block diode (D1) and a regulator circuit (LM140).Then, change number of PV cells and configure climatic conditions (Irradiance and temperature) can see if has enough or need more PV cells, too if has more PV cells that is need. On figure 14 show: output voltage (V_load.V), output current (I_load.I) and voltage cells (V_cells.V), to different values of irradiation, therefore study irradiance needs to obtain 5Von load resistor. Conclusions on figure 14 is than needs 16 PV cellson series and irradiance value around 500-550 W/m2or higher to obtain 5Vand 0,5Aoutput (on load). The PV cell characteristics used on figure 14 is: 1Afor ISCand 0,6Vfor VOCon SCM.

Figure 14.

Study irradiation for simple regulator circuit

7. PV cells of module

Some case has available information of PV module on SCMto emulate PV module (figure 15), then needs calculate values for PV cells: division between module open voltage (VOC_MODULE) and number PV cells series (NCELLS_SERIES) to obtein open voltage of cell (VOC_CELL), division between module current short (ISC_MODULE) and number of strings cells connection (NCELLS_STRINGS) to obtain current short of cell (ISC_CELL), and repeat by module maximum values of voltage (VMAX_MODULE) and current (VMAX_MODULE) to obtain maximum values of voltage (VMAX_CELL) and current (VMAX_CELL) of cell; equations 13 to 16respectively.

VOC_CELL=VOC_MODULENCELLS_SERIESE13
ISC_CELL=ISC_MODULENCELLS_STRINGSE14
VMAX_CELL=VMAX_MODULENCELLS_SERIESE15
IMAX_CELL=IMAX_MODULENCELLS_STRINGSE16

Values obtained on equations 13 and14 used to obtain: voc, RS, IL, and I0, on equations: 6, 8, 9and 10. The values obtained on equations 13 to 16used to obtain FFon equation 7. This approximation is based on a PV module is union of PV cells connected in series and parallel strings. Model of PV module included connections cells loss inside module.

On figure 15 shows an example for PV module based on subcircuit on PV cells, characteristic of PV module on SCMis: 150Wto PMAX, 22,6Vto VOC, 8,7Ato ISC, 18,5Vto VMAXand 8,12Afor IMAX. The module used in figure 15 used 36 cells connected in series on a string.

Advantage to use model PV cells on model PV module is that change parameter of irradiation and temperature by cell (figure 7), and so study effects: partial shading, number pass diode, different connections of pass diode, hot cells, etc. Also can be study effect on mismatch on module used PV cell with different electrical characteristics. For example on figure 16 show effects of partial shading on module using 2 diodes pass (figure 9): figure 16a without shadow, figure 16b shadow affect to same number of cell connects on parallel by diode and figure 16c shadow affect only to cells connects on parallel with 1 diode pass.

Figure 15.

Simulate PV module based on PV cell model

Figure 16.

Partial shading on PV module use model PV cell.

8. Conclusion

In this chapter show a equivalent circuit for simulate PV Cell, then show equation to obtain all parameters to circuit based on PV cell datasheet. To check model is implemented on free software and compare results of output PV Cell model represented on IV Curve and output measurements with datasheet information. The software application selected is QUCS because can be include equations to calculate circuit parameters and a real representation of subcircuit.

The PV cell model can modelled any PV cell using datasheet information, also the model include variations of temperature and irradiance for output PV cell. Therefore used PV cell model connected in series and parallel can modelled a PV module. In section 4 shows all necessary equations to obtain parameters of circuit to PV cell model and section 7 shows process and equations to obtain PV module cell.

Using QUCSto model a PV cell allows subcircuit and a real representation to a attractive presentation for teaching. In section 5 show examples of practices used on formation, further can be used on: courses of photovoltaic, online formation or distance learning, because only need download QUCSapplication, and is a good complement to a previous works on laboratory or concepts review for theory. Advantage to used QUCSis that allow several PV cells with a few mouse click, also does not needs buy additional PV cells to used on laboratory because can be modelled the PV cell available on laboratory. Further, is not a problem the availability material on laboratory, because the material of PV system can be expensive, then is best provide a good photovoltaic devices that a devices for all student in a class.

Other application for model of PV cell or module is used to design of supply circuits, for example in a network sensors node, to design power control. In section 6 shows examples to used electronic devices available on QUCSlibrary to control output PV cell, with the advantage to change weather condition to study operation circuit and is surer for designer and electronic devices. Also, can emulate various conditions to which the PV cell work (irradiance and temperature), which can reduce design time, detecting errors. Further, the availability of weather conditions that need for tested circuit.

© 2013 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Miguel Pareja Aparicio, José Pelegrí-Sebastiá, Tomás Sogorb and Vicente Llario (March 13th 2013). Modeling of Photovoltaic Cell Using Free Software Application for Training and Design Circuit in Photovoltaic Solar Energy, New Developments in Renewable Energy, Hasan Arman and Ibrahim Yuksel, IntechOpen, DOI: 10.5772/51925. Available from:

chapter statistics

6528total chapter downloads

1Crossref citations

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Steady State Modeling of Three Phase Self–Excited Induction Generator Under Unbalanced/Balanced Conditions

By A. Alsalloum and A. I. Alolah

Related Book

First chapter

Strategies to Enhance Sustainability of Land Resources in Arid Regions

By Selen Deviren Saygin

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us