Method for determining an electrical model of a string of photovoltaic modules, diagnostic method and device associated therewith
11550983 · 2023-01-10
Assignee
Inventors
Cpc classification
G06F30/367
PHYSICS
Y02E10/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06F30/38
PHYSICS
International classification
G06F30/367
PHYSICS
H02S50/10
ELECTRICITY
Abstract
A method for determining an electrical model of a string of photovoltaic modules from a characteristic I(V) of the string includes detecting a first linear zone and a second linear zone of the characteristic I(V); initialising the parameters of a non-by-pass electrical model corresponding to a first operating condition, called a non-by-pass condition; optimising the parameters of the non-by-pass electrical model from a reference characteristic I(V.sub.ref) equal to I(V), determining the parameters of the electrical model corresponding to a second operating condition, called a by-pass condition, in order to obtain a by-pass electrical model from the characteristic determining, from the characteristic I(V) the best model among the non-by-pass model and the by-pass model.
Claims
1. A method for determining an electrical model of a string of photovoltaic modules from a characteristic I-V of said string and a non-by-pass model corresponding to a first operating condition of the string, called a non-by-pass condition, given by the following equation:
W.sub.mod(Y)=W.sub.1(Y)+W.sub.2(Y) with W.sub.mod the voltage across the string according to the by-pass model for the current Y,
2. The method according to claim 1, further comprising, before the step of detecting the linear zones of the characteristic I-V, a step of checking the data of the characteristic I-V.
3. The method according to claim 2, wherein the step of checking the data of the characteristic I-V comprises at least one of both following sub-steps: a sub-step of detecting the switching period of the string, the data measured outside the switching period being removed; a sub-step of removing the outliers.
4. The method according to claim 1, wherein the step of detecting a first linear zone and a second linear zone of the characteristic I-V comprises: a sub-step of determining the maximum power point (I.sub.MPP, V.sub.MPP), the points of the characteristic I-V located above the straight line passing through the origin (0,0) and the point (I.sub.MPP, V.sub.MPP) being considered as candidates for the first linear zone, and the points located below this straight line being considered as candidates for the second linear zone; a sub-step of determining the linear model of the current Y as a function of the voltage W across the string such that Y=a.sub.sc×W+b.sub.sc from the candidate points for the first linear zone and the linear model of the voltage W across the string as a function of the current Y such that W=a.sub.oc×Y+b.sub.oc from the candidate points for the second linear zone, so as to determine the parameters a.sub.sc, b.sub.sc, a.sub.oc and b.sub.oc.
5. The method according to claim 4, wherein during the step of initialising the parameters of the non-by-pass electrical model, the parameters of the electrical model I.sub.ph, R.sub.s, R.sub.p, I.sub.0 and N are initialised in the following way: R.sub.p is given by
6. The method according to claim 1, wherein the model comprises a linear component and an exponential component and in that the step of optimising the parameters of the non-by-pass electrical model comprises: a first sub-step of optimising the parameters of the linear component of the non-by-pass electrical model comprising: a phase of determining a linear characteristic so as to obtain I.sub.linear(V); a phase of determining the linear regression of the equation Y=a.sub.sc×W+b.sub.sc from the curve I.sub.linear(V); a phase of determining the parameters of the linear component of the model from said regression; a second sub-step of optimising the parameters of the exponential component of the non-by-pass electrical model comprising: a phase of determining a linear characteristic V-I so as to obtain V.sub.linear(I); a phase of determining the linear regression of the equation W=a.sub.oc×Y+b.sub.oc from the curve V.sub.linear(I); a phase of determining the parameters of the exponential component of the model from said regression; said first and second sub-steps being iterated a plurality of times so as to obtain a non-by-pass electrical model.
7. The method according to claim 1, wherein the step of determining the parameters of the by-pass electrical model comprises: a first sub-step of initialising the first parameter P.sub.d and the second parameter P.sub.I which are characteristic of the by-pass; a second sub-step of determining, from the parameters P.sub.d and P.sub.I, the characteristic W.sub.mod(Y) associated with the by-pass model; a third sub-step of optimising the parameters P.sub.d and P.sub.I of the by-pass model W.sub.mod(I); a fourth sub-step of deforming, from the parameters P.sub.d and P.sub.I, the curve I(V) so as to obtain a non-by-pass characteristic I(V.sub.unshaded); a fifth sub-step of optimising the parameters of the non-by-pass electrical model from a reference characteristic I(V.sub.ref) equal to I(V.sub.unshaded); the second, third, fourth and fifth sub-steps being iterated a plurality of times so as to obtain a by-pass electrical model from the non-by-pass model re-evaluated and the parameters P.sub.d and P.sub.I.
8. A method for detecting an anomaly in a string of photovoltaic modules, comprising: a step of determining the electrical model of the string of modules using a method according to claim 1; a step of detecting an anomaly as a function of the value of at least one parameter of the electrical model determined.
9. A data processing device comprising a system for implementing the method according to claim 1.
10. A non-transitory computer readable medium comprising machine executable instructions which, when the program is run on a computer, cause the computer to implement the method according to claim 1.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1) The figures are shown for of indicating and in no way limiting the invention.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DETAILED DESCRIPTION OF AT LEAST ONE EMBODIMENT OF THE INVENTION
(16) Unless otherwise indicated, a same element appearing in different figures has a single reference.
(17) An embodiment of a first aspect of the invention illustrated in
Definition of the Electrical Model
(18) A string of photovoltaic modules as illustrated in
(19) The model with one diode illustrated in
(20)
with Y the current provided by the string, I.sub.ph the photocurrent, W.sub.th is the voltage across the string under the hypothesis of no by-pass, R.sub.s is the series resistance, R.sub.p is the parallel resistance, I.sub.0 is the diode dark current and N is a parameter defined by
(21)
where N.sub.s is the number of series cells in the string, n is the diode ideality factor, k.sub.b is the Boltzmann's constant, q is the proton elementary charge and T.sub.c is the temperature of the cells of the modules of the string. It will be noted that the model can be re-written in the following way:
(22)
(23) From this model, it is thus possible to obtain Y as a function of W.sub.th or W.sub.th as a function of Y, for example by iterative computing methods or by using the Lambert W function.
(24) It will be noted that N depends on two initially unknown parameters: n and T.sub.c. However, as a first approximation, it is possible to choose n as being equal to 1.25 which is a mean value accepted for new photovoltaic modules. In addition, the temperature T.sub.c can be computed using the following formula:
(25)
with V.sub.oc the open-circuit voltage, V.sub.oc.sup.STC the open-circuit voltage under STC (standard test conditions) conditions, βV.sub.oc the voltage loss coefficient with an increase in the cell temperature (most often this coefficient is negative), T.sub.STC the temperature under STC conditions (and is 298.15K that is about 25° C.), I.sub.sc the short-circuit current and I.sub.sc.sup.STC the short-circuit current under STC conditions. It should be noted that the voltage across the open-circuit cell under STC conditions V.sub.oc.sup.STC, the voltage loss coefficient with an increase in the cell temperature β.sub.V.sub.
(26) The model just shown does not take the by-pass effect into account and thus will be called “non-by-pass model” in the following.
(27) Boundary Values of the Parameters of the Electrical Model
(28) Upon implementing the method according to a first aspect of the invention, it will be sometimes desirable to check that some parameters (either parameters of the model or intermediate parameters necessary for computations) do not exceed some boundary values. For more clarity, all these boundaries will be detailed herein. It is a possible example of boundaries to impose upon implementing a method according to the invention. It will be appreciated that other boundaries can be contemplated.
(29) The parameter P.sub.d which represents the proportion of by-pass diodes which are potentially by-passed is limited in the following way:
(30)
with V.sub.min the smallest value of V, V.sub.min+1 the second smallest value of V, V.sub.max-1 the second greatest value of V and V.sub.max the greatest value of V.
(31) The parameter P.sub.I which represents the short-circuit current loss induced on the sub-string if it were insulated with respect to what it is in the sub-string not affected is limited the following way:
P.sub.I.sup.min=0.025 and P.sub.I.sup.max=0.975
The parameter I.sub.sc which representing the short-circuit current is limited in the following way:
(32)
(33) with median(x) represents the median value of the variable x.
(34) The parameter V.sub.oc which represents the open-circuit voltage is limited the following way: if LOGI<0
(35)
(36)
with, when the value of I.sub.sc has already been estimated,
(37)
otherwise
(38)
(39) The parameter R.sub.p which designates the parallel resistance is limited in the following way:
R.sub.p.sup.min=1.05×max(a.sub.1.sup.diag,a.sub.2.sup.diag)
and
R.sub.p.sup.max=100×max(a.sub.1.sup.diag,a.sub.2.sup.diag)
(40) where
(41)
is defined and
(42)
otherwise, V.sub.max being the maximum value of V, being the maximum value of I, V(I.sub.max) is the value of V for the point of the curve I(V) where I is maximum and I(V.sub.max) is the value of I for the point of the curve I(V) where V is maximum.
(43) The parameter R.sub.s which represents the series resistance is limited the following way:
R.sub.s.sup.min=0.01×max(a.sub.1.sup.diag,a.sub.2.sup.diag)
and
R.sub.s.sup.max=0.95×max(a.sub.1.sup.diag,a.sub.2.sup.diag)
(44) The parameter I.sub.0 which represents the diode dark current of the equivalent model is limited the following way:
I.sub.0.sup.min=10.sup.−30×max(I.sub.sc.sup.STC,1)
and
I.sub.0.sup.max=10.sup.−3×max(I.sub.sc.sup.STC,1)
(45) The parameter N detailed before is limited the following way:
(46)
where the parameter b.sub.oc is a parameter which will be defined in the following of the description. The limitation as regards N ensures that T.sub.c remains included between −40° C. and 100° C. and that n remains included between 1 and 3. It also ensures that N is between 2% and 100 000% of b.sub.sc (parameter which will be defined in the following) in order to ensure that the value
(47)
remains in the computable field.
(48) When, upon checking a parameter, the latter exceeds one of the boundaries set thereto, then the value of the parameter is chosen as being equal to the boundary exceeded.
(49) Comparison Between an Electrical Model and Measurements
(50) In a method for determining a model, it is important to compare the possible models with measurements, that is quantify the matching between a model and a set of measurements V.sub.ref(I) where V.sub.ref are reference data. These data can directly come from the measurement or be obtained after deforming the initial data, for example to compensate for a by-pass phenomenon (this aspect will be detailed in the following).
(51) Several solutions are contemplatable to quantify such matching. A known method is the use of a normalised root mean square error (NRMSE). This metric however has drawbacks in the present case, and in particular that of giving more importance to the exponential part.
(52) In an embodiment, the function S(W,V) with W the model to be evaluated and V the measurements (modified or not) is defined as follows:
S(W,V)=∫.sub.0.sup.I.sup.
(53) In practice, the function s is computed by assimilating the curve of measurements of V as a function of I to its linear interpolation as follows:
(54)
where {I.sub.1, I.sub.2, . . . , I.sub.cardinal(I)} describes the list of the values of the vector I ordered in the increasing order. Computing the function S is thus quickly executable although the cases where the curves W and V intersect each other are ignored. In addition, S makes up a fit quality adjustment between the model W and the measurement V, this function being null if the model W perfectly fits the measurements V, and increasing with an increasing deviation between the model W and the measurements V.
(55) This original cost evaluation function avoids convergence faults or separability problems of the conventional evaluation metrics and offers a direct solution for estimating highly correlated parameters (as I.sub.0 and N in particular).
(56) Checking the Data
(57) The method according to an aspect of the invention suggests, from a measurement of the characteristic I(V) of a string of modules, to determine the parameters of the equivalent electrical model of the string. However, it often happens that the measurement of the characteristic I(V) is not to be fully taken into account and/or includes outliers. In order to retain only the necessary part of the characteristic I(V), in an embodiment illustrated in
(58) For example, as illustrated in
(59)
observed and to deduce from this ratio whether the sliding window relates to a switching period of the string or not can thus be quantified. For example, the switching period is considered as started when the sliding window gives a probability lower than a chosen boundary (for example 5%) that the sign distribution obeys a binomial distribution. Likewise, the operating period is considered as finished when the previous condition is no longer met. It is thus possible to determine the period during which the string of modules is switched.
(60) The characteristic I(V) can also comprise outliers, that is data that are not representative of the string of modules the model of which is actually attempted to be determined. It can thus be advantageous to remove them. To that end, in an embodiment illustrated in
(61)
(62) It will be appreciated that, it will be checked that I.sub.0 remains within the boundaries imposed (e.g. it will be monitored that the voltage maximum value of the boundary curve remains below V.sub.oc.sup.max). Likewise, the values of V should never be under the following curve:
(63)
(64) Also, in an embodiment, the points located under this curve are also removed. Further, the values of I should never be located under the following curve:
(65)
(66) Also, in an embodiment, the points located under this curve are also removed.
(67) The step E1 of checking the data just described is not mandatory but can in some cases, result in a sensitive improvement in the accuracy in determining the parameters of the electrical model.
(68) Detecting the Linear Zones and Initialising the Parameters of the Non-by-Pass Electrical Model
(69) The method according to a first aspect of the invention then comprises a step E2 of detecting a first linear zone and a second linear zone of the characteristic I(V). As illustrated in
(70) Then, it comprises a sub-step E22 of determining the linear model of Y as a function of W such that Y=a.sub.sc×W+b.sub.sc for the linear zone close to I.sub.sc and the linear model of W as a function of Y such that W=a.sub.oc×Y+b.sub.oc for the linear zone close to V.sub.oc so as to determine the parameters a.sub.sc, b.sub.sc, a.sub.oc and b.sub.oc.
(71) For example, if the linear zone close to V.sub.oc is considered, a plurality of values k is tested, the value of k being incremented as V.sub.MPP is closer (in other word, V(k)>V(k+1)). To that end, for each value of k, the coefficients a.sub.k and b.sub.k are determined by performing a linear regression of the curve {V(i)}.sub.i=1, . . . k as a function of {I(i)}.sub.i=1, . . . k so as to obtain a linear approximation W=a.sub.k×Y+b.sub.k. Then, each value of k, is associated with an error, the error being obtained by summing the costs for any such that V(i)>V.sub.MPP (the i being incremented in the same way as the k), the cost associated with a i being given by
(72)
if i<k and
(73)
if i>k. Finally, the value of k for which the error is the smallest, noted k.sub.sol, is determined, the parameters of the linear model being thereby given by a.sub.oc=a.sub.k.sub.
(74) In the same way, if the linear zone close to I.sub.sc is considered, a plurality of values k′ is tested, the value of k′ being incremented as I.sub.MPP is closer (in other words, I(k′)>I(k′+1)). To that end, for each value of k′, the coefficients a.sub.k′ and b.sub.k′ are determined, by performing a linear regression of the curve of {I(i′)}.sub.i′=1, . . . , k′ as a function of {V(i)}.sub.i′=1, . . . , k′ so as to obtain a linear approximation Y=a.sub.k′×W+b.sub.k′. Then, for each value of k′ is associated with an error, the error being obtained by summing the costs for any i′ such that I(i′)>I.sub.MPP (the i′ being incremented in the same way as the k′), the cost associated with an i′ being given by
(75)
if i′<k′ and
(76)
if i′>k′. Finally, the value of for which the error is the smallest, noted k′.sub.sol, is determined, the parameters of the linear model being thereby given by a.sub.sc=a.sub.k′.sub.
(77) At the end of the step of detecting the linear zones of the characteristic I(V), the parameters a.sub.sc, b.sub.sc, a.sub.oc and b.sub.oc are thus determined.
(78) In an embodiment, the value of the parameters a.sub.sc, b.sub.sc, a.sub.oc and b.sub.oc is compared with boundary values, the final value retained being the value of the parameter itself or the value of the boundary exceeded by the parameter. A first boundary relates to a.sub.sc and can be described as follows:
(79)
(80) A second boundary relates to a.sub.oc and can be described as follows:
−R.sub.s.sup.max≤a.sub.oc≤−R.sub.s.sup.min.
(81) A third boundary relates to b.sub.sc and can be described as follows:
I.sub.sc.sup.min≤b.sub.sc≤I.sub.sc.sup.max.
(82) This boundary is different from the boundary previously shown because, during the initialising phase, no estimation of the parameter R.sub.s is available. It will be appreciated that, when an estimation of this parameter is available, the definition of the boundary relating to b.sub.sc to be used is that shown in the paragraph explaining the different boundaries in detail.
(83) A fourth boundary relates to b.sub.oc and can be written as follows:
V.sub.oc.sup.min≤b.sub.oc≤V.sub.oc.sup.max.
(84) As already mentioned, the final value retained is the value of the parameter itself or the value of the boundary exceeded by the parameter. Thus, for example, if the value of a.sub.sc is actually included between
(85)
then the latter is not modified. On the other hand, if
(86)
then the value a.sub.sc will be chosen as being equal to
(87)
Likewise, if
(88)
then the value a.sub.sc will be chosen as being equal to
(89)
(90) The method then comprises a step E3 of initialising the parameters of the non-by-pass electrical model. As previously shown, the parameters of the non-by-pass electrical model are I.sub.ph, R.sub.s, R.sub.p, I.sub.0 and N. In an embodiment, R.sub.p is given by
(91)
N is given by
(92)
with T.sub.init∈[200,300], preferably T.sub.init∈[230,240], or even T.sub.init=233.15 (that is a temperature of about −40° C.); I.sub.0 is given by
(93)
which ensures that the value of V.sub.oc will remain close to b.sub.oc; R.sub.s is given by
(94)
which ensures that the derivative of the curve I(V) in proximity of V.sub.oc is close to a.sub.oc; and I.sub.ph is given by
(95)
which ensures that I.sub.sc is close to b.sub.sc.
(96) In an embodiment, the value of the parameters I.sub.ph, R.sub.s, R.sub.p, I.sub.0 and N is compared with the abovementioned boundary values, the final value retained being the value of the parameter itself or the value of the boundary exceeded by the parameter.
(97) Optimising the Parameters of the Non-by-Pass Model
(98) At the end of this step, all the parameters of the non-by-pass model have been initialised. This initialisation has been performed from the linear zones of the curve I(V) and by ensuring that the parameters thus determined fulfilled some boundaries. In order to improve the accuracy of these parameters, the method then comprises a step E4 of optimising the parameters of the non-by-pass electrical model from a reference characteristic I(V.sub.ref) equal to I(V). It will be appreciated that, from the reference characteristic I(V.sub.ref) means also that the corresponding characteristic V.sub.ref(I) is considered.
(99) It is however very computational intensive (but not impossible including within the scope of the present invention) to simultaneously optimise all the 5 parameters of the non-by-pass electrical model. Therefore, it can be beneficial to divide the optimisation into several steps. To that end, in an embodiment, two components the optimisation of which is relatively easy are considered: a linear component and an exponential component. As a reminder, the non-by-pass electrical model can be written in the following form:
(100)
(101) In the following, the component
(102)
will be designated as the linear component and the component
(103)
will be designated as the exponential component.
(104) In an embodiment illustrated in
(105)
to the characteristic I(V.sub.ref) so as to obtain I.sub.linear(V). This addition can be seen as the deformation of the experimental data of the characteristic I(V.sub.ref) so as to be able to determine the linear component thereof. This compensation is illustrated in
(106)
(107) In addition, upon computing I.sub.linear(V), I.sub.linear is limited to a maximum value
(108)
in order to avoid that a wrong estimation of the parameters results in a “boom” in the values. This checking is illustrated in
(109) Once I.sub.linear(V) has been determined, the first sub-step E41 of optimising the parameters of the linear component also comprises a second phase P412 of determining a linear regression of the equation I=a.sub.sc×V+b.sub.sc from the curve I.sub.linear(V) so as to determine a new estimation of the parameters a.sub.sc and b.sub.sc. In
(110) Finally, the first sub-step E41 of optimising the parameters of the linear component also comprises a third phase P413 of determining the parameters of the linear component of the model, the latter being computed as follows:
(111)
(112) These parameters are determined such that the model actually passes through the point (0, b.sub.sc) and that the derivative of the curve on this point is compatible with the estimation of the linear component. It relies on the hypothesis that the values of the other parameters of the model are properly estimated.
(113) In an embodiment, the linear regression phase just described is performed by considering the k′.sub.sol points determined during the step E2 of detecting the linear zones of the characteristic I(V). In an embodiment, the linear regression phase is performed by considering the k′.sub.sol during the first iteration of the first sub-step E41 of optimising the parameters of the linear component, an increasing number of points being considered for the next iterations of the sub-step so as to take into account at first all the points located on the left of the straight line passing through {0,0} and {I.sub.MPP,V.sub.MPP} for all the points of the curve l.sub.linear(V). The number of points included during each iteration will be for example a function of the total number of iterations. For example, if the total number of iterations is equal to ten, at each iteration, 1/10 of the points can be introduced to the points already taken into account.
(114) Moreover, the step E4 of optimising the parameters of the non-by-pass electrical model also comprises a sub-step E42 of optimising the parameters of the exponential component of the non-by-pass electrical model. In an embodiment, this sub-step comprises in turn a first phase P421 of determining a characteristic V.sub.linear(I)=V.sub.ref(I)−W.sub.th(I)+b.sub.oc+a.sub.oc×I where a.sub.oc and b.sub.oc refer to the previous estimation of the parameters. As a reminder, the non-by-pass electrical model can be written in the following way:
(115)
(116) This characteristic V.sub.linear(I) corresponds to the values of V.sub.ref(I) for which the exponential component is compensated for (and thus should be close to an affine model when the parameters of the model I(V) are properly estimated).
(117) Once V.sub.linear(I) has been determined, the sub-step E42 of optimising the parameters of the exponential component also comprises a second phase P422 of determining a linear regression of the equation W=a.sub.oc×Y+b.sub.oc from the curve V.sub.linear(I) so as to determine a new estimation of the parameters a.sub.oc and b.sub.oc, the cost associated with a point i of the curve V.sub.linear(I) being computed using the following formula:
(118)
where sum(x) is the sum of all the x.sub.i, x.sub.i representing a value that the variable x can take.
(119) In an embodiment, the linear regression phase is performed by considering the k.sub.sol points determined during the step E2 of detecting the linear zones of the characteristic I(V). In an embodiment, the linear regression phase is performed by considering the k.sub.sol points during the first iteration of the sub-step E42 of optimising the parameters of the exponential component, an increasing number of points being considered for the next iterations of the sub-step so as to take into account at first all the points located on the right of the straight line passing through {0,0} and {I.sub.MPP,V.sub.MPP} and then through all the points of the curve V.sub.linear(I).
(120) Moreover, as illustrated in and
such that the model remains close to the linear model in proximity of V.sub.oc. To that end, the following relationships are imposed:
(121)
(122) As previously, the maximum values thus determined are sandwiched and possibly corrected to respect the sandwich. By performing such a computation, it is possible to realise that the models giving and associated with the values {circumflex over (N)},
,
, I.sub.ph and R.sub.p mainly differ from each other in that they are smoother when increases and on the contrary tend to move closer to a “tip” curve when {circumflex over (N)} decreases corresponding to both linear models described by the constants a.sub.sc, b.sub.sc, a.sub.oc and b.sub.oc. It is thus possible to assume that the function S(
, V.sub.ref) already introduced and which associates with {circumflex over (N)} the proximity between the model corresponding to the value {circumflex over (N)} and the data V.sub.ref is a convex function. It is thus possible to optimise the value of {circumflex over (N)} by relying on the cost function S(
, V.sub.ref). The evolution
for different values of {circumflex over (N)} is illustrated in
with {circumflex over (N)}=N.sup.min whereas the lower bound of the hatched zone corresponds to the computation of
with {circumflex over (N)}=N.sup.max. The solid-line curve corresponds to the computation of
for the initial value of N. The long-dash curve corresponds in turn to the computation of
enabling the smallest cost function S(
, V.sub.ref) to be obtained.
(123) Thus, the value {circumflex over (N)} enabling the cost function S(, V.sub.ref) to be minimised is determined, this value corresponding to the value of N searched for. The parameters R.sub.s and I.sub.0 can then be determined by using the obtained value N. The optimisation can for example be made using a dichotomy method by choosing for minimum and maximum values of {circumflex over (N)} the half and double of the current value of N. Moreover, at each step of the dichotomy computation, the values of {circumflex over (N)},
and
are checked and corrected such that they remain in the previously defined intervals.
(124) It will be appreciated that, during the step E4 of optimising the parameters of the electrical model, the first sub-step E41 of optimising the parameters of the linear component of the electrical model and the sub-step E42 of optimising the parameters of the exponential component of the electrical model are iterated a plurality of times so as to improve the model, the parameters determined during an iteration being used during the next iteration. In other words, the parameters determined during the first sub-step E41 of optimising the parameters of the linear component of the electrical model are used during the sub-step E42 of optimising the parameters of the next exponential component and the parameters determined during the sub-step E42 of optimising the parameters of the exponential component are used during the first sub-step E41 of optimising the parameters of the linear component of the next electrical model (except for the last iteration).
(125) In an embodiment, the number of iterations is equal to a predefined number, for example a number of iterations equal to 30. In an embodiment, alternatively or in addition, the first sub-step E41 of optimising the parameters of the linear component of the electrical model and the sub-step E42 of optimising the parameters of the exponential component of the electrical model are iterated until |S.sub.i+1(, V.sub.ref)−S.sub.i(
, V.sub.ref)|<ε where S.sub.i+1(
, V.sub.ref) is the evaluation of the model at the iteration i with ε a defined convergence criterion, that is when the model is not substantially improved any longer between two iterations.
(126) At the end of the last iteration of the step E4 of optimising the parameters of the non-by-pass electrical model, a non-by-pass model W.sub.th is therefore available. However, when a by-pass is actually present, this model does not enable the voltage V across the string of modules to be taken into account. A by-pass model should thus be determined to choose thereafter the best of both models (the selection criteria will be set out in the following).
(127) Determining the Parameters of the By-Pass Model
(128) When the string of modules consists of a set of several sub-strings protected by by-pass diodes, it is possible to observe different evolutions on some sub-strings. A typical example of the presence of a by-pass is that of partial shading: a set of sub-strings is lighted at a lesser level than the rest of the string. In this case, according to the voltage set, the sub-string having a lower performance is by-passed in order to avoid that it is placed in a position for consuming the energy produced by the rest of the string. An inflection in the curve I(V) is thereby noticed, the position of this inflection (on the axis of the voltage) informing about the “by-passed” sub-string proportion and the height (on the axis of the current) informing about the loss level associated with respect to the rest of the string. In the following, it will be considered that there cannot be more than two sub-strings. Another choice leads to a combinatory number of cases with the number of by-pass diodes of the string. In practice, it is noticed that the results in case of more than two sub-strings remain generally proper: the main inflection is actually detected and localised; the other inflections being thereby ignored. In other words, the assumption of two sub-strings is made in a computational purpose but does not prevent a method according to a first aspect of the invention from being used in the event that more than two sub-strings are considered.
(129) In order to take this aspect of the measurement into account and as illustrated in
(130) In order to characterise the deformation of the curve I(V) induced by the by-pass effect, the step E5 of determining the parameters of the by-pass electrical model comprises a first sub-step E51 of initialising the parameters P.sub.d which represents proportion of the by-pass diode (and thus the proportion of sub-strings) which are potentially by-passed (equal to 20% in
(131) From both parameters, it is possible to determine a model by using the parameters determined during the step E4 of optimising the parameters of the non-by-pass electrical model from a reference characteristic I(V.sub.ref) equal to I(V) or the parameters determined during the sub-step E55 of optimising the non-by-pass model from a reference characteristic I(V.sub.ref) equal to I(V.sub.unshaded) (sub-step which will be described in the following). To that end, the step E5 of determining the parameters of the by-pass electrical model comprises a second sub-step E52 of computing the characteristic W.sub.mod(I) of the by-pass model. This sub-step E52 includes a first phase P521 of computing the characteristic V(I) of the first sub-string noted V.sub.1(I), the latter being given by:
W.sub.1(Y)=(1−P.sub.d)×W.sub.th(Y).
(132) The sub-step E52 of computing the characteristic V(I) of the by-pass model also comprises a second phase P522 of computing the characteristic V(I) of the second sub-string noted V.sub.2(I), the latter being given by:
(133)
(134) The by-pass model, noted W.sub.mod(I) is obtained by adding both contributions described above:
W.sub.mod(Y)=W.sub.1(Y)+W.sub.2(Y).
(135) It is useful to note that the model W.sub.th(Y) corresponding to the non-by-pass model is supposed to be correct during this step.
(136) The step E5 of determining the parameters of the by-pass electrical model then comprises a third sub-step E53 of optimising the parameters of the by-pass model W.sub.mod(Y) using the metric S(W.sub.mod, V) defined before and from the characteristic I(V). This optimisation can for example be performed by a gradient descent method such as a simplex method. At the end of this optimisation, the parameters P.sub.I and P.sub.d allowing the best match with the measurements are retained. During this optimisation, fulfilling the boundary values of the parameters P.sub.I and P.sub.d is checked, at each iteration of the dichotomy algorithm.
(137) The step E5 of determining the parameters of the by-pass electrical model comprises a fourth sub-step E54 of deforming the curve DM so as to compensate for by-pass. As illustrated in
(138) Accordingly, it is possible to re-evaluate the non-by-pass model by using this new characteristic I(V.sub.unshaded). To that end, the step E5 of determining the parameters of the by-pass electrical model comprises a sub-step E55 of optimising the non-by-pass model using a reference characteristic I(V.sub.ref) equal to I(V.sub.unshaded) newly obtained. The re-evaluation sub-step is thus identical to the step E4 of determining the parameters of the non-by-pass electrical model except that this determination step is made using the characteristic I(V.sub.unshaded).
(139) It will be appreciated that, the second, third, fourth and fifth sub-steps are iterated a plurality of times so as to obtain a by-pass electrical model from the non-by-pass model re-evaluated and the parameters P.sub.d and P.sub.I. It also appears to be obvious from what precedes that the parameters determined during an iteration are used during the next iteration. In an embodiment, the number of iterations is equal to a predefined number, for example a number of iterations equal to 30. In an embodiment, alternatively or in addition, the second, third, fourth and fifth sub-steps of the step E5 of determining the parameters of the by-pass electrical model are iterated until |S.sub.i+1(W.sub.mod, V)−S.sub.i(W.sub.mod, V)|<ε where S.sub.i(W.sub.mod, V) is the evaluation of the by-pass model at the iteration i with ε a defined convergence criterion, that is when the model is no longer substantially improved between two iterations.
(140) At the end of the step E5 of determining the parameters of the by-pass electrical model, the by-pass model W.sub.mod(Y) expressed using the non-by-pass model optimised during the step as well as the parameter P.sub.d and P.sub.I of the by-pass determined and optimised during the step are therefore obtained. The latter should now be compared with the non-by-pass model W.sub.th in order to determine the model closest to the experimental data V(I).
(141) Preserving the Best Model
(142) At the end of step E5 of determining the parameters of the by-pass electrical model, two models have been determined: a non-by-pass model W.sub.th(Y) and a by-pass model W.sub.mod(Y). However, it should be determined, among both models, which one is the most suitable for describing the string of modules measured. As has already been introduced, the deviation between the predictions of a model can be measured using a cost function noted S. The cost function associated with the non-by-pass model is given by S(W.sub.th, V) whereas the cost function associated with the by-pass model is given by S(W.sub.mod, V).
(143) In an embodiment, the model selected is the model associated with the lowest cost function, that is the predictions of which are closest to the data measured. Thus, if S(W.sub.th, V)≥S(W.sub.mod, V) then the non-by-pass model is selected, the by-pass model being selected otherwise.
(144) In some cases, the criterion shown above can lead to the selection of a by-pass model (and relying on a greater number of hypotheses) whereas a non-by-pass model would perfectly suit. In order to avoid this case, in an embodiment when
(145)
then, the non-by-pass model is selected even if the later has a higher cost function than the by-pass model with the proviso that P.sub.d is within the interval [P.sub.d.sup.min,P.sub.d.sup.max] and that P.sub.I is within the interval [P.sub.I.sup.min,P.sub.I.sup.max].
Detecting the Anomalies in the String of Modules
(146) As has been just seen in detail, it is possible to determine, from a characteristic I(V) relating to a string of modules, the electrical model of the module. The value taken by the parameters of the model thus determined carries information, in particular on possible anomalies in the string. A second aspect of the present invention thus proposes a method for detecting an anomaly in a string of photovoltaic modules. The method comprises a first step of determining the electrical model of the string of modules using a method according to a first aspect of the invention. Then, it comprises a step of detecting an anomaly as a function of the value of at least one parameter of the electrical model determined. For example, an anomaly corresponding to an abnormal resistance could be detected when the series resistance estimated (back to the standard temperature and radiation conditions) by the model is higher than twice the mean usual value (for example determined from manufacturer data or prior measurements). In an embodiment, the evolution of the parameters of the model are evaluated at regular intervals so as to observe an evolution in the parameters, an anomaly being detected when the value of at least one parameter moves away from the initial value of the parameter beyond a predefined threshold, for example of more than 10% of the initial value.
(147) Implementation Device
(148) In order to implement the method according to a first aspect or a second aspect of the invention, a third aspect relates to a device comprising the systems and devices necessary to this implementation. In an embodiment, the device comprises a computing unit (e.g. a processor, a FPGA or an ASIC chip) associated with a memory. The memory can contain instructions as well as the variables necessary for running a method according to a first aspect or a second aspect of the invention. In an embodiment, the device also comprises a data acquisition system. In an embodiment, the acquisition system comprises a network connection device (for example a WiFi or Ethernet chip) and/or a bus connection device in order to be able to receive the data necessary to the running of a method according to a first aspect or a second aspect of the invention, and in particular the characteristic I(V). In an embodiment, the device comprises a reading system for reading a data medium (for example a DVD reader) on which the data necessary to the running of a method according to a first aspect or a second aspect of the invention are stored. In one embodiment, the device comprises a device configured to acquire the curve I(V).
(149) Embodiments of the subject matter and the operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on computer storage medium for execution by, or to control the operation of, data processing apparatus.
(150) A computer storage medium can be, or can be included in, a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Moreover, while a computer storage medium (e.g. a memory) is not a propagated signal, a computer storage medium can be a source or destination of computer program instructions encoded in an artificially-generated propagated signal. The computer storage medium also can be, or can be included in, one or more separate physical components or media (e.g., multiple CDs, disks, or other storage devices). The operations described in this specification can be implemented as operations performed by a data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.
(151) The term “programmed processor” encompasses all kinds of apparatus, devices, and machines for processing data, including by way of example a programmable processor, digital signal processor (DSP), a computer, a system on a chip, or multiple ones, or combinations, of the foregoing. The apparatus can include special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
(152) The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
(153) Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random-access memory or both. The essential elements of a computer are a processor for performing actions in accordance with instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer need not have such devices. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
(154) To provide for interaction with a user, embodiments of the subject matter described in this specification can be implemented on a computer having a display device, e.g., an LCD (liquid crystal display), LED (light emitting diode), or OLED (organic light emitting diode) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. In some implementations, a touch screen can be used to display information and to receive input from a user. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
(155) The present invention has been described and illustrated in the present detailed description and in the figures of the appended drawings, in possible embodiments. The present invention is not however limited to the embodiments described. Other alternatives and embodiments may be deduced and implemented by those skilled in the art on reading the present description and the appended drawings.
(156) In the claims, the term “includes” or “comprises” does not exclude other elements or other steps. A single processor or several other units may be used to implement the invention. The different characteristics described and/or claimed may be beneficially combined. Their presence in the description or in the different dependent claims do not exclude this possibility. The reference signs cannot be understood as limiting the scope of the invention.