Intelligent meteorological disaster risk warning system for power facilities

Monitor meteorological data in real time through sensor networks and remote sensing technology, and use the improved Transformer generation model and multi-scale local attention mechanism to build a disaster prediction model, which solves the problem that the meteorological disaster early warning system in the existing technology cannot accurately identify key sensitive points. An efficient and accurate early warning system is implemented to protect power facilities.

CN118658286BActive Publication Date: 2024-10-25POWERCHINA JIANGXI ELECTRIC POWER ENGINEERING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411135143.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-25
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

The existing meteorological disaster early warning system relies on GIS and cannot accurately identify key sensitive points in the power grid, resulting in insufficient practical value and pertinence of the early warning system.

Method used

Sensor networks, automatic weather stations and remote sensing technology are used to monitor meteorological data in real time, and an improved Transformer generation model is used for comprehensive analysis. A multi-scale local attention mechanism is added to build a disaster prediction model to improve the real-time performance and accuracy of the early warning system.

Benefits of technology

It improves the real-time and accuracy of meteorological disaster prediction, ensures that warnings can be issued promptly and accurately before meteorological disasters come, and protects power facilities from damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658286B_ABST
    Figure CN118658286B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of risk warning, and specifically refers to an intelligent meteorological disaster risk warning system for power facilities, including a data acquisition module, a data analysis and modeling module, a warning and decision support module, a visualization and reporting module, and a linkage response module; the scheme utilizes sensor networks, automatic weather stations, and remote sensing technology to monitor and collect various meteorological-related data in real time in the areas where power facilities are located, and uses an improved Transformer generation model to conduct a comprehensive analysis of the meteorological-related data to generate a disaster prediction model, thereby improving the real-time and accuracy of meteorological disaster prediction; at the same time, a multi-scale local attention mechanism is added to the improved Transformer generation model to reduce the impact of irrelevant information, and at the same time, the superior-subordinate dependency relationship of different factors is captured, thereby ensuring that a warning can be issued in a timely and accurate manner before a meteorological disaster occurs, thereby protecting the power infrastructure from damage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of risk warning, and specifically refers to an intelligent meteorological disaster risk warning system for electric power facilities. Background Art

[0002] As an important part of infrastructure, the stable operation of power facilities is directly related to the normal development of social and economic activities. However, the operation of power facilities is deeply affected by environmental factors, especially meteorological conditions. At present, the connection between meteorological disaster warning and power facility safety mainly relies on GIS (Geographic Information System). Through GIS, the meteorological environment of the area where the power facilities are located can be intuitively displayed, including real-time and historical meteorological data. General meteorological forecast models are based on the analysis of historical meteorological data. However, when the scale of the power grid is large, this holistic analysis may be too broad and unable to accurately identify the key sensitive points in the power grid, thus limiting the practical value and pertinence of the early warning system. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides an intelligent meteorological disaster risk warning system for power facilities. In view of the problem that the correlation between meteorological disaster warning and power facility safety mainly depends on GIS, sensor networks, automatic weather stations and remote sensing technology are used to monitor and collect various meteorological related data in the areas where power facilities are located in real time; in view of the problem that the general meteorological prediction model is based on the analysis of historical meteorological data, the overall analysis may be too broad and cannot accurately identify the key sensitive points in the power grid. An improved Transformer generation model is used to conduct a comprehensive analysis of meteorological related data to generate a disaster prediction model, thereby improving the real-time and accuracy of meteorological disaster prediction; at the same time, a multi-scale local attention mechanism is added to the improved Transformer generation model to reduce the impact of irrelevant information, while capturing the superior-subordinate dependency relationship of different factors, enhancing the model's sensitivity to boundary information, improving the accuracy of the model in extracting key sensitive points in the power grid, and improving the practical value and pertinence of the early warning system.

[0004] The intelligent electric power facility meteorological disaster risk early warning system provided by the present invention includes a data acquisition module, a data analysis and modeling module, an early warning and decision support module, a visualization and reporting module and a linkage response module;

[0005] The data acquisition module collects real-time meteorological data using sensor networks, automatic weather stations and remote sensing technology, monitors key parameters of power facilities, and transmits the meteorological data and key parameters of power facilities as raw data to the data analysis and modeling module;

