Method for predicting the power produced by at least one photovoltaic panel
A method combining transfer functions and power variation models with meteorological data and machine learning addresses the unreliability of existing photovoltaic forecasting, offering precise and robust power predictions for photovoltaic systems and battery integration.
Patent Information
- Application Number
- FR2022004793
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-05-19
AI Technical Summary
Existing photovoltaic production forecasting methods are unreliable, especially for short-term and long-term predictions, leading to poor management of photovoltaic systems and battery integration, due to reliance on costly sensors or lack of weather data integration.
A method combining a calibrated transfer function with a power variation model, using meteorological data and machine learning, to predict photovoltaic power production with confidence intervals, correcting for weather forecast errors in real-time without requiring ground sensors.
Provides precise and robust short-term and long-term power forecasts, enabling optimal management of photovoltaic systems and battery integration, reducing forecast errors and improving operational efficiency.
Smart Images

Figure 00000022_0000 
Figure 00000023_0000 
Figure 00000023_0001
Abstract
Description
Title of the invention: Method for predicting power produced by at least one photovoltaic panel Technical field
[0001] The present invention relates to the field of managing the electrical production of at least one photovoltaic panel. In particular, the invention relates to the forecasting of a power produced by at least one photovoltaic panel based on weather forecasts.
[0002] The electrical production of photovoltaic panels is generally managed by aggregators, which are electricity market operators to balance supply and demand on the electricity network. Today, aggregators have unreliable forecasting tools for their production. They are unable to estimate their production potential accurately and in advance. This therefore leads to poor management of their portfolios with increasing gaps with the electricity transmission system operator (for example RTE in France), poor planning of the battery connected to the photovoltaic panels and non-optimal planning of the battery connected to the photovoltaic panels.
[0003] There is therefore a strong need for robust and more accurate photovoltaic production forecasting tools, without having to use very expensive data and sensors such as ground-based cameras. Prior art
[0004] The majority of photovoltaic production forecasting approaches are based either on reliable short-term accuracy (a few hours) by exploiting potentially costly measurements such as ground-based cameras or on longer-term forecasts (a few days).
[0005] The forecasting of photovoltaic production is a fundamental subject for the management of hybrid systems (photovoltaic panels and other means of electrical production or photovoltaic panels and battery) in real time and for the planning of aggregator operations. A large number of studies in the literature propose the estimation of this production from meteorological data. The approaches can range from parametric methods with more or less simple physical models, to non-parametric methods based on neural networks or other. A fairly detailed comparison between these two families of approaches was proposed in the document Almeida, Marcelo Pinho, et al. "Comparative study of PV power forecast using parametric and nonparametric PV models." Solar Energy 155 (2017): 854-866, noting a clear improvement in forecasts with non-parametric methods. parametric. Hybrid methods between parametric and non-parametric approaches have also been proposed, mentioning a reduction in errors compared to purely non-parametric approaches. However, these production forecasts present uncertainties and forecast errors, especially on cloudy days.
[0006] Patent application AU2021104436 describes a method and system for predicting photovoltaic power capacity, and for controlling photovoltaic power generation. For this method, weather forecasts are acquired for several days. Therefore, the forecast of the generated photovoltaic power is not accurate, especially in the short term.
[0007] Patent application US2021194424 describes a method and system for predicting the power of a photovoltaic station. This method allows a forecast of photovoltaic power over the very short term with a reduced time step, for example a time step of one minute in the event of cloud passage. The forecast is based on a very recent history of inverter acquisitions. This model is not based on weather forecasts, and is not suitable for long-term photovoltaic power forecasts.
[0008] Patent application CN112700026 describes a method and system for predicting the power of a photovoltaic panel. This method allows an estimation of photovoltaic production from irradiance data alone without taking into account weather forecasts. This method does not allow an accurate prediction of the power produced.
[0009] Patent application CN111967652 describes a method for predicting the power of a photovoltaic system in the ultra-short term. This method combines a first model which predicts the photovoltaic power over the next few hours and combines it with a module to correct the short-term forecasts. This method does not take into account weather forecasts. This method therefore does not allow for an accurate forecast of the power produced. Summary of the invention
[0010] The aim of the invention is to determine precisely and robustly forecasts of power produced by at least one photovoltaic panel, both in the short term and in the long term. The present invention relates to a method for forecasting power produced by at least one photovoltaic panel. For this method, a forecast model of power produced is constructed from meteorological data and production data over a predetermined period. The forecast model is a combination of a calibrated transfer function and a power variation model (constructed by machine learning), the combination is corrected according to the power produced. Then, in In real time, a forecast of the power produced is determined by applying the forecasting model of a power produced. Thus, the method according to the invention is based on a combination of physical models and artificial intelligence in order to be as robust as possible to meteorological forecast errors. The method according to the invention makes it possible in particular to predict a power produced, while estimating a certain associated confidence interval. The confidence interval makes it possible to estimate an uncertainty associated with the forecasts. Thus, the method can be used by aggregators to optimize production management, while respecting the requirements of the network. In addition, the correction of the model makes it possible to improve the accuracy of the forecast. Thus, even without ground sensors, the method according to the invention makes it possible to improve short-term forecasts while remaining reliable on long-term forecasts.
[0011] The invention relates to a method for predicting a power produced by at least one photovoltaic panel. For this method, the following steps are implemented:
[0012] a. A power produced by said at least one photovoltaic panel is acquired during a predetermined period; b. Weather data is acquired during said predetermined period, said weather data comprising at least irradiance, optionally temperature and optionally other weather forecast data; c. A transfer function is calibrated which links the power produced by said at least one photovoltaic panel to said irradiance and possibly to said temperature for said predetermined period; d. A learning base is constructed for said predetermined period from said acquired produced power, said acquired meteorological data, and time parameters; e. A model of variation in the power produced by said at least one photovoltaic panel is constructed by means of a machine learning method trained on said constructed learning base, said model of variation in the power produced associating a variation in production with meteorological data and a temporal parameter; f. A model is constructed for predicting the power produced by said at least one photovoltaic panel by combining said calibrated transfer function applied to a theoretical irradiance for a clear, cloudless sky and said model for variation of the power produced, and by means of a correction of said combination as a function of said acquired power produced; g. In real time, the power produced by said at least one panel is acquired photovoltaic; h. In real time, weather forecast data is acquired for at least one future instant; i. In real time, a forecast of the power produced by said at least one photovoltaic panel is determined for said at least one future instant, by applying said produced power forecast model to said produced power acquired in real time, and to said weather forecast data acquired in real time.
[0013] According to one embodiment, during said predetermined period, the irradiance measured is acquired by means of a pyranometer.
[0014] According to one aspect, said machine learning method is regression machine learning, preferably a random forest method.
[0015] According to an implementation, said step of correcting said construction of said produced power forecast model is a function of a comparison between an acquired produced power and an estimated produced power by means of said transfer function and said variation model for several time steps prior to the instant considered.
[0016] Advantageously, said correction step implements the following formula:
[0017] procp + = aiProdf 5Qp (t + i) + fiJL" = QKQ^Prodf 5Qp (tj ) - Prodm (tj)) with t the instant considered, i a future time step, j a past time step, Prodc is the corrected power produced, Prodfj5op is the median power produced estimated by said model of variation of power produced and said transfer function, Prodm is the acquired power produced, + fi = 1, ai and ji being weightings respectively of the weather forecasts and the acquired power produced, and K a corrective coefficient.
[0018] According to one characteristic, said model of variation of the power produced determines a median power produced and / or a power produced for the tenth percentile and / or a power produced for the ninetieth percentile.
[0019] Advantageously, said weather forecast data is acquired by means of an online service, and according to a time step of between 5 minutes and 4 hours, preferably between 15 minutes and 1 hour.
[0020] According to an embodiment option, said weather forecast data comprises a temperature, an irradiance, a wind speed, a precipitation rate, an air humidity rate.
[0021] According to one embodiment, said weather forecast data is acquired for a time horizon of between 1 hour and 14 days, preferably between 1 and 7 days.
[0022] Preferably, a forecast of the power produced is determined for a future time horizon corresponding to said time horizon of said weather forecast data.
[0023] According to one embodiment, said transfer function is a mapping which links an irradiance, a temperature and a power produced by said at least one photovoltaic panel.
[0024] Furthermore, the invention relates to a method for managing an electrical installation comprising at least one photovoltaic panel. For this method, the following steps are implemented:
[0025] a. A forecast of the power produced by said at least one photovoltaic panel is determined by means of the method according to one of the preceding characteristics; and b. Said electrical installation is managed according to said forecast of power produced, for example by managing an electric battery of said electrical installation, and / or by managing an electrical distribution within an electrical network.
[0026] Other characteristics and advantages of the method according to the invention will appear on reading the following description of non-limiting examples of embodiments, with reference to the appended figures described below. List of figures
[0027] [Fig.l]
[0028] [Fig.l] illustrates the steps of the method according to a first embodiment of the invention.
[0029] [Fig.2]
[0030] [Fig.2] illustrates the steps of the method according to a second embodiment of the invention.
[0031] [Fig.3]
[0032] [Fig.3] represents a mapping of the transfer function according to one embodiment of the invention.
[0033] [Fig.4]
[0034] [Fig.4] shows an example of a curve of measured irradiance as a function of time, and a curve of theoretical irradiance for a clear, cloudless sky as a function of time.
[0035] [Fig.5]
[0036] [Fig.5] illustrates, for an example, a comparison of the forecast of power produced estimated by the method according to the invention with a reference forecast of power produced and with a measurement of the power produced.
[0037] [Fig.6]
[0038] [Fig.6] illustrates, for a second example, a comparison between a measured power produced and a prediction of the power produced for each percentile considered by the method according to an embodiment of the invention. Description of the embodiments
[0039] The invention relates to a method for predicting a power produced by at least one photovoltaic panel. In other words, the invention relates to a determination of the power which will be produced by at least one photovoltaic panel in the future (for at least one future instant). The power produced by the photovoltaic panel is an electrical power.
[0040] Preferably, the invention relates to a method for predicting a power produced by a photovoltaic park, which comprises a plurality of identical photovoltaic panels installed in a single location.
[0041] Furthermore, the method for predicting a power produced can be learned and applied to any electrical production site by at least one photovoltaic panel.
[0042] According to the invention, the forecasting method implements the following steps:
[0043] 1. Acquisition of the power produced during a predetermined period
[0044] 2. Acquisition of meteorological data during the predetermined period
[0045] 3. Calibration of a transfer function
[0046] 4. Construction of a learning base
[0047] 5. Construction of a model of variation of power produced
[0048] 6. Construction of a model for forecasting the power produced
[0049] 7. Acquisition of the power produced in real time
[0050] 8. Acquisition of real-time weather forecasts
[0051] 9. Forecast of power produced for a future horizon
[0052] Steps 3 to 6 and 9 can be implemented by computer means, by example a computer. Steps 1 to 6 can be performed offline and only once, this phase can be called "learning phase". Steps 7 to 9 can be performed in real time and repeated at each instant., this phase can be called "real-time application phase". Steps 1 and 2 can be performed in this order, in reverse order or simultaneously. In addition, steps 3 and 4 can be performed in this order, in reverse order or simultaneously. Similarly, steps 7 and 8 can be performed in this order, in reverse order or simultaneously. These steps are detailed in the following description.
[0053] In the remainder of the application, the predetermined period designates a previous predetermined period. In other words, the predetermined period corresponds to a history. This predetermined period may include at least one summer season and one winter season in order to have the seasonal variations in weather conditions. logical, and it can be worth for example at least one year. On the contrary, real time concerns the current moment considered from which we wish to determine a forecast of the power which will be produced by the photovoltaic panel for at least one future moment.
[0054] [Fig.l] illustrates, schematically and in a non-limiting manner, the steps of the method for forecasting a power produced by at least one photovoltaic panel according to an embodiment of the invention. By means of power produced during the predetermined period Prodh, meteorological data during the predetermined period Prevh, and the instants of these data th, a transfer function FT CS is calibrated. In parallel, a model of variation of the power produced MOD VAR is constructed from the power produced during the predetermined period Prodh and the meteorological data during the predetermined period Prevh. This transfer function FT CS and this variation model are combined to form a first production forecast model MOD PRO, which is corrected COR to form a corrected production model MOD COR, which is called a model for forecasting the power produced.The COR correction is implemented using the power produced during the predetermined period Prodh. These steps are performed offline APP only once for the construction of the corrected model: this is the learning phase. Then, in real time TR, the corrected model MOD COR is applied to real-time production data Prodt, to real-time weather forecast data Prevt for a future instant and at the considered instant t. Thus, a power PUI is determined that will be produced by the at least one photovoltaic panel for a future horizon. This is the real-time application phase TR.
[0055] According to an implementation of the invention, the method may comprise a step of acquiring a measurement of the irradiance of the at least one photovoltaic panel during the predetermined period. The energy irradiance or irradiance is a radiometric term which quantifies the power of an electromagnetic radiation striking per unit area perpendicular to its direction. It is the surface density of the energy flux arriving at the considered point of the surface. This optional step allows a better calibration of the transfer function and consequently, the obtaining of an accurate corrected model. Preferably, the irradiance measurements may be implemented by means of a pyranometer. A pyranometer is a heat flux sensor used for measuring the quantity of solar energy in natural light. It is a measurement which is more accurate than weather forecasts of irradiance.Preferably, this measure can be implemented only for the corrected model construction steps (i.e., for the learning phase). In other words, no irradiance measurement is used in real time (i.e., for the real-time application phase). Thus, the . real-time prediction of the power produced by at least one photovoltaic panel does not require any real-time instrumentation.
[0056] [Fig. 2] illustrates, schematically and in a non-limiting manner, this implementation of the invention. The elements identical to [Fig. 1] will not be detailed. The method according to this implementation comprises a step of acquiring MES irradiance data from a sensor such as a pyranometer. The MES irradiance data are used in the calibration of the FT CS transfer function.
[0057] Acquisition of the power produced during a predetermined period
[0058] During this step, the electrical power produced by the at least one photovoltaic panel is acquired for the predetermined period. This electrical power can be measured by a photovoltaic inverter (also called a solar inverter or solar regulator). A photovoltaic inverter transforms the direct electric current produced by the at least one photovoltaic panel into alternating current for injection into an electrical network. Such a photovoltaic inverter continuously analyzes the direct current emitted by the at least one photovoltaic panel. Thus, an electrical power that has been produced is associated with each instant of the predetermined period.
[0059] This step may also include the storage of acquired data of produced power, for example on computer means, such as a computer or a server or computer memory.
[0060] 2, Acquisition of meteorological data during the predetermined period
[0061] During this step, meteorological data are acquired for the predetermined period. The meteorological data may comprise weather forecast data. In this case, at a past time t of the predetermined period, the weather forecast data issued at time tX are associated, X being a time horizon of the weather forecasts. For example, if we consider weather forecasts for a duration of one day. For the past time t, we take the weather forecasts from the day before time t. In other words, at a time considered past, we acquire meteorological data which corresponds to a weather forecast issued for this past time. According to the invention, said meteorological data comprise at least one irradiance, possibly a temperature and possibly other weather forecast data.
[0062] For the embodiment for which measurements are carried out by pyranometer, the acquired irradiance may be that measured by the pyranometer. In this case, at a time t past the predetermined period, the pyranometer measurement of the time t is acquired.
[0063] According to one embodiment of the invention, the meteorological data can be acquired by at least one online weather forecast service. Such a online service has a temporal and spatial precision compatible with the forecasting of the power produced by at least one photovoltaic panel. Online services can provide weather forecasts for a time horizon (in other words for a duration) ranging from 1 hour to 14 days (preferably between 1 day and 7 days), according to a time step ranging from 5 minutes to a few hours, preferably from 15 minutes to 4 hours, and preferably from 15 minutes to one hour. Thus, thanks to such weather forecasts, a long-term forecast of the power produced is possible. Examples of online weather forecast services can be Météo France, or SoDa (Solar radiation data).For example, the current online services offered by Météo France (RadarExpert and PremiumForecast) have a kilometer-level geographical precision for a time step of five minutes for the first sixty-five minutes for RadarExpert, then a time step of one hour, then a time step of three hours and then 6 hours in 6 hours for PremiumForecast.
[0064] According to one implementation of the invention, the meteorological data may include, in particular, temperature, irradiance, wind speed, precipitation and humidity rates.
[0065] This step may also include the storage of meteorological data, for example on computer means, such as a computer or a server or computer memory. 3. Calibration of a transfer function
[0066] During this step, a transfer function is calibrated which links the power produced by the at least one photovoltaic panel acquired in step 1 and to the irradiance and possibly to the temperature for the predetermined period acquired in step 2. Thus, by this transfer function, it is possible to approximate a power produced at the instant by knowing the irradiance at the instant t and possibly the temperature predicted for the instant t.
[0067] According to one implementation of the invention, the transfer function may depend on other meteorological data such as wind speed, precipitation and humidity rates, etc.
[0068] For the embodiment in which data is acquired from a pyranometer, the transfer function may relate the acquired produced power to the data measured by the pyranometer.
[0069] Thus, according to a non-limiting embodiment, the transfer function can be written:
[0070] Prod = / (Irradiance} with Prodp the acquired produced power, Irradiancep the acquired irradiance, f being the transfer function to be calibrated.
[0071] Furthermore, according to another non-limiting embodiment, the transfer function can be written:
[0072] Prod = fn adianceTm^ with Prodp the acquired produced power, Ir-radiancep the acquired irradiance and Tm the acquired temperature, f being the transfer function to be calibrated.
[0073] Furthermore, according to another non-limiting embodiment, the transfer function can be written:
[0074] Prod = / ^Irradiance , Tm, Uv, dir^ with Prodp the acquired produced power, Irradiancep the acquired irradiance, uv the wind speed and dirv the wind direction and Tm the acquired temperature, f being the transfer function to be calibrated.
[0075] According to one aspect of the invention, the transfer function may be a map that links the power produced, the irradiance and possibly the temperature. The use of such a map is simple and rapid, which allows use in real time.
[0076] [Fig. 3] illustrates, schematically and in a non-limiting manner, an example of mapping for the transfer function. The mapping makes it possible to link to each pair of temperature Tm in °C and irradiance IRR in W / m2 a value of power produced P in kW by the at least one photovoltaic panel.
[0077] Advantageously, once the transfer function has been calibrated, a theoretical irradiance of a clear sky without clouds (called "Clearsky" in English) can be introduced as input. This theoretical irradiance corresponds to the envelope of the irradiance profile. By introducing this theoretical irradiance information of a clear sky and the use of a model of variation of the power produced, the model for forecasting the power produced is more robust in the face of weather forecast errors. Indeed, the weather forecasts are only associated with a variant part of the power produced.
[0078] [Fig.4] illustrates, schematically and in a non-limiting manner, a curve of the global horizontal irradiance GHI in W / m2 (from the English "global horizontal irradiance") as a function of time t in days. On this graph, the curve obtained by measurement using a pyranometer is noted MES, and the curve of the theoretical clear sky irradiance is noted CS. It is noted that the curve of the theoretical irradiance CS is not sensitive to changing meteorological conditions, unlike the measured curve MES. 4. Building a learning base
[0079] During this step, a learning base is constructed for the predetermined period. This learning base is constructed from the power produced acquired in step 1, the meteorological data acquired in step 2 and parameters temporal. The learning base is a base which combines the power produced acquired in step 1 and the meteorological data acquired in step 2.
[0080] Advantageously, the time parameters can be chosen from the season, the month, the week, the day of the week, the hour. Thus, the model of variation of power produced and consequently the model of forecasting of power produced can be adapted to the meteorological conditions of a given instant. For example, the forecasts can take into account the time range between sunrise and sunset on the day concerned by the forecast, the difference in brightness between the seasons, and / or between the hours of the day.
[0081] 5. Construction of a model of variation of power produced
[0082] During this step, a model of variation of the power produced by the at least one photovoltaic panel is constructed by means of a machine learning method trained on the learning base constructed in step 4. The construction of this model is implemented over the predetermined period. The model of variation of the power produced associates a variation of the production with meteorological data and with a temporal parameter. The model of variation of the power produced translates the modification of the power produced linked to meteorological variations, for example the passage of clouds, bad weather, etc., as well as the modification of the power produced linked to the instant considered: season, month, week, day, hour. The model of variation of power produced takes as input the temporal parameters, the power produced acquired in step 1 and the meteorological data acquired in step 2.Such a model allows a forecast of the power produced in the short and medium term. In addition, the use of such a model is simple and fast, which allows real-time use.
[0083] According to one implementation of the invention, the variation in the power produced may correspond to the variable part of the power produced corresponding to at least one percentile value of its distribution. For example, the model may determine the median of the varational part of the power produced, i.e. the 50th percentile of the distribution of the varational power. For example, the variational power may be defined by the difference between the acquired power produced and the power produced estimated by the calibrated transfer function. Alternatively or cumulatively, the model may determine the variable part of the power produced corresponding to the 90th and 10th percentiles of the variational power. These variations make it possible to estimate a certain confidence interval on the predictions of the power produced.Alternatively, the model can determine the variable part of the power produced corresponding to the 80th and 20th percentiles, or to the 70th and 30th percentiles, etc.
[0084] Advantageously, the model of variation of power produced can determine the median of the variational power and the confidence interval between the 10th and 90th percentile of the variational power.
[0085] During this step, the power variation model produced by machine learning can be constructed, preferably by supervised machine learning, and more preferably by supervised regression machine learning.
[0086] According to an implementation of the invention, the power variation model can be written:
[0087] [Prod vy=h(Prevm.,t.,n,Var. n\ with Prod v the Xth percentile of LJ [var, Xp] (nteieco temporal} var, Xp the variational power, Prevnieteo the meteorological data of the instant considered, VarJem reUe is a temporal parameter of the instant considered (within the predetermined period), and h a function constructed by a machine learning algorithm.
[0088] According to an exemplary embodiment, for which the produced power variation model can determine the median and the confidence interval between the 10th and 90th percentile of the variational power, the produced power variation model can be written: [Prod . Prod , Prod 1 = h(PrevnVar „ ) with [ van 50 p van90p rar, lOp] \ metecptemporel) Prod cn the median of the variational power, Prod the 10th percentile of var. 50 pr van 10 / ? the variational power, Prodvaj the 90th percentile of the variational power, Prevmeteo the meteorological data of the instant considered, Var >reUe is time parameter of the instant considered (within the predetermined period), and h a function constructed by a machine learning algorithm.
[0089] The function h may be determined from a supervised regression learning algorithm, such as a support vector machine (SVM), a recurrent neural network, a random forest, or a combination of these methods. As a non-limiting example, the method may implement a tree forest algorithm, the parameter of the number of trees being set to 50 with a tree depth of 15.
[0090] According to one aspect, this step may include a validation method, preferably a cross-validation method, in particular a k-fold cross-validation method. This cross-validation method makes it possible to reduce “overfitting” problems and to improve the accuracy of the model.
[0091] 6. Construction of a model for forecasting the power produced
[0092] During this step, a model is constructed for predicting the power produced by the at least one photovoltaic panel by combining the transfer function calibrated in step 3 and applied to a theoretical irradiance for a clear sky without cloud and the variation model of the power produced established in step 5. In addition, during this step, a step of correction of the combination is implemented according to the acquired power produced. In other words, this step includes two sub-steps: a combination and a correction. The combination makes it possible to add the general character of the transfer function to the variable character of the variation model of the power produced. The correction makes it possible to improve the accuracy of the forecast, by taking into account the more recent power produced. Thus, the forecast model of the power produced makes it possible to determine a forecast of power produced by at least one photovoltaic panel for at least one future instant, from data on power produced and weather forecast data for the future instant.Thus, the power forecasting model does not require any meteorological measuring instrumentation: no camera, no pyranometer or any similar sensor. The future instant corresponds to a temporal parameter, and can include in particular the following information: the season, the month, the week, the day, the hour.
[0093] According to one embodiment of the invention, the combination sub-step may be a step of adding the transfer function and the variation model of the power produced. The uncorrected model obtained at the end of this sub-step makes it possible to obtain an uncorrected forecast of the power produced. For example, such an uncorrected model may be written: Prod, ~ Prod,.K + Prod with Prod, v a forecast of the Xth f ,Xp var, Xp j-Xp r percentile of the uncorrected power produced, Prodcs the power produced obtained by the transfer function with a theoretical irradiance of a clear sky without clouds, and Prod „ the Xth percentile of the variational power resulting from the var variation model. Ap K of the power produced. Thus this equation can be used to determine a median power produced and a confidence interval.
[0094] Preferably, the correction may be applied only to the median (50th percentile) of the variational power.
[0095] In order to improve the accuracy of the forecast, in particular for cloudy days, a correction sub-step is applied to the uncorrected forecast model. One idea of this correction is to correct the forecasts by introducing a real-time corrective loop. According to one aspect, this correction may consist of taking into account the most recent measurements of the power produced in relation to the instant considered, in order to adjust the weather forecasts, in particular the irradiance forecasts over a future horizon (i.e. for a future duration), in particular over the next few hours. Thus, according to one embodiment, the correction may be a function of a comparison between an acquired power produced and a power produced estimated at means of the transfer function and the variation model of the power produced.
[0096] According to one aspect of this implementation, the correction may take into account at least the power produced acquired for the hour preceding the instant in question. In addition, the correction may take into account the power acquired up to six hours preceding the instant in question.
[0097] For example, the correction may implement the following formula:
[0098] Prodc(t, t+1, ..., t + m) = g(Prodf t - n, ..., t+m), Prodm(t, f-1, .., î-n)j
[0099] with t the instant considered, n is the duration during which the acquired produced powers are taken into account, m is the correction horizon (i.e. the period over which the correction is applied), Prodc is the corrected produced power, Prodfj5op is the median produced power estimated by the combination of the produced power variation model and the transfer function, Prodm is the acquired produced power, and g is the correction function.
[0100] Advantageously, by default, the corrected power produced can be equal to the uncorrected power produced outside the correction horizon.
[0101] For example, the function g can be defined such that:
[0102] Prodc(t + i) = a{Prodf 50p(t+ i) + " = QK^j^Prodf>5Qp(t- j)-Prodm(tj)) with t the instant considered, i a future time step, j a past time step, Prodc is the corrected power produced, Prodfj5op is the median power produced estimated by the model of variation of power produced and the transfer function, Prodm is the acquired power produced, a' and being weights respectively of the weather forecasts and the acquired powers produced with af + / i. = 1, and K a corrective coefficient.
[0103] 7, Acquisition of the power produced in real time
[0104] During this step, the electrical power produced by the at least one photovoltaic panel is acquired in real time. This electrical power can be measured by a photovoltaic inverter (also called a solar inverter or solar regulator). A photovoltaic inverter transforms the direct electric current produced by the at least one photovoltaic panel into alternating current for injection into an electrical network. Such a photovoltaic inverter continuously analyzes the direct current emitted by the at least one photovoltaic panel. Thus, an electrical power that is currently being produced is obtained in real time. This acquisition of the power produced in real time is useful for implementing the correction, within the model for predicting the power produced.
[0105] This step may also include the storage of data on the power produced, for example on computer means, such as a computer or a server or computer memory.
[0106] 8. Acquisition of real-time weather forecasts
[0107] During this step, weather forecast data is acquired in real time. In other words, at each instant, a weather forecast is acquired for a future time horizon. According to the invention, said weather data comprises at least one irradiance, possibly a temperature and possibly other weather forecast data. The future horizon is defined in relation to real time, and can be characterized by a time parameter: season, month, week, day, hour.
[0108] This step does not require any measurement by pyranometer, in fact, the model for forecasting the power produced only takes weather forecast data as input.
[0109] According to one embodiment of the invention, weather forecast data can be acquired by at least one online weather forecast service. Such an online service has a temporal and spatial precision compatible with the forecasting of the power produced by at least one photovoltaic panel. The online services can provide weather forecasts for a time horizon ranging from 1 hour to 14 days (preferably from 1 to 7 days), according to a time step ranging from 5 minutes to a few hours, preferably between 15 minutes and 4 hours, and preferentially between 15 minutes and one hour. Thus, thanks to such weather forecasts, a long-term forecast of the power produced is possible. Examples of online weather forecast services can be Météo France, or SoDa (Solar radiation data).For example, the current online services offered by Météo France (RadarExpert and PremiumForecast) have a kilometer-level geographical precision for a time step of five minutes for the first sixty-five minutes for RadarExpert, then a time step of one hour, then a time step of three hours and then 6 hours in 6 hours for PremiumForecast.
[0110] According to one implementation of the invention, the weather forecast data may include, in particular, temperature, irradiance, wind speed, precipitation and humidity rates.
[0111] This step may also include the storage of meteorological data, for example on computer means, such as a computer or a server or computer memory.
[0112] 9. Forecast of power produced for a future horizon
[0113] During this step, a forecast of the power produced by the at least one photovoltaic panel is determined for at least one future instant, by applying the power produced forecast model constructed in step 6 to the power produced acquired in real time in step 7, and to the weather forecast data. acquired in real time in step 8. In other words, for at least one given future instant (after real time) we determine the power that will be produced by the at least one photovoltaic panel. To do this, we use the power produced acquired in real time as well as the weather forecast data for the given future instant that were acquired in real time.
[0114] Preferably, it is possible to predict the power that will be produced by the at least one photovoltaic panel for a future horizon that corresponds to the weather forecast horizon, for example for a future horizon of between 1 hour and 14 days, preferably between 1 and 7 days.
[0115] For the embodiment, for which the variation model of the power produced determines several percentiles, the application of the model can determine several parameters of the power produced, for example a median and a confidence interval.
[0116] Furthermore, the invention relates to a method for managing an electrical installation comprising at least one photovoltaic panel, an electric battery and a connection to an electrical network, in which the following steps are implemented:
[0117] a. A forecast of the power produced by the at least one photovoltaic panel is determined by means of the method according to any one of the variants or combinations of variants described above; and b. The electrical installation is managed according to said forecast of power produced, for example by managing an electrical battery of the electrical installation, and / or by managing an electrical distribution within an electrical network.
[0118] Such an electrical installation may be a photovoltaic park, for example on a building roof, on land, etc. The electrical installation may include in particular a means for storing electrical energy, for example at least one electric battery, means for distributing the electricity produced within the electrical network, and a photovoltaic inverter which converts the direct current produced by the at least one photovoltaic panel into alternating current. This distribution within the electrical network allows in particular an injection of the electricity produced into an electrical network. The management of this electrical installation therefore concerns a management of the storage and / or distribution of electricity. This management may be optimized according to the forecast of the power produced, in order to manage when the power produced is distributed and when the power produced is stored.
[0119] Such a management method can be implemented automatically by computer means which control the electrical installation, for the management of a photovoltaic park.
[0120] As goes without saying, the invention is not limited to the embodiments of the process described above as an example, it on the contrary embraces all the variants of realization. Examples
[0121] The characteristics and advantages of the method according to the invention will appear more clearly on reading the application example below.
[0122] The example concerns the power produced by a park of photovoltaic panels on a building equipped with a pyranometer. For the learning phase, the production produced by the park is acquired as well as the weather forecasts for one year. To determine the weather forecasts, the SODA online service was used. For this photovoltaic park, a forecast of electrical power produced is determined using the method according to the invention, and taking into account the weather forecasts from the day before the day in question. In this context, the pyranometer measurements are used for the calibration of the transfer function.
[0123] [Fig.5] illustrates a graph of the power produced P in kW as a function of time t in hours of the day concerned. This graph represents the measured power produced MES on the day concerned. In addition, the power produced predicted by the method according to the invention INV is represented from meteorological data from the day before the day concerned. In addition, a predicted power produced estimated by the method according to the invention without the correction sub-step REF is represented from meteorological data from the day before the day concerned. In this figure, only the median of the power produced forecasts is considered. It can be seen that the REF curve makes it possible to estimate the production envelope well with a certain variability compared to the hours of the day. However, this variability is less sensitive to rapid passages of clouds which induce fairly frequent peaks and troughs in the power produced.This sensitivity is more precisely translated by the INV curve with the real-time correction. Indeed, the INV curve is able to follow the rapid variations of the MES curve thanks to the correction step. Thus, on this day, the average error is reduced from 3.02 to 1.93 kW with the introduction of the correction sub-step. If we consider several days, we observe a 30% reduction in the average error. Thus, the method according to the invention allows a precise determination of a forecast of power produced by a photovoltaic park.
[0124] [Fig.6] illustrates, for another day, a graph of the power produced P in kW as a function of time t in hours. This graph shows the measured power produced MES on the day in question. In addition, the median power produced predicted by the method according to the invention EST50 is shown from meteorological data from the day before the day in question. In addition, the power produced of the 10th and 90th percentiles predicted by the method according to the invention is shown from meteorological data from the day before the day in question, and noted respectively EST10 and EST90. The median allows to follow the rapid variations linked to the passage of clouds. The 10th and 90th percentiles refer to a confidence interval, which allows to approximate the lower and upper limits of the power produced. We note that these values: median, 10th and 90th percentiles allow to have a good precision and a good robustness of the forecast of the power produced and its confidence interval.
Claims
Claims
1. Method for predicting a power produced by at least one photovoltaic panel, characterized in that the following steps are implemented: a. A power produced (Prodh) by said at least one photovoltaic panel is acquired during a predetermined period; b. Weather data (Prevh) is acquired during said predetermined period, said weather data comprising at least irradiance, possibly temperature and possibly other weather forecast data; c. A transfer function (FT CS) is calibrated which links the power produced by said at least one photovoltaic panel to said irradiance and possibly to said temperature for said predetermined period; d. A learning base is constructed for said predetermined period from said acquired produced power (Prodh), said acquired meteorological data (Prevh), and time parameters (th); e. A variation model (MOD VAR) of the power produced by said at least one photovoltaic panel is constructed by means of a machine learning method trained on said constructed learning base, said variation model (MOD VAR) of the power produced associating a variation in production with meteorological data and a temporal parameter; f. A model for predicting the power produced (MOD COR) by said at least one photovoltaic panel is constructed by combining (MOD PRO) said calibrated transfer function (FTCS) and applied to a theoretical irradiance for a clear, cloudless sky and said model for varying the power produced (MOD VAR), and by means of a correction (COR) of said combination as a function of said acquired power produced; g. In real time, the power produced (Prevt) by said at least one photovoltaic panel is acquired; h. In real time, weather forecast data (Prevt) are acquired for at least one future instant; i. In real time, a forecast of the power produced (Pui) by said at least one photovoltaic panel is determined for said at least one future instant, by applying said power production forecast model (MOD COR) to said power produced acquired in real time (Prodt), and to said weather forecast data acquired in real time (Prevt).
2. A method of predicting a produced power according to claim 1, wherein, during said predetermined period, the measured irradiance (MES) is acquired by means of a pyranometer.
3. A method for predicting a power output according to one of the preceding claims, wherein said machine learning method is a regression machine learning, preferably a random forest method.
4. Method for forecasting a produced power according to one of the preceding claims, in which said correction step (COR) of said construction of said produced power forecast model (MOD COR) is a function of a comparison between an acquired produced power and a produced power estimated by means of said transfer function and said variation model for several time steps prior to the instant considered.
5. Method for forecasting a produced power according to claim 4, in which said correction step (COR) implements the following formula: Prod.(t + i) = aiPmdf 50p (t + i) + Pi E " = ^{j'^Prod^50p (t - j ) - Pmdm(tj)) with t the instant considered, i a future time step, j a past time step, Prodc is the corrected produced power, Prodfj5op is the median produced power estimated by said produced power variation model and said transfer function, Prodm is the acquired produced power, tq + / i. = 1, ai and being weightings respectively of the weather forecasts and the acquired produced power, and K a corrective coefficient.
6. A method of predicting a power output according to one of the preceding claims, wherein said variation model of the power produced (MOD VAR) determines a median power produced and / or a power produced for the tenth percentile and / or a power produced for the ninetieth percentile.
7. Method for forecasting a power produced according to one of the preceding claims, in which said meteorological forecast data (Prevh, Prevt) are acquired by means of an online service, and according to a time step of between 5 minutes and 4 hours, preferably between 15 minutes and 1 hour.
8. A method of forecasting a power output according to one of the preceding claims, wherein said weather forecast data (Prevh, Prevt) comprises a temperature, an irradiance, a wind speed, a precipitation rate, an air humidity rate.
9. Method for forecasting a power produced according to one of the preceding claims, in which said weather forecast data is acquired for a time horizon of between 1 hour and 14 days, preferably between 1 and 7 days.
10. Method for forecasting a power produced according to claim 9, in which a forecast of the power produced (Pui) is determined for a future time horizon corresponding to said time horizon of said weather forecast data.
11. Method for predicting a power produced according to one of the preceding claims, in which said transfer function (FT CS) is a mapping which links an irradiance, a temperature and a power produced by said at least one photovoltaic panel.
12. Method for managing an electrical installation comprising at least one photovoltaic panel, in which the following steps are implemented: a. A forecast of the power produced (Pui) by said at least one photovoltaic panel is determined by means of the method according to one of the preceding claims; and b. Said electrical installation is managed according to said forecast of power produced, for example by managing an electric battery of said electrical installation, and / or by managing an electrical distribution within an electrical network.
