A method and device for quantitatively predicting wind and solar power output of a power system

By using long-short-term memory networks and trust functions in the power system to predict wind and solar output data, the problem of insufficient accuracy and adaptability in the existing technology's quantitative forecasting of wind and solar power is solved, and higher prediction accuracy and stability are achieved. .

CN118134023BActive Publication Date: 2024-09-03HYDROPOWER WATER CONSERVANCY GUIHUA DESIGN ZONGYUAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410167862.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2024-09-03
Estimated Expiration
2044-02-06

AI Technical Summary

Technical Problem

The existing technology has insufficient accuracy and adaptability in quantitative forecasting of wind and solar output, and it is difficult to effectively handle time-series dependent and non-linear data.

Method used

The long short-term memory network (LSTM) combined with the trust function is used to train the power system output data set, generate a memory prediction network, and obtain a fusion prediction network through fusion, which is used to quantitatively predict wind and solar output.

Benefits of technology

It improves the accuracy and adaptability of wind and solar output forecasts, enhances the stability and reliability of forecasts, and reduces the possibility of single network errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118134023B
    Figure CN118134023B
Patent Text Reader

Abstract

The present invention discloses a method and device for quantitatively predicting wind and solar power output of a power system, which relates to the field of machine learning technology, including: collecting a first-side output data set and a second-side output data set of a power system; initializing a long short-term memory network, including a trust function for memorizing a data set greater than a preset trust level; training the first-side output data set and the second-side output data set respectively to obtain a first memory prediction network and a second memory prediction network; fusing to obtain a first fused prediction network; encapsulating into a prediction module, connecting to the power system, and performing quantitative prediction. The present invention solves the technical problem of insufficient accuracy and adaptability in the prior art in terms of quantitative prediction of wind and solar power output, and achieves the technical effect of improving the accuracy and adaptability of wind and solar power output prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine learning, and in particular to a method and device for quantitatively predicting wind and solar power output of a power system. Background Art

[0002] As the proportion of renewable energy in the power system continues to increase, the prediction of wind and solar power output has become particularly important for the stable operation and optimized management of the power system. Accurate prediction can help the power system better dispatch and balance various energy sources, reduce dependence on traditional energy, thereby reducing operating costs and reducing environmental pollution. Existing prediction methods are often based on linear regression models, support vector machines, etc. These methods often face the problem of insufficient accuracy when processing wind and solar power output data with time series dependence and nonlinearity. Therefore, the existing technology has technical problems of insufficient accuracy and adaptability in the quantitative prediction of wind and solar power output. Summary of the invention

[0003] This application effectively solves the technical problems of insufficient accuracy and adaptability in the prior art in the quantitative prediction of wind and solar power output by providing a method and device for quantitative prediction of wind and solar power output in an electric power system, thereby achieving the technical effect of improving the accuracy and adaptability of wind and solar power output prediction.

[0004] The present application provides a method and device for quantitatively predicting wind and solar power output of a power system, and the technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for quantitatively predicting wind and solar power output of a power system, the method comprising:

[0006] Collecting a first-side output data set and a second-side output data set of the power system, wherein the first-side output data set is an output data set of the base side, and the second-side output data set is an output data set of the receiving side, and the output data set includes a peak-valley value interval, a peak-valley frequency, and a peak-valley time;

[0007] Initializing a long short-term memory network, wherein the long short-term memory network includes a trust function, and the trust function is used to memorize a data set greater than a preset trust level;

[0008] The first side output data set and the second side output data set are trained respectively by using the long short-term memory network to obtain a first memory prediction network and a second memory prediction network;

[0009] Fusing the first memory prediction network and the second memory prediction network to obtain a first fused prediction network;

[0010] The first fusion prediction network is encapsulated as a prediction module, the prediction module is connected to the power system, and the first fusion prediction network is called to perform quantitative prediction on the power system.

[0011] In a second aspect, an embodiment of the present application provides a device for quantizing wind and solar power output in a power system, the device comprising:

[0012] An output data set acquisition module, the output data set acquisition module is used to collect a first-side output data set and a second-side output data set of the power system, wherein the first-side output data set is an output data set of the base side, and the second-side output data set is an output data set of the receiving side, and the output data set includes a peak-valley value interval, a peak-valley frequency, and a peak-valley time;