[0006] The data analysis and modeling module uses the improved Transformer generation model to process and analyze the original data, identify potential meteorological disaster risks, build a disaster prediction model, predict the impact that power facilities may suffer under specific meteorological conditions, generate meteorological disaster risk prediction information, and transmit it to the early warning and decision support module for early warning;

[0007] The warning and decision support module receives and detects meteorological disaster risk forecast information. When high-risk meteorological conditions are detected, the warning mechanism is automatically triggered, warning information is generated, and the warning information is sent to power companies, emergency management departments and relevant personnel, providing decision support tools to help power operators formulate preventive measures and emergency response plans;

[0008] The visualization and reporting module provides a user interactive interface to display meteorological data, meteorological disaster risk forecast information and warning information to facilitate retrospective analysis and improve system performance;

[0009] The linkage response module is linked with the power system to realize automatic control and protection actions of power, including adjusting load distribution, disconnecting vulnerable lines or starting backup power supplies, coordinating emergency resource scheduling, and ensuring that power supply can be quickly restored when a disaster occurs.

[0010] Furthermore, the data analysis and modeling module uses the improved Transformer generation model to process and analyze the original data, specifically including the following steps:

[0011] Step S1: data preprocessing, denoising and normalizing the original data to obtain preprocessed data;

[0012] Step S2: Conditional Generative Adversarial Network construction, using the generator and the discriminator to form a generative adversarial network, and adding conditional input information and random noise that guide the generation process to construct a conditional generative adversarial network;

[0013] Step S3: Generator construction, using U-Net as the basic architecture, and adding attention gating for feature extraction and splicing;

[0014] Step S4: Discriminator construction, using PatchGAN (Patch-based GAN) as the discriminator to distinguish true and false images at the local level. The network structure of the discriminator includes an input layer, four convolutional layers and an output layer. Each convolutional layer contains 2*2 two-dimensional convolution, zero padding, batch normalization and ReLU activation function;

[0015] Step S5: Transformer model construction, using the encoder-decoder structure to build a Transformer model and generate reconstructed data;

[0016] Step S6: Model training, set the number of iterations and input conditions, generate random noise, use the Transformer model to process the preprocessed data to obtain reconstructed data; use the generator to receive random noise and conditional input to generate predicted data; use the discriminator to distinguish the data generated by the generator from the real data, and calculate the discriminator and generator losses, perform iterative training until the predetermined number of iterations is reached, and obtain a trained disaster prediction model;

[0017] Step S7: Loss function calculation, calculate the loss of the conditional generative adversarial network, the formula used is as follows:

[0018] L cGAN G, D = E x, y log D x, y + E x, z [ log 1-D x, G(x, z) ] ;

[0019] In the formula, For the generator, is the discriminator, For input data, For real data, is random noise, is a logarithmic function, express and expectations, express and expectations, Loss function for conditional generative adversarial networks;

[0020] Furthermore, in step S3, the generator is constructed, specifically including the following steps:

[0021] Step S31: Network structure, the network of the generator includes an input layer, five convolutional layers, two maximum pooling layers, two upsampling layers and an output layer;

[0022] Step S32: feature shrinkage, inputting conditional input information and random noise, using a convolutional layer to extract features, and using a maximum pooling layer to perform downsampling to generate shrinkage feature maps of different levels;

[0023] Step S33: feature expansion, using a 2*2 two-dimensional upsampling operation to generate expanded feature maps of different levels;

[0024] Step S34: image stitching, using attention gating to stitch the shrink feature map and the dilation feature map of the same level to obtain a stitched feature map;

[0025] Step S35: Output the image, use 1*1 two-dimensional convolution and Dropout layer to process the spliced ​​feature map, and use linear function to activate it, and output the final predicted image;

[0026] Furthermore, in step S5, the Transformer model is constructed, which specifically includes the following steps:

[0027] Step S51: The encoder uses the EfficientNet convolutional network to perform feature extraction, extract feature information from the preprocessed data, and output encoded feature data;

[0028] Step S52: adding a Transformer layer, after the encoder, adding a Transformer layer that integrates the multi-scale local attention mechanism and self-attention, capturing the long-range dependency in the encoded feature data, and outputting the dependency feature data;

[0029] Step S53: The decoder reconstructs the output coded feature data and dependent feature data using a 2*2 two-dimensional convolutional layer and an upsampling operation, and outputs the reconstructed data;

[0030] Furthermore, in step S52, the multi-scale local attention mechanism specifically includes the following steps:

[0031] Step S521: Obtain the hidden state, obtain the hidden state of the encoded feature data generated when the encoder processes the preprocessed data ,in, is the index, Indicates that at the current time step The hidden state on represents the total time step;

[0032] Step S522: Define a local context window. , define a size of The local context window of is the current time step The window includes the offset from arrive The hidden state of

[0033] Step S523: Calculate the attention score. For each The hidden state of , calculates the attention score, and the formula used is as follows:

[0034] ;

[0035] In the formula, , and represents the learnable weight matrix, is the hyperbolic tangent nonlinear activation function, is the transpose operation, is the time step The hidden state of is a natural number, and its value is [ t - N , t + N ] , Indicates the time step When Attention score;

[0036] Step S524: Normalize the attention weight, convert the attention score into a probability distribution, and use the softmax function to obtain the normalized attention weight. The formula used is as follows:

[0037] ;

[0038] In the formula, is a natural number, and its value is [ t - N , t + N ] , Indicates the time step When Attention score, is the natural exponential function, is the normalized attention weight;

[0039] Step S525: Weighted summation, using the normalized attention weights to perform weighted summation on the hidden states in the window to generate the current time step The attention vector is as follows:

[0040] ;

[0041] In the formula, Indicates the current time step The attention vector.

[0042] The beneficial effects achieved by the present invention using the above scheme are as follows:

[0043] (1) In view of the fact that the relationship between meteorological disaster warning and power facility safety mainly depends on GIS, sensor networks, automatic weather stations and remote sensing technology are used to monitor and collect various meteorological data in the areas where power facilities are located in real time. In view of the problem that the general meteorological forecast model is based on the analysis of historical meteorological data, the overall analysis may be too broad and cannot accurately identify the key sensitive points in the power grid. An improved Transformer generation model is used to conduct a comprehensive analysis of various meteorological data to generate a disaster prediction model, thereby improving the real-time and accuracy of meteorological disaster forecasting.

[0044] (2) A multi-scale local attention mechanism is added to the improved Transformer generation model to reduce the impact of irrelevant information, while capturing the hierarchical dependencies of different factors, enhancing the model's sensitivity to boundary information, and improving the accuracy of the model's extraction of key sensitive points in the power grid. This improves the practical value and pertinence of the early warning system, ensuring that early warnings can be issued in a timely and accurate manner before meteorological disasters occur, thus protecting the power infrastructure from damage. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of the intelligent meteorological disaster risk early warning system for electric power facilities provided by the present invention;

[0046] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0048] Example 1, see Figure 1 , the intelligent power facility meteorological disaster risk early warning system provided by the present invention includes a data acquisition module, a data analysis and modeling module, an early warning and decision support module, a visualization and reporting module and a linkage response module;

[0049] The data acquisition module collects real-time meteorological data using sensor networks, automatic weather stations and remote sensing technology, monitors key parameters of power facilities, and transmits the meteorological data and key parameters of power facilities as raw data to the data analysis and modeling module;

[0050] The data analysis and modeling module uses the improved Transformer generation model to process and analyze the original data, identify potential meteorological disaster risks, build a disaster prediction model, predict the impact that power facilities may suffer under specific meteorological conditions, generate meteorological disaster risk prediction information, and transmit it to the early warning and decision support module for early warning;

[0051] The warning and decision support module receives and detects meteorological disaster risk forecast information. When high-risk meteorological conditions are detected, the warning mechanism is automatically triggered, warning information is generated, and the warning information is sent to power companies, emergency management departments and relevant personnel, providing decision support tools to help power operators formulate preventive measures and emergency response plans;

[0052] The visualization and reporting module provides a user interactive interface to display meteorological data, meteorological disaster risk forecast information and warning information to facilitate retrospective analysis and improve system performance;

[0053] The linkage response module is linked with the power system to realize automatic control and protection actions of power, including adjusting load distribution, disconnecting vulnerable lines or starting backup power supplies, coordinating emergency resource scheduling, and ensuring that power supply can be quickly restored when a disaster occurs.

[0054] Embodiment 2, based on the above embodiment, in the data acquisition module, the meteorological data includes temperature, humidity, air pressure, wind speed, wind direction, precipitation, light intensity, solar radiation, visibility and dew point; the key parameters of the power facility involve electrical characteristics, mechanical strength and operating conditions, including resistance, reactance, conductance, susceptance, voltage, current, power, power factor, frequency and harmonic content;

