A new energy meteorological large model construction method, device and power prediction method
By using a large graph neural network model with attention mechanism and dynamic graph structure based on ERA5 data in the field of new energy, the problem of low accuracy of existing large meteorological models in forecasting new energy meteorological elements has been solved, achieving a more efficient and more efficient Accurate new energy weather forecasts, especially in wind speed and irradiance forecasts near the surface.
Patent Information
- Application Number
- CN202410756318.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Existing large-scale meteorological models cannot effectively customize and optimize the specific needs of the new energy industry, resulting in low forecast accuracy for key new energy meteorological elements such as hub height, wind speed and irradiance, making it difficult to meet the professional requirements for new energy power forecasting. , and the calculation amount and prediction accuracy of traditional numerical weather prediction models limit the further improvement of wind and solar power prediction.
A large graph neural network model with attention mechanism and dynamic graph structure built based on ERA5 data is used to simulate the multi-layer grid graph structure of the outer layer of the earth through the multi-layer dynamic graph structure and node attention mechanism, and dynamically adjust the connections of the graph method to improve the model’s ability to predict new energy meteorological elements.
It has significantly improved the forecast accuracy and operational forecast efficiency of the new energy meteorological model for wind speed and irradiance, breaking through the limitations of the traditional NWP model and providing higher forecast accuracy and longer effective forecast duration, especially in the near future. The weather element forecast ability at the ground level is stronger.
Smart Images

