A load forecasting method and system considering multi-source heterogeneous data fusion

By classifying multi-source data and adjusting single-core function weights in real time, combined with multi-core learning algorithms, the problem of the contradiction between load forecasting accuracy and efficiency in the existing technology is solved, and more efficient load forecasting is achieved.

CN118349899BActive Publication Date: 2024-09-27STATE GRID SHANDONG ELECTRIC POWER CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410782902.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-27
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

In existing load forecasting methods, the random determination of single-core function weights lacks consideration of the correlation between multi-source data factors, resulting in poor fusion and low accuracy. Increasing the amount of calculation to improve accuracy will affect efficiency and lack of resolution accuracy. The corresponding solution to the contradiction between efficiency and efficiency.

Method used

By classifying multi-source data, the weight of each single-core function is adjusted in real time according to the number and importance of samples. A linear combination of multi-core functions is used to parallelize training and prediction, combined with a double-layer multi-core learning algorithm and a support vector machine model. Adjust single kernel function weights to improve model training and prediction accuracy.

Benefits of technology

On the basis of ensuring the calculation speed, the model training accuracy and prediction accuracy are improved, and the accuracy and efficiency of load forecasting are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118349899B
    Figure CN118349899B
Patent Text Reader

Abstract

The present invention belongs to the technical field of load prediction, and provides a load prediction method and system considering the fusion of multi-source heterogeneous data, including: acquiring multi-source data of a power grid, and classifying the multi-source data; obtaining a load prediction result according to a preset multi-core function and the classified multi-source data; wherein the multi-core function is obtained by a linear combination of a single-core function; during training and prediction, the multi-source data is classified to obtain a plurality of sub-data sets; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-data set and the importance of the sub-data set; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-data set and the importance of the sub-training set, taking into account the correlation between the weight of the single-core function and the multi-source data factors, thereby improving the accuracy of model training and ensuring the prediction accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of load forecasting, and in particular relates to a load forecasting method and system considering multi-source heterogeneous data fusion. Background Art

[0002] Factors such as temperature, air pressure, relative humidity, wind direction, wind speed and rainfall will affect load forecasting. Temperature, air pressure, relative humidity, wind direction, wind speed, rainfall and other factors are multi-source data with different distribution characteristics. Multi-kernel functions are needed to fuse these multi-source data.

[0003] The inventors have found that there are many ways to construct a multi-core function. When a multi-core function is formed by a linear combination of single-core functions, the weights of the single-core functions are randomly determined and lack correlation with multi-source data factors, resulting in poor integration and low accuracy of the current multi-core functions for load forecasting. Blindly increasing the number of important data or increasing the weights of single-core functions to improve training and prediction accuracy will increase the amount of calculation and affect efficiency. In summary, the current technology lacks a corresponding solution to resolve the contradiction between load forecasting accuracy and efficiency. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a load forecasting method and system considering the fusion of multi-source heterogeneous data; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-data set, the calculation speed and the importance of the sub-data set, and the correlation degree and calculation speed between the single-core function weight and the multi-source data factors are taken into account. On the basis of ensuring the calculation speed, the accuracy of model training is improved and the prediction accuracy is guaranteed.

[0005] In order to achieve the above object, the present invention is implemented through the following technical solutions:

[0006] In a first aspect, the present invention provides a load forecasting method considering multi-source heterogeneous data fusion, comprising:

[0007] Acquire multi-source data of the power grid and classify the multi-source data;

[0008] According to the preset multi-core function and the classified multi-source data, the load forecasting result is obtained;

[0009] The multi-core function is obtained by linear combination of single-core functions; during training and prediction, multi-source data are classified to obtain multiple sub-data sets; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-data set and the importance of the sub-data set; the multi-core function is:

[0010] ;

[0011] ;

[0012] ;

[0013] ;

[0014] in, is the input feature, i and j is a constant; It is a single-core function; is the single kernel function weight, is the number of single-core functions, n is a constant; is the initial weight; is the first weight dynamic adjustment value; The value of the dynamic weight adjustment value is adjusted according to the number and importance of the sub-training set samples; is the number of samples in the sub-training set; Preset value for the number of samples; is the importance of the sub-training set; Importance preset value; is a second weight dynamic adjustment value; is the calculation speed of the corresponding single-core function; is the adjustment coefficient.