[0055] In the specific implementation process, general meteorological data environmental factors will also have a certain impact on power facilities. For example, temperature, humidity and wind speed will affect the thermal stability and mechanical stability of power facilities. High temperature will cause the wires to expand and increase sagging, while strong winds may cause the wires to vibrate or swing, thereby increasing the risk of wear or breakage. Therefore, the long-term impact of these meteorological data on power facilities needs to be considered during data collection.

[0056] Embodiment 3: This embodiment is based on the above embodiment. In the data analysis and modeling module, the meteorological disaster risk prediction information includes the types and risk levels of meteorological disasters that have a significant impact on power facilities. The types of meteorological disasters include but are not limited to storms and strong winds, ice disasters and freezing rain, lightning, heavy rain and floods, high temperatures, blizzards, droughts, sandstorms and earthquakes. For these meteorological disasters, the risk level of power facilities is generally divided according to the degree of damage they may suffer and the severity of the impact on power supply. The risk levels include particularly severe, severe, relatively severe, general, and slight.

[0057] In the specific implementation process, the risk level is derived based on a comprehensive analysis of the geographical environment and meteorological information of the power facilities. Power facilities in mountainous areas may be subject to the risk of mudslides and landslides due to heavy rains, causing the power facilities to be buried or damaged. Therefore, when there is a possibility of heavy rain in the mountainous area, the risk level of the power information is derived based on a comprehensive analysis of the severity of the heavy rain and the corresponding geographical environment information, and early warning information is generated in the early warning and decision support module.

[0058] Embodiment 4: This embodiment is based on the above embodiment. The data analysis and modeling module uses an improved Transformer generation model to process and analyze the original data. Specifically, the following steps are included:

[0059] Step S1: data preprocessing, denoising and normalizing the original data to obtain preprocessed data;

[0060] Step S2: Conditional Generative Adversarial Network construction, using the generator and the discriminator to form a generative adversarial network, and adding conditional input information with guided generation process to construct the conditional generative adversarial network;

[0061] Step S3: Generator construction, using U-Net as the basic architecture, and adding attention gating for feature extraction and splicing;

[0062] Step S4: Discriminator construction, using PatchGAN (Patch-based GAN) as the discriminator to distinguish true and false images at the local level. The network structure of the discriminator includes an input layer, four convolutional layers and an output layer. Each convolutional layer contains 2*2 two-dimensional convolution, zero padding, batch normalization and ReLU activation function;

[0063] Step S5: Transformer model construction, using the encoder-decoder structure to build a Transformer model and generate reconstructed data;

[0064] Step S6: Model training, set the number of iterations and input conditions, generate random noise, use the Transformer model to process the preprocessed data to obtain reconstructed data; use the generator to receive random noise and conditional input to generate predicted data; use the discriminator to distinguish the data generated by the generator from the real data, and calculate the discriminator and generator losses, perform iterative training until the predetermined number of iterations is reached, and obtain a trained disaster prediction model;

[0065] Step S7: Loss function calculation, calculate the loss of the conditional generative adversarial network, the formula used is as follows:

[0066] L cGAN G, D = E x, y log D x, y + E x, z [ log 1-D x, G(x, z) ] ;

[0067] In the formula, For the generator, is the discriminator, For input data, For real data, is random noise, is a logarithmic function, express and expectations, express and expectations, Loss function for conditional generative adversarial networks.

[0068] Embodiment 5: This embodiment is based on the above embodiment. In step S2, a generator and a discriminator are used to form a generative adversarial network, and conditional input information with guiding generation process is added. In the specific implementation process, the following contents are included:

[0069] Define condition vector: create a condition vector including meteorological conditions and power facility operation parameters as condition input information;

[0070] Generator output: receives random noise and condition vector as input, and outputs an image or numerical data of the potential risk status of the power facility under given conditions.

[0071] Discriminator output: It receives the risk state of the power facility and the same condition vector as input and outputs a probability value to determine whether this state actually exists;

[0072] For example, a condition vector contains high temperatures, strong winds, and high humidity in summer, as well as high loads on power facilities. Such conditional inputs will guide the generator to generate risk states for power facilities under high temperature and high humidity conditions, which may result in higher risks of overheating, accelerated aging of insulation materials, and increased risks of short circuits due to humidity. The discriminator also determines the probability of each situation occurring, helping to better understand and prepare for possible future meteorological disaster risks to power facilities.

