An attack-defense confrontation method and system based on chemical engineering dynamic simulation
By constructing an offensive and defensive confrontation method in the chemical simulation training system, and utilizing a fault interference mode library and evaluation mechanism, the problems of fixed and high technical thresholds in existing systems are solved, realizing the dynamism and strategic game-like nature of chemical skills training, and improving the effectiveness of skills training.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-24
- Publication Date
- 2026-04-07
AI Technical Summary
Existing chemical simulation training systems lack randomness, sporadic occurrences, and engaging elements, resulting in reduced training value. Furthermore, the real-time accident setting function is difficult to promote due to its high technical threshold, which fails to stimulate user interest.
An adversarial training environment is constructed based on chemical dynamic simulation. Fault interference parameters and a mode library are set. The attack and defense adversarial training parameters are set through the task configuration unit. The attacker and defender perform simulation operations and responses, and the evaluation unit performs real-time evaluation.
It enhances the realism and randomness of training scenarios, cultivates the ability to handle complex faults, stimulates learning motivation, and significantly improves skill levels.
Smart Images

Figure CN120997011B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of dynamic simulation of chemical processes and skills training technology, and specifically relates to an offensive and defensive confrontation method and system based on dynamic simulation of chemical processes. Background Technology
[0002] Chemical dynamic simulation technology plays a vital role in chemical engineering training and has been fully accepted and valued by petrochemical enterprises both domestically and internationally. Chemical simulation training systems utilize dynamic simulation technology to provide a simulated on-site operating environment for training process technicians and operators. This allows them to gain a deeper understanding of process mechanisms, become familiar with operations, simulate accidents, and increase their experience. Through training operators to perform precise operations, economic efficiency is improved.
[0003] Currently, most mainstream chemical simulation training systems are used for training on plant start-up and shutdown, and pre-set accident handling. As training time increases, many people become very familiar with the existing pre-set training resources, lacking the randomness, sporadic nature, and interest of simulated accident interference. Gradually, the application value of simulation training systems decreases, and their lifespan shortens.
[0004] A small number of mainstream chemical simulation training systems have real-time, online accident setting functions, but due to the high technical difficulty and high technical requirements for configuration personnel, they cannot be widely promoted and applied. At the same time, due to their strong technical characteristics, they are difficult to arouse users' interest.
[0005] Therefore, the existing technology has problems and needs further improvement and development. Summary of the Invention
[0006] (I) Purpose of the invention: In order to solve the problems existing in the prior art, the purpose of this invention is to provide a method and system for attack and defense based on chemical dynamic simulation to improve the training level of highly skilled personnel in industry.
[0007] (II) Technical Solution: To solve the above-mentioned technical problems, this technical solution provides an offensive and defensive countermeasure method based on chemical dynamic simulation, including the following steps:
[0008] An adversarial training environment for chemical equipment and processes is constructed based on dynamic simulation units, and fault interference parameters associated with chemical equipment and processes are set, as well as a fault interference mode library associated with fault interference parameters.
[0009] The attack and defense confrontation training parameters are set through the task configuration unit. The confrontation training parameters include the training objective, the upper limit of the number of fault interference slots, the fault interference release interval and release rules. Based on the confrontation training parameters, the fault interference mode library is called to generate fault interference test cases corresponding to the attack and defense confrontation training.
[0010] The attacker selects a fault interference test case through the simulation operation interface, and then injects it into the adversarial training environment after adjusting the fault interference parameters in the fault interference test case using the attack strategy.
[0011] The defender receives alarm information from fault interference test cases through the simulation operation interface and performs handling operations on the fault interference test cases based on the preset chemical operation rules.
[0012] The evaluation unit performs real-time assessment and displays the effectiveness and strategic rationality of the attacker's operational failure interference test cases, as well as the defender's operational efficiency, decision-making ability, and result recovery indicators in handling the failure interference test cases.
[0013] Furthermore, the dynamic simulation unit simulates the equipment status parameters during normal operation of the chemical equipment, and the equipment failure status during abnormal handling of the chemical equipment; based on the equipment status parameters and the simulated process dynamic parameters of at least one chemical process during normal operation, and the deviation of process parameters during abnormal handling of the chemical process.
[0014] Furthermore, the dynamic simulation unit includes a chemical equipment simulation submodule and a chemical process simulation submodule, which are linked and transmitted through equipment status parameters;
[0015] The chemical equipment simulation submodule simulates the equipment status parameters of at least one chemical equipment during normal operation and the equipment fault status during abnormal handling. The equipment fault status is triggered by preset fault interference parameters.
[0016] The chemical process simulation submodule takes the equipment status parameters output in real time by the chemical equipment simulation submodule as input to simulate the process status parameters of at least one chemical process during normal operation and the deviation of process parameters during abnormal handling.
[0017] Furthermore, the training objectives include equipment failure handling or process anomaly control.
[0018] Furthermore, the fault interference mode library stores multiple fault interference modes, which include fault interference parameters, abnormal ranges of equipment status parameters, and corresponding deviation logic of process parameters corresponding to the relationship between the fault interference mode and the chemical equipment and process engineering.
[0019] Furthermore, based on the adversarial training parameters, a fault interference mode library is invoked, and multiple fault interference modes in the fault interference mode library generate fault interference test cases corresponding to the attack and defense adversarial training.
[0020] Furthermore, the fault interference parameters include equipment fault type, process abnormality type, fault interference degree, and triggering conditions.
[0021] Furthermore, the attacker selects any fault interference mode in the fault interference test case through the simulation operation interface and adjusts it. The adjusted fault interference mode is loaded into the fault interference slot. According to the release interval and release rules in the attack strategy, the fault interference mode is injected into the chemical equipment simulation submodule, triggering the corresponding equipment fault state and causing abnormal equipment status parameters.
[0022] The actions performed by the defender in executing the fault interference test case include: adjusting equipment status parameters, switching to backup equipment, or optimizing process control parameters.
[0023] Furthermore, the fault interference test case consists of fault interference modes in multiple fault interference slots. Each fault interference slot loads an independent fault interference mode, and the number of fault interference modes is equal to the actual number of fault interference slots loaded. The attacker can adjust the arrangement order of the fault interference modes in the fault interference slots by dragging and dropping, and release the fault interference modes according to the adjusted arrangement order to construct a fault interference chain.
[0024] Furthermore, the setting of the fault interference parameters includes precise fault injection based on location settings: the dynamic simulation unit is configured with a location setting module, which identifies the location of the target equipment in the chemical equipment simulation submodule through spatial topology analysis or image processing, and the location is a physical coordinate parameter; when setting the fault interference parameters, the attacker needs to specify the specific equipment location for fault injection through the location setting module, and configure the fault type and fault degree matching the location; the location parameters are based on physical coordinate parameters, and auxiliary parameters include process level parameters, instrument measurement point parameters, and equipment association parameters; the generated fault interference test cases include location parameters.
[0025] Furthermore, a mapping relationship between location parameters and fault types is preset in the fault interference mode library. After the attacker selects the device location settings for the fault interference use case, they can only configure the faults of devices associated with the location, and the fault severity is constrained by the location parameters.
[0026] A chemical engineering dynamic simulation-based offensive and defensive system includes a dynamic simulation unit, a task configuration unit, an attacker's operation unit, a defender's operation unit, and an evaluation unit.
[0027] The dynamic simulation unit simulates and constructs an adversarial training environment for chemical equipment and chemical processes, and sets fault interference parameters associated with chemical equipment and chemical processes, as well as a fault interference mode library associated with the fault interference parameters.
[0028] The task configuration unit sets the attack and defense confrontation training parameters, which include the training objective, the upper limit of the number of fault interference slots, the fault interference release interval and release rules, and the fault interference mode library is called to generate fault interference test cases corresponding to the attack and defense confrontation training based on the confrontation training parameters.
[0029] The attacker's operation unit in the simulation operation interface selects a fault interference case and injects it into the adversarial training environment after adjusting the fault interference parameters in the fault interference case using an attack strategy.
[0030] The defending operation unit in the simulation operation interface receives alarm information from fault interference cases and performs handling operations on the fault interference cases based on preset chemical operation rules.
[0031] The evaluation unit performs real-time evaluation and displays the effectiveness and strategic rationality of the attacking party's operational unit's operational failure interference test cases, as well as the defensive party's operational unit's operational efficiency, decision-making ability, and result recovery indicators in handling the interference test cases.
[0032] (III) Beneficial Effects: This invention, based on a dynamic chemical engineering simulation-based offensive and defensive confrontation method and system, addresses the core pain points of traditional chemical engineering simulation training systems—namely, fixed faults, complex configurations, biased evaluations, and insufficient realism—by constructing an adversarial training environment, generating intelligent faults, facilitating interactive offensive and defensive confrontations, and implementing two-way quantitative evaluation. It enhances the realism and randomness of training scenarios and cultivates the ability to handle complex faults. Attackers can configure faults visually through the simulation operation interface of the positioning and setting module, lowering the threshold for fault configuration and supporting the rapid expansion of personalized training scenarios. Finally, it strengthens the strategic game aspect of offensive and defensive confrontations, stimulating proactive learning motivation. This invention, through the deep integration of dynamic simulation technology and offensive and defensive confrontation mechanisms, upgrades chemical engineering skills training from static procedural drills to dynamic engineering practice, significantly improving trainees' ability to handle complex faults, their depth of understanding of process mechanisms, and the flexibility of strategic decision-making. It provides core technical support for the cultivation of highly skilled personnel in the process industry and has significant economic and social value. Attached Figure Description
[0033] Figure 1 This is a schematic diagram illustrating the steps of an attack and defense method based on chemical dynamic simulation according to the present invention.
[0034] Figure 2 This is a schematic diagram of the attack and defense confrontation system based on chemical dynamic simulation according to the present invention;
[0035] Figure 3 This is a schematic diagram of the structure of the dynamic simulation unit in a second preferred embodiment of the attack and defense confrontation method and system based on chemical dynamic simulation of the present invention.
[0036] Reference numerals: 1. Dynamic simulation unit; 2. Task configuration unit; 3. Defender operation unit; 4. Attacker operation unit; 5. Evaluation unit; 101. Chemical equipment simulation submodule; 102. Chemical process simulation submodule. Detailed Implementation
[0037] The present invention will be further described in detail below with reference to preferred embodiments. More details are set forth in the following description in order to provide a full understanding of the present invention. However, the present invention can obviously be implemented in many other ways different from those described herein. Those skilled in the art can make similar extensions and derivations based on actual application situations without departing from the spirit of the present invention. Therefore, the scope of protection of the present invention should not be limited by the content of this specific embodiment.
[0038] The accompanying drawings are schematic diagrams of embodiments of the present invention. It should be noted that these drawings are for illustrative purposes only and are not drawn to scale, and should not be construed as limiting the actual scope of protection of the present invention.
[0039] like Figure 1 As shown, a first preferred embodiment of the attack and defense confrontation method based on chemical dynamic simulation of the present invention includes the following steps:
[0040] Based on the dynamic simulation unit 1, an adversarial training environment for chemical equipment and chemical processes is constructed, and fault interference parameters associated with chemical equipment and chemical processes are set, as well as a fault interference mode library associated with fault interference parameters.
[0041] The attack and defense confrontation training parameters are set through the task configuration unit 2. The confrontation training parameters include the training objective, the upper limit of the number of fault interference slots, the fault interference release interval and release rules. Based on the confrontation training parameters, the fault interference mode library is called to generate fault interference test cases corresponding to the attack and defense confrontation training.
[0042] The attacker selects a fault interference test case through the simulation operation interface, and then injects it into the adversarial training environment after adjusting the fault interference parameters in the fault interference test case using the attack strategy.
[0043] The defender receives alarm information from fault interference test cases through the simulation operation interface and performs handling operations on the fault interference test cases based on the preset chemical operation rules.
[0044] The evaluation unit 5 provides real-time assessment and display of the effectiveness and strategic rationality of the attacker's operational failure interference test cases, as well as the defender's operational efficiency, decision-making ability, and result recovery indicators in handling failure interference test cases.
[0045] This invention provides a chemical dynamic simulation-based attack and defense method. It generates fault interference test cases through a fault interference mode library, allowing for the configuration of complex fault interference test cases via an interface without programming, thus lowering the threshold for fault configuration and supporting rapid expansion of training scenarios. Furthermore, the dynamic release of fault interference modes for test cases through fault interference slots enhances the practicality and randomness of training, cultivating responsible fault handling capabilities. Finally, the invention's bidirectional evaluation system enables attackers to optimize fault interference test case settings based on evaluation results, while defenders can improve handling procedures through debriefing reports, thereby enhancing training effectiveness.
[0046] The dynamic simulation unit 1 of this invention simulates the equipment status parameters during normal operation of chemical equipment and the equipment fault status during abnormal handling of chemical equipment; it also simulates the process dynamic parameters of at least one chemical process during normal operation and the deviation of process parameters during abnormal handling of chemical processes based on the equipment status parameters. Preferably, the dynamic simulation unit 1 includes a chemical equipment simulation submodule 101 and a chemical process simulation submodule 102, which are linked and transmitted through equipment status parameters. The chemical equipment simulation submodule 101 simulates the equipment status parameters of at least one chemical equipment during normal operation and the equipment fault status during abnormal handling, wherein the equipment fault status is triggered by preset fault interference parameters. The chemical process simulation submodule 102 takes the equipment status parameters output in real time by the chemical equipment simulation submodule 101 as input and simulates the process status parameters of at least one chemical process during normal operation and the deviation of process parameters during abnormal handling. The fault interference parameters of this invention include equipment fault type, process abnormality type, fault interference degree, and triggering conditions.
[0047] A second preferred embodiment of the attack and defense confrontation method based on chemical dynamic simulation of the present invention is as follows:
[0048] like Figure 3 As shown, the dynamic simulation unit 1 takes the distillation unit of the styrene plant as the simulation object. The dynamic simulation unit 1 includes a chemical equipment simulation submodule 101 and a chemical process simulation submodule 102, which are linked in real time through equipment status parameters.
[0049] The chemical equipment simulation submodule 101 includes simulated chemical equipment such as: a top reflux pump, a styrene distillation column, a heat exchanger, and valves.
[0050] The chemical process simulation submodule 102 simulates the process of raw material feeding, distillation separation, and product extraction. The equipment status parameters of the dynamic simulation unit 1, which takes the distillation unit of the styrene plant as the simulation object, include: top temperature, bottom pressure, styrene product purity, and reflux rate.
[0051] The chemical equipment simulation submodule 101 simulates the normal operation and abnormal handling states of the equipment through algorithms, as detailed below:
[0052] The equipment status parameters during normal operation of the chemical equipment, taking the top reflux pump as an example, include speed, outlet flow rate, current, vibration value, etc., calculated based on the pump performance curve. Preferred:
[0053] Normal operating speed: 2900 rpm, fluctuation range ±50 rpm;
[0054] Outlet flow rate: Based on an inlet pressure of 0.5 MPa and an outlet pressure of 1.2 MPa, the calculated outlet flow rate is 100 m³ / h;
[0055] Current: The calculated shaft power is 15kW, corresponding to a current of 29A;
[0056] Vibration value: 2.5 mm / s, within the normal operating range of ≤4.5 mm / s.
[0057] The equipment failure state during abnormal handling of chemical equipment triggered by fault interference parameters includes the attacker's setting and adjustment of fault interference parameters. For example, the equipment failure type is pump cavitation, the failure severity is 50%, and the triggering condition is inlet pressure < 0.3MPa, triggering the abnormal state of the tower top reflux pump. The chemical equipment simulation submodule 101 simulates the failure mechanism through an algorithm: pump cavitation leads to a local vacuum in the pump impeller, and the flow rate and head curve drop sharply to obtain abnormal equipment state parameters.
[0058] Including speed: Pump cavitation vibration caused unstable motor speed, with a speed of 2900±200rpm;
[0059] Outflow rate: decreased from 100 m³ / h to 30 m³ / h, a decrease of 70%.
[0060] Current: Reduced to 20A;
[0061] Vibration value: rises to 8.0 mm / s, exceeding the alarm threshold of 6.0 mm / s, triggering the pump cavitation alarm.
[0062] The chemical process simulation submodule 102 of this invention, based on equipment status parameters, is used to simulate the dynamic parameters of the process during normal operation and to simulate deviations in process parameters during anomaly handling. The dynamic simulation unit 1 of this invention injects fault interference parameters into the chemical equipment simulation submodule 101, causing a fault state in the chemical equipment. The chemical equipment simulation submodule 101 then sends the abnormal equipment status parameters to the chemical process simulation submodule 102 to achieve linkage between equipment status parameters and process parameters.
[0063] The chemical process simulation submodule 102 uses the equipment status parameters output by the equipment submodule as its sole input to simulate the process dynamic parameters of the distillation unit in the styrene plant, as detailed below:
[0064] 1. Based on the dynamic process parameters of chemical equipment under normal operating conditions,
[0065] When the distillation unit of the styrene plant is operating normally, with an outlet flow rate of 100 m³ / h, the chemical process simulation submodule 102 calculates the process parameters based on the following mechanism: According to the MESH equations, material balance, phase balance, mole fraction addition, and heat balance are calculated using a plate-by-plate method. Combined with the number of trays (30), the feed position (15th tray), and the reflux ratio R = 3.5, the dynamic process parameters under normal operation are calculated as follows:
[0066] Top temperature: 80℃, corresponding to the gas-liquid equilibrium temperature of the styrene-ethylbenzene azeotrope;
[0067] Bottom pressure: 0.6 MPa was calculated based on a reboiler heat load of 2000 kW at the bottom of the column;
[0068] Purity of the top product: Based on gas chromatography simulation calculations, the styrene content is 99.5%;
[0069] Return flow rate: 100 m³ / h.
[0070] 2. Based on the deviation of process parameters under chemical equipment failure conditions, when the outlet flow rate of the styrene unit distillation unit drops to 30 m³ / h due to pump cavitation failure, the chemical process simulation submodule 102 recalculates the process parameters and outputs the process parameter deviation:
[0071] The outlet flow rate, or reflux rate, of the styrene unit's distillation unit decreased from 100 m³ / h to 30 m³ / h, resulting in a shortened gas-liquid contact time and a decrease in separation efficiency within the column. This deviation from process parameters includes:
[0072] Top temperature: Insufficient reflux causes heavy components to shift upwards, increasing the ethylbenzene content in the gas phase, and the top temperature rises from 80℃ to 85℃;
[0073] Bottom pressure: The decrease in reflux flow rate leads to an increase in liquid holdup in the column, resulting in a greater pressure drop and an increase in bottom pressure from 0.6 MPa to 0.7 MPa;
[0074] Purity of the top product: Separation efficiency decreased, styrene content decreased, from 99.5% to 95.0%;
[0075] Tray temperature distribution: The gas-liquid balance is disrupted, and the temperature of trays 10-20 increases by an average of 5°C.
[0076] A third preferred embodiment of the attack and defense confrontation method based on chemical dynamic simulation of the present invention is as follows: The present invention calls a fault interference mode library based on the confrontation training parameters. Multiple fault interference modes in the fault interference mode library generate fault interference test cases corresponding to the attack and defense confrontation training. The fault interference library sets up a fault interference mode library associated with fault interference parameters; the fault interference mode library stores multiple fault interference modes, and the fault interference mode includes fault interference parameters corresponding to the association relationship with chemical equipment and process engineering, abnormal range of equipment status parameters, and corresponding process parameter deviation logic.
[0077] This invention uses a styrene distillation unit as an example to illustrate the construction of a fault interference library. Preferably, the fault interference library is a structured database that stores typical fault interference modes for three types of chemical equipment: centrifugal pumps, valves, and heat exchangers. Each mode includes preset fault interference parameters, abnormal ranges of equipment status parameters, and deviation logic of process parameters. A preferred fault interference library is shown in Table 1.
[0078]
[0079] Table 1
[0080] A preferred embodiment of the fault interference mode described in this invention is as follows, for example, in the cavitation fault mode of a centrifugal pump. The fault interference parameters include:
[0081] Fault type: Pump cavitation caused by impeller cavitation due to pump inlet liquid pressure being lower than saturated vapor pressure.
[0082] Severity of failure: Cavitation area accounts for 50% of the total impeller area;
[0083] Triggering condition: Inlet pressure < 0.3 MPa
[0084] Abnormal range of equipment status parameters: Flow rate: 30±5m³ / h, vibration value: 8±1mm / s, current: 20±3A.
[0085] Process parameters deviate from logic.
[0086] Tower top temperature T_top: T_top = 80 + 0.1 × (100 - Q) (normal T_top = 80℃, Q is the actual flow rate m³ / h);
[0087] When Q=30m³ / h, T_top=80+0.1×70=87℃ (deviation from the range of 85-89℃).
[0088] Product purity P_pure: P_pure = 99.5 - 0.05 × (100 - Q) (normal P_pure = 99.5%).
[0089] When Q = 30 m³ / h, P_pure = 99.5 - 0.06 × 70 = 95.30% (deviation from the range of 95.5-96.5%).
[0090] This invention may also include valve jamming fault modes, heat exchanger scaling fault modes, etc. The attacker, based on the training objective of training distillation column level control capabilities, calls valve jamming fault modes and centrifugal pump cavitation fault modes from a fault interference library to generate combined fault interference test cases. Preferably, this invention can be associated through fault interference mode IDs, with deviations in process parameters of the valve jamming fault mode serving as triggering conditions for the centrifugal pump cavitation fault mode. This invention can simulate complex scenarios of multiple fault superposition, verifying the defender's ability to handle cascading faults.
[0091] This embodiment identifies fault interference parameters, abnormal ranges of equipment status parameters, and deviation logic of process parameters by analyzing fault interference modes of chemical equipment such as centrifugal pumps, valves, and heat exchangers. This achieves end-to-end simulation of fault interference and abnormal process fluctuations. By using a fault interference library and configuring process parameter deviation logic based on chemical mechanisms, this invention makes the simulation system more closely resemble actual processes.
[0092] In the fourth preferred embodiment of the attack and defense confrontation method based on chemical dynamic simulation of the present invention, the training objectives include equipment fault handling or process anomaly control. The attacker selects any fault interference mode from the fault interference test cases through the simulation operation interface and adjusts it. The adjusted fault interference mode is loaded into the fault interference slot. According to the release interval and release rules in the attack strategy, the fault interference mode is injected into the chemical equipment simulation submodule 101, triggering the corresponding equipment fault state and causing abnormal equipment status parameters. The defender executes the fault interference test cases by adjusting equipment status parameters, switching to backup equipment, or optimizing process control parameters.
[0093] The preferred fault interference use case of this invention consists of fault interference modes in multiple fault interference slots. Each fault interference slot loads an independent fault interference mode, and the number of fault interference modes is equal to the actual number of fault interference slots loaded. The attacker can adjust the arrangement order of the fault interference modes in the fault interference slots by dragging and dropping, and release the fault interference modes according to the adjusted arrangement order to construct a fault interference chain.
[0094] In this invention, the defender triggers a device fault state use case by setting fault interference parameters, and the defender begins to execute the fault interference use case.
[0095] The fault interference test case described in this invention is a training unit containing multiple fault interferences. For example, a distillation column flooding test case includes three fault interferences: abnormal tray temperature, reflux flow fluctuation, and sudden pressure rise. The number of fault interferences refers to the number of independent fault interferences in a single fault interference test case. A fault interference slot is a virtual container used by the attacker in a simulated attack-defense training system to store fault interferences to be released. Each slot can only load one fault interference. A single fault interference test case may contain multiple fault interferences; therefore, multiple fault interference slots are needed to load one fault interference test case. The attacker releases fault interference test cases through combinations of multiple fault interference slots. By limiting the maximum number of fault interference test cases in each slot and the release rhythm, dynamic control over the fault distribution intensity during the attack-defense confrontation process is achieved.
[0096] This invention controls the number of fault interference slots. The upper limit of the number of fault interference slots can be set by the task configuration unit 2, with a default value of less than or equal to 3. By limiting the number of fault interferences that an attacker can initiate simultaneously, such as a maximum of 3 fault interference slots, the attacker avoids facing too many concurrent faults that would render training meaningless.
[0097] The release interval refers to the time interval between the release of fault interference modes of fault interference cases from the fault interference slot in sequence, such as 3 minutes / case, which is preset by the attacker in the task configuration unit 2 of the simulation operation interface.
[0098] By controlling the timing of fault interference releases through release interval rules and regulating the release rhythm of fault interference slots, the randomness and sporadic nature of faults in real production are simulated, preventing concentrated outbreaks of fault interference and allowing the defender reasonable response time to ensure training effectiveness. After the fault interference slots are released, the attacker is automatically allowed to add new fault interference modes, achieving continuous injection of fault interference modes and maintaining the continuity of adversarial training.
[0099] The timing rules for the fault interference slots include: sequential release: releasing slots in the order in which the attackers add them; and parallel release: allowing the simultaneous release of fault interference for multiple slots.
[0100] In real chemical production, faults often exhibit a chain-like characteristic of localized occurrence and gradual spread, rather than existing in isolation. The fault interference chain of this invention accurately reproduces this characteristic through the sequential release of multiple interconnected fault interference slots, significantly improving the practical handling capability for complex industrial accidents, strengthening the strategic game-like nature of attack and defense, stimulating the proactive learning motivation of the attacker, and enabling the attack and defense confrontation method based on chemical dynamic simulation to enhance the depth of understanding of the relationship between equipment and processes for both the attacker and defender.
[0101] The fifth preferred embodiment of the attack and defense confrontation method based on chemical dynamic simulation of the present invention adds a fault location function. The setting of the fault interference parameters includes precise fault injection based on the location setting: the dynamic simulation unit 1 is configured with a location setting module, which identifies the location of the target equipment in the chemical equipment simulation submodule 101 through spatial topology analysis or image processing. The location is a physical coordinate parameter. When setting the fault interference parameters, the attacker needs to specify the specific equipment location for fault injection through the location setting module and configure the fault type and fault degree matching the location according to the attack strategy. The association between the location and the chemical equipment model is automatically verified, and fault injection is only allowed to chemical equipment with physical connection relationship. After the verification is passed, a fault interference test case containing the location parameters is generated. The location parameters include physical coordinate parameters, process level parameters, instrument measurement point parameters, and equipment association parameters.
[0102] The fault interference mode library pre-defines the mapping relationship between location parameters and fault types. After the attacker selects the device location settings for the fault interference test case, they can only configure the faults of devices associated with the location, and the fault severity is constrained by the location parameters.
[0103] This invention targets the distillation unit of a styrene plant. The attacker must inject a combination of valve jamming and pump cavitation fault modes into the distillation column's top reflux system via a positioning setting module to verify the matching of positioning parameters with fault types and the physical connection verification function. The dynamic simulation unit 1 includes a positioning setting module integrating spatial topology analysis and image processing algorithms, and a pre-defined fault interference mode library that maps positioning parameters to fault types.
[0104] The positioning setting module of this invention identifies the target device through positioning parameters. These positioning parameters are centered on physical coordinate parameters, with auxiliary parameters including process level parameters, instrument measurement point parameters, and equipment-related parameters. The physical coordinate parameters are used to identify the positioning position of the dynamic simulation unit 1 through spatial topology analysis or image processing. The positioning position is defined by physical coordinate parameters, including pixel coordinates and corresponding three-dimensional spatial coordinates.
[0105] Process level parameters are used to assist in positioning parameters. They are based on the functional role and unit to which the equipment belongs in the process flow. For example, the unit belongs to the distillation unit, and the upstream and downstream relationships are centrifugal pumps, valves, and heat exchangers.
[0106] The instrument measurement point parameters are associated with the location parameters. For example, the sensor installation location is bound to the chemical equipment. If the attacker selects the instrument measurement point = TI-101, the system will automatically associate it with the gas phase pipeline at the top of the tower, T-101, and recommend temperature-related fault types, including scaling of the condenser at the top of the tower and high reflux temperature.
[0107] Equipment association parameters, used to verify positioning parameters, represent the physical connection relationships between chemical equipment and other chemical equipment and pipelines. For example, the upstream equipment of the XV-301 valve is the P-201 pump, and the downstream pipeline connects to the third tray of the T-101 tower. Preferably, the system has a built-in equipment association database that stores equipment IDs, connection ports, and upstream and downstream equipment ID relationships. For example, the upstream port P01 of XV-301 connects to the outlet port P02 of P-201.
[0108] When setting fault interference parameters, the attacker needs to specify the specific device location for fault injection through the location setting module, and configure the fault type and fault severity matching that location. The system automatically verifies the association between the location and the device model, allowing fault injection only to devices with physical connections. A preferred embodiment of generating fault interference test cases containing location parameters after successful verification is as follows:
[0109] The attacker injects the fault type of the XV-301 valve jamming fault through the location setting module. The specific steps are as follows:
[0110] First, in the positioning settings interface of dynamic simulation unit 1, the attacker selects the equipment in two ways: Method 1, interactive screen: Click on the T-101 tower top return pipeline area in the DCS screen. The system identifies the equipment icons in this area through image processing, highlighting the XV-301 valve and FI-101 flow meter. The attacker then selects XV-301. Method 2, 3D model selection: Navigate to the T-101 tower top platform in the device's 3D model, click on the valve entity model, and the system returns its physical coordinate parameters: 3D spatial coordinates (12m, 6m, 18m), pixel coordinates (350, 420).
[0111] Step 2: Based on the fault interference mode library, the system recommends fault types that match the valve jamming fault mode, including valve jamming, valve internal leakage, and instrument air interruption.
[0112] Step 3: The attacker configures the fault type and severity based on the positioning parameters according to the attack strategy. For the fault type, the attacker selects valve jamming. The system loads the default parameters for valve jamming: trigger condition, opening command > 80%, fault severity = 50%, jamming opening = command opening × (1 - fault severity). The attacker attempts to adjust the fault severity to 90%, with the single positioning parameter constraints as follows: positioning parameters based on XV-301, valve model = ZJHP-16C, maximum allowable jamming opening ≥ 20%, fault severity upper limit is 80%, and jamming opening ≥ 20%. Based on the positioning parameter constraints, the attacker sets the fault severity to 60%, and the jamming opening to 80% × (1 - 60%) = 32%.
[0113] Step 3: The system automatically verifies the correlation between the positioning location and the equipment model.
[0114] The system verifies the physical connection between XV-301 and other equipment in dynamic simulation unit 1 through the equipment association parameter library. For example, it queries the upstream equipment P-201 reflux pump and the downstream equipment T-101 distillation column of XV-301 to confirm that the three are in the same process flow and have pipeline connections. It verifies whether the fault type "valve jamming" matches the positioning parameters. If they match, the verification passes, and fault interference test cases containing the positioning parameters can be generated.
[0115] Preferably, in this invention, the positioning setting module automatically trims fault interference parameters based on the fault impact mask of the target device: the fault impact mask is a preset mask for key areas of the device, such as the impeller area of a pump or the valve core area of a valve. After the attacker selects the overall positioning of the device, the system automatically trims the fault parameters of non-critical areas, such as filtering out fault types of the pump body shell, and retaining only the fault types corresponding to the critical areas, such as impeller cavitation and valve core jamming, as well as parameter ranges, such as an upper limit of 60% for impeller cavitation, and generates fault interference test cases that include the fault impact mask.
[0116] The target equipment of this invention refers to the core chemical equipment and its key components simulated in the chemical equipment simulation submodule 101, specifically including key functional components of equipment such as centrifugal pumps, valves, and heat exchangers, such as the impeller of a centrifugal pump, the valve core of a valve, and the tube side of a heat exchanger. These devices and components are precisely located in the dynamic simulation unit 1 using physical coordinate parameters, including three-dimensional spatial coordinates and pixel coordinates, and are the core of the chemical equipment simulation submodule 101, which injects fault interference parameters, to simulate at least one core chemical equipment.
[0117] This invention relates to a fault impact masking system for trimming fault parameters in critical areas of centrifugal pumps. The impeller is a critical component of the centrifugal pump, responsible for fluid transport; a fault in the impeller directly leads to abnormal flow and pressure. This invention's fault impact masking uses a preset three-dimensional coordinate mask of the impeller region to define the critical area range through physical coordinate parameters. Nodes are logical abstractions of the critical areas within the fault impact masking system, representing specific fault types, severity levels, and triggering conditions, such as impeller cavitation or valve core jamming. The fault impact masking system provides physical boundaries for nodes, while nodes imbue the fault impact masking system with logical meaning.
[0118] This invention can trim fault parameters in non-critical areas. By comparing the overall coordinates selected by the attacker with the impeller coordinate range of the fault impact mask, it identifies the impeller as a critical area and the pump casing, motor, etc., as non-critical areas. It filters fault types associated with non-critical areas, such as corrosion faults in the pump casing and bearing overheating faults in the motor. Based on the integrated and trimmed fault parameters, it generates fault interference test cases containing fault impact mask information. After trimming the fault impact mask, the attacker can only inject critical faults such as cavitation and wear into the impeller area of the centrifugal pump, avoiding the problem of injecting invalid faults into non-critical areas such as the pump casing, ensuring that the fault interference parameters are directly related to the core functions of the equipment. When handling the situation, the defender can quickly locate the faulty impeller component through the mask information and take targeted measures, improving the engineering practicality of the training.
[0119] The attacker controls the expansion of the fault impact mask by using a node similarity threshold. In the positioning setting module, the attacker can manually set the node similarity threshold, for example, 70% by default, which can be adjusted to 50%-90%. The system dynamically connects nodes in similar fault areas based on the threshold. For example, when the threshold is adjusted to 60%, the impeller cavitation point and the bearing wear node are automatically connected. The attacker can adjust the threshold by using a slider to preview the mask expansion effect in real time. If the number of connected nodes increases from 3 to 5, a fault impact mask containing the expanded area is generated after confirmation. The parameter range after expansion is the intersection of all connected nodes. For example, the upper limit of cavitation degree is the intersection of 60% and the upper limit of wear degree is 50%. Preferably, the attacker optimizes the fault impact masking using a subgraph pruning tool: the positioning setting module provides a subgraph pruning function, whereby the attacker selects key area nodes to be retained, such as only retaining the valve core and valve stem, and deletes non-critical nodes, such as the valve body shell; the system automatically calculates the node density of the pruned subgraph, node density = number of nodes / area; if the density < 0.5 nodes / ㎡, the attacker merges similar nodes, such as merging valve core jamming and valve stem deformation into a valve mechanical fault node, and generates a lightweight mask template after pruning for quick use in subsequent training.
[0120] The range of fault interference parameters in the fault impact mask is optimized using neighbor node information. Specifically, the positioning setting module uses the key area of the current fault impact mask as the central node and searches for its third-order neighbor nodes, such as valve stem deformation and instrument air pressure fluctuations related to valve core jamming. The fault interference parameters of neighbor nodes, such as jamming opening degree of 20%-80% and instrument air pressure of 0.4-0.6 MPa, are averaged to generate a comprehensive parameter range including neighbor information. For example, the valve core jamming opening degree is corrected to 25%-75%, and this range is updated in the fault impact mask to ensure that the parameter range covers the coupled effects of related faults. In this preferred embodiment, the fault interference considers the effects of both direct and indirect related faults. For example, when the instrument air pressure is low, the maximum valve core jamming opening is automatically reduced from 80% to 75%, improving the physical consistency of the simulation.
[0121] This invention presents an attack-defense method based on chemical dynamic simulation. Through a positioning setting module, it enhances fault location functionality. Physical coordinate parameters ensure the uniqueness of the fault injection location, with exceptions for matching location parameters and faults. Based on the mapping relationship of the fault interference mode library, only related faults such as valve jamming are allowed, preventing attackers from injecting irrelevant faults such as pump cavitation, ensuring logically sound faults. Positioning parameters limit the fault severity, preventing attackers from setting extreme values. The positioning parameters and fault parameters of the fault interference test cases are recorded. The dynamic simulation unit 1 is run to observe whether abnormal equipment status parameters and deviations in process parameters are consistent with expectations, ensuring the simulation results match the physical characteristics of the equipment. This invention's positioning setting module achieves precise, logical, and constrained fault injection, allowing attackers to quickly generate fault interference test cases that conform to actual processes, providing high-fidelity fault scenarios for attack-defense training.
[0122] like Figure 2 As shown, an attack and defense confrontation system based on chemical dynamic simulation includes a dynamic simulation unit 1, a task configuration unit for setting attack and defense confrontation training parameters, an attacker operation unit 4, a defender operation unit 3, and an evaluation unit 5.
[0123] The dynamic simulation unit 1 simulates and constructs an adversarial training environment for chemical equipment and chemical processes, and sets fault interference parameters associated with chemical equipment and chemical processes, as well as a fault interference mode library associated with the fault interference parameters.
[0124] The task configuration unit 2 sets the attack and defense confrontation training parameters, which include the training objective, the upper limit of the number of fault interference slots, the fault interference release interval and release rules, and the fault interference test cases corresponding to the attack and defense confrontation training are generated by calling the fault interference mode library based on the confrontation training parameters.
[0125] The attacker operation unit 4 in the simulation operation interface selects a fault interference case and injects it into the adversarial training environment after adjusting the fault interference parameters in the fault interference case using an attack strategy.
[0126] The attacker operation unit 4 in the simulation operation interface receives alarm information from fault interference test cases and performs handling operations on the fault interference test cases based on preset chemical operation rules.
[0127] Evaluation unit 5 performs real-time evaluation and displays the effectiveness and rationality of the attacker's operational failure interference test cases, as well as the defender's operational efficiency, decision-making ability, and result recovery indicators in handling the failure interference test cases.
[0128] This invention, based on a dynamic chemical engineering simulation-based offensive and defensive confrontation method and system, addresses the core pain points of traditional chemical engineering simulation training systems—namely, fixed faults, complex configurations, biased evaluations, and insufficient realism—by constructing an adversarial training environment, generating intelligent faults, facilitating interactive offensive and defensive confrontations, and implementing two-way quantitative evaluation. It enhances the realism and randomness of training scenarios and cultivates the ability to handle complex faults. Attackers can configure faults visually through the simulation operation interface of the positioning and setting module, lowering the threshold for fault configuration and supporting the rapid expansion of personalized training scenarios. Finally, it strengthens the strategic game aspect of offensive and defensive confrontations, stimulating active learning motivation. This invention, through the deep integration of dynamic simulation technology and offensive and defensive confrontation mechanisms, upgrades chemical engineering skills training from static procedural drills to dynamic engineering practice, significantly improving trainees' ability to handle complex faults, their depth of understanding of process mechanisms, and their flexibility in strategic decision-making. It provides core technical support for the cultivation of highly skilled personnel in the process industry and has significant economic and social value.
[0129] The above description illustrates preferred embodiments of the present invention and helps those skilled in the art to more fully understand the technical solution of the present invention. However, these embodiments are merely illustrative and should not be construed as limiting the specific implementation of the present invention to these embodiments. For those skilled in the art, several simple deductions and modifications can be made without departing from the inventive concept, and all such modifications should be considered within the protection scope of the present invention.
Claims
1. A method for attack and defense based on chemical dynamic simulation, characterized in that, Includes the following steps: An adversarial training environment for chemical equipment and processes is constructed based on dynamic simulation units, and fault interference parameters associated with chemical equipment and processes are set, as well as a fault interference mode library associated with fault interference parameters. The attack and defense confrontation training parameters are set through the task configuration unit. The confrontation training parameters include the training objective, the upper limit of the number of fault interference slots, the fault interference release interval and release rules. Based on the confrontation training parameters, the fault interference mode library is called to generate fault interference test cases corresponding to the attack and defense confrontation training. The attacker selects a fault interference test case through the simulation operation interface, and then injects it into the adversarial training environment after adjusting the fault interference parameters in the fault interference test case using the attack strategy. The defender receives alarm information from fault interference test cases through the simulation operation interface and performs handling operations on the fault interference test cases based on the preset chemical operation rules. The evaluation unit performs real-time evaluation and displays the effectiveness and rationality of the attacker's operational failure interference test cases, as well as the defender's operational efficiency, decision-making ability, and result recovery indicators in handling the failure interference test cases. The attacker selects any fault interference mode in the fault interference test case through the simulation operation interface and adjusts it. The adjusted fault interference mode is loaded into the fault interference slot. According to the release interval and release rules in the attack strategy, the fault interference mode is injected into the chemical equipment simulation submodule, triggering the corresponding equipment fault state and causing abnormal equipment status parameters. The execution operations of the fault interference test case by the defender include: adjusting equipment status parameters, switching to backup equipment, or optimizing process control parameters; The setting of the fault interference parameters includes precise fault injection based on location settings: the dynamic simulation unit is configured with a location setting module, which identifies the location of the target equipment in the chemical equipment simulation submodule through spatial topology analysis or image processing, and the location is a physical coordinate parameter; when setting the fault interference parameters, the attacker needs to specify the specific equipment location for fault injection through the location setting module, and configure the fault type and fault degree matching the location; the location parameters are based on physical coordinate parameters, and auxiliary parameters include process level parameters, instrument measurement point parameters, and equipment association parameters; the generated fault interference test cases include location parameters; The mapping relationship between positioning parameters and fault types is preset in the fault interference mode library. After the attacker selects the device positioning settings for the fault interference case, it can only configure the fault of the device associated with the positioning location, and the fault degree is constrained by the positioning parameters. The positioning setting module automatically trims fault interference parameters based on the fault impact mask of the target device: the fault impact mask is a preset key area mask of the device. After the attacker selects the overall positioning of the device, the system automatically trims the fault parameters of non-critical areas, retains only the fault type and parameter range corresponding to the key areas, and generates fault interference test cases containing the fault impact mask.
2. The attack and defense method based on chemical dynamic simulation according to claim 1, characterized in that, The dynamic simulation unit simulates the equipment status parameters during normal operation of chemical equipment, and the equipment failure status during abnormal handling of chemical equipment; based on the equipment status parameters, it simulates the process dynamic parameters of at least one chemical process during normal operation, and the deviation of process parameters during abnormal handling of chemical processes.
3. The attack and defense method based on chemical dynamic simulation according to claim 2, characterized in that, The dynamic simulation unit includes a chemical equipment simulation submodule and a chemical process simulation submodule, which are linked and transmitted through equipment status parameters; The chemical equipment simulation submodule simulates the equipment status parameters of at least one chemical equipment during normal operation and the equipment fault status during abnormal handling. The equipment fault status is triggered by preset fault interference parameters. The chemical process simulation submodule takes the equipment status parameters output in real time by the chemical equipment simulation submodule as input to simulate the process status parameters of at least one chemical process during normal operation and the deviation of process parameters during abnormal handling.
4. The attack and defense method based on chemical dynamic simulation according to claim 1, characterized in that, The training objectives include equipment failure handling or process anomaly control.
5. The attack and defense method based on chemical dynamic simulation according to claim 1, characterized in that, The fault interference mode library stores multiple fault interference modes, which include fault interference parameters, abnormal ranges of equipment status parameters, and corresponding deviation logic of process parameters corresponding to the association with chemical equipment and process engineering.
6. The attack and defense method based on chemical dynamic simulation according to claim 1, characterized in that, Based on the aforementioned adversarial training parameters, multiple fault interference modes from the fault interference mode library are invoked to generate fault interference test cases corresponding to the offensive and defensive adversarial training.
7. The attack and defense method based on chemical dynamic simulation according to claim 5, characterized in that, The fault interference parameters include equipment fault type, process abnormality type, fault interference degree, and triggering conditions.
8. The attack and defense method based on chemical dynamic simulation according to claim 5, characterized in that, The fault interference use case consists of fault interference modes in multiple fault interference slots. Each fault interference slot loads an independent fault interference mode, and the number of fault interferences is equal to the actual number of fault interference slots loaded. The attacker can adjust the order of fault interference modes in the fault interference slot by dragging and dropping, and release the fault interference modes according to the adjusted order to build a fault interference chain.
9. A chemical dynamic simulation-based attack and defense system, used to implement the chemical dynamic simulation-based attack and defense method as described in any one of claims 1-8, characterized in that, It includes a dynamic simulation unit, a task configuration unit, an attacker's operation unit, a defender's operation unit, and an evaluation unit. The dynamic simulation unit is used to simulate and construct an adversarial training environment for chemical equipment and chemical processes, and to set fault interference parameters associated with chemical equipment and chemical processes, as well as a fault interference mode library associated with the fault interference parameters. The task configuration unit is used to set the attack and defense confrontation training parameters. The confrontation training parameters include the training objective, the upper limit of the number of fault interference slots, the fault interference release interval and release rules, and the fault interference mode library is called to generate fault interference test cases corresponding to the attack and defense confrontation training based on the confrontation training parameters. The attacker operation unit in the simulation operation interface is used to select fault interference test cases, and then inject the fault interference parameters in the fault interference test cases into the adversarial training environment after adjusting them with an attack strategy. The defending operation unit in the simulation operation interface is used to receive alarm information from fault interference cases and, based on preset chemical operation rules, to perform handling operations on the fault interference cases. The evaluation unit is used to evaluate and display in real time the effectiveness and rationality of the attacking party's operational unit's fault interference test cases, as well as the operational efficiency, decision-making ability, and result recovery indicators of the defending party's operational unit in handling fault interference test cases.
Citation Information
Patent Citations
Heuristic industrial control system attack and defense drilling method
CN118230614A
Virtual-real fusion attack and defense drilling system and method for oil and gas production system, medium and equipment
CN120675778A