modelPVArray

Flexible PV array model

Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).

Information

Flexible PV array model. The model can be parametrized with the use of PV module datasheets. As a default, the data from the Kyocera KC200GT is provided. The model is presented in "Comprehensive Approach to Modeling and Simulation of Photovoltaic Arrays" by M.G. Villalva et al.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.Chargeq1.60217646e-19Electron charge
RealGn1000STC irradiation
Modelica.SIunits.TemperatureTn298.15STC temperature
Modelica.SIunits.CurrentImp7.61Maximum power current
Modelica.SIunits.VoltageVmp26.3Maximum power voltage
Modelica.SIunits.CurrentIscn8.21Short circuit current
Modelica.SIunits.VoltageVocn32.9Open circuit voltage
RealKv-0.123Voc temperature coefficient
RealKi3.18e-3Isc temperature coefficient
RealNs54Number of cells in series
RealNp1Number of cells in parallel
Modelica.SIunits.ResistanceRs0.221Equivalent series resistance of array
Modelica.SIunits.ResistanceRp415.405Equivalent parallel resistance of array
Reala1.3Diode ideality constant
Modelica.SIunits.CurrentIpvnIscnPhotovoltaic current at STC

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin
Modelica.Blocks.Interfaces.RealInputGSolar irradiation
Modelica.Blocks.Interfaces.RealInputTPanel temperature

Components

TypeNameDefaultDescription
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
SI.Currenti (from OnePort)Current flowing from pin p to pin n
Modelica.SIunits.VoltageVtThermal voltage of the array
Modelica.SIunits.CurrentIpvPhotovoltaic current of the cell
Modelica.SIunits.CurrentI0Saturation current of the cell
Modelica.SIunits.CurrentIdDiode current
Modelica.SIunits.CurrentIrRp current