A method and device for constructing a meteorological environment model driven by a discrete event simulation engine and a discrete grid
Through discrete event simulation engine and discrete grid-driven methods, the meteorological environment model entity, behavior and impact module are constructed, which solves the problem that the meteorological environment model in the existing technology is not close to reality enough, and improves the accuracy and authenticity of the simulation results.
Patent Information
- Application Number
- CN202410698085.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2044-05-31
AI Technical Summary
It is difficult for the prior art to build a more realistic meteorological environment model in simulation simulation, which affects the accuracy and authenticity of simulation results.
Using discrete event simulation engine and discrete grid-driven methods, the changes of meteorological entities in discrete grids are simulated and the impact of meteorological environment on simulation actions are calculated by constructing meteorological environment model entity modules, behavior modules and impact modules.
It realizes the construction of a meteorological environment scenario that is closer to reality in simulation simulation, and improves the accuracy and authenticity of simulation results.
Smart Images

Figure CN118643654B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer simulation, and in particular relates to a discrete event simulation engine and a discrete grid driven meteorological environment model construction method and device. Background Art
[0002] Meteorological environment models play an important role in many application fields, such as weather forecasting, environmental impact assessment, and climate research. With the rapid development of simulation technology, the factors that need to be comprehensively considered in simulation scenarios are constantly evolving in a more comprehensive and complex direction, and the simulation results need to be closer to the real world. Therefore, more realistic factors need to be considered in simulation scene construction and simulation data collection. At present, in simulation, the meteorological environment has an important impact on equipment performance, communication, and detection, and the meteorological environment model plays an important role in accurately predicting simulation results.
[0003] Discrete event simulation is an event-driven simulation method. In discrete event simulation, the complex behavior of the system is modeled as a series of discrete events, which occur at a specific time and cause the state of the system to change. The discrete event simulation engine is a bottom-level support platform for executing the discrete event simulation system, which has functions such as event management, time management and entity management. Discrete grids are a series of spatial units formed by dividing the continuous geographical space according to certain rules in the discrete event simulation system, which can store and display information on meteorological environmental elements such as terrain and weather. Common discrete grids include four-corner grids and hexagonal grids, but the discrete grids in the present invention are not limited to four-corner grids and hexagonal grids. The meteorological environment model based on the discrete event simulation engine and discrete grids refers to constructing meteorological entities based on discrete grids according to real weather phenomena, generating meteorological events, managing and scheduling events based on the discrete event simulation engine, and applying the simulation results to other simulation action models, thereby improving the scenes simulated by the simulation and providing users of the simulation system with a more realistic simulation environment.
[0004] Chinese Patent: Method for Establishing Three-Dimensional Wind Field Model Based on Meteorological Monitoring (CN 117150933A), provides a method for three-dimensional wind field modeling based on meteorological monitoring, which uses a three-dimensional meteorological modeling program to construct a three-dimensional wind field model to be measured based on the wind field environmental meteorological data in the meteorological monitoring data. Chinese Patent: High-dimensional Construction and Completion Method, System, Device and Medium for Micro-Meteorological Monitoring Device (CN 113408788 A), constructs a three-dimensional missing tensor based on monitoring information, and fills in the missing values of the micro-meteorological monitoring device based on the three-dimensional missing tensor and low-rank tensor completion algorithm. The above patents are not based on discrete grids, nor do they construct models for discrete event simulation engines, and are not suitable for discrete event simulation. Summary of the invention
[0005] The purpose of the present invention is to provide a discrete event simulation engine and a discrete grid driven meteorological environment model construction method, wherein the meteorological environment model is composed of three modules: a meteorological environment model entity module, a meteorological environment model behavior module, and a meteorological environment model impact module. The meteorological environment model entity module and the meteorological environment model behavior module help simulation system users to build a scene that is closer to reality; the meteorological environment model impact module provides the impact of the meteorological environment on other simulation actions, creates a more realistic environment for simulation system users, and improves the accuracy and authenticity of simulation results.
[0006] The technical solution adopted by the present invention is as follows:
[0007] A method for constructing a meteorological environment model driven by a discrete event simulation engine and a discrete grid comprises the following steps:
[0008] Construct meteorological entities, including weather phenomena and weather levels;
[0009] According to the change of meteorological entity's attributes, the process from the generation to the extinction of meteorological entity in discrete grid is simulated to obtain the meteorological entity behavior event;
[0010] The impact factors are calculated based on the attributes of meteorological entities and the behavior events of meteorological entities, and the impact of the meteorological environment on the simulation actions is determined according to the impact factors.
[0011] Furthermore, the weather phenomena include clouds, fog, wind, rain, snow, and hail; the weather levels include mild, moderate, and severe; and the attributes of each weather phenomenon include: speed, direction, starting longitude, starting latitude, meteorological level, and attenuation rate.
[0012] Furthermore, the meteorological entity behavior events include meteorological entity generation events, meteorological entity flow events and meteorological entity extinction events.
[0013] Furthermore, for the wind entity, simulating the process from generation to extinction of the meteorological entity in the discrete grid according to the change of the attribute of the meteorological entity includes:
[0014] Generate wind entity generation events and obtain various attribute information of wind entity in the current discrete grid;
[0015] Determine whether the wind speed is greater than or equal to the minimum threshold. The minimum threshold is determined based on the threshold issued by the meteorological and environmental authority. Only when the wind speed reaches a certain value will the wind entity flow; otherwise, the wind entity disappears.
[0016] Determine the next adjacent grid according to the wind direction, calculate the distance from the current grid to the next grid, and determine the wind speed and wind force level in the next grid based on the wind force attenuation rate in the wind entity and the wind force in the current grid, and update the attribute information of the wind entity in the next grid;
[0017] Generate a wind entity flow event, and the wind entity moves to the next grid. If the wind speed and wind force level of the wind entity in the next grid are less than the minimum threshold, a wind entity extinction event is generated, and the wind entity extincts.
[0018] Calculate and update the wind entity attribute information in the next grid.
[0019] Further, the calculation of the impact factor based on the attributes of the meteorological entity and the meteorological entity behavior events includes:
[0020] Obtaining discrete grid information, including obtaining the discrete grid number that generates the meteorological entity, and obtaining the meteorological entity of the discrete grid;
[0021] According to the values of various attributes of meteorological entities in meteorological entity behavior events, the impact factors of meteorological environment on simulation actions are calculated.
[0022] Furthermore, determining the impact of the meteorological environment on the simulation action based on the impact factor includes: judging whether the impact factor is less than a meteorological impact threshold, wherein the meteorological impact threshold is set by an empirical value of meteorological observations; if it is less than the meteorological impact threshold, it indicates that there is no impact on the current simulation action; otherwise, it indicates that there will be an impact on the current simulation action.
[0023] Furthermore, the simulated actions include maneuvering actions, detection actions and damaging actions; the impact of the meteorological environment on maneuvering actions is manifested as a change in maneuvering speed; the impact of the meteorological environment on detection actions is manifested as a change in the detection probability of the detector for the target; the impact of the meteorological environment on damaging actions is manifested as a change in the probability of damaging the target.
[0024] A discrete event simulation engine and a discrete grid driven meteorological environment model construction device, comprising:
[0025] Meteorological environment model entity module, used to construct meteorological entities, including weather phenomena and weather levels;
[0026] The meteorological environment model behavior module is used to simulate the process from the generation to the extinction of meteorological entities in discrete grids according to the changes in the attributes of meteorological entities, and obtain meteorological entity behavior events;
[0027] The meteorological environment model impact module is used to calculate the impact factor based on the attributes of the meteorological entity and the meteorological entity behavior events, and determine the impact of the meteorological environment on the simulation action according to the impact factor.
[0028] The beneficial effects of the present invention are as follows:
[0029] The present invention provides a discrete event simulation engine and a discrete grid-driven meteorological environment model construction scheme, which can combine discrete grids to model the meteorological environment, construct a meteorological environment scene that is closer to reality, and reflect the impact of the meteorological environment on other simulation actions, thereby improving the accuracy and authenticity of the simulation results.
[0030] The present invention combines discrete grids and meteorological environment models, which can help simulation modelers build a meteorological environment model based on discrete grids according to the collected meteorological data, and by constructing a meteorological environment impact module, it can realize the integration of meteorological environment and simulation, support the creation of a simulation environment that is closer to reality, and fully improve the accuracy and authenticity of the simulation results. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is the overall architecture diagram.
[0032] Figure 2 This is an example of C code description of wind weather attributes.
[0033] Figure 3 This is an example diagram of modeling the behavior module of the meteorological environment model.
[0034] Figure 4 This is an example diagram of wind weather behavior.
[0035] Figure 5 It is the modeling flow chart of the meteorological environment model impact module. DETAILED DESCRIPTION
[0036] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below through specific embodiments and drawings.
[0037] The present invention provides a discrete event simulation engine and a method for constructing a meteorological environment model driven by a discrete grid. Figure 1 As shown in the figure, it mainly includes three modules, namely, meteorological environment model entity module, meteorological environment model behavior module and meteorological environment model impact module. Among them, the meteorological environment model entity module includes the simulation of weather phenomena and weather levels; the meteorological environment model behavior module simulates the process from the generation to the extinction of meteorological entities by calculating the changes of meteorological entities in discrete grids; the meteorological environment model impact module calculates the impact factor based on meteorological data and the impact of meteorology on other simulation actions (such as military actions), applies the impact factor to other simulation action models, generates the impact effect on other simulation actions, and finally feeds the impact effect back to other simulation actions.
[0038] 1. Meteorological environment model entity module
[0039] The meteorological environment model describes the spatial distribution of meteorological elements in a certain area within a certain period of time and its change over time according to the spatial distribution law of meteorological elements. Meteorological entities are simulations of meteorological elements, including weather phenomena and weather levels. Among them, weather phenomena mainly include clouds, fog, wind, rain, snow, hail, etc. Each weather phenomenon is divided into mild, moderate and severe levels, and each weather has different description attributes due to its different appearance. The meteorological environment model entity module realizes the qualitative and quantitative modeling of complex weather. The following takes wind weather as an example, where the C code description of the meteorological environment entity is as follows: Figure 2 shown.
[0040] In wind weather, the main attributes to consider include wind speed, direction, wind force level (i.e. Figure 1 The weather level in the table is the starting point of the latitude and longitude and the wind attenuation rate. The wind attenuation rate refers to the degree of wind attenuation during the flow of the wind entity. The weather level is applicable to each weather.
[0041] Taking C code as an example, the weather level can be described as:
[0042] enum{LIGHT,MODERATE,HEAVY}weatherLevel
[0043] Among them, enum indicates that the data type of the weather level in the code is an enumeration type, LIGHT indicates light, MODERATE indicates moderate, HEAVY indicates heavy, and weatherLevel indicates the weather level.
[0044] Among the attributes of wind weather, the wind force level is divided into 0 to 17 levels according to the level classification in meteorology. The comparison table of weather level and wind force level is shown in Table 1.
[0045] Table 1 Comparison table of weather levels and wind force levels
[0046] Wind level Weather Level 0~4 LIGHT 5~9 MODERATE 10~17 HEAVY
[0047] 2. Meteorological environment model behavior module
[0048] The meteorological environment model behavior module mainly combines the attributes of meteorological environment entities, describes the behavioral characteristics of meteorological entities themselves, and constructs their dynamic behaviors according to the characteristics of meteorological movement and evolution of each weather.
[0049] The modeling process of the meteorological environment model behavior module is divided into three events: meteorological entity generation, meteorological entity flow, and meteorological entity extinction. Any change in the entity will trigger the corresponding event, which is managed and scheduled by the discrete event engine.
[0050] Taking the wind entity as an example, the modeling process of the meteorological environment model behavior module is as follows: Figure 3 The specific steps are as follows:
[0051] Step 1: Generate a wind entity generation event and obtain various attribute information of the wind entity in the current discrete grid.
[0052] Step 2: Determine whether the wind speed is greater than or equal to the minimum threshold. The minimum threshold is determined based on the threshold issued by the meteorological and environmental authority. Only when the wind speed reaches a certain value will the wind entity flow; otherwise, the entity disappears.
[0053] Step 3: Determine the next adjacent four-corner grid according to the wind direction, calculate the distance from the current grid to the next grid, and combine the wind attenuation rate in the wind entity and the wind force in the current four-corner grid to determine the wind speed and wind force level in the next four-corner grid, and update the attribute information of the wind entity in the next four-corner grid.
[0054] Step 4: Generate a wind entity flow event, and the wind entity moves to the next grid. If the wind speed and wind force level of the wind entity in the next four-corner grid are less than the minimum threshold, a wind entity extinction event is generated, and the wind entity disappears.
[0055] Step 5: Calculate and update the wind entity attribute information in the next grid, generate a meteorological entity flow event, and move to the next grid.
[0056] Take the construction of wind weather behavior in a four-corner grid as an example. Figure 4 As shown in the figure, the starting point of longitude and latitude corresponds to the longitude and latitude of the center of the No. 1 quadrilateral grid, which means that the wind entity is generated in the No. 1 grid, and the entity generation event is triggered at the same time, and the wind entity and related attributes are generated in the No. 1 quadrilateral grid; then according to the wind direction ( Figure 4 The next four-corner grid, i.e., grid No. 4, is determined (as indicated by the arrow in the middle), and a meteorological entity movement event is triggered; the wind speed and wind force level after the meteorological environment entity moves to the new grid are calculated based on the wind speed, wind force attenuation rate, and distance between grids of the meteorological entity, so as to construct the wind entity attribute information in the grid; the wind entity movement event is continued to be triggered, and the above calculation process is repeated until the n-th four-corner grid is reached. After calculation, the wind speed value in the grid is less than the minimum threshold (the minimum threshold is determined by the authoritative data released by the meteorological department), and the wind force level decays from level 4 to level 0, triggering the entity extinction event, and the wind entity extincts. Through the above process, the generation, flow, and extinction of wind entities can be simulated.
[0057] 3. Meteorological environment model impact module
[0058] The meteorological environment model impact module calculates and updates meteorological entity attributes based on the meteorological entity behavior events in the meteorological environment model behavior module, and calculates meteorological factors based on wind speed, wind direction, wind force level and other factors. It also applies meteorological factors to other simulation actions, which will affect other simulation actions and finally feed back the impact effects to other simulation actions. Other simulation actions that can be affected by changes in meteorological environment entity attribute information include detection, damage and maneuvering.
[0059] The specific process of building a meteorological environment impact model is as follows: Figure 5 The specific process is as follows:
[0060] Step 1: Obtain discrete grid information, that is, obtain the discrete grid number that generates the meteorological entity, and obtain the meteorological entity of the grid.
[0061] Step 2: The meteorological entity flow events are generated by the meteorological environment model behavior module. According to the values of various attributes of the meteorological entity, the impact factors of the meteorological environment on the actions in the simulation are calculated.
[0062] Taking detection action as an example, the impact factor is expressed as the detection probability, which is calculated as follows:
[0063] Detection probability = sensor effectiveness × sensor type day / night factor × meteorological factor × unit detection probability
[0064] Among them, sensor effectiveness is a parameter that characterizes the detection performance of the sensor; the sensor type day / night coefficient characterizes the influence of day and night on sensor detection; the meteorological factor is the meteorological condition influence coefficient, that is, the influence coefficient of meteorological conditions on sensor detection. The partial mapping between meteorological factors and meteorological conditions is shown in Table 2; the unit detection probability characterizes the probability of a unit (such as a certain unit) being detected.
[0065] Table 2 Comparison table of meteorological conditions and meteorological factors
[0066] Weather conditions Meteorological factors Snow, no wind 1 Snow, windy 0.7 Snow, strong wind 0.3 Snow, fog, no wind 1 Snow, fog, wind 0.7 Rain, no wind 1 Rain, wind 0.7 Fog, no wind 1 Fog, windy 0.7 Clear with wind 0.7 Clear, windy 0.3
[0067] The calm, windy and strong winds in Table 2 correspond to the three levels of wind weather grade: light, moderate and severe respectively.
[0068] Step 3: Determine whether the impact factor is less than the meteorological impact threshold, where the meteorological impact threshold is set by the empirical value of meteorological observation. If it is less than the meteorological impact threshold, it indicates that there is no impact on the current action; otherwise, it indicates that there will be an impact on the current action.
[0069] Step 4: The actions that can be affected by the meteorological environment model impact module include maneuvering actions, detection actions, and damage actions. Among them, the impact on maneuvering actions is manifested as a change in the maneuvering rate. For example, in foggy weather, the size of the fog affects the flight rate of the aircraft during flight; the impact on detection actions is manifested as a change in the detection probability of the detector to the target. For example, the probability of detecting a target in clear weather is greater than the probability of detecting in foggy weather; the impact on damage actions is manifested as a change in the probability of damage to the target.
[0070] In summary, the present invention proposes a method for constructing a meteorological environment model driven by a discrete event simulation engine and a discrete grid, including a meteorological environment model entity module, a meteorological environment model behavior module, and a meteorological environment model impact module. Among them, the meteorological environment model entity module includes the simulation of weather phenomena and weather levels; the meteorological environment model behavior module calculates meteorological entity attribute information based on discrete grids, and simulates the process from generation to extinction of meteorological entities in discrete grids through changes in entity attributes; the meteorological environment impact module simulates the impact of the meteorological environment on simulation actions.
[0071] Another embodiment of the present invention provides a computer device (computer, server, smart phone, etc.), which includes a memory and a processor, the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program includes instructions for executing each step in the method of the present invention.
[0072] Another embodiment of the present invention provides a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk), wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the steps of the method of the present invention are implemented.
[0073] The specific embodiments of the present invention disclosed above are intended to help understand the content of the present invention and implement it accordingly. It can be understood by those skilled in the art that various replacements, changes and modifications are possible without departing from the spirit and scope of the present invention. The present invention should not be limited to the contents disclosed in the embodiments of this specification, and the scope of protection of the present invention shall be subject to the scope defined in the claims.
Claims
1. A method for constructing a meteorological environment model driven by a discrete event simulation engine and a discrete grid, characterized in that: The following steps are involved: Construct meteorological entities, including weather phenomena and weather levels; According to the change of meteorological entity's attributes, the process from the generation to the extinction of meteorological entity in discrete grid is simulated to obtain the meteorological entity behavior event; Calculate the impact factor based on the attributes of the meteorological entity and the meteorological entity behavior events, and determine the impact of the meteorological environment on the simulation action according to the impact factor; The meteorological entity behavior events include meteorological entity generation events, meteorological entity flow events and meteorological entity extinction events; The simulated actions include maneuvering actions, detection actions and destruction actions; the influence of the meteorological environment on maneuvering actions is manifested as a change in the maneuvering rate; the influence of the meteorological environment on detection actions is manifested as a change in the detection probability of the detector to the target; the influence of the meteorological environment on destruction actions is manifested as a change in the destruction probability of the target; For the wind entity, the simulation of the process from generation to extinction of the meteorological entity in the discrete grid according to the change of the attribute of the meteorological entity includes: Generate wind entity generation events and obtain various attribute information of wind entity in the current discrete grid; Determine whether the wind speed is greater than or equal to the minimum threshold. The minimum threshold is determined based on the threshold issued by the meteorological and environmental authority. Only when the wind speed reaches a certain value will the wind entity flow; otherwise, the wind entity disappears. Determine the next adjacent grid according to the wind direction, calculate the distance from the current grid to the next grid, and determine the wind speed and wind force level in the next grid based on the wind force attenuation rate in the wind entity and the wind force in the current grid, and update the attribute information of the wind entity in the next grid; Generate a wind entity flow event, and the wind entity moves to the next grid. If the wind speed and wind force level of the wind entity in the next grid are less than the minimum threshold, a wind entity extinction event is generated, and the wind entity extincts. Calculate and update the wind entity attribute information in the next grid.
2. The method according to claim 1, characterized in that The weather phenomena include clouds, fog, wind, rain, snow, and hail; the weather levels include mild, moderate, and severe; the attributes of each weather phenomenon include: speed, direction, starting longitude, starting latitude, meteorological level, and attenuation rate.
3. The method according to claim 1, characterized in that The calculation of the impact factor based on the attributes of the meteorological entity and the meteorological entity behavior events includes: Obtaining discrete grid information, including obtaining the discrete grid number that generates the meteorological entity, and obtaining the meteorological entity of the discrete grid; According to the values of various attributes of meteorological entities in meteorological entity behavior events, the impact factors of meteorological environment on simulation actions are calculated.
4. The method according to claim 1, characterized in that Determining the impact of the meteorological environment on the simulation action based on the impact factor includes: judging whether the impact factor is less than a meteorological impact threshold, wherein the meteorological impact threshold is set by an empirical value of meteorological observations; if it is less than the meteorological impact threshold, it indicates that there is no impact on the current simulation action; otherwise, it indicates that there will be an impact on the current simulation action.
5. A meteorological environment model construction device using a discrete event simulation engine and a discrete grid driven by the method according to any one of claims 1 to 4, characterized in that: include: Meteorological environment model entity module, used to construct meteorological entities, including weather phenomena and weather levels; The meteorological environment model behavior module is used to simulate the process from the generation to the extinction of meteorological entities in discrete grids according to the changes in the attributes of meteorological entities, and obtain meteorological entity behavior events; The meteorological environment model impact module is used to calculate the impact factor based on the attributes of the meteorological entity and the meteorological entity behavior events, and determine the impact of the meteorological environment on the simulation action according to the impact factor.
6. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program comprises instructions for executing the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
High-dimensional construction and completion method, system and device for micrometeorological monitoring device and medium
CN113408788A
Typhoon wind field simulation system and method for improving precision of ocean model
CN116595913A
Meteorological monitoring-based three-dimensional wind field model establishment method
CN117150933A