A method, device and mobile terminal for predicting power load based on weather parameters
By calculating the correlation coefficient between weather parameters and obtaining the optimal weather parameters, combined with power load data for prediction, the problem that the coupling relationship of weather parameters is not considered in the existing technology is solved, and the accuracy of power load prediction is significantly improved.
Patent Information
- Application Number
- CN202111123000.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-09-24
AI Technical Summary
Existing power load forecasting methods based on weather parameters fail to effectively consider the coupling relationship between weather parameters, resulting in low forecast accuracy.
Obtain the first weather parameter set and the power load data set, calculate the correlation coefficient between them, obtain the optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient, and input the preset power load prediction model to make predictions. The second weather parameter set is calculated based on the coupling relationship between multiple parameters in the first weather parameter set, including delay effect correction, extreme weather correction and typical season selection preprocessing.
The accuracy of power load forecasting is improved. By considering the coupling relationship between weather parameters and the correlation with power load data, the optimal weather parameters are selected for prediction, which significantly improves the accuracy of the forecast results.
Smart Images

Figure CN113822483B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device and mobile terminal for predicting power load based on weather parameters. Background Art
[0002] Electricity is a basic energy source that affects the national economy and people's livelihood. Since power plants are currently unable to store and produce electricity on a large scale, maintaining a balance between supply and demand in the power grid is the key to ensuring the stable operation of the power system. To this end, it is necessary to predict the load demand of users in the power system. Excessive deviation in the demand-side power load forecast will pose a safety hazard to the reliable operation of the power system and cause great losses to social production and life and power supply companies. For example, if the demand-side power load forecast is too small, the backup capacity planning of the power supply system will be insufficient, resulting in power shortages during concentrated power consumption periods; if the demand-side power load forecast is too large, it will cause a waste of power load and increase operating cost losses. Therefore, with the continuous increase in the demand for electricity in the national economy and social development, accurate load forecasting has become increasingly important.
[0003] The power load is related to many factors such as weather, economy, day type, and user type. Since people will change their electricity consumption behavior based on their perception of changes in environmental comfort, such as turning on air conditioning for cooling on hot days and heating on cold days, weather parameters have a significant impact on power load. According to statistics, there is a clear positive correlation between summer temperature and load, and temperature has a cumulative effect on load. Continuous high temperatures for many days will change the characteristics of power load; in addition, 80% of precipitation processes will reduce daily electricity consumption, with an average decrease of 3% and a maximum decrease of about 10%. Moreover, there is a certain delay in the impact of precipitation on load, which generally affects the load in the next few days.
[0004] There is a complex nonlinear relationship between weather parameters and power load. In power load forecasting, weather parameters such as temperature, humidity, wind speed, and weather conditions are usually input into machine learning models such as SVM and ANN to perform power load fitting to obtain power load forecasting results. However, common weather parameters such as temperature and humidity have a certain correlation on the one hand, and the human body's perception of environmental comfort is also comprehensive on the other hand, so the coupling relationship between weather parameters has a great impact on the accuracy of power load forecasting based on weather parameters.
[0005] However, the power load prediction method in the prior art does not take into account the coupling relationship between weather parameters, so the accuracy of the existing power load prediction method based on weather parameters is not high. Summary of the invention
[0006] The embodiments of the present invention provide a method, device and mobile terminal for predicting power load based on weather parameters, which improve the accuracy of power load prediction based on weather parameters.
[0007] A first aspect of an embodiment of the present application provides a method for forecasting power load based on weather parameters, comprising:
[0008] Obtaining a first weather parameter set and a power load data set, and calculating correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set, respectively; wherein the second weather parameter set is calculated based on a coupling relationship between a plurality of first weather parameters in the first weather parameter set;
[0009] According to the correlation coefficient, the optimal weather parameters are obtained from the first weather parameter set and the second weather parameter set;
[0010] The optimal weather parameters and power load data set are input into the preset power load forecasting model to obtain the power load forecasting results based on the weather parameters.
[0011] In a possible implementation manner of the first aspect, obtaining the first weather parameter set is specifically:
[0012] An initial weather parameter set is obtained according to multiple time units, and the initial weather parameters of different time units are preprocessed and classified accordingly according to the time units to obtain a first weather parameter set of the same time unit; wherein the time units include, from small to large, a first time unit, a second time unit, and a third time unit.
[0013] In a possible implementation manner of the first aspect, initial weather parameters of different time units are preprocessed accordingly, specifically as follows:
[0014] When the initial weather parameter set is obtained according to the first time unit, a delay effect correction preprocessing is performed on the initial weather parameters of the first time unit;
[0015] When the initial weather parameter set is obtained according to the second time unit, extreme weather correction preprocessing is performed on the initial weather parameters of the second time unit;
[0016] When the initial weather parameter set is acquired according to the third time unit, a typical season selection preprocessing is performed on the initial weather parameters of the third time unit.
[0017] In a possible implementation manner of the first aspect, the initial weather parameters of the first time unit are preprocessed for delay effect correction, specifically:
[0018] Obtaining a time value to be predicted; wherein the time value to be predicted includes a first value corresponding to a first time unit;
[0019] Acquire, from the initial weather parameter set according to the first time unit, an initial weather parameter corresponding to the first value and an initial weather parameter corresponding to three hours before the first value;
[0020] The initial weather parameters corresponding to the first value and the initial weather parameters corresponding to the three hours before the first value are averaged, and the first real weather parameters corresponding to the predicted time value are obtained according to the processing results, thereby completing the delay effect correction preprocessing.
[0021] In a possible implementation manner of the first aspect, the extreme weather correction preprocessing is performed on the initial weather parameters of the second time unit, specifically:
[0022] The time value to be predicted includes a second value corresponding to a second time unit;
[0023] Acquire, from the initial weather parameter set according to the second time unit, the initial weather parameter corresponding to the second value and the initial weather parameter corresponding to three days before the second value;
[0024] When it is determined that the initial weather parameters corresponding to the second value and the initial weather parameters corresponding to the three days before the second value both meet the extreme weather conditions, the power load data corresponding to the three days before the second value are obtained according to the power load data set, and the second real weather parameter corresponding to the time value to be predicted is calculated according to the power load data corresponding to the three days before the second value and the first real weather parameter corresponding to the time value to be predicted, thereby completing the extreme weather correction preprocessing.
[0025] In a possible implementation manner of the first aspect, the correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set are calculated, specifically:
[0026] The correlation coefficients include: Pearson correlation coefficient and grey correlation degree;
[0027] After standardizing the first weather parameter set, the second weather parameter set and the power load data set, a third data set, a fourth data set and a fifth data set are generated respectively;
[0028] The Pearson correlation coefficient and the grey correlation degree between the fifth data set and the third data set and the fourth data set are calculated respectively.
[0029] In a possible implementation manner of the first aspect, obtaining optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient is specifically as follows:
[0030] When the Pearson correlation coefficient is greater than the first preset value or when the Pearson correlation coefficient is less than the first preset value and the grey correlation degree is greater than the first preset value, obtaining the third weather parameter set and the fourth weather parameter set from the first weather parameter set and the second weather parameter set respectively;
[0031] The correlation coefficient corresponding to the third weather parameter set and the correlation coefficient corresponding to the fourth weather parameter set are compared, and the optimal weather parameters are generated and obtained according to the comparison result.
[0032] In a possible implementation manner of the first aspect, a correlation coefficient corresponding to the third weather parameter set and a correlation coefficient corresponding to the fourth weather parameter set are compared, and optimal weather parameters are generated according to the comparison result, specifically:
[0033] The third weather parameter set includes: dry bulb temperature, wind speed, relative humidity and air enthalpy;
[0034] When the correlation coefficient of the dry-bulb temperature is greater than the correlation coefficient corresponding to the fourth weather parameter set, it is determined that the third weather parameter set has a greater correlation with the power load data set, and the dry-bulb temperature, wind speed, relative humidity and air enthalpy are taken as the optimal weather parameters;
[0035] When the correlation coefficient of the dry-bulb temperature is less than the correlation coefficient corresponding to the fourth weather parameter, it is determined that the fourth weather parameter set has a greater correlation with the power load data set, and the fourth weather parameter set is used as the optimal weather parameter.
[0036] A second aspect of an embodiment of the present application provides a device for predicting power load based on weather parameters, comprising: a first acquisition module, a second acquisition module and a prediction module;
[0037] The first acquisition module is used to acquire the first weather parameter set and the power load data set, and calculate the correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set respectively; wherein the second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set;
[0038] The second acquisition module is used to acquire the optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient;
[0039] The prediction module is used to input the optimal weather parameters and power load data set into a preset power load prediction model to obtain a power load prediction result based on the weather parameters.
[0040] A third aspect of an embodiment of the present application provides a mobile terminal, including a processor and a memory, the memory storing computer-readable program code, and the processor implementing the steps of the above-mentioned weather parameter-based power load forecasting method when executing the computer-readable program code.
[0041] Compared with the prior art, the embodiments of the present invention provide a method, device and mobile terminal for predicting power load based on weather parameters, and their beneficial effects are: the prediction method of the embodiments of the present invention first obtains a first weather parameter set and a power load data set, and calculates the correlation coefficient between the power load data set and the first weather parameter set and the second weather parameter set respectively; wherein the second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set; then, based on the correlation coefficient, the optimal weather parameters are obtained from the first weather parameter set and the second weather parameter set; finally, the optimal weather parameters and the power load data set are input into a preset power load prediction model to obtain a power load prediction result based on weather parameters.
[0042] In the process of forecasting power load based on weather parameters, the embodiment of the present invention takes into account the coupling relationship between weather parameters, so the accuracy of power load forecasting is improved. Secondly, the first weather parameter and the second weather parameter that can represent the coupling relationship between the first weather parameter are used as the basis for calculating the correlation coefficient between the power load data set, and the optimal weather parameter is selected according to the correlation coefficient and the power load forecast based on the weather parameter is performed. Since the higher the correlation coefficient between the weather parameter and the power load data is, the more beneficial it is for the accuracy of the forecast result, the accuracy of the power load forecast can be further improved.
[0043] Then, when obtaining the first weather parameter set, the initial weather parameter set was preprocessed accordingly, including: delayed effect correction preprocessing, extreme weather correction preprocessing and typical season selection preprocessing. Among them, due to the thermal inertia of buildings, the changes in cold and hot loads will have a certain delay compared to the changes in weather parameters, so the delayed effect of weather on power load is corrected through delayed effect correction preprocessing; since continuous extreme weather for many days will affect the characteristics of power load, the cumulative effect of weather on load is corrected through extreme weather correction preprocessing; in order to take into account the differences in the impact of weather parameters on power load in different time periods and the timeliness of power load prediction, the efficiency of power load prediction and the efficiency of comparing the differences between data are improved through typical season selection preprocessing. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of a method for forecasting power load based on weather parameters provided by one embodiment of the present invention;
[0045] Figure 2 It is a schematic diagram of correlation coefficients between a power load data set provided by an embodiment of the present invention and a first weather parameter set and a second weather parameter set;
[0046] Figure 3It is a structural schematic diagram of a power load prediction device based on weather parameters provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Reference Figure 1 , is a flow chart of a method for forecasting power load based on weather parameters provided by an embodiment of the present invention, including S101-S103:
[0049] S101: Obtain a first weather parameter set and a power load data set, and calculate correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set, respectively.
[0050] The second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set. Specifically:
[0051] The first weather parameter is a single weather parameter, including: dry bulb temperature, relative humidity, wind speed and dew point temperature; the second weather parameter is a comprehensive weather parameter, including: effective temperature, temperature and humidity index, and wind cooling index.
[0052] Then the coupling relationship between multiple first weather parameters can be expressed by the following formula:
[0053]
[0054]
[0055] WCI=13.12+0.6215T-11.37V 0.16 +0.3965TV 0.16 ;
[0056] Among them, ET is the effective temperature, HI is the temperature and humidity index, WCI is the wind cooling index; T is the dry bulb temperature (℃), RH is the relative humidity (%), V is the wind speed (m / s), and T_dew is the dew point temperature (K).
[0057] Therefore, the second weather parameter can be calculated by using the above formula for expressing the coupling relationship between the first weather parameters.
[0058] Among them, the first weather parameter also includes: air enthalpy value. Since the air enthalpy value itself already includes the coupling relationship between dry bulb temperature, relative humidity and wind speed, the air enthalpy value is no longer used for calculation in the process of calculating the second weather parameter. Secondly, since the dew point temperature alone has little effect on the preset power load forecasting model, the dew point temperature alone is not input as a parameter into the preset power load forecasting model when performing power load forecasting based on weather parameters.
[0059] S102: Obtaining optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient.
[0060] S103: Inputting the optimal weather parameters and the power load data set into a preset power load prediction model to obtain a power load prediction result based on the weather parameters.
[0061] In this embodiment, the obtaining of the first weather parameter set is specifically:
[0062] An initial weather parameter set is obtained according to multiple time units, and the initial weather parameters of different time units are preprocessed and classified accordingly according to the time units to obtain the first weather parameter set of the same time unit; wherein the time units include, from small to large, a first time unit, a second time unit and a third time unit.
[0063] In a specific embodiment, the first time unit is hours, the second time unit is days, and the third time unit is months. Then obtaining the initial weather parameter set according to multiple time units is specifically: obtaining the initial weather parameters hourly, daily, and monthly.
[0064] In this embodiment, the initial weather parameters of different time units are preprocessed accordingly, specifically:
[0065] When acquiring the initial weather parameter set according to the first time unit, performing delay effect correction preprocessing on the initial weather parameters of the first time unit;
[0066] When acquiring the initial weather parameter set according to the second time unit, performing extreme weather correction preprocessing on the initial weather parameters of the second time unit;
[0067] When the initial weather parameter set is acquired according to the third time unit, typical season selection preprocessing is performed on the initial weather parameters of the third time unit.
[0068] In a specific embodiment, the delay effect correction preprocessing of the initial weather parameters of the first time unit is specifically:
[0069] Acquire a time value to be predicted; wherein the time value to be predicted includes a first value corresponding to a first time unit;
[0070] Acquire, from the initial weather parameter set according to the first time unit, an initial weather parameter corresponding to the first value and an initial weather parameter corresponding to three hours before the first value;
[0071] The initial weather parameters corresponding to the first value and the initial weather parameters corresponding to the three hours before the first value are averaged, and the first real weather parameters corresponding to the predicted time value are obtained according to the processing results to complete the delay effect correction preprocessing.
[0072] In a specific embodiment, the extreme weather correction preprocessing of the initial weather parameters of the second time unit is specifically:
[0073] The time value to be predicted includes a second value corresponding to a second time unit;
[0074] Acquire, from the initial weather parameter set according to the second time unit, an initial weather parameter corresponding to the second value and an initial weather parameter corresponding to three days before the second value;
[0075] When it is determined that the initial weather parameters corresponding to the second value and the initial weather parameters corresponding to the three days before the second value both meet the extreme weather conditions, the power load data corresponding to the three days before the second value are obtained according to the power load data set, and the second real weather parameter corresponding to the time value to be predicted is calculated according to the power load data corresponding to the three days before the second value and the first real weather parameter corresponding to the time value to be predicted, thereby completing the extreme weather correction preprocessing.
[0076] The second real weather parameter corresponding to the time value to be predicted is calculated based on the power load data corresponding to the three days before the second value and the first real weather parameter corresponding to the time value to be predicted, which can be expressed by the following formula:
[0077] A2=A1*T1 / T2;
[0078] Among them, A2 is the second real weather parameter corresponding to the time value to be predicted, A1 is the first real weather parameter corresponding to the time value to be predicted, T1 is the power load data corresponding to the day before the second value, and T2 is the power load data corresponding to two days before the second value.
[0079] It is determined that both the initial weather parameter corresponding to the second value and the initial weather parameter corresponding to the three days before the second value meet the extreme weather conditions, specifically:
[0080] When the temperature parameter in the initial weather parameters corresponding to the second value and the temperature parameter in the initial weather parameters corresponding to the three days before the second value are both greater than the first preset value or both less than the second preset value, it is determined that the initial weather parameters corresponding to the second value and the initial weather parameters corresponding to the three days before the second value both meet the extreme weather conditions; otherwise, it is determined that the initial weather parameters corresponding to the second value and the initial weather parameters corresponding to the three days before the second value do not meet the extreme weather conditions.
[0081] Since extreme weather includes extremely hot weather and extremely cold weather, when the temperature parameter in the initial weather parameter corresponding to the second value and the temperature parameter in the initial weather parameter corresponding to the first three days of the second value are both greater than the first preset value, it is determined that extremely hot weather has occurred; when the temperature parameter in the initial weather parameter corresponding to the second value and the temperature parameter in the initial weather parameter corresponding to the first three days of the second value are less than the second preset value, it is determined that extremely cold weather has occurred. The first preset value may be 30°C, and the second preset value may be 0°C.
[0082] In a specific embodiment, the typical season selection preprocessing is performed on the initial weather parameters of the third time unit, specifically:
[0083] Since the third time unit is a month, the initial weather parameters of the third time unit are the initial weather parameters of each month; the power load data and initial weather parameters of three typical months, namely January in the heating season, July in the cooling season and April in the transition season, are obtained from the initial weather parameters of each month to complete the typical season selection preprocessing of the initial weather parameters of the third time unit.
[0084] In this embodiment, the calculation of the correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set is specifically:
[0085] The correlation coefficients include: Pearson correlation coefficient and grey correlation degree;
[0086] After standardizing the first weather parameter set, the second weather parameter set and the power load data set, a third data set, a fourth data set and a fifth data set are generated respectively;
[0087] The Pearson correlation coefficient and the grey relational degree between the fifth data set and the third data set and the fourth data set are calculated respectively.
[0088] In a specific embodiment, the calculation of the Pearson correlation coefficient can be expressed by the following formula:
[0089]
[0090] Where r is the Pearson correlation coefficient, σxy is the covariance between sample x and sample y, σ x , σ y are the variances of sample x and sample y, respectively. When calculating the Pearson correlation coefficient between the fifth data set and the third data set, sample x represents the data in the fifth data set, and sample y represents the data in the third data set; when calculating the Pearson correlation coefficient between the fifth data set and the fourth data set, sample x represents the data in the fifth data set, and sample y represents the data in the fourth data set.
[0091] In a specific embodiment, the calculation of the grey relational degree can be expressed by the following formula:
[0092]
[0093] Among them, r (x,y) is the grey relational degree, x(k) and y(k) are the kth sample x and the kth sample y respectively. When calculating the grey relational degree between the fifth data set and the third data set, sample x represents the data in the fifth data set, and sample y represents the data in the third data set; when calculating the grey relational degree between the fifth data set and the fourth data set, sample x represents the data in the fifth data set, and sample y represents the data in the fourth data set.
[0094] In a specific embodiment, the normalization process can be expressed by the following formula:
[0095]
[0096] Among them, x * is the standardized data, x is the original data, and x min is the minimum value in the original data, x max is the maximum value in the original data.
[0097] In this embodiment, obtaining the optimal weather parameter from the first weather parameter set and the second weather parameter set according to the correlation coefficient is specifically:
[0098] When the Pearson correlation coefficient is greater than a first preset value or when the Pearson correlation coefficient is less than the first preset value and the grey correlation degree is greater than the first preset value, acquiring a third weather parameter set and a fourth weather parameter set from the first weather parameter set and the second weather parameter set respectively;
[0099] The correlation coefficient corresponding to the third weather parameter set and the correlation coefficient corresponding to the fourth weather parameter set are compared, and the optimal weather parameters are generated and obtained according to the comparison result.
[0100] In this embodiment, the correlation coefficient corresponding to the third weather parameter set and the correlation coefficient corresponding to the fourth weather parameter set are compared, and the optimal weather parameters are generated according to the comparison result, specifically:
[0101] The third weather parameter set includes: dry bulb temperature, wind speed, relative humidity and air enthalpy;
[0102] When the correlation coefficient of the dry-bulb temperature is greater than the correlation coefficient corresponding to the fourth weather parameter set, it is determined that the third weather parameter set has a greater correlation with the power load data set, and the dry-bulb temperature, the wind speed, the relative humidity and the air enthalpy value are used as the optimal weather parameters;
[0103] When the correlation coefficient of the dry-bulb temperature is less than the correlation coefficient corresponding to the fourth weather parameter, it is determined that the correlation between the fourth weather parameter set and the power load data set is greater, and the fourth weather parameter set is used as the optimal weather parameter.
[0104] To further explain the process of generating optimal weather parameters, please refer to Figure 2 , Figure 2 It is a schematic diagram of correlation coefficients between a power load data set provided by an embodiment of the present invention and a first weather parameter set and a second weather parameter set.
[0105] The first weather parameter set includes: dry bulb temperature, wind speed, relative humidity and air enthalpy; the second weather parameter set includes: effective temperature, humidity index and wind cooling index. Since the wind cooling index is only used in January of the heating season and April of the transition season, and the temperature and humidity index is only used in July of the cooling season and April of the transition season, there is no wind cooling index in July of the cooling season and no temperature and humidity index in January of the heating season.
[0106] Figure 2 The numbers in represent the Pearson correlation coefficient and grey correlation degree between the first weather parameter set and the second weather parameter set in July of the cooling season, January of the heating season and April of the transition season and the power load parameter set in July of the cooling season, January of the heating season and April of the transition season respectively.
[0107] The first preset value is set to 0.5, so "when the Pearson correlation coefficient is greater than 0.5 or when the Pearson correlation coefficient is less than 0.5 and the gray correlation degree is greater than 0.5" is used as the screening condition to obtain the third weather parameter set and the fourth weather parameter set from the first weather parameter set and the second weather parameter set respectively.
[0108] Depend on Figure 2It can be seen that the wind speed and relative humidity in April of the transition season do not meet the screening conditions, so the third weather set includes: dry bulb temperature in July of the cooling season, January of the heating season and April of the transition season, wind speed in July of the cooling season and January of the heating season, relative humidity in July of the cooling season and January of the heating season, and air enthalpy in July of the cooling season, January of the heating season and April of the transition season. The third weather set includes: effective temperature in July of the cooling season, January of the heating season and April of the transition season, temperature and humidity index in July of the cooling season and April of the transition season, and wind cooling index in January of the heating season and April of the transition season.
[0109] The specific process of obtaining the optimal weather parameters from the third weather parameter set and the fourth weather parameter set is as follows:
[0110] When the correlation coefficient of the dry-bulb temperature is greater than the correlation coefficient corresponding to the fourth weather parameter set, it is determined that the third weather parameter set has a greater correlation with the power load data set, and the dry-bulb temperature, wind speed, relative humidity and air enthalpy are taken as the optimal weather parameters; when the correlation coefficient of the dry-bulb temperature is less than the correlation coefficient corresponding to the fourth weather parameter, it is determined that the fourth weather parameter set has a greater correlation with the power load data set, and the fourth weather parameter set is taken as the optimal weather parameter.
[0111] Take the correlation coefficient of weather parameters in January of the heating season as an example:
[0112] The Pearson correlation coefficient of the dry bulb temperature in January of the heating season is 0.711, the Pearson correlation coefficient of the effective temperature in January of the heating season is 0.748, and the Pearson correlation coefficient of the wind cooling index in January of the heating season is 0.755. The grey correlation degree of the dry bulb temperature in January of the heating season is 0.605, the grey correlation degree of the effective temperature in January of the heating season is 0.703, and the grey correlation degree of the wind cooling index in January of the heating season is 0.668.
[0113] From the above data, it can be obtained that the correlation coefficient of the dry-bulb temperature in January of the heating season is smaller than the correlation coefficient corresponding to the fourth weather parameter in January of the heating season (including the Pearson correlation coefficient and the grey correlation degree). Therefore, the effective temperature in January of the heating season and the wind cooling index in January of the heating season are input into the preset power load forecasting model as the optimal weather parameters to obtain the power load forecasting results based on weather parameters.
[0114] Furthermore, from the correlation coefficients of the weather parameters in April of the transition season, it can be obtained that the correlation coefficient of the dry-bulb temperature in April of the transition season (including the Pearson correlation coefficient and the grey correlation degree) is greater than the correlation coefficient corresponding to the fourth weather parameter in April of the transition season. Therefore, the dry-bulb temperature, wind speed, relative humidity and air enthalpy value in April of the transition season are input as the optimal weather parameters into the preset power load forecasting model to obtain the power load forecasting result based on the weather parameters.
[0115] Among the correlation coefficients of weather parameters in July of the cooling season, the Pearson correlation coefficient of dry-bulb temperature is greater than the Pearson correlation coefficient of effective temperature and temperature and humidity index, while the grey correlation degree of dry-bulb temperature is less than the grey correlation degree of effective temperature and temperature and humidity index. In this case, the Pearson correlation coefficient should be used as the main basis for judgment, so as to judge that the correlation coefficient of dry-bulb temperature in July of the cooling season is greater than the correlation coefficient corresponding to the fourth weather parameter in July of the cooling season. Therefore, the dry-bulb temperature, wind speed, relative humidity and air enthalpy value in July of the cooling season are input into the preset power load forecasting model as the optimal weather parameters to obtain the power load forecasting result based on weather parameters.
[0116] In a specific embodiment, the method of selecting weather parameters by considering the coupling relationship between weather parameters and the correlation coefficient between weather parameters and power load is also applicable to the process of selecting other power load related parameters. Moreover, this method is applicable to the selection of related parameters of different time units (monthly, daily, hourly).
[0117] For further explanation of the power load forecasting device based on weather parameters, please refer to Figure 3 , Figure 3 It is a structural schematic diagram of a power load prediction device based on weather parameters provided by an embodiment of the present invention, comprising: a first acquisition module 301, a second acquisition module 302 and a prediction module 303;
[0118] The first acquisition module 301 is used to acquire a first weather parameter set and a power load data set, and calculate the correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set respectively; wherein the second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set;
[0119] The second acquisition module 302 is used to acquire optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient;
[0120] The prediction module 303 is used to input the optimal weather parameters and the power load data set into a preset power load prediction model to obtain a power load prediction result based on the weather parameters.
[0121] In a specific embodiment, a mobile terminal includes a processor and a memory, wherein the memory stores a computer-readable program code, and when the processor executes the computer-readable program code, the steps of a power load prediction method based on weather parameters are implemented.
[0122] The embodiment of the present invention first obtains the first weather parameter set and the power load data set through the first acquisition module 301, and calculates the correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set respectively; wherein the second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set; then, the second acquisition module 302 obtains the optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient; finally, the optimal weather parameters and the power load data set are input into the preset power load prediction model through the prediction module 303 to obtain the power load prediction result based on the weather parameters.
[0123] In the process of forecasting power load based on weather parameters, the embodiment of the present invention takes into account the coupling relationship between weather parameters, so the accuracy of power load forecasting is improved. Secondly, the first weather parameter and the second weather parameter that can represent the coupling relationship between the first weather parameter are used as the basis for calculating the correlation coefficient between the power load data set, and the optimal weather parameter is selected according to the correlation coefficient and the power load forecast based on the weather parameter is performed. Since the higher the correlation coefficient between the weather parameter and the power load data is, the more beneficial it is for the accuracy of the forecast result, the accuracy of the power load forecast can be further improved.
[0124] Then, when obtaining the first weather parameter set, the initial weather parameter set was preprocessed accordingly, including: delayed effect correction preprocessing, extreme weather correction preprocessing and typical season selection preprocessing. Among them, due to the thermal inertia of buildings, the changes in cold and hot loads will have a certain delay compared to the changes in weather parameters, so the delayed effect of weather on power load is corrected through delayed effect correction preprocessing; since continuous extreme weather for many days will affect the characteristics of power load, the cumulative effect of weather on load is corrected through extreme weather correction preprocessing; in order to take into account the differences in the impact of weather parameters on power load in different time periods and the timeliness of power load prediction, the efficiency of power load prediction and the efficiency of comparing the differences between data are improved through typical season selection preprocessing.
[0125] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for predicting power load based on weather parameters, characterized in that: include: A first weather parameter set and a power load data set are obtained, and correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set are calculated; wherein the second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set; the first weather parameter is a single weather parameter, including: dry bulb temperature, relative humidity, wind speed and dew point temperature; the second weather parameter is a comprehensive weather parameter, including: effective temperature, temperature and humidity index, wind cooling index; the coupling relationship between multiple first weather parameters is expressed by the following formula: <h2 style=";text-align:left;direction:ltr">WCI = 13.12 + 0.6215T - 11.37V<h2 style=";text-align:left;direction:ltr"> 0.16 <h2 style=";text-align:left;direction:ltr"> +0.3965TV<h2 style=";text-align:left;direction:ltr"> 0.16 <h2 style=";text-align:left;direction:ltr"> ; Among them, ET is the effective temperature, HI is the temperature and humidity index, WCI is the wind cooling index; T is the dry bulb temperature ℃, RH is the relative humidity %, V is the wind speed m / s, T_dew is the dew point temperature K; the second weather parameter is calculated by the above formula used to express the coupling relationship between the first weather parameters; According to the correlation coefficient, the optimal weather parameters are obtained from the first weather parameter set and the second weather parameter set, specifically: the correlation coefficient includes: a Pearson correlation coefficient and a grey correlation degree; after standardizing the first weather parameter set, the second weather parameter set and the power load data set, a third data set, a fourth data set and a fifth data set are generated respectively; the Pearson correlation coefficient and the grey correlation degree between the fifth data set and the third data set and the fourth data set are calculated respectively; The process of calculating the Pearson correlation coefficient is expressed by the following formula: Among them, r is the Pearson correlation coefficient, σ xy is the covariance between sample x and sample y, σ x , σ y are the variances of sample x and sample y, respectively; when calculating the Pearson correlation coefficient between the fifth data set and the third data set, sample x represents the data in the fifth data set, and sample y represents the data in the third data set; when calculating the Pearson correlation coefficient between the fifth data set and the fourth data set, sample x represents the data in the fifth data set, and sample y represents the data in the fourth data set; The process of calculating grey relational degree is expressed by the following formula: Among them, r (x,y) is the grey relational degree, x(k) and y(k) are the kth sample x and the kth sample y respectively; when calculating the grey relational degree between the fifth data set and the third data set, sample x represents the data in the fifth data set, and sample y represents the data in the third data set; when calculating the grey relational degree between the fifth data set and the fourth data set, sample x represents the data in the fifth data set, and sample y represents the data in the fourth data set; The process of standardization is expressed by the following formula: Among them, x * is the standardized data, x is the original data, and x min is the minimum value in the original data, x max is the maximum value in the original data; The optimal weather parameters and the power load data set are input into a preset power load forecasting model to obtain a power load forecasting result based on the weather parameters.
2. The method for predicting power load based on weather parameters according to claim 1, characterized in that: The obtaining of the first weather parameter set is specifically as follows: An initial weather parameter set is obtained according to multiple time units, and the initial weather parameters of different time units are preprocessed and classified accordingly according to the time units to obtain the first weather parameter set of the same time unit; wherein the time units include, from small to large, a first time unit, a second time unit and a third time unit.
3. The method for predicting power load based on weather parameters according to claim 2, characterized in that: The initial weather parameters of different time units are preprocessed accordingly, specifically: When acquiring the initial weather parameter set according to the first time unit, performing delay effect correction preprocessing on the initial weather parameters of the first time unit; When acquiring the initial weather parameter set according to the second time unit, performing extreme weather correction preprocessing on the initial weather parameters of the second time unit; When the initial weather parameter set is acquired according to the third time unit, typical season selection preprocessing is performed on the initial weather parameters of the third time unit.
4. The method for predicting power load based on weather parameters according to claim 3, characterized in that: The delay effect correction preprocessing of the initial weather parameters of the first time unit is specifically as follows: Acquire a time value to be predicted; wherein the time value to be predicted includes a first value corresponding to a first time unit; Acquire, from the initial weather parameter set according to the first time unit, an initial weather parameter corresponding to the first value and an initial weather parameter corresponding to three hours before the first value; The initial weather parameters corresponding to the first value and the initial weather parameters corresponding to the three hours before the first value are averaged, and the first real weather parameters corresponding to the predicted time value are obtained according to the processing results to complete the delay effect correction preprocessing.
5. The method for predicting power load based on weather parameters according to claim 4, characterized in that: The extreme weather correction preprocessing of the initial weather parameters of the second time unit is specifically as follows: The time value to be predicted includes a second value corresponding to a second time unit; Acquire, from the initial weather parameter set according to the second time unit, an initial weather parameter corresponding to the second value and an initial weather parameter corresponding to three days before the second value; When it is determined that the initial weather parameters corresponding to the second value and the initial weather parameters corresponding to the three days before the second value both meet the extreme weather conditions, the power load data corresponding to the three days before the second value are obtained according to the power load data set, and the second real weather parameter corresponding to the time value to be predicted is calculated according to the power load data corresponding to the three days before the second value and the first real weather parameter corresponding to the time value to be predicted, thereby completing the extreme weather correction preprocessing.
6. The method for predicting power load based on weather parameters according to claim 1, characterized in that: The acquiring the optimal weather parameter from the first weather parameter set and the second weather parameter set according to the correlation coefficient is specifically: When the Pearson correlation coefficient is greater than a first preset value or when the Pearson correlation coefficient is less than the first preset value and the grey correlation degree is greater than the first preset value, acquiring a third weather parameter set and a fourth weather parameter set from the first weather parameter set and the second weather parameter set respectively; The correlation coefficient corresponding to the third weather parameter set and the correlation coefficient corresponding to the fourth weather parameter set are compared, and the optimal weather parameters are generated and obtained according to the comparison result.
7. A method for forecasting power load based on weather parameters according to claim 6, characterized in that: The comparing the correlation coefficient corresponding to the third weather parameter set with the correlation coefficient corresponding to the fourth weather parameter set, and generating the optimal weather parameter according to the comparison result, is specifically: The third weather parameter set includes: dry bulb temperature, wind speed, relative humidity and air enthalpy; When the correlation coefficient of the dry-bulb temperature is greater than the correlation coefficient corresponding to the fourth weather parameter set, it is determined that the third weather parameter set has a greater correlation with the power load data set, and the dry-bulb temperature, the wind speed, the relative humidity and the air enthalpy value are used as the optimal weather parameters; When the correlation coefficient of the dry-bulb temperature is less than the correlation coefficient corresponding to the fourth weather parameter, it is determined that the correlation between the fourth weather parameter set and the power load data set is greater, and the fourth weather parameter set is used as the optimal weather parameter.
8. A power load forecasting device based on weather parameters, comprising a first acquisition module, a second acquisition module and a forecasting module; in, The first acquisition module is used to acquire a first weather parameter set and a power load data set, and calculate the correlation coefficients between the power load data set and the first weather parameter set and the second weather parameter set respectively; wherein the second weather parameter set is calculated based on the coupling relationship between multiple first weather parameters in the first weather parameter set; the first weather parameter is a single weather parameter, including: dry bulb temperature, relative humidity, wind speed and dew point temperature; the second weather parameter is a comprehensive weather parameter, including: effective temperature, temperature and humidity index, wind cooling index; the coupling relationship between multiple first weather parameters is expressed by the following formula: <h2 style=";text-align:left;direction:ltr">WCI = 13.12 + 0.6215T - 11.37V<h2 style=";text-align:left;direction:ltr"> 0.16 <h2 style=";text-align:left;direction:ltr"> +0.3965TV<h2 style=";text-align:left;direction:ltr"> 0.16 <h2 style=";text-align:left;direction:ltr"> ; Among them, ET is the effective temperature, HI is the temperature and humidity index, WCI is the wind cooling index; T is the dry bulb temperature ℃, RH is the relative humidity %, V is the wind speed m / s, T_dew is the dew point temperature K; the second weather parameter is calculated by the above formula used to express the coupling relationship between the first weather parameters; The second acquisition module is used to obtain the optimal weather parameters from the first weather parameter set and the second weather parameter set according to the correlation coefficient, specifically: the correlation coefficient includes: Pearson correlation coefficient and grey correlation degree; after standardizing the first weather parameter set, the second weather parameter set and the power load data set, a third data set, a fourth data set and a fifth data set are generated respectively; the Pearson correlation coefficient and the grey correlation degree between the fifth data set and the third data set and the fourth data set are calculated respectively; The process of calculating the Pearson correlation coefficient is expressed by the following formula: Among them, r is the Pearson correlation coefficient, σ xy is the covariance between sample x and sample y, σ x , σ y are the variances of sample x and sample y, respectively; when calculating the Pearson correlation coefficient between the fifth data set and the third data set, sample x represents the data in the fifth data set, and sample y represents the data in the third data set; when calculating the Pearson correlation coefficient between the fifth data set and the fourth data set, sample x represents the data in the fifth data set, and sample y represents the data in the fourth data set; The process of calculating grey relational degree is expressed by the following formula: Among them, r (x,y) is the grey relational degree, x(k) and y(k) are the kth sample x and the kth sample y respectively; when calculating the grey relational degree between the fifth data set and the third data set, sample x represents the data in the fifth data set, and sample y represents the data in the third data set; when calculating the grey relational degree between the fifth data set and the fourth data set, sample x represents the data in the fifth data set, and sample y represents the data in the fourth data set; The process of standardization is expressed by the following formula: Among them, x * is the standardized data, x is the original data, and x min is the minimum value in the original data, x max is the maximum value in the original data; The prediction module is used to input the optimal weather parameters and the power load data set into a preset power load prediction model to obtain a power load prediction result based on the weather parameters.
9. A mobile terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer-readable program code, and when the processor executes the computer-readable program code, the steps of the method according to any one of claims 1 to 7 are implemented.
