• No se han encontrado resultados

CAPÍTULO II: ESTUDIO TÉCNICO

2.3 ALTERNATIVAS TECNOLÓGICAS

This Section describes three selected methods to estimate the irradiance received by a PV array (Analytical, Immersion and Invariance, and Extended Kalman Filter). The inputs are the DC voltage, DC current, and the cell temperature while the single diode model introduced in Section 5.3 is used to describe the PV system, for all the three cases. The output of the model (estimated irradiance, I) is then used to reconstruct the maximum power as described in Section 5.5. We assume that the measured cell temperature is representative for the whole plant, in other words we assume a uniform temperature distribution. To test the fairness of this modelling assumption, two identical temperature sensors were installed in different parts of the plant. They recorded an average temperature difference lower than 0.4◦C and a maximum value of ≈0.8◦C. Such a value determines a difference in the estimated maximum power of ≈0.5%, thus making the assumption acceptable for the considered rooftop PV installation. In case of larger scale PV plants, this assumption should be re-evaluated, and the single-diode model could be replicated considering more temperature sensing points. The sensitivity of

the models to temperature measurement errors is further discussed in Section 5.7.4.

5.4.1 Analytical Formulation

The irradiance is calculated analytically and in a closed-form by substituting equations (5.2)- (5.6) into (5.1) and solving for I. Formally, it is:

IA =i + iDnp[T /T∗]3exp ³ Eg/kT− Eg/kT ´ h exp³qv+RSi ns/np nrkT ns ´ − 1i 1 S∗ h np¡Ip+ α(T − T∗)¢ −v+RSi ns/np Rpns/np i (5.8)

where v, i and T are measured quantities and IA is the inferred irradiance.

5.4.2 Immersion and Invariance

Authors of [152] design an estimator exploiting the fact that the i-v characteristics described by Eq. (5.1) can be re-parametrized to show a monotonic behavior. The estimator is based on the principles of immersion and invariance, originally described in [159]. The re-parameterization, based on the model in Eq. (5.1), is as follows. They define a measurable signal y(t ):

y(t ) = i (t) − F (i (t), v(t),T (t)) (5.9) where, F (i , v, T ) = I0(T ) exp µC 1 T (v +C2i ) − 1 ¶ (5.10) I0(T ) = −C6T3exp µ C7− C8 T + C9T T +C10 ¶ . (5.11)

Ci are constant values that can be calculated from single-diode equations and found in

[152]. The only difference is in the definition of constant C3since Authors of [152] consider a proportional relation between Rpand I, while we here consider inverse proportionality, as

expressed in Eq. (5.3).

Then, they express the nonlinear regression form as:

y(t ) = Φ(I, t ) (5.12)

Φ(I, t ) = I(C

4+C5T (t )) −C3/S (v(t ) +C2i (t )) (5.13) withΦ(I, t ) strictly monotonically increasing with I. At this point, the immersion and invariance estimator states:

˙ I I = γ h y − φ(I I ) i (5.14)

andγ > 0 ensures: lim

t →∞I 

I (t ) = I (5.15)

where II is the estimated irradiance. Performance depends on the value of parameterγ that should be selected as a trade-off between convergence speed and noise filtering.

5.4.3 Extended Kalman Filter

We propose to apply Kalman Filter to estimate the irradiance as a function of voltage, current, and temperature measurements2. The advantage of a KF over a conventional low pass filter is that, by exploiting the knowledge of the process model, it achieves to filter out system disturbances and measurements noise on the whole spectrum of the state variables. We consider a linear discrete-time system described by:

xk= Fk−1xk−1+Gk−1uk−1+ wk−1, (5.16)

yk= Hkxk+ vk, (5.17)

E [wkwTj ] = Qkδk−j, (5.18)

E [vkvTj] = Rkδk−j. (5.19)

The goal is to estimate the state xk, knowing some noisy measurements yk, and the system dynamics. Fk−1is the state-transition model, Hkthe observation model, and uk−1indicates external control variables. The noise wk andvk are white, zero-mean, uncorrelated and have as covariance matrices Qkand Rk, respectively. δk−j is the Kronecker delta function.

When all the measurements including time k are used to estimate xk, the estimation is called a-posteriori:

ˆ

xk+= E[xk|y1...yk]. (5.20)

For the a-posteriori state estimate and covariance we can write:

ˆ xk+= (I − KkHk)(Fk−1xˆk−1+ +Gk−1uk−1) + Kkyk (5.21) Pk+= (I − KkHk)(Fk−1Pk−1+ Fk−1T +Qk−1) (5.22) Kk= (Fk−1Pk−1+ Fk−1T +Qk−1)HkT(Hk(Fk−1Pk−1+ F T k−1+Qk−1)H T k + Rk)−1 (5.23)

where Pkdenotes the the covariance of the estimated error:

Pk+= E[(xk− ˆxk+)(xk− ˆxk+)T], (5.24)

2As known from the existing bibliography, Kalman estimation consists in reconstructing the state of a system with noisy measurements by integrating the knowledge of the process which generated them.

and Kkis the Kalman Gain. If wkandvkare white, zero-mean, uncorrelated, then the Kalman Filter is the optimal linear solution of the problem. In the Extended Kalman Filter (EKF), the state transition and observation models are not linear functions of the state. However, it is possible to linearize the non-linear function around the current estimate (e.g. by making a Taylor series expansion and dropping all but the constant and linear terms).

In what follow we describe how to apply the EKF to estimate the irradiance. The prerequisite to apply Kalman filtering is the knowledge of the system model and covariance matrices of system noise and measurements. To this end, we exploit the results from Chapter 3, where it is shown that the irradiance evolution in the few seconds time scale can be captured with a persistence model plus a random variation from an identifiable pdf (probability density function), which is function of certain data features. Let the state xk= Ikbe the irradiance on

the panel. At each discrete time k, the measurements vk, ikand Tkare linked to the state by

the nonlinear relationship f (·) in Eq. (5.1). Let f1(·), f2(·), f3(·) denote the function f (·) solved for voltage, current and temperature:

vk= f1(xk, ik, Tk) (5.25)

ik= f2(xk, vk, Tk) (5.26)

Tk= f3(xk, vk, ik). (5.27)

The observation vector yk= [vk, ik, Tk]T is approximated as:

yk≈ Hkxk+ Dk, (5.28)

where H = [H1, H2, H3]T and D = [D1, D2, D3]T are from first order Taylor expansions of

f1, f2, f3. For example, for the case of f1, they are:

vk≈ f1(·) + f1,x(·)(xk− ak) (5.29)

H1= f1,x(·) (5.30)

D1= f1(·) − f1,x(·) · ak (5.31)

where f1(·) and f1,x(·) denotes the function and its first order derivative calculated in the point ak, ik, Tk, with akis the irradiance value around which linearising (assumed as the last

available estimate, i.e. ak= xk−1) and ikand Tk are both from measurements.

The state-space formulation of the system model is:

xk= Fk−1xk−1+ wk−1, wk−1∈ N (0,Qk) (5.32)

yk= Hkxk+ uk, uk∈ N (0, Rk). (5.33)

where Fk−1= 1 is the (scalar) system matrix, Qkis the process noise variance, and Rkthe 3 × 3

measurement noise covariance matrix.

in the Appendix A. The covariance matrix of measurements noise R is a diagonal matrix R = diag(σ21,σ22,σ23). Measurements are assumed to be uncorrelated. The variance components are calculated assuming that the tolerance of the sensors corresponds to the the 3-sigma level of a Gaussian distribution with zero mean, i.e.σi= ti/3, i = 1,2,3, where tiis the tolerance of

the instrument i . Once Hk, Qkand Rkare known from the procedures described above, the

expected value ˆx = E[xk] and variance Pk= Var[xk] of the estimation are:

ˆ

xk= (Iy− KkHk)(Fk−1xˆk−1) + Kkyk (5.34)

Pk= (Iy− KkHk)(Fk−1Pk−1Fk−1T +Qk−1), (5.35)

where Iy is the identity matrix, and Kkis the Kalman gain:

Kk= Pk−1HkT(HkPk−1HkT+ Rk)−1. (5.36)

We note that the linearization of the observer equation leads to an Extended Kalman filter (EKF) formulation. Unlike the linear KF, the EKF violates the guarantee of optimality of the solution.

Documento similar