[0013] A long short-term memory network initialization module, the long short-term memory network initialization module is used to initialize the long short-term memory network, the long short-term memory network includes a trust function, and the trust function is used to memorize a data set greater than a preset trust degree;

[0014] A long short-term memory network training module, wherein the long short-term memory network training module is used to respectively train the first side output data set and the second side output data set using the long short-term memory network to obtain a first memory prediction network and a second memory prediction network;

[0015] A network fusion module, wherein the network fusion module is used to fuse the first memory prediction network and the second memory prediction network to obtain a first fused prediction network;

[0016] A quantitative prediction module is used to encapsulate the first fusion prediction network into a prediction module, connect the prediction module with the power system, and call the first fusion prediction network to perform quantitative prediction on the power system.

[0017] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0018] The present application first collects the output data set of the first side and the output data set of the second side of the power system, wherein the output data set of the first side is the output data set of the base side, and the output data set of the second side is the output data set of the receiving side, and the output data set includes the peak-to-valley value interval, the peak-to-valley frequency and the peak-to-valley time, and then initializes the long short-term memory network, the long short-term memory network includes a trust function, and the trust function is used to memorize the data set greater than the preset trust degree, and then uses the long short-term memory network to train the first side output data set and the second side output data set respectively, to obtain the first memory prediction network and the second memory prediction network, and then fuses the first memory prediction network and the second memory prediction network to obtain the first fusion prediction network, and finally encapsulates the first fusion prediction network into a prediction module, connects the prediction module to the power system, and calls the first fusion prediction network to perform quantitative prediction on the power system. The technical problem of insufficient accuracy and adaptability of the existing technology in the quantitative prediction of wind and solar output is effectively solved, and the technical effect of improving the accuracy and adaptability of wind and solar output prediction is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A schematic diagram of a flow chart of a method for quantitatively predicting wind and solar power output of a power system provided in an embodiment of the present application;

[0021] Figure 2 A schematic flow chart of a method for processing an output data set before training provided in an embodiment of the present application;

[0022] Figure 3 A schematic diagram of a process flow of a method for scaling a differential data set provided in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of a flow chart of a method for obtaining a first fusion prediction network provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of the structure of a device for quantitatively predicting wind and solar power output in a power system provided in an embodiment of the present application.

[0025] Explanation of the accompanying drawings: output data set acquisition module 1, long short-term memory network initialization module 2, long short-term memory network training module 3, network fusion module 4, quantitative prediction module 5. DETAILED DESCRIPTION

[0026] The present application provides a method and device for quantitatively predicting wind and solar power output in a power system, so as to solve the technical problems of insufficient accuracy and adaptability in the prior art in quantitative prediction of wind and solar power output.

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0028] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or are inherent to these processes, methods, products or devices.

[0029] Embodiment 1

[0030] like Figure 1 As shown, the present invention provides a method for quantitatively predicting wind and solar power output of a power system, which is used to improve the accuracy and adaptability of wind and solar power output prediction. The method includes:

[0031] Use data acquisition tools to obtain output data from the power system. The output data comes from sensors, monitoring systems or other data sources. These output data are integrated to form two data sets, namely the first-side output data set and the second-side output data set. The first-side output data set is the output data set of the base side. The base side refers to the output of the power station or large power source. The base side output data reflects the basic operation status and output mode of the power source; the second-side output data set is the output data set of the receiving side. The receiving side refers to power transmission and distribution, including various nodes and end users of the power grid. The receiving side output data provides information about how power is distributed and used throughout the network. The output data set includes peak-valley intervals, peak-valley frequencies and peak-valley times. The peak-valley intervals represent the highest and lowest output values ​​in a specific time period (such as a day, a week or a month). The peak-valley frequency refers to the frequency of peak and valley periods. For example, the peak period may occur on weekdays, and the valley period may occur on weekends or holidays. The peak-valley time refers to the time when the peak and valley periods occur, such as at what time of the day the power demand reaches its peak.