[0015] Furthermore, the multi-source data includes historical load, electricity price, temperature, air pressure, relative humidity, wind speed, wind direction and rainfall; the temperature, air pressure, relative humidity, wind speed and rainfall are divided into a first data type; the historical load and electricity price are divided into a second data type; the wind direction is divided into a third data type; the importance of the second data type is set to a first importance value, the importance of the first data type is set to a second importance value, and the importance of the third data type is set to a third importance value; the sum of the first importance value, the second importance value and the third importance value is the training set importance, the first importance value is greater than the second importance value, and the second importance value is greater than the third importance value.

[0016] Furthermore, during training, the samples of the training set are divided into multiple sub-training sets, and all sub-training sets are trained in parallel using the same number of kernel functions as the sub-training sets. A double-layer multi-core learning algorithm is used to train the multi-core learning support vector machine model to obtain multiple support vector sets; the multiple support vector sets obtained are pooled to obtain all the support vectors, thereby performing the final multi-core learning support vector machine training.

[0017] Further, each sub-support vector is tested, and the sub-training set corresponding to the sub-support vector that does not meet the preset requirements is replaced, and training and testing are continued; if the number of cycles of training, verification and replacement exceeds the preset number, the corresponding sub-training set is deleted.

[0018] Furthermore, the trained multi-core learning support vector machine model is tested using the test set, and the model accuracy is improved by adjusting the preset proportion of randomly selected data to other types of data.

[0019] Furthermore, when randomly selecting a preset proportion of data and placing them into other types of data, first determine the similarity between each data in different types of data and the data in other types of data; prioritize placing data with greater similarity into other types of data; similarity is equal to the sum of the degrees of association between a certain data and each data in other types of data, and the degree of association is determined according to the actual relationship.

[0020] In a second aspect, the present invention further provides a load forecasting system considering multi-source heterogeneous data fusion, comprising:

[0021] The data acquisition module is configured to: acquire multi-source data of the power grid and classify the multi-source data;

[0022] The prediction module is configured to: obtain a load prediction result according to a preset multi-core function and classified multi-source data;

[0023] The multi-core function is obtained by linearly combining single-core functions; during training and prediction, multi-source data are classified to obtain multiple sub-datasets; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-dataset and the importance of the sub-dataset.

[0024] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the load forecasting method considering multi-source heterogeneous data fusion described in the first aspect.

[0025] In a fourth aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the load forecasting method considering multi-source heterogeneous data fusion described in the first aspect are implemented.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] In the present invention, multi-source data are first classified; then, during the model training or prediction process, the weight of each single-core function is adjusted in real time according to the number of samples in each sub-dataset, the calculation speed, and the importance of the sub-dataset, taking into account the correlation degree and calculation speed between the single-core function weight and the multi-source data factors, while ensuring the calculation speed, improving the accuracy of model training and ensuring the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.

[0029] Figure 1 is a flow chart of the method of embodiment 1 of the present invention;

[0030] Figure 2 The prediction process when the sample data is determined in Example 1 of the present invention;

[0031] Figure 3 Comparison between the predicted load and the actual load under different numbers of samples in Example 1 of the present invention. DETAILED DESCRIPTION

[0032] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0033] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0034] Embodiment 1:

[0035] This embodiment provides a load forecasting method considering multi-source heterogeneous data fusion, including:

[0036] S1. Obtain multi-source data of the power grid:

[0037] Optionally, in different time periods, different types of sensors are used to obtain multi-source data such as temperature, air pressure, relative humidity, wind direction, wind speed, rainfall, electricity price, etc.; and the historical load in different time periods is determined.

[0038] S2. Multi-source data processing:

[0039] S2.1. Classify multi-source data according to the characteristic attributes of the data to obtain sub-training sets of multiple types; sort each type of data; and delete invalid values ​​in each type of data according to the sorting results.

[0040] In some embodiments, when classifying multi-source data, quantifiable data such as temperature, air pressure, relative humidity, wind speed and rainfall are classified into one category; historical load and electricity price, which are quantifiable and have a greater impact on load forecasting, are classified into one category; non-quantifiable data such as wind direction are classified into one category; among the quantifiable data, the values ​​are sorted in ascending order; non-quantifiable data are automatically sorted according to sampling time.