Figure CN118332937B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy electric power technology, and in particular relates to a new energy meteorological large model construction method, device and power prediction method. Background Art
[0002] In the field of renewable energy, wind and solar power forecasts have always relied on numerical weather forecasts (NWP) as their main meteorological basis. However, the traditional NWP model consumes a lot of computing resources and has certain uncertainties due to its physical processes involving complex parameters, resulting in a lot of room for improvement in the timeliness and accuracy of the numerical weather forecast data used in renewable energy power forecasts. To address this problem, the emergence of large meteorological models provides a disruptive solution. This purely data-driven large model, which is trained based on massive historical meteorological data, is far more computationally efficient than traditional NWP models and has higher prediction accuracy.
[0003] However, the output results of existing large meteorological models mainly serve general meteorological needs and are not customized and optimized for the specific needs of the new energy industry. As a result, the forecast accuracy of key new energy meteorological elements such as hub height wind speed and irradiance is relatively low, which makes it difficult to meet the professional requirements of new energy power prediction.
[0004] From the perspective of meteorological technology that power forecasting relies on, most current power forecasting methods rely on meteorology produced by traditional numerical forecasting. Limited by the computational effort and forecasting accuracy of the NWP model, the model update frequency and forecasting duration are limited, which limits the further improvement of wind and solar power forecasting. Moreover, its non-customized results for general meteorological services do not have specific optimization for hub height wind speed and irradiance, which also limits the model's ability to forecast key meteorological elements of wind and solar to a certain extent.
[0005] From the perspective of the structure of the large-scale meteorological model of graph neural network, the existing graph neural network mostly uses static graph structure in weather forecasting, but meteorological conditions and energy demand are dynamically changing. The static graph structure cannot associate similar elements beyond the static graphs, and cannot further improve the simulation ability of dynamic weather. The introduction of dynamic graph structure allows the model to adjust the connection mode of the graph according to the time series dynamics and changes in meteorological conditions, thereby improving the accuracy of the model. In addition, the points and edges between the internal graphs of the existing graph neural network meteorological model are mapped and transmitted through MLP. The contributions of adjacent points and edges in the graph structure are equal, or weighted according to the inverse of the node degree. It is impossible to dynamically determine the importance of each neighbor when aggregating the features of adjacent nodes, which limits the model's ability to further improve the forecasting of target meteorological elements. Summary of the invention
[0006] The present invention proposes a new energy meteorological large model construction method, device and power prediction method, which break through the limitations of existing meteorological large models and improve the forecasting accuracy of the large model for new energy meteorological elements.
[0007] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0008] A method for constructing a new energy meteorological large model, comprising:
[0009] S1. Construct a new energy meteorological large model training data set based on ERA5 data; the input data set uses ERA5 reanalysis data, and the output data set uses wind speed and irradiance data interpolated from ERA5 reanalysis data to the wind and solar power station location and measured wind speed and irradiance data;
[0010] S2. Build a large graph neural network model with an attention mechanism and a dynamic graph structure. The dynamic graph structure is designed as a multi-layer grid graph structure surrounding the outer layer of the earth. Each layer represents a different air pressure layer, and the grid points in each air pressure layer represent nodes. The closer the layer is to the ground, the denser the nodes are, and the more nodes and edges there are.
[0011] The graph neural network model includes three parts: encoding, processing, and decoding:
[0012] Encoding: Encode the input variable meteorological data and embed them into the points and edges of the initial dynamic graph structure;
[0013] Processing: Update the dynamic graph structure and add an attention mechanism to process the features of nodes and edges in the dynamic graph structure;
[0014] Decoding: Decoding the processed node features and edge features into output weather forecast data;
[0015] S3. Input the input data set and output data set constructed in step S1 into the graph neural network big model in step S2, and obtain the new energy meteorological big model through training.
[0016] Furthermore, the encoding in step S2 includes:
[0017] S211, initializing the dynamic graph structure; the number of nodes in each layer is proportional to the air pressure of the layer, the layer is connected to the adjacent layers through edges, and the number of edges connecting the layer to the adjacent layers is proportional to the sum of the air pressures of the two layers;
[0018] S212, data embedding; standardizing the input meteorological data of each variable, and then mapping the input data and each point and edge of the dynamic graph structure through an MLP multi-layer perceptron network, so that each node and edge of the dynamic graph structure carries high-dimensional meteorological feature information.
[0019] Furthermore, the processing in step S2 includes:
[0020] S221, based on the initialized dynamic graph structure, calculating the conditional strength function between nodes according to the feature embedding of the nodes and the historical interaction information between the nodes, and determining whether to add or delete edges between the nodes according to the conditional strength function;
[0021] S222. Add attention mechanism: first apply linear change to the feature vector of each node, then calculate the attention coefficient between nodes based on the attention mechanism, use the softmax function to normalize all attention coefficients of each node, and finally use the normalized attention coefficient and the linearly changed features to calculate the new feature vector of the node for feature aggregation.
[0022] Furthermore, the decoding in step S2 includes: using an MLP multi-layer perceptron network to reversely map the node and edge information in the dynamic graph structure, and generating a prediction value for each node, that is, the weather forecast data for the next moment.
[0023] On the other hand, the present invention also proposes a new energy meteorological large model construction device, comprising:
[0024] Dataset module: Construct a new energy meteorological model training dataset based on ERA5 data; the input dataset uses ERA5 reanalysis data, and the output dataset uses wind speed and irradiance data interpolated from ERA5 reanalysis data to the wind and solar power station location as well as measured wind speed and irradiance data;
[0025] Model module: Build a large graph neural network model with attention mechanism and dynamic graph structure. The dynamic graph structure is designed as a multi-layer grid graph structure surrounding the outer layer of the earth. Each layer represents a different air pressure layer, and the grid points in each air pressure layer represent nodes. The closer the layer is to the ground, the denser the nodes are, and the more nodes and edges there are.
[0026] The graph neural network model includes an encoder component, a processor component, and a decoder component:
[0027] Encoder component: encodes the input variable meteorological data and embeds them into the points and edges of the initial dynamic graph structure;
[0028] Processor component: updates the dynamic graph structure and adds an attention mechanism to process the features of nodes and edges in the dynamic graph structure;
[0029] Decoder component: decodes the node features and edge features processed by the processor component into output weather forecast data;
[0030] Training module: Input the input data set and output data set constructed by the data set module into the graph neural network big model in the model module, and obtain the new energy meteorological big model through training.
[0031] Furthermore, the encoder component in the model module includes:
[0032] Initialization unit: initializing the dynamic graph structure; the number of nodes in each layer is proportional to the air pressure of the layer, the layer is connected to the adjacent layers through edges, and the number of edges connecting the layer to the adjacent layers is proportional to the sum of the air pressures of the two layers;
[0033] Data embedding unit: The meteorological data of each variable is standardized, and then the input data and each point and edge of the dynamic graph structure are mapped through the MLP multi-layer perceptron network, so that each node and edge of the dynamic graph structure carries high-dimensional meteorological feature information.
[0034] Furthermore, the processor component in the model module includes:
[0035] Update unit: Based on the initialized dynamic graph structure, the conditional strength function between nodes is calculated according to the feature embedding of the nodes and the historical interaction information between the nodes, and whether to add or delete edges between the nodes is determined according to the conditional strength function;
[0036] Attention unit: Add attention mechanism: first apply linear change to the feature vector of each node, then calculate the attention coefficient between nodes based on the attention mechanism, use the softmax function to normalize all attention coefficients of each node, and finally use the normalized attention coefficient and the linearly changed features to calculate the new feature vector of the node for feature aggregation.
[0037] Furthermore, the decoder component in the model module includes: using an MLP multi-layer perceptron network to reversely map the node and edge information in the dynamic graph structure, and generating a prediction value for each node, that is, the weather forecast data for the next moment.
[0038] The present invention also proposes a new energy power prediction method, which obtains a meteorological-power post-correction model through training with historical new energy wind and solar meteorological element data and measured power; the new energy meteorological big model constructed using the above-mentioned new energy meteorological big model construction method obtains the site new energy meteorological forecast data, and inputs the meteorological-power post-correction model to obtain the predicted power.
[0039] The present invention also proposes a new energy power prediction device, which obtains a meteorological-power post-correction model through training with historical new energy wind and solar meteorological element data and measured power; the new energy meteorological big model constructed by the above-mentioned new energy meteorological big model construction device is used to obtain the site new energy meteorological forecast data, and the meteorological-power post-correction model is input to obtain the predicted power.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] 1. The present invention introduces a multi-layer dynamic graph structure in the meteorological large model based on the graph neural network. The multi-layer dynamic graph structure approximately simulates the meteorological elements at different heights surrounded by the earth's outer shell. For the near-ground layer, the grid nodes are more densely distributed, which improves the model's forecasting ability for near-ground new energy meteorological elements. In addition, most existing graph neural networks use static graph structures, but meteorological conditions, especially near-surface new energy meteorological elements, change rapidly and dynamically. The introduction of a dynamic graph structure allows the model to adjust the connection method of the graph according to the time series dynamics and changes in meteorological conditions, thereby improving the accuracy of the model.
[0042] 2. The present invention adds a node attention mechanism to the graph neural network. In existing meteorological large models, the attention level of different meteorological elements in the model is consistent. After the introduction of node attention, the attention mechanism will automatically evaluate the impact of various meteorological variables on the hub height wind speed and irradiance of key new energy meteorological elements, and focus the model's forecasting ability on the key new energy meteorological elements, thereby improving the forecast accuracy of the meteorological large model for wind and solar meteorological elements.
[0043] 3. The present invention is based on a power prediction method for new energy meteorological big models, a new energy power prediction method that integrates cutting-edge technologies such as big data processing, deep learning, and machine learning. Based on the new energy meteorological big model technology, it optimizes the prediction of new energy-related factors from the forecast source of global meteorological sources, breaking through the existing power prediction's reliance on traditional meteorological numerical weather forecasts, and improving the meteorological model's operational forecasting efficiency and accuracy for wind speed and irradiance, important meteorological elements for new energy. It solves the current difficulties in meteorological services in the new energy field, breaks through many limitations of traditional NWP, and has great significance for the improvement of power prediction services. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flowchart of an embodiment of the present invention. DETAILED DESCRIPTION
[0045] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0046] The present invention is further described below in conjunction with specific embodiments and drawings.
[0047] First, the professional terms in the present invention are explained:
[0048] Graph Neural Networks (GNN): Graph Neural Networks are a type of neural network architecture specifically designed to process graph-structured data. Graph-structured data is composed of nodes (vertices) and edges (edges), and is commonly found in social networks, molecular structures, transportation networks, and other fields. The core of GNN is its ability to capture the dependencies between nodes and learn the representation of nodes by passing information between nodes in the graph. This information transfer is usually implemented through a message passing mechanism, where nodes update their states based on the features of adjacent nodes and their own features.
[0049] Multilayer Perceptron (MLP): A multilayer perceptron is a feed-forward artificial neural network that contains one or more hidden layers and is capable of learning nonlinear function approximations. MLP is one of the most basic models in deep learning and is suitable for the task of predicting an output variable from a set of input variables. Each node (often called a "neuron") is connected to every node in the previous layer, and a weighted sum is calculated, and a nonlinear activation function is usually applied. Each layer of the MLP is fully connected, meaning that each neuron is connected to all neurons in the previous layer. MLPs are trained using the back-propagation algorithm, which optimizes the weights to minimize the difference between the predicted and actual output.
[0050] Softmax function: Softmax function is a function widely used in multi-class classification problems. It converts a vector containing arbitrary real numbers into a probability distribution with real values between 0 and 1 and a sum of 1. The output of this function can be interpreted as a probability distribution, where the value of each component represents the probability of selecting the corresponding category.
[0051] Attention: Attention is a technique in a model or algorithm that enables the model to automatically decide which parts of the data to "focus on" when processing data. The Attention mechanism is usually implemented by calculating the weighted sum of input features, where the weights are learned by the model based on the data and reflect the relative importance of each part. The Attention mechanism has been proven to be extremely effective in the field of natural language processing (NLP), especially in applications such as machine translation and text summarization.
[0052] The design idea of this invention is to introduce a graph neural network meteorological model with a multi-layer dynamic graph structure and an attention mechanism. The connection mode of the graph structure is adjusted according to the time series dynamics and changes in meteorological conditions. The attention mechanism can dynamically pay attention to important adjacent node information. In addition, the multi-layer graph structure has a tighter distribution of nodes near the ground layer, thereby more accurately simulating and predicting the spatiotemporal changes of new energy meteorological elements, which serves as the basis for power prediction and improves the accuracy of power prediction.
[0053] Based on the above design ideas, the technical solutions proposed in this embodiment include:
[0054] 1. Construct a new energy meteorological model training dataset based on ERA5 data:
[0055] 1.1 The input dataset uses ERA5 latitude and longitude standard grid point reanalysis data; ERA5 is a global high-resolution atmospheric reanalysis dataset developed and maintained by the European Centre for Medium-Range Weather Forecasts (ECMWF); for example, ERA5 grid data with a spatial resolution of 0.25 degrees can be used as the input dataset;
[0056] Table 1: Input data variable table
[0057]
[0058] Table 1 is an example of the meteorological data of each variable included in the input data set.
[0059] 1.2 The output data set is constructed by integrating the wind speed and irradiance data at the wind and solar power station locations interpolated from the ERA5 data and the measured wind speed and irradiance data;
[0060] The specific process is as follows: ERA5 reanalysis data (e.g. grid data with a spatial resolution of 0.25 degrees) is used to calculate the wind speed and irradiance meteorological data according to the latitude and longitude coordinates of the wind power and photovoltaic sites using two-dimensional linear interpolation to obtain the wind speed and irradiance data at the corresponding site location.
[0061] 2. Build a large graph neural network model with wind and solar node attention and dynamic graph structure, including three components: Encoder-Processor-Decoder;
[0062] 2.1 The encoder is mainly responsible for encoding the input variable meteorological data and embedding it into the points and edges of an initial dynamic graph:
[0063] 2.1.1 Initialize the dynamic graph structure. The steps are as follows:
[0064] The dynamic graph structure can be regarded as a multi-layer grid graph structure surrounding the outer layer of the earth. Each layer represents a different air pressure layer. The grid points in each air pressure layer represent nodes. Represents the number of air pressure layers, set the total L The node set of each layer is recorded as , the edge set is ; The node set V of all layers is , the set E of all edges is ,in It represents the set of edges between each layer and the next layer. This is because the nodes of each layer are not only connected to the nodes in the current layer, but also to the nodes in the upper and lower layers. Each connection line (edge) has graph neural network parameters. These parameters simulate the interaction between meteorological variables between layers and will be updated dynamically.
[0065] The closer the dynamic graph structure is to the ground, the denser the nodes are, and the more nodes and edges there are. In this embodiment, the ground pressure layer is taken as the densest layer, and is set to a longitude and latitude grid with a resolution of 0.1 degrees. The number of nodes (grid points) in the densest layer is N. ,in is the number of warps in the densest layer, which can be 360 in this embodiment. is the number of latitudes in the densest layer, which can be 180 in this embodiment, with a resolution of r=0.1;
[0066] (1) Nodes: the number of nodes in each layer The air pressure of this layer The number of nodes in each layer is proportional to:
[0067] ;
[0068] (2) Edge: Nodes on the same layer are connected to all their surrounding adjacent nodes, forming an edge set , edge set The number of edges is ;
[0069] (3) The number of edges between each layer and its neighboring layer is proportional to the sum of the air pressures of the two layers:
[0070] ;
[0071] represents the number of edges between each layer and the next layer, represents the air pressure of the next layer, Indicates the number of nodes in the next layer, a is a parameter.
[0072] The dynamic graph structure layers are interconnected, and the dynamic structure graph is used as the initial structure of the dynamic graph neural network, and the graph neural network parameters are used to simulate the interaction between meteorological variables.
[0073] 2.1.2. Data Embedding: First, the meteorological data of each variable in the input data set as input data is standardized (normalized to zero mean and unit variance), which helps the model better handle data of different scales. Then, the input data and each point and edge of the dynamic graph structure are mapped.
[0074] For each node:
[0075] ;
[0076] Among them, h is the feature vector of the node, x is the variable meteorological data of the input node, and f is the MLP multi-layer perceptron network. It is the parameter in the MLP multi-layer perceptron network.
[0077] For edges:
[0078] ;
[0079] represents the feature vector of the edge between node u and node v, f is the MLP multi-layer perceptron network, is a parameter in the network. This formula represents the characteristic vector of the two connected nodes (node u and node v). and The high-dimensional meteorological feature vector is obtained by mapping the MLP multi-layer perceptron network to the edge between the two. .
[0080] Through the above embedding operation, each node and edge of the dynamic graph structure carries high-dimensional meteorological features.
[0081] 2.2 The processor is mainly responsible for updating the dynamic graph structure and further processing the characteristics of nodes and edges in the dynamic graph structure:
[0082] 2.2.1. Use a dynamic graph neural network structure. As the graph neural network training iterates, the model will dynamically add or delete edges to reflect the interaction between features in the current state of the model. In a dynamic graph neural network, the update of edges usually depends on the features of the nodes in the graph, which change with the training iterations to reflect the latest information. The update of the graph can be defined by a conditional intensity function, which determines whether to add or delete an edge between two nodes based on the state of the nodes.
[0083] Conditional Strength Function Measures the likelihood of an edge forming between node u and node v at time t. This strength can be calculated based on the feature embeddings of the nodes and the historical interactions between them:
[0084] ;
[0085] in:
[0086] and is the feature embedding of nodes u and v at time t; is the node u and The historical interaction information between them; F is a learned function used to evaluate the generation strength of the edge.
[0087] The update of edges in a dynamic graph usually follows the following rules: If the interaction between nodes decreases or Below a certain threshold, the edge is deleted.
[0088] 2.2.2. Add attention mechanism: First, the feature vector of each node Apply linear change W to get the linearly changed features ;
[0089] Then based on the attention mechanism Calculate the attention coefficient E between nodes, which represents the importance of one node to another node. The formula is:
[0090] ;
[0091] in Represents the attention coefficient between node u and another node v; Represents the feature vector for node u Features after applying linear transformation W; Represents the feature vector for node v Features after applying linear transformation W;
[0092] Then use the softmax function to normalize the attention coefficients of each node and other nodes to obtain the normalized attention coefficients; ensure that the sum of the attention coefficients of each node and other nodes is 1.
[0093] ;
[0094] in Represents the normalized attention coefficient between node u and another node v;
[0095] Finally, the normalized attention coefficient and the new feature vector of the linearly transformed feature calculation node are used for feature aggregation.
[0096] ;
[0097] in is a nonlinear activation function. This step allows the model to focus on the most important information and improve the accuracy of predictions.
[0098] 2.3 The decoder is mainly responsible for decoding the node features and edge features processed by the processor into output meteorological data:
[0099] The decoder uses an MLP multi-layer perceptron network to reversely map the node and edge information in the dynamic graph structure, where the input of the MLP is the high-dimensional meteorological feature information carried by the nodes and edges after processing by the processor, and the output is meteorological data; this layer will generate a prediction value for each node, that is, the meteorological forecast data for the next moment. In this embodiment, the meteorological forecast data mainly includes wind speed and irradiance data.
[0100] 3. Training:
[0101] The input data set and output data set constructed in step 1 are input into the graph neural network model in step 2, and the pre-trained meteorological model is obtained through multi-GPU parallel training. The output variables of this model are consistent with the input (as shown in Table 1), and predictions of different time steps of 1h, 3h and 6h can be achieved. The overall effective forecast time is 15 days, among which the surface elements are the forecast meteorological elements optimized by this model for new energy applications.
[0102] 4. Establish a meteorological-power post-correction model based on ensemble learning. First, process the historical meteorological data and measured power data. Then, use the meteorological data as input and the measured power as output for training based on the XGBoost model. By establishing a relationship between historical renewable energy wind and solar meteorological data and the measured power, a machine learning model that converts meteorology into power prediction is obtained.
[0103] 5. Input the real-time initial meteorological field, obtain the site new energy meteorology through the pre-trained meteorological large model, and then convert the meteorology output by the large model into power through the meteorological-power post-correction model to obtain the power forecast.
[0104] The invention proposes a new energy meteorological big model construction method and a new energy power prediction method that integrates cutting-edge technologies such as big data processing, deep learning and machine learning. Based on the new energy meteorological big model technology, the prediction and optimization of new energy related elements are carried out from the forecast source of global meteorological sources, breaking through the dependence of existing power prediction on traditional meteorological numerical weather forecasts, and improving the business forecast efficiency and forecast accuracy of meteorological models for important new energy meteorological elements such as wind speed and irradiance. Compared with existing large models such as Graphcast, this technology adds dynamic graphs and attention mechanisms, which are more in line with complex meteorological modal changes, and effectively optimizes the hub height wind speed and irradiance. The dynamic graph structure setting is mainly relatively tighter for the near-ground, making the model more capable of predicting near-ground elements, and improving the forecast accuracy for new energy meteorological elements. The wind speed rmse is reduced by about 0.3m / s, and the irradiance forecast accuracy is increased by 3%. It can provide high-precision forecasts for the next 15 days, and the average effective forecast time is extended to more than 12 days. This is of great significance to the development of the new energy field and the efficient management of wind power resources.
[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for constructing a new energy meteorological large model, characterized in that: include: S1. Construct a new energy meteorological large model training data set based on ERA5 data; the input data set uses ERA5 reanalysis data, and the output data set uses wind speed and irradiance data interpolated from ERA5 reanalysis data to the wind and solar power station location and measured wind speed and irradiance data; S2. Build a large graph neural network model with an attention mechanism and a dynamic graph structure. The dynamic graph structure is designed as a multi-layer grid graph structure surrounding the outer layer of the earth. Each layer represents a different air pressure layer, and the grid points in each air pressure layer represent nodes. The closer the layer is to the ground, the denser the nodes are, and the more nodes and edges there are. The graph neural network model includes three parts: encoding, processing, and decoding: Encoding: Encode the input variable meteorological data and embed them into the points and edges of the initial dynamic graph structure; Processing: Update the dynamic graph structure and add an attention mechanism to process the features of nodes and edges in the dynamic graph structure; Decoding: Decoding the processed node features and edge features into output weather forecast data; S3, inputting the input data set and the output data set constructed in step S1 into the graph neural network large model in step S2, and obtaining the new energy meteorological large model through training; The encoding in step S2 includes: S211, initializing the dynamic graph structure; the number of nodes in each layer is proportional to the air pressure of the layer, the layer is connected to the adjacent layers through edges, and the number of edges connecting the layer to the adjacent layers is proportional to the sum of the air pressures of the two layers; S212, data embedding; standardizing the inputted meteorological data of each variable, and then mapping the inputted data and each point and edge of the dynamic graph structure through an MLP multi-layer perceptron network, so that each node and edge of the dynamic graph structure carries high-dimensional meteorological feature information; The processing in step S2 includes: S221, based on the initialized dynamic graph structure, calculating the conditional strength function between nodes according to the feature embedding of the nodes and the historical interaction information between the nodes, and determining whether to add or delete edges between the nodes according to the conditional strength function; S222, adding attention mechanism: first, apply linear change to the feature vector of each node, then calculate the attention coefficient between nodes based on the attention mechanism, use the softmax function to normalize all the attention coefficients of each node, and finally use the normalized attention coefficient and the linearly changed features to calculate the new feature vector of the node for feature aggregation; The decoding in step S2 includes: using an MLP multi-layer perceptron network to reversely map the node and edge information in the dynamic graph structure, and generating a prediction value for each node, that is, the weather forecast data for the next moment.
2. A new energy meteorological large model construction device, characterized in that: include: Dataset module: Construct a new energy meteorological model training dataset based on ERA5 data; The input dataset uses ERA5 reanalysis data, and the output dataset uses wind speed and irradiance data interpolated from ERA5 reanalysis data to the wind and solar power station locations as well as measured wind speed and irradiance data; Model module: Build a large graph neural network model with attention mechanism and dynamic graph structure. The dynamic graph structure is designed as a multi-layer grid graph structure surrounding the outer layer of the earth. Each layer represents a different air pressure layer, and the grid points in each air pressure layer represent nodes. The closer the layer is to the ground, the denser the nodes are, and the more nodes and edges there are. The graph neural network model includes an encoder component, a processor component, and a decoder component: Encoder component: encodes the input variable meteorological data and embeds them into the points and edges of the initial dynamic graph structure; Processor component: updates the dynamic graph structure and adds an attention mechanism to process the features of nodes and edges in the dynamic graph structure; Decoder component: decodes the node features and edge features processed by the processor component into output weather forecast data; Training module: Input the input data set and output data set constructed by the data set module into the graph neural network big model in the model module, and obtain the new energy meteorological big model through training; The encoder components in the model module include: Initialization unit: initializing the dynamic graph structure; the number of nodes in each layer is proportional to the air pressure of the layer, the layer is connected to the adjacent layers through edges, and the number of edges connecting the layer to the adjacent layers is proportional to the sum of the air pressures of the two layers; Data embedding unit: standardizes the input meteorological data of each variable, and then maps the input data and each point and edge of the dynamic graph structure through the MLP multi-layer perceptron network, so that each node and edge of the dynamic graph structure carries high-dimensional meteorological feature information; The processor components in the model module include: Update unit: Based on the initialized dynamic graph structure, the conditional strength function between nodes is calculated according to the feature embedding of the nodes and the historical interaction information between the nodes, and whether to add or delete edges between the nodes is determined according to the conditional strength function; Attention unit: Add attention mechanism: first apply linear change to the feature vector of each node, then calculate the attention coefficient between nodes based on the attention mechanism, use the softmax function to normalize all the attention coefficients of each node, and finally use the normalized attention coefficient and the linearly changed features to calculate the new feature vector of the node for feature aggregation; The decoder component in the model module includes: using the MLP multi-layer perceptron network to reversely map the node and edge information in the dynamic graph structure, and generating a prediction value for each node, that is, the weather forecast data for the next moment.
3. A new energy power prediction method, characterized in that: A meteorological-power post-correction model is obtained by training historical new energy wind and solar meteorological element data with measured power; a new energy meteorological big model constructed using the new energy meteorological big model construction method as described in claim 1 is used to obtain site new energy meteorological forecast data, and the meteorological-power post-correction model is input to obtain predicted power.
4. A new energy power prediction device, characterized in that: A meteorological-power post-correction model is obtained by training historical new energy wind and solar meteorological element data with measured power; a new energy meteorological big model constructed by the new energy meteorological big model construction device as described in claim 2 is used to obtain the site new energy meteorological forecast data, and the meteorological-power post-correction model is input to obtain the predicted power.
Citation Information
Cited By
Meteorological data intelligent analysis method for new energy
CN119741153A
A weather data intelligent analysis method for new energy
CN119741153B