[0032] Initialize the long short-term memory network (LSTM), which is a special recurrent neural network (RNN) used to process and predict time series data. Initializing LSTM means building an empty LSTM network structure and assigning corresponding parameters and weights to it. This is the first step to start training the LSTM network. During the initialization process, random weights are assigned to each layer of the LSTM network, and appropriate parameters such as learning rate, batch size, etc. are set. LSTM includes a trust function, which is a component in LSTM and is used to determine which data sets are more valuable for network training. Through the trust function, data sets that have a greater impact on the prediction results are screened out and given greater weights. The trust function is used to memorize data sets that are greater than a preset trust level. Specifically, a threshold of the trust function is set, which determines which data sets will be used for training. The trust function checks the features and attributes of each input data point. By calculating and analyzing these features, the trust function evaluates the reliability and relevance of the data points. If the trust level of the data points is higher than the preset threshold, the data points are considered to be reliable and valuable information and are used by the LSTM network for training and prediction. On the contrary, if the trust level of the data points is lower than the threshold, they are considered to be unreliable or insignificant information and are excluded from training. By using the trust function, it is ensured that the LSTM network is trained only with high-quality and reliable data, thereby improving the accuracy and reliability of the prediction. At the same time, the trust function is used to help reduce the impact of noise, outliers and other bad data on model performance, thereby optimizing the performance of the model.

[0033] For each data set (the first side output data set and the second side output data set), the data is input into the LSTM network, and the weights and parameters of the network are adjusted using appropriate optimization algorithms (such as gradient descent). Through multiple iterations, the network gradually learns the patterns and trends in the data and begins to generate accurate predictions. During the training process, the trust function will filter out data sets that are lower than the preset trust level, and use data that is valuable for prediction for training. After sufficient training, the prediction model is extracted from the LSTM network to obtain two independent prediction networks (the first memory prediction network and the second memory prediction network). These two networks make predictions for the first side output data set and the second side output data set, respectively. By independently training each network, it is possible to better adapt to the power demand and operation mode of different sides according to the characteristics of the output data of different sides, and improve the accuracy and reliability of the prediction.

[0034] The outputs of the two trained prediction networks (the first memory prediction network and the second memory prediction network) are combined by weighted averaging, feature fusion or other integration methods, thereby realizing the fusion of the two networks and creating a more powerful and comprehensive prediction network, namely the first fusion prediction network. By fusing two independent prediction networks, the information in the first side output data set and the second side output data set can be comprehensively utilized, and the complementarity between them can be utilized to improve the stability and accuracy of the prediction, reduce the errors or deviations that may occur in a single network, and thus provide more reliable and accurate output prediction results.

[0035] The first fusion prediction network is encapsulated as an independent prediction module to make it easy to integrate into the power system. The prediction module has clear input and output interfaces for communicating with other parts of the power system. The encapsulated prediction module is connected to the power system to ensure that data transmission and communication can be carried out between them. The encapsulated prediction module (first fusion prediction network) is called to make real-time predictions of the power system, that is, at each time step, the system can predict future output conditions based on historical data and current status, and finally generate a quantitative prediction of the future output of the power system. The quantitative prediction is presented in the form of numerical values, charts or reports. The embodiment of the present application solves the problem of insufficient accuracy of traditional linear regression models when dealing with time series dependencies and nonlinear data by utilizing long short-term memory networks and trust functions, thereby achieving the technical effect of improving the accuracy and adaptability of wind and solar output predictions.

[0036] like Figure 2 As shown, in a preferred implementation manner provided in an embodiment of the present application, before using the long short-term memory network to train the first side output data set and the second side output data set respectively, it also includes:

[0037] By calculating the difference between adjacent data points, the first-side output data set and the second-side output data set are differentially transformed. That is, except for the first data point, each remaining data point will be replaced by the difference between it and the previous data point. For example, suppose there is a data sequence: 5, 7, 10, 12, 15. After applying the differential transformation, this sequence will become: 5, 2, 3, 2, 3. Through the differential transformation, the first-side differential data set and the second-side differential data set are obtained. These data sets eliminate the seasonality and trend of the data and are used to enable the model to focus on learning and predicting short-term fluctuations in the data.

[0038] According to the predicted target variable, a corresponding label (the value of the target variable or the corresponding output) is generated for each data point in the differential data set (the first-side differential data set and the second-side differential data set), and the differential data set and the label are combined into a new data set (the first-side training data set and the second-side training data set), which contains input (differential data) and output (label) pairs, and each input-output pair constitutes a sample point. Through this process, the differential data set is converted into a supervised learning format (providing corresponding labels or values ​​for the target variable) for supervised learning.