[0041] For data types that can be quantified, after sorting by numerical size, according to the set numerical range, the sampled data that falls outside the numerical range is deleted as invalid values, reducing sample data and improving calculation efficiency. The sampled data that falls outside the numerical range has little effect on the overall prediction results. The deletion of invalid values ​​serves the dual purpose of improving prediction accuracy and increasing model calculation speed. For data types that cannot be quantified, such as wind direction, no sorting and invalid value deletion are performed.

[0042] S2.2. In each type of data, randomly select a preset proportion of data and put it into other types of data.

[0043] In some embodiments, optionally, when randomly selecting a preset proportion of data and placing it into other types of data, first determine the similarity between each data in different types of data and data in other types of data; prioritize placing data with greater similarity into other types of data; and further improve the correlation between different types of data to ensure prediction accuracy.

[0044] Optionally, the similarity between a certain data in the first category of data and the second category of data is equal to the sum of the correlation degrees between the certain data and each data in the second category of data; the correlation degree is determined according to the actual relationship. For example, the rainfall, temperature, air pressure and humidity in the first category of data have an actual relationship with the wind direction in the third category of data, and the correlation degree is relatively large. At this time, the correlation degree between the temperature, air pressure, relative humidity, wind speed and rainfall and the wind direction can be set to 90%; while the temperature, air pressure, relative humidity, wind speed and rainfall in the first category of data have no actual relationship with the electricity price in the second category of data. At this time, the correlation degree between the temperature, air pressure, relative humidity, wind speed and rainfall and the electricity price can be set to 0; the similarity of all data and the correlation degree of other data can be determined in advance according to actual conditions or experimental data, etc., and will not be described in detail here.

[0045] S2.3. Establishing a training set D :

[0046]

[0047] in, is the input feature of the sample, is the sample target value, i andN is a constant.

[0048] S3, multi-core function construction;

[0049] Based on the training set, the multi-kernel function is defined as:

[0050]

[0051]

[0052]

[0053]

[0054] in, is the input feature, i and j is a constant; It is a single-core function; is the single kernel function weight, is the number of single-core functions, n is a constant; is the initial weight; is the first weight dynamic adjustment value; The value of the dynamic weight adjustment value is adjusted according to the number and importance of the sub-training set samples; is the number of samples in the sub-training set; Preset value for the number of samples; is the importance of the sub-training set; Importance preset value; is a second weight dynamic adjustment value; The computational speed of the corresponding single-kernel function is determined by the training or prediction speed of each single-kernel function on the same data set; is the adjustment coefficient.

[0055] In some embodiments, air temperature, air pressure, relative humidity, wind speed and rainfall are classified into a first data type; historical load and electricity price are classified into a second data type; wind direction is classified into a third data type; the importance of the second data type is set to a first importance value, the importance of the first data type is set to a second importance value, the importance of the third data type is set to a third importance value, the first importance value is greater than the second importance value, and the second importance value is greater than the third importance value.

[0056] Optionally, when predicting, for the data types of temperature, air pressure, relative humidity, wind speed and rainfall, as well as the historical load and electricity price data types, the radial basis kernel function is used; for the wind direction data type, the linear kernel function or the sigmoid kernel function is used. When determining the preset value of the number of samples, a number of different numbers of historical data from the same period and a certain area are taken as prediction samples, such as Figure 2 As shown in the figure, the sample data corresponding to the predicted value close to the actual load value at about 45 hours is used for prediction. The preset value of the number of samples is determined by comparing the prediction time and prediction accuracy. , where the prediction accuracy is the absolute value of the difference between the predicted value and the actual value; for example, as shown in Table 1 and Figure 3 As shown, when the number of predicted samples of the first data type is between 300 and 1600, the number of predicted samples of the second data type is between 60 and 320, and the number of predicted samples of the third data type is between 30 and 160, the prediction time is about 7 seconds to 8 seconds; and when the number of predicted samples is about 1600, the prediction accuracy is 5 to 10; after the number of predicted samples of the first data type is 1600, the number of predicted samples of the second data type is 320, and the number of predicted samples of the third data type is 160, although the prediction accuracy is improved, the time used for prediction increases accordingly. In summary, considering the two factors of prediction time and accuracy, when the number of predicted samples of the first data type is 1600, the number of predicted samples of the second data type is 320, and the number of predicted samples of the third data type is about 160, the prediction accuracy of 5 to 10 basically meets the prediction accuracy, and the prediction time is short, so the number of samples can be preset to a certain value. Defined as the number of predicted samples of the first data type is 1600, the number of predicted samples of the second data type is 320, and the number of predicted samples of the third data type is 160; when used, when the first data type, the second data type and the third data type are greater than 1600, 320 and 160 respectively, the first weight dynamic adjustment value is considered to be ; When the first data type, the second data type, and the third data type are less than 1600, 320, and 160, respectively, the first weight dynamic adjustment value is considered to be .

