fProd: Performance of a PV system

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/fProd.R

Description

Simulate the behaviour of a grid connected PV system under different conditions of irradiance and temperature. This function is used by the prodGCPV function.

Usage

1
fProd(inclin, module, generator, inverter, effSys)

Arguments

inclin

A Gef object, a zoo object or a data.frame. In case of being zoo or data.frame it must include a component named Gef (effective irradiance, W/m²) and another named Ta (ambient temperature, ^{\circ}{\rm C}).

module

list of numeric values with information about the PV module,

Vocn

open-circuit voltage of the module at Standard Test Conditions (default value 57.6 volts.)

Iscn

short circuit current of the module at Standard Test Conditions (default value 4.7 amperes.)

Vmn

maximum power point voltage of the module at Standard Test Conditions (default value 46.08 amperes.)

Imn

Maximum power current of the module at Standard Test Conditions (default value 4.35 amperes.)

Ncs

number of cells in series inside the module (default value 96)

Ncp

number of cells in parallel inside the module (default value 1)

CoefVT

coefficient of decrement of voltage of each cell with the temperature (default value 0.0023 volts per celsius degree)

TONC

nominal operational cell temperature, celsius degree (default value 47).

generator

list of numeric values with information about the generator,

Nms

number of modules in series (default value 12)

Nmp

number of modules in parallel (default value 11)

inverter

list of numeric values with information about the DC/AC inverter,

Ki

vector of three values, coefficients of the efficiency curve of the inverter (default c(0.01, 0.025, 0.05)), or a matrix of nine values (3x3) if there is dependence with the voltage (see references).

Pinv

nominal inverter power (W) (default value 25000 watts.)

Vmin, Vmax

minimum and maximum voltages of the MPP range of the inverter (default values 420 and 750 volts)

Gumb

minimum irradiance for the inverter to start (W/m²) (default value 20 W/m²)

effSys

list of numeric values with information about the system losses,

ModQual

average tolerance of the set of modules (%), default value is 3

ModDisp

module parameter disperssion losses (%), default value is 2

OhmDC

Joule losses due to the DC wiring (%), default value is 1.5

OhmAC

Joule losses due to the AC wiring (%), default value is 1.5

MPP

average error of the MPP algorithm of the inverter (%), default value is 1

TrafoMT

losses due to the MT transformer (%), default value is 1

Disp

losses due to stops of the system (%), default value is 0.5

Value

If inclin is zoo or Gef object, the result is a zoo object with these components (if inclin is a data.frame the result is also a data.frame with these same components):

Tc

cell temperature, ^{\circ}{\rm C}.

Voc, Isc, Vmpp, Impp

open circuit voltage, short circuit current, MPP voltage and current, respectively, in the conditions of irradiance and temperature provided by Inclin

Vdc, Idc

voltage and current at the input of the inverter. If no voltage limitation occurs (according to the values of inverter$Vmax and inverter$Vmin), their values are identical to Vmpp and Impp. If the limit values are reached a warning is produced

Pdc

power at the input of the inverter, W

Pac

power at the output of the inverter, W

EffI

efficiency of the inverter

Author(s)

Oscar Perpiñán Lamigueiro

References

See Also

fInclin, prodGCPV, fTemp.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
inclin=data.frame(Gef=c(200,400,600,800,1000),Ta=25)

#using default values
fProd(inclin)

#Using a matrix for Ki (voltage dependence)
inv1=list(Ki=rbind(c(-0.00019917, 7.513e-06, -5.4183e-09),
c(0.00806, -4.161e-06, 2.859e-08),
c(0.02118, 3.4002e-05, -4.8967e-08)))

fProd(inclin, inverter=inv1)

#Voltage limits of the inverter
inclin=data.frame(Gef=800,Ta=30)
gen1 = list(Nms = 10, Nmp = 11)

prod=fProd(inclin,generator=gen1)
print(prod)

with(prod,Vdc*Idc/(Vmpp*Impp))

Example output

Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: lattice
Loading required package: latticeExtra
Loading required package: RColorBrewer
Time Zone set to UTC.

   Gef Ta    Tc      Voc   Isc     Vmpp      Impp      Vdc       Idc       Pac
1  200 25 31.75 673.3152 10.34 533.1161  9.585672 533.1161  9.585672  4211.866
2  400 25 38.50 655.4304 20.68 516.3142 19.090015 516.3142 19.090015  8274.545
3  600 25 45.25 637.5456 31.02 499.6141 28.505647 499.6141 28.505647 11972.101
4  800 25 52.00 619.6608 41.36 483.0192 37.824332 483.0192 37.824332 15322.743
5 1000 25 58.75 601.7760 51.70 466.5328 47.036858 466.5328 47.036858 18342.498
        Pdc      EffI
1  4737.112 0.9163606
2  9136.704 0.9333834
3 13201.852 0.9346328
4 16935.767 0.9324749
5 20341.814 0.9293393
   Gef Ta    Tc      Voc   Isc     Vmpp      Impp      Vdc       Idc       Pac
1  200 25 31.75 673.3152 10.34 533.1161  9.585672 533.1161  9.585672  4458.253
2  400 25 38.50 655.4304 20.68 516.3142 19.090015 516.3142 19.090015  8615.694
3  600 25 45.25 637.5456 31.02 499.6141 28.505647 499.6141 28.505647 12427.784
4  800 25 52.00 619.6608 41.36 483.0192 37.824332 483.0192 37.824332 15904.496
5 1000 25 58.75 601.7760 51.70 466.5328 47.036858 466.5328 47.036858 19055.413
        Pdc      EffI
1  4737.112 0.9699661
2  9136.704 0.9718656
3 13201.852 0.9702068
4 16935.767 0.9678778
5 20341.814 0.9654598
Warning message:
In fProd(inclin, generator = gen1) :
  Minimum MPP voltage of the inverter has been reached
  Gef Ta Tc     Voc   Isc     Vmpp     Impp Vdc      Idc      Pac      Pdc
1 800 30 57 505.344 41.36 392.3303 37.68118 420 33.82569 11942.77 13169.37
       EffI
1 0.9346421
[1] 0.9609916

solaR documentation built on May 2, 2019, 6:07 p.m.

Related to fProd in solaR...