[0073] Embodiment 6: This embodiment is based on the above embodiment. In step S3, the generator is constructed, which specifically includes the following steps:

[0074] Step S31: Network structure, the network of the generator includes an input layer, five convolutional layers, two maximum pooling layers, two upsampling layers and an output layer;

[0075] Step S32: feature shrinkage, inputting conditional input information and random noise, using a convolutional layer to extract features, and using a maximum pooling layer to perform downsampling to generate shrinkage feature maps of different levels;

[0076] Step S33: feature expansion, using a 2*2 two-dimensional upsampling operation to generate expanded feature maps of different levels;

[0077] Step S34: image stitching, using attention gating to stitch the shrink feature map and the dilation feature map of the same level to obtain a stitched feature map;

[0078] Step S35: Output the image, use 1*1 two-dimensional convolution and Dropout layer to process the spliced ​​feature map, activate it with a linear function, and output the final predicted image.

[0079] Embodiment 7: This embodiment is based on the above embodiment. In step S5, a Transformer model is constructed, which specifically includes the following steps:

[0080] Step S51: The encoder uses the EfficientNet convolutional network to perform feature extraction, extract feature information from the preprocessed data, and output encoded feature data;

[0081] Step S52: adding a Transformer layer, after the encoder, adding a Transformer layer that integrates the multi-scale local attention mechanism and self-attention, capturing the long-range dependency in the encoded feature data, and outputting the dependency feature data;

[0082] Step S53: The decoder reconstructs the output coded feature data and dependent feature data using a 2*2 two-dimensional convolutional layer and an upsampling operation, and outputs the reconstructed data.

[0083] In view of the problem that the relationship between meteorological disaster warning and power facility safety mainly depends on GIS, sensor networks, automatic weather stations and remote sensing technology are used to monitor and collect various meteorological-related data in the areas where power facilities are located in real time; in view of the problem that general meteorological forecast models are based on the analysis of historical meteorological data, the overall analysis may be too broad and cannot accurately identify the key sensitive points in the power grid. An improved Transformer generation model is used to conduct a comprehensive analysis of meteorological-related data, generate a disaster prediction model, and improve the real-time and accuracy of meteorological disaster forecasts.

[0084] Embodiment 8, based on the above embodiment, in step S52, the multi-scale local attention mechanism specifically includes the following steps:

[0085] Step S521: Obtain the hidden state, obtain the hidden state of the encoded feature data generated when the encoder processes the preprocessed data ,in, is the index, Indicates that at the current time step The hidden state on represents the total time step;

[0086] Step S522: Define a local context window. , define a size of The local context window of is the current time step The window includes the offset from arrive The hidden state of

[0087] Step S523: Calculate the attention score. For each The hidden state of , calculates the attention score, and the formula used is as follows:

[0088] ;

[0089] In the formula, , and represents the learnable weight matrix, is the hyperbolic tangent nonlinear activation function, is the transpose operation, is the time step The hidden state of is a natural number, and its value is [ t - N , t + N ] , Indicates the time step When Attention score;

[0090] Step S524: Normalize the attention weight, convert the attention score into a probability distribution, and use the softmax function to obtain the normalized attention weight. The formula used is as follows:

[0091] ;

[0092] In the formula, is a natural number, and its value is [ t - N , t + N ] , Indicates the time step When Attention score, is the natural exponential function, is the normalized attention weight;

[0093] Step S525: Weighted summation, using the normalized attention weights to perform weighted summation on the hidden states in the window to generate the current time step The attention vector is as follows:

[0094] ;

[0095] In the formula, Indicates the current time step The attention vector.

[0096] A multi-scale local attention mechanism is added to the improved Transformer generation model to reduce the impact of irrelevant information, while capturing the hierarchical dependencies of different factors, enhancing the model's sensitivity to boundary information, and improving the accuracy of the model's extraction of key sensitive points in the power grid. This improves the practical value and pertinence of the early warning system, ensuring that early warnings can be issued in a timely and accurate manner before meteorological disasters occur, protecting the power infrastructure from damage.