[0039] The long short-term memory network is trained using the converted first-side training data set and the second-side training data set. Through training, the network can learn the patterns and relationships in the data, and gradually improve the accuracy and reliability of the prediction. This preferred implementation eliminates the seasonality and long-term trends in the data through differential transformation, so that the model focuses on learning short-term fluctuations and predicting future values ​​without being affected by the long-term pattern of the data set. By converting to a supervised learning format, a corresponding label or target value is provided for each data point, so that the model can better learn and predict the short-term pattern and changes of the data during the training process, achieving the technical effect of improving the prediction accuracy and reliability of the model. In addition, differential transformation and conversion to a supervised learning format simplify the data set, thereby simplifying the process of model training, and achieving the technical effect of improving the efficiency and stability of training.

[0040] like Figure 3 As shown, in another preferred implementation manner provided in the embodiment of the present application, after obtaining the first side difference data set and the second side difference data set, it also includes:

[0041] A training scaler is used to scale the data so that the data is within a specific range, thereby making it easier for the model to learn the characteristics of the data and improve the performance of the model. Specifically, first, sufficient data is collected to train the scaler, and these data represent the distribution and characteristics of the actual data set (differential data set) to be processed. Then, according to the characteristics of the data, appropriate scaling parameters are determined, such as minimum value, maximum value (used to determine the scaling range of the data), etc., and then the collected data and the determined scaling parameters are used to train the scaler. During the training process, the scaling parameters are continuously adjusted through iteration until the optimal parameter configuration (preset scaling parameters) is found, thereby completing the training of the scaler and scaling the data according to the preset scaling parameters.

[0042] The first side differential data set and the second side differential data set are input into a trained scaler, and the scaler performs scaling processing on the data according to preset scaling parameters to obtain the first side differential scaling data set and the second side differential scaling data set. The first side differential scaling data set and the second side differential scaling data set are then converted into a supervised learning format to obtain the first side training data set and the second side training data set. This preferred embodiment eliminates the influence of outliers or outliers on the model through scaling processing, achieving the technical effect of improving the stability and robustness of the model, and simplifies the training process of the model through scaling processing, achieving the technical effect of accelerating the convergence of the model.

[0043] In another preferred implementation provided in the examples of the present application, the method further comprises:

[0044] A data restoration network layer is established, and the data restoration network layer includes an inverse differential channel and an inverse scaling channel. The inverse scaling channel is implemented by writing a scaling algorithm or using an existing scaling library, and the inverse differential channel is implemented by writing a differential algorithm or using an existing differential library. The inverse scaling channel and the inverse differential channel are then integrated together to form the data restoration network layer. The input end of the network layer is connected to the output end of the first fusion prediction network, and is used to receive the output of the first fusion prediction network and process it.

[0045] The data output by the first fusion prediction network passes through the inverse scaling channel and the inverse difference channel in turn. In the inverse scaling channel, the output of the first fusion prediction network is inversely scaled to restore the data to the original range. In the inverse difference channel, the output of the first fusion prediction network is inversely differentiated to restore the long-term trend and seasonality of the data. The predicted quantitative indicators output by the first fusion prediction network are reversely processed through the data restoration network layer to restore the original characteristics of the data and obtain the restored predicted quantitative indicators. This preferred implementation restores the original characteristics of the data by restoring the data, so that the model can better understand the patterns and characteristics of the data, thereby achieving the technical effect of improving the accuracy of the prediction model.

[0046] like Figure 4 As shown, in another preferred implementation manner provided in the embodiment of the present application, the first memory prediction network and the second memory prediction network are fused to obtain a first fused prediction network, including:

[0047] A predicted quantitative index of the first side is obtained from the first memory prediction network, where the predicted quantitative index of the first side is a quantitative result obtained by prediction based on the first side data set; and a predicted quantitative index of the second side is obtained from the second memory prediction network, where the predicted quantitative index of the second side is a quantitative result obtained by prediction based on the second side data set.

[0048] In order to compare the prediction results of the two networks at the same time series, the predicted quantitative indicators of the first side are time-series mapped with the predicted quantitative indicators of the second side through time alignment, sliding window, interpolation and fitting, dynamic time warping and other methods to ensure that they can be compared at the same time point.

[0049] Under the same timing, for each timing point, the error between the predicted quantization index of the first side and the predicted quantization index of the second side is calculated by using methods such as mean square error and mean absolute error. A preset predicted quantization error threshold is set according to historical data or experience, and the calculated error is compared with the preset predicted quantization error threshold. If the error is less than the preset predicted quantization error threshold, it means that the prediction results of the first side and the second side are acceptable within the error range. At this time, the corresponding fusion instruction is generated according to the error comparison result.