[0057] Table 1 Prediction sample number values

[0058]

[0059] The importance value is determined according to the type of data in each type of data. For example, when the first type of data includes temperature and air pressure, the first importance value is 20; when the first type of data includes temperature, air pressure, relative humidity, wind speed and rainfall, the first importance value is 50; when the second type of data only includes historical load, the second importance value is 5; when the second type of data includes historical load and electricity price, the second importance value is 10. Optionally, the first importance value is 50, the second importance value is 10, and the third importance value is 3; the sum of the first importance value, the second importance value and the third importance value is used as the training set importance. . Determine the importance preset value When determining, on the basis that the first data type, the second data type and the third data type are respectively greater than 1600, 320 and 160, the first weight dynamic adjustment value is compared. The prediction accuracy under the condition of unchanged data set quantity is adjusted by adjusting the data type to adjust the importance, as shown in Table 2. And the first weight dynamic adjustment value is When the prediction accuracy is significantly improved, the importance can be preset to Set to 42.

[0060] Table 2 Determination of preset values ​​of importance

[0061]

[0062] According to the classification results of multi-source data, the samples of the training set are divided into multiple sub-training sets; in the entire model training process, or the prediction process after model training, the weight of each single-core function is adjusted in real time according to the number of samples in the sub-training set and the importance of the sub-training set, which improves the accuracy of model training using the fused training set and ensures the prediction accuracy; at the same time, when adjusting the weight, the calculation speed of the single-core function is taken into consideration, and the corresponding weight of the single-core function with a relatively fast calculation speed is appropriately increased, and the corresponding weight of the single-core function with a relatively slow calculation speed is appropriately reduced. On the basis of ensuring the calculation speed, the accuracy of model training is improved and the prediction accuracy is guaranteed.

[0063] S4, objective function selection;

[0064] In this embodiment, the objective function of the multi-core support vector machine prediction model is based on Lp The objective function of the multi-core support vector machine model with the norm is:

[0065]

[0066] Among them, λ is the weight; and is the Lagrange multiplier;i and j is a constant; N is the number of training samples; for accuracy; h is a constant; m is a constant; K h is a single-core function; is the input feature; p * = p / ( p -1), p is a constant; C is a penalty factor.

[0067] S5, model training and prediction;

[0068] Based on the training set and the definition of multi-kernel functions for training, a prediction model is obtained; in some embodiments, a certain proportion of the data set can be set as a test set in the acquired multi-source data, and the trained prediction model can be tested using the test set.

[0069] Since the multi-core function is a linear combination of multiple single-core functions and a double-layer optimization solution algorithm is required for parameter solution, under the same number of samples, if a single machine is used, the calculation speed of the multi-core support vector machine is slower than that of the single-core learning support vector machine; therefore, in order to utilize the advantages of the multi-core support vector machine in realizing multi-source data fusion and speeding up the prediction speed, a parallel load prediction method based on multi-core support vector machine is proposed in this embodiment.

[0070] The samples of the training set are divided into multiple sub-training sets. The kernel functions with the same number as the sub-training sets are used to parallelize the training of all sub-training sets. The multi-core learning support vector machine model is trained using a double-layer multi-core learning algorithm to obtain multiple support vector sets. The multiple support vector sets obtained are aggregated through the Reduce function to obtain all the support vectors, thereby performing the final multi-core learning support vector machine training.

[0071] Optionally, for data showing local characteristics such as historical load, temperature, air pressure, humidity, rainfall and electricity price, radial basis kernel function can be used for training; for data showing global characteristics such as wind direction, Linear kernel function or Sigmoid kernel function can be used for training.

[0072] Although historical load, temperature, air pressure, humidity, rainfall, electricity price and other data in actual data present local characteristics, some of the data also have global characteristics. Similarly, among the data presenting global characteristics such as wind direction, some of the data also have local characteristics. If the historical load, temperature, air pressure, humidity, rainfall and electricity price are directly trained using the radial basis kernel function (RBF kernel); the wind direction and other data are trained using the linear kernel function or the sigmoid kernel function, a one-size-fits-all approach is adopted, without comprehensively considering the situation where the data has both local and global characteristics, and the mutual influence between different types of data during training, which leads to a decrease in model accuracy. Based on this, in this embodiment, a preset proportion of data is randomly selected and put into other types of data, comprehensively considering the situation where the data has both local and global characteristics, and the mutual influence between different types of data, and the model accuracy is guaranteed without affecting parallel computing.

