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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Charge | q | 1.60217646e-19 | Electron charge |
| Real | Gn | 1000 | STC irradiation |
| Modelica.SIunits.Temperature | Tn | 298.15 | STC temperature |
| Modelica.SIunits.Current | Imp | 7.61 | Maximum power current |
| Modelica.SIunits.Voltage | Vmp | 26.3 | Maximum power voltage |
| Modelica.SIunits.Current | Iscn | 8.21 | Short circuit current |
| Modelica.SIunits.Voltage | Vocn | 32.9 | Open circuit voltage |
| Real | Kv | -0.123 | Voc temperature coefficient |
| Real | Ki | 3.18e-3 | Isc temperature coefficient |
| Real | Ns | 54 | Number of cells in series |
| Real | Np | 1 | Number of cells in parallel |
| Modelica.SIunits.Resistance | Rs | 0.221 | Equivalent series resistance of array |
| Modelica.SIunits.Resistance | Rp | 415.405 | Equivalent parallel resistance of array |
| Real | a | 1.3 | Diode ideality constant |
| Modelica.SIunits.Current | Ipvn | Iscn | Photovoltaic current at STC |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin | |
| Modelica.Blocks.Interfaces.RealInput | G | Solar irradiation | |
| Modelica.Blocks.Interfaces.RealInput | T | Panel temperature |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| SI.Current | i (from OnePort) | Current flowing from pin p to pin n | |
| Modelica.SIunits.Voltage | Vt | Thermal voltage of the array | |
| Modelica.SIunits.Current | Ipv | Photovoltaic current of the cell | |
| Modelica.SIunits.Current | I0 | Saturation current of the cell | |
| Modelica.SIunits.Current | Id | Diode current | |
| Modelica.SIunits.Current | Ir | Rp current |