[0050] The fusion instruction indicates how to fuse the outputs of the two networks together to obtain a more accurate and reliable prediction result. According to the fusion instruction, the first memory prediction network and the second memory prediction network are fused, including weight adjustment, feature fusion or other fusion strategies, and the first fused prediction network is generated after fusion. This preferred implementation compares the two prediction quantitative indicators through time series mapping and accurately evaluates the differences and errors between them. Since the network with smaller errors plays a greater role in the fusion process, this ensures that the prediction results after fusion have higher accuracy and consistency, thereby achieving the technical effect of improving the accuracy and reliability of the prediction.

[0051] In another preferred implementation manner provided in an embodiment of the present application, when the predicted quantization error between the predicted quantization index of the first side and the predicted quantization index of the second side at the same time sequence is greater than or equal to a preset predicted quantization error threshold, it indicates that there is a large difference or error in the prediction results of the first side and the second side. At this time, the first memory prediction network and the second memory prediction network are feedback optimized according to the predicted quantization error. Specifically, according to the error evaluation result, it is determined which network has a large error in the prediction result. According to the identified problem network, targeted feedback adjustment is performed, including adjusting weights (adjusting weight parameters in the network to optimize prediction performance), selecting and enhancing features (re-examining input features or considering adding new features to improve the expression ability of the network), optimizing network structure (fine-tuning the network structure, such as increasing or decreasing the number of layers, the number of neurons, etc.), adjusting the learning rate (dynamically adjusting the learning rate according to the training status and performance of the network), etc. Repeat the above steps, and continuously iteratively optimize the network until the preset error threshold is met or a satisfactory performance level is reached. During the feedback optimization process, the fusion strategy is adjusted accordingly to ensure the accuracy and reliability of the fused prediction results. This preferred implementation achieves rapid optimization or adjustment of the corresponding network through a timely feedback mechanism, thereby achieving the technical effect of reducing errors and improving prediction accuracy.

[0052] In another preferred implementation provided in the embodiments of the present application, the long short-term memory network includes a trust function, and the trust function includes:

[0053] By analyzing various environmental factors that affect data collection, such as temperature, humidity, air pressure, wind speed, etc., the real-time data collection environment of the first side output data set and the second side output data set is analyzed, and the degree of influence of each environmental factor on data collection is determined according to the environmental factors, and a weight value is assigned to each environmental factor. For each time series node, the environmental impact degree of the node is calculated according to its corresponding environmental factor value and weight, and the environmental impact degree of each time series node is arranged in chronological order to obtain a first environmental impact degree sequence and a second environmental impact degree sequence.

[0054] According to the first environmental impact degree sequence and the second environmental impact degree sequence, a trust function is established, and the trust function is used to identify and select those time series nodes whose environmental impact degree is less than the preset environmental impact degree. The preset environmental impact degree is a pre-set threshold value, which is used to determine whether the environmental impact degree of the time series node is within an acceptable range. Based on the trust function, time series nodes that meet the conditions are selected from the first side output data set and the second side output data set, and the data corresponding to these time series nodes are organized into a new data set. The data in the data set is less affected by environmental factors and has a higher trust degree. This new data set is memorized as a data set greater than the preset trust degree. This preferred embodiment improves the quality and accuracy of the data by screening data with a smaller environmental impact degree, removing outliers or errors caused by environmental factors, and thereby achieving the technical effect of improving the performance and accuracy of the prediction model.

[0055] Embodiment 2

[0056] Based on the same inventive concept as the method for quantizing wind and solar power output of a power system in the aforementioned embodiment, Figure 5 As shown, the present application provides a device for quantitatively predicting wind and solar power output of a power system, the device comprising:

[0057] Output data set acquisition module 1, the output data set acquisition module 1 is used to collect the first side output data set and the second side output data set of the power system, wherein the first side output data set is the output data set of the base side, the second side output data set is the output data set of the receiving side, and the output data set includes the peak-valley value interval, the peak-valley frequency and the peak-valley time;

[0058] A long short-term memory network initialization module 2, wherein the long short-term memory network initialization module 2 is used to initialize the long short-term memory network, wherein the long short-term memory network includes a trust function, and the trust function is used to memorize a data set greater than a preset trust degree;