[0073] In this embodiment, each sub-support vector is tested, and the sub-training set corresponding to the sub-support vector that does not meet the preset requirements is replaced, and training and testing are continued; if the number of cycles of training, verification and replacement exceeds the preset number, the corresponding sub-training set is deleted. Each sub-support vector is tested, and the sub-training set corresponding to the sub-support vector that does not meet the preset requirements is replaced, and training and testing are continued, thereby ensuring the accuracy of the model; and if the number of cycles of training, verification and replacement exceeds the preset number, the corresponding sub-training set is deleted, thereby ensuring the computational efficiency of the model as a whole.

[0074] In this embodiment, the trained multi-core learning support vector machine model is tested using a test set, and the model accuracy is improved by adjusting the preset proportion of random selections into other types of data. The trained multi-core learning support vector machine model is tested using a test set, and the model accuracy is further improved by adjusting the preset proportion of random selections into other types of data to ensure computational efficiency.

[0075] In some embodiments, 80% of multi-source data such as historical load, temperature, air pressure, humidity, wind direction, wind speed, rainfall and electricity price are used as a training set, and 20% are used as a test set.

[0076] In some embodiments, denoising is performed before the training set is classified, invalid values ​​are deleted, and random selection is performed. Optionally, wavelet threshold denoising is used to smooth the data; specifically, first, multi-source data such as temperature, air pressure, relative humidity, wind direction, wind speed, rainfall, and electricity price are collected, and integrity check is performed, and missing items are supplemented by interpolation to obtain a data set; then, the db4 discrete wavelet function is used to perform three-layer wavelet decomposition on the data set and obtain wavelet coefficients; finally, the soft threshold function is applied to the wavelet coefficients for nonlinear processing to obtain estimated wavelet coefficients, and based on the estimated wavelet coefficients, the discrete wavelet inverse transform is used to obtain the denoised data set.

[0077] Embodiment 2:

[0078] A load forecasting system considering multi-source heterogeneous data fusion, comprising:

[0079] The data acquisition module is configured to: acquire multi-source data of the power grid and classify the multi-source data;

[0080] The prediction module is configured to: obtain a load prediction result according to a preset multi-core function and classified multi-source data;

[0081] The multi-core function is obtained by linearly combining single-core functions; during training and prediction, multi-source data are classified to obtain multiple sub-datasets; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-dataset and the importance of the sub-dataset.

[0082] The working method of the system is the same as the load forecasting method considering multi-source heterogeneous data fusion in Example 1, and will not be repeated here.

[0083] Embodiment 3:

[0084] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the load forecasting method considering multi-source heterogeneous data fusion described in Embodiment 1 are implemented.

[0085] Embodiment 4:

[0086] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the load forecasting method considering multi-source heterogeneous data fusion described in Example 1 are implemented.

[0087] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.

Claims

1. A load forecasting method considering multi-source heterogeneous data fusion, characterized in that: include: Acquire multi-source data of the power grid and classify the multi-source data; The multi-source data classifies the quantifiable data of temperature, air pressure, relative humidity, wind speed and rainfall into one category; classifies the quantifiable data of historical load and electricity price and the data with a greater impact on load forecast into one category; and classifies the non-quantifiable data such as wind direction into one category; For data types that can be quantified, after sorting them by numerical value, according to the set numerical range, the sampled data that falls outside the numerical range will be deleted as invalid values; According to the preset multi-core function and the classified multi-source data, the load forecast result is obtained; The multi-core function is obtained by linear combination of single-core functions; during training and prediction, multi-source data are classified to obtain multiple sub-data sets; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-data set, the calculation speed and the importance of the sub-data set; the multi-core function is: ; ; ; ; in, is the input feature, i and j is a constant; It is a single-core function; is the single kernel function weight, is the number of single-core functions, n is a constant; is the initial weight; is the first weight dynamic adjustment value; The value of the dynamic adjustment value of the weight; is the number of samples in the sub-training set; Preset value for the number of samples; is the importance of the sub-training set; Importance preset value; is a second weight dynamic adjustment value; is the calculation speed of the corresponding single-core function; is the adjustment coefficient; During training, the samples of the training set are divided into multiple sub-training sets, and the same number of kernel functions as the sub-training sets are used to perform parallel training on all sub-training sets. A double-layer multi-core learning algorithm is used to train the multi-core learning support vector machine model to obtain multiple support vector sets. The multiple support vector sets obtained are aggregated to obtain all support vectors, thereby performing the final multi-core learning support vector machine training. The trained multi-core learning support vector machine model is tested using the test set, and the model accuracy is improved by adjusting the preset proportion of randomly selected data to other types of data; When randomly selecting a preset proportion of data and placing them in other types of data, first determine the similarity between each data in different types of data and the data in other types of data; prioritize placing data with greater similarity into other types of data; similarity is equal to the sum of the degrees of association between a certain data and each data in other types of data, and the degree of association is determined according to the actual relationship.