[0097] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0098] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. Intelligent meteorological disaster risk early warning system for power facilities, characterized by: It includes data collection module, data analysis and modeling module, early warning and decision support module, visualization and reporting module and linkage response module; The data acquisition module collects real-time meteorological data using sensor networks, automatic weather stations and remote sensing technology, monitors key parameters of power facilities, and transmits the meteorological data and key parameters of power facilities as raw data to the data analysis and modeling module; The data analysis and modeling module uses the improved Transformer generation model to process and analyze the original data, identify potential meteorological disaster risks, build a disaster prediction model, generate meteorological disaster risk prediction information, and transmit it to the early warning and decision support module for early warning; The warning and decision support module receives and detects meteorological disaster risk forecast information. When high-risk meteorological conditions are detected, the warning mechanism is automatically triggered, warning information is generated, and the warning information is sent to the power company, emergency management department and relevant staff to provide decision support tools; The visualization and reporting module provides a user interactive interface to display meteorological data, meteorological disaster risk forecast information and warning information; The linkage response module is linked with the power system to realize the automatic control and protection actions of the power, including adjusting the load distribution, disconnecting the vulnerable lines or starting the backup power supply, and coordinating the dispatch of emergency resources; The data analysis and modeling module uses the improved Transformer generation model to process and analyze the original data, specifically including the following steps: Step S1: data preprocessing, denoising and normalizing the original data to obtain preprocessed data; Step S2: Conditional Generative Adversarial Network construction, using the generator and the discriminator to form a generative adversarial network, and adding conditional input information and random noise that guide the generation process to construct a conditional generative adversarial network; Step S3: Generator construction, using U-Net as the basic architecture, and adding attention gating for feature extraction and splicing; Step S4: Discriminator construction, using PatchGAN as the discriminator to distinguish true and false images at the local level. The network structure of the discriminator includes an input layer, four convolutional layers and an output layer. Each convolutional layer contains 2*2 two-dimensional convolution, zero padding, batch normalization and ReLU activation function; Step S5: Transformer model construction, using the encoder-decoder structure to build a Transformer model and generate reconstructed data; Step S6: Model training, set the number of iterations and conditional inputs, generate random noise, use the Transformer model to process the preprocessed data, and obtain reconstructed data; use the generator to receive random noise and conditional inputs to generate predicted data; use the discriminator to distinguish the data generated by the generator from the real data, and calculate the discriminator and generator losses, perform iterative training until the predetermined number of iterations is reached, and obtain a trained disaster prediction model; Step S7: loss function calculation, calculating the loss of the conditional generative adversarial network; In step S3, the generator is constructed, which specifically includes the following steps: Step S31: Network structure, the network of the generator includes an input layer, five convolutional layers, two maximum pooling layers, two upsampling layers and an output layer; Step S32: feature shrinkage, inputting conditional input information and random noise, using a convolutional layer to extract features, and using a maximum pooling layer to perform downsampling to generate shrinkage feature maps of different levels; Step S33: feature expansion, using a 2*2 two-dimensional upsampling operation to generate expanded feature maps of different levels; Step S34: image stitching, using attention gating to stitch the shrink feature map and the dilation feature map of the same level to obtain a stitched feature map; Step S35: Output the image, use 1*1 two-dimensional convolution and Dropout layer to process the spliced ​​feature map, and use linear function to activate it, and output the final predicted image; In step S5, the Transformer model is constructed, which specifically includes the following steps: Step S51: The encoder uses the EfficientNet convolutional network to perform feature extraction, extract feature information from the preprocessed data, and output encoded feature data; Step S52: adding a Transformer layer, after the encoder, adding a Transformer layer that integrates the multi-scale local attention mechanism and self-attention, capturing the long-range dependency in the encoded feature data, and outputting the dependency feature data; Step S53: The decoder reconstructs the output coded feature data and dependent feature data using a 2*2 two-dimensional convolutional layer and an upsampling operation, and outputs the reconstructed data; In step S52, the multi-scale local attention mechanism specifically includes the following steps: Step S521: Obtain the hidden state, obtain the hidden state of the encoded feature data generated when the encoder processes the preprocessed data ,in, is the index, Indicates that at the current time step The hidden state on represents the total time step; Step S522: Define a local context window. , define a size of The local context window of is the current time step The window includes the offset from arrive The hidden state of Step S523: Calculate the attention score. For each The hidden state of , calculates the attention score; Step S524: normalize the attention weight, convert the attention score into a probability distribution, and use the softmax function to obtain the normalized attention weight; Step S525: Weighted summation, using the normalized attention weights to perform weighted summation on the hidden states in the window to generate the current time step The attention vector.