[0059] A long short-term memory network training module 3, wherein the long short-term memory network training module 3 is used to respectively train the first side output data set and the second side output data set using the long short-term memory network to obtain a first memory prediction network and a second memory prediction network;

[0060] A network fusion module 4, wherein the network fusion module 4 is used to fuse the first memory prediction network and the second memory prediction network to obtain a first fused prediction network;

[0061] The quantitative prediction module 5 is used to encapsulate the first fusion prediction network into a prediction module, connect the prediction module with the power system, and call the first fusion prediction network to perform quantitative prediction on the power system.

[0062] Furthermore, the long short-term memory network training module 3 is used to perform the following method:

[0063] By performing differential conversion on the first side output data set and the second side output data set, a first side differential data set and a second side differential data set are obtained;

[0064] Converting the first side differential data set and the second side differential data set into a supervised learning format to obtain a first side training data set and a second side training data set;

[0065] The first-side training data set and the second-side training data set are trained respectively using the long short-term memory network.

[0066] Furthermore, the long short-term memory network training module 3 is used to perform the following method:

[0067] Training a scaler, the scaler comprising preset scaling parameters, and performing scaling processing on the data according to the preset scaling parameters;

[0068] Inputting the first side difference data set and the second side difference data set into a trained scaler to obtain a first side difference scaled data set and a second side difference scaled data set;

[0069] The first-side training data set and the second-side training data set are established according to the first-side differential scaling data set and the second-side differential scaling data set.

[0070] Furthermore, the network fusion module 4 is used to execute the following method:

[0071] Establishing a data restoration network layer, and connecting an input end of the data restoration network layer to an output end of the first fusion prediction network, wherein the data restoration network layer includes an inverse difference channel and an inverse scaling channel;

[0072] The predicted quantitative index output by the first fusion prediction network is restored according to the inverse difference channel and the inverse scaling channel to obtain a restored predicted quantitative index.

[0073] Furthermore, the network fusion module 4 is used to execute the following method:

[0074] Obtaining a prediction quantization index of the first side in the first memory prediction network;

[0075] Obtaining a prediction quantization index of the second side in the second memory prediction network;

[0076] Performing time-series mapping on the predicted quantization index of the first side and the predicted quantization index of the second side, and obtaining a fusion instruction when a predicted quantization error between the predicted quantization index of the first side and the predicted quantization index of the second side at the same time sequence is less than a preset predicted quantization error;

[0077] The first memory prediction network and the second memory prediction network are fused according to the fusion instruction to obtain a first fused prediction network.

[0078] Furthermore, the network fusion module 4 is used to execute the following method:

[0079] When a predicted quantization error between a predicted quantization index of the first side and a predicted quantization index of the second side at the same timing is greater than or equal to a preset predicted quantization error, feedback optimization is performed on the first memory prediction network and the second memory prediction network according to the predicted quantization error.

[0080] Furthermore, the long short-term memory network initialization module 2 is used to perform the following method:

[0081] Respectively analyzing the real-time data collection environments of the first side output data set and the second side output data set to obtain a first environment impact degree sequence and a second environment impact degree sequence;

[0082] The trust function is established based on the first environmental impact sequence and the second environmental impact sequence, wherein the trust function is used to select a time series node whose environmental impact is less than a preset environmental impact, and then memorize the data set corresponding to the selected time series node as a data set greater than a preset trust level.

[0083] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of this application. In some cases, the actions or steps recorded in this application can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0084] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0085] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.

Claims

1. A method for quantitatively predicting wind and solar power output in a power system, characterized in that: The method comprises: Collecting a first-side output data set and a second-side output data set of the power system, wherein the first-side output data set is an output data set of the base side, and the second-side output data set is an output data set of the receiving side, and the output data set includes a peak-valley value interval, a peak-valley frequency, and a peak-valley time; Initializing a long short-term memory network, wherein the long short-term memory network includes a trust function, and the trust function is used to memorize a data set greater than a preset trust level; Wherein, the trust function includes: Respectively analyzing the real-time data collection environment of the first side output data set and the second side output data set to obtain a first environment impact degree sequence and a second environment impact degree sequence; Establishing the trust function according to the first environmental impact degree sequence and the second environmental impact degree sequence, wherein the trust function is used to select a time series node whose environmental impact degree is less than a preset environmental impact degree, and then memorize the data set corresponding to the selected time series node as a data set greater than a preset trust degree; The first side output data set and the second side output data set are trained respectively by using the long short-term memory network to obtain a first memory prediction network and a second memory prediction network; Fusing the first memory prediction network and the second memory prediction network to obtain a first fused prediction network; The first fusion prediction network is encapsulated as a prediction module, the prediction module is connected to the power system, and the first fusion prediction network is called to perform quantitative prediction on the power system.

2. The method according to claim 1, characterized in that Before respectively training the first side output data set and the second side output data set using the long short-term memory network, the method further includes: By performing differential conversion on the first side output data set and the second side output data set, a first side differential data set and a second side differential data set are obtained; Converting the first side differential data set and the second side differential data set into a supervised learning format to obtain a first side training data set and a second side training data set; The first-side training data set and the second-side training data set are trained respectively using the long short-term memory network.

3. The method according to claim 2, characterized in that After obtaining the first side difference data set and the second side difference data set, the method further includes: Training a scaler, the scaler comprising preset scaling parameters, and performing scaling processing on the data according to the preset scaling parameters; Inputting the first side difference data set and the second side difference data set into a trained scaler to obtain a first side difference scaled data set and a second side difference scaled data set; The first-side training data set and the second-side training data set are established according to the first-side differential scaling data set and the second-side differential scaling data set.

4. The method according to claim 3, characterized in that The method further comprises: Establishing a data restoration network layer, and connecting an input end of the data restoration network layer to an output end of the first fusion prediction network, wherein the data restoration network layer includes an inverse difference channel and an inverse scaling channel; The predicted quantitative index output by the first fusion prediction network is restored according to the inverse difference channel and the inverse scaling channel to obtain a restored predicted quantitative index.

5. The method according to claim 1, characterized in that The first memory prediction network and the second memory prediction network are fused to obtain a first fused prediction network, including: Obtaining a prediction quantization index of the first side in the first memory prediction network; Obtaining a prediction quantization index of the second side in the second memory prediction network; Performing time-series mapping on the predicted quantization index of the first side and the predicted quantization index of the second side, and obtaining a fusion instruction when a predicted quantization error between the predicted quantization index of the first side and the predicted quantization index of the second side at the same time sequence is less than a preset predicted quantization error; The first memory prediction network and the second memory prediction network are fused according to the fusion instruction to obtain a first fused prediction network.

6. The method according to claim 5, characterized in that When a predicted quantization error between a predicted quantization index of the first side and a predicted quantization index of the second side at the same timing is greater than or equal to a preset predicted quantization error, feedback optimization is performed on the first memory prediction network and the second memory prediction network according to the predicted quantization error.

7. A device for quantitatively predicting wind and solar power output in a power system, characterized in that: The device comprises: An output data set acquisition module, the output data set acquisition module is used to collect a first-side output data set and a second-side output data set of the power system, wherein the first-side output data set is an output data set of the base side, and the second-side output data set is an output data set of the receiving side, and the output data set includes a peak-valley value interval, a peak-valley frequency, and a peak-valley time; A long short-term memory network initialization module, the long short-term memory network initialization module is used to initialize the long short-term memory network, the long short-term memory network includes a trust function, and the trust function is used to memorize a data set greater than a preset trust degree; The long short-term memory network initialization module is used to execute the following method: Respectively analyzing the real-time data collection environment of the first side output data set and the second side output data set to obtain a first environment impact degree sequence and a second environment impact degree sequence; Establishing the trust function according to the first environmental impact degree sequence and the second environmental impact degree sequence, wherein the trust function is used to select a time series node whose environmental impact degree is less than a preset environmental impact degree, and then memorize the data set corresponding to the selected time series node as a data set greater than a preset trust degree; A long short-term memory network training module, wherein the long short-term memory network training module is used to respectively train the first side output data set and the second side output data set using the long short-term memory network to obtain a first memory prediction network and a second memory prediction network; A network fusion module, wherein the network fusion module is used to fuse the first memory prediction network and the second memory prediction network to obtain a first fused prediction network; A quantitative prediction module is used to encapsulate the first fusion prediction network into a prediction module, connect the prediction module with the power system, and call the first fusion prediction network to perform quantitative prediction on the power system.