2. A load forecasting method considering multi-source heterogeneous data fusion as claimed in claim 1, characterized in that: The multi-source data includes historical load, electricity price, temperature, air pressure, relative humidity, wind speed, wind direction and rainfall; the temperature, air pressure, relative humidity, wind speed and rainfall are classified into a first data type; the historical load and electricity price are classified into a second data type; the wind direction is classified into a third data type; the importance of the second data type is set to a first importance value, the importance of the first data type is set to a second importance value, and the importance of the third data type is set to a third importance value; The sum of the first importance value, the second importance value and the third importance value is the importance of the training set, the first importance value is greater than the second importance value, and the second importance value is greater than the third importance value.

3. A load forecasting method considering multi-source heterogeneous data fusion as claimed in claim 1, characterized in that: Each sub-support vector is tested, and the sub-training set corresponding to the sub-support vector that does not meet the preset requirements is replaced, and training and testing are continued; if the number of cycles of training, verification and replacement exceeds the preset number, the corresponding sub-training set is deleted.

4. A load forecasting system considering multi-source heterogeneous data fusion, characterized in that: include: The data acquisition module is configured to: acquire multi-source data of the power grid and classify the multi-source data; The multi-source data classifies quantifiable data such as temperature, air pressure, relative humidity, wind speed and rainfall into one category; classifies quantifiable data such as historical load and electricity price that have a greater impact on load forecasting into one category; and classifies non-quantifiable data such as wind direction into one category; For data types that can be quantified, after sorting them by numerical value, according to the set numerical range, the sampled data that falls outside the numerical range will be deleted as invalid values; The prediction module is configured to: obtain a load prediction result according to a preset multi-core function and classified multi-source data; The multi-core function is obtained by linear combination of single-core functions; during training and prediction, multi-source data are classified to obtain multiple sub-data sets; the weight of each single-core function is adjusted in real time according to the number of samples in each sub-data set and the importance of the sub-data set; the multi-core function is: ; ; ; ; in, is the input feature, i and j is a constant; It is a single-core function; is the single kernel function weight, is the number of single-core functions, n is a constant; is the initial weight; is the first weight dynamic adjustment value; The value of the dynamic adjustment value of the weight; is the number of samples in the sub-training set; Preset value for the number of samples; is the importance of the sub-training set; Importance preset value; is a second weight dynamic adjustment value; is the calculation speed of the corresponding single-core function; is the adjustment coefficient; During training, the samples of the training set are divided into multiple sub-training sets, and the same number of kernel functions as the sub-training sets are used to perform parallel training on all sub-training sets. A double-layer multi-core learning algorithm is used to train the multi-core learning support vector machine model to obtain multiple support vector sets. The multiple support vector sets obtained are aggregated to obtain all support vectors, thereby performing the final multi-core learning support vector machine training. The trained multi-core learning support vector machine model is tested using the test set, and the model accuracy is improved by adjusting the preset proportion of randomly selected data to other types of data; When randomly selecting a preset proportion of data and placing them in other types of data, first determine the similarity between each data in different types of data and the data in other types of data; prioritize placing data with greater similarity into other types of data; similarity is equal to the sum of the degrees of association between a certain data and each data in other types of data, and the degree of association is determined according to the actual relationship.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the load forecasting method considering multi-source heterogeneous data fusion as described in any one of claims 1 to 3 are implemented.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the load forecasting method considering multi-source heterogeneous data fusion as described in any one of claims 1 to 3 are implemented.