Method and device for generating a compressor group control scheme for a compressed air energy storage plant

By constructing a digital twin dynamic simulation model and performing simulation verification, the high risk and low efficiency problems caused by relying on on-site trial and error in existing technologies have been solved, providing a safer and more reliable compressor unit control scheme and improving the operating efficiency and safety of salt cavern air energy storage devices.

CN123153997APending Publication Date: 2026-11-24SHENYANG BLOWER WORKS GRP AUTOMATIC CONTROL SYST ENG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611126903.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The control schemes and logic verification for multiple series compressor units in existing salt cavern air energy storage devices mainly rely on on-site trial and error, which leads to high start-up difficulty, long implementation cycle, and easy to cause unit surge and operating condition fluctuations, making it difficult to meet the requirements of safety and efficiency.

Method used

A digital twin dynamic simulation model of the compressor unit is constructed. Multiple control schemes are obtained for dynamic simulation, and the optimal control scheme is selected to avoid the high risk and low efficiency of traditional reliance on human experience.

Benefits of technology

A safer, more reliable, and field-adaptable compressor unit control scheme has been implemented, which improves the safety and efficiency of operation and reduces the project implementation risk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123153997A_ABST
    Figure CN123153997A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of compressed air energy storage, and discloses a generation method and device of a compressor unit control scheme of a compressed air energy storage device; the method comprises the following steps: constructing a digital twin dynamic simulation model of a compressor unit according to actual equipment parameters of the compressed air energy storage device; obtaining a plurality of control schemes containing opening degree values of low-pressure centrifugal compressor inlet guide vanes, medium-pressure centrifugal compressor inlet guide vanes, low-pressure centrifugal compressor anti-surge valves, medium-pressure centrifugal compressor anti-surge valves, high-pressure centrifugal compressor anti-surge valves and vent valves and rotation speed values of high-pressure centrifugal compressor frequency converters at multiple time points; taking control instructions in the control schemes as input conditions, and obtaining corresponding dynamic response data by using the simulation model; and determining an optimal control scheme according to the dynamic response data. The simulation model of the compressor unit can avoid high risks and low efficiency caused by traditional reliance on artificial experience, and a safer and more reliable compressor unit control scheme is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of compressed air energy storage technology, and more specifically, to a method and apparatus for generating a compressor unit control scheme for a compressed air energy storage device. Background Technology

[0002] Salt cavern air energy storage is a novel energy storage technology adapted to my country's salt cavern resources. Its engineering application is of great significance for supporting grid peak shaving, promoting the safe and stable operation of the power system, and driving the clean transformation of the energy structure. The salt cavern air energy storage CAES device employs a series-connected operating architecture for its air compression unit, consisting of a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor, and a high-pressure centrifugal compressor. The operating conditions of each unit are coupled and dynamically influence each other, requiring coordinated adjustment of the inlet guide vanes and frequency converters to achieve operating condition matching. Furthermore, it must adapt to the grid's peak-valley regulation needs, frequently starting and stopping under different operating conditions, placing stringent requirements on the accuracy, coordination, and safety of the unit's operation control.

[0003] The existing process control schemes and logic verification for this type of multi-series compressor units are mainly carried out through on-site physical testing. That is, relying on the operating experience of on-site technicians, the timing of the guide vanes and valves and the adjustment rhythm of the variable frequency speed are gradually explored on the physical unit. Through repeated trial and error debugging, a suitable start-up, shutdown and load increase / decrease operation process is formed. The verification of control logic is also mostly carried out directly in the on-site control system based on the physical equipment.

[0004] This approach, which relies on on-site trial and error, not only increases the difficulty of starting up the unit and prolongs the project implementation cycle, but also makes it more prone to risks such as unit surge and large fluctuations in operating conditions due to improper operating strategies. This poses a great threat to the safety of equipment and personnel and makes it difficult to meet the urgent needs of the salt cavern air energy storage industry for high-quality development in terms of compressor unit control reliability, operational efficiency and intelligent management. Summary of the Invention

[0005] In view of the above situation, this application provides a method and apparatus for generating a compressor unit control scheme for a compressed air energy storage device, which aims to solve the above problems or at least partially solve the above problems.

[0006] In a first aspect, embodiments of this application provide a method for generating a compressor unit control scheme for a compressed air energy storage device, the method comprising: Based on the actual equipment parameters of the target compressed air energy storage device, a corresponding digital twin dynamic simulation model of the compressor unit is constructed; the compressor unit of the target compressed air energy storage device includes a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor and a high-pressure centrifugal compressor connected in series. Multiple control schemes are obtained; the control scheme includes the opening values ​​of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the frequency converter of the high-pressure centrifugal compressor at multiple times. The opening value and speed value at the same time constitute a set of control commands at that time. The control commands at each time are arranged in chronological order to form the control scheme. Using the control commands in the control scheme as input conditions, dynamic simulation is performed using the digital twin dynamic simulation model of the compressor unit to obtain the dynamic response data of the compressor unit under the input conditions. The optimal control scheme for the compressor unit is determined based on the dynamic response data corresponding to the multiple control schemes.

[0007] Secondly, embodiments of this application also provide a device for generating a compressor unit control scheme for a compressed air energy storage device, the device comprising: The model building module is used to build a corresponding digital twin dynamic simulation model of the compressor unit based on the actual equipment parameters of the target compressed air energy storage device; the compressor unit of the target compressed air energy storage device includes a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor and a high-pressure centrifugal compressor connected in series; The acquisition module is used to acquire multiple control schemes. The control scheme includes the opening values ​​of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the frequency converter of the high-pressure centrifugal compressor at multiple times. The opening value and speed value at the same time constitute a set of control instructions at that time. The control instructions at each time are arranged in chronological order to form the control scheme. The simulation module is used to take the control commands in the control scheme as input conditions, and perform dynamic simulation using the digital twin dynamic simulation model of the compressor unit to obtain the dynamic response data of the compressor unit under the input conditions. The generation module is used to determine the optimal control scheme for the compressor unit based on the dynamic response data corresponding to the multiple control schemes.

[0008] Thirdly, embodiments of this application also provide an electronic device, including: a processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method for generating a compressor unit control scheme for the compressed air energy storage device described above.

[0009] By employing the above technical solution, the method and apparatus for generating a compressor unit control scheme for a compressed air energy storage device provided in this application first construct a digital twin dynamic simulation model of three series centrifugal compressors based on the actual equipment parameters of the target compressed air energy storage device. This model accurately replicates the operating characteristics and inter-stage coupling relationships of the actual unit, providing a virtual verification carrier that fits the actual operating conditions for subsequent control scheme verification. Based on this, multiple control schemes containing timing parameters of guide vanes, valve opening, and variable frequency speed are obtained, covering strategies to be verified with different operating logics and parameter combinations, providing a sufficient sample basis for scheme comparison. Subsequently, the timing control commands of each control scheme are used as input and imported into the simulation model to perform dynamic simulation. The process of unit operating condition changes under control actions is completely reproduced in a virtual environment, obtaining unit operation response data for all time periods. Finally, the optimal scheme is selected based on the dynamic response data corresponding to multiple control schemes, and the objective comparison of control strategies is completed based on quantified operating indicators. Ultimately, this embodiment avoids the high risks and low efficiency associated with traditional reliance on manual experience, resulting in a safer, more reliable, and more adaptable compressor unit control scheme, providing strong technical support for the safe and effective operation of series compressor units.

[0010] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0011] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating the method for generating a compressor unit control scheme for a compressed air energy storage device provided in an embodiment of this application is shown. Figure 2 A schematic diagram of a compressor model provided in an embodiment of this application is shown; Figure 3 A schematic diagram of the compressor model parameter configuration and performance curve setting interface provided in an embodiment of this application is shown; Figure 4 A schematic diagram of an air filter model provided in an embodiment of this application is shown; Figure 5 A schematic diagram of the parameter configuration interface of the air filter model provided in an embodiment of this application is shown; Figure 6 A schematic diagram of a gas-liquid separator model provided in an embodiment of this application is shown; Figure 7A schematic diagram of the parameter configuration interface of the gas-liquid separator model provided in the embodiment of this application is shown; Figure 8 A schematic diagram of a gas-water heat exchanger model provided in an embodiment of this application is shown; Figure 9 A schematic diagram of the parameter configuration interface of the gas-water heat exchanger model provided in the embodiment of this application is shown; Figure 10 A schematic diagram of the motor model provided in an embodiment of this application is shown; Figure 11 A schematic diagram of the parameter configuration interface of the motor model provided in an embodiment of this application is shown; Figure 12 A schematic diagram of the parameter configuration interface of the valve model provided in an embodiment of this application is shown; Figure 13 A schematic diagram of the parameter configuration interface of the device volume model provided in an embodiment of this application is shown; Figure 14 A schematic diagram of the structure of the oil circuit system model provided in the embodiment of this application is shown; Figure 15 A schematic diagram of the logical structure of the process loop logic model provided in an embodiment of this application is shown; Figure 16 This illustration shows a real-time data display interface of the measurement point model provided in this application during simulation operation; Figure 17 A schematic diagram of the parameter configuration interface of the flow meter model provided in an embodiment of this application is shown; Figure 18 A schematic diagram of the parameter configuration interface of the inlet guide vane model provided in an embodiment of this application is shown; Figure 19 A schematic diagram of the parameter configuration interface of the frequency converter model provided in an embodiment of this application is shown; Figure 20 This paper shows the operating point trajectory diagram when the inlet guide vane of the low-pressure compressor opens, according to an embodiment of this application. Figure 21 The diagram shows the operating point trajectory of the anti-surge valve of the low-pressure compressor provided in this embodiment when it is opened. Figure 22 The diagram shows the operating point trajectory of the high-pressure compressor as its speed increases, according to an embodiment of this application. Figure 23 This paper shows the trajectory of the high-pressure compressor's operating point when the anti-surge valve of the high-pressure compressor provided in the embodiment of this application is continuously opened; Figure 24 The diagram shows the operating point trajectory of three compressors when the anti-surge valve of the high-pressure compressor provided in this embodiment of the application is continuously opened; Figure 25 This paper shows the trajectory of the operating point of the high-pressure compressor when its speed decreases, as provided in an embodiment of this application. Figure 26 This paper shows the operating point trajectory diagram of the three compressors when the speed of the high-pressure compressor decreases, as provided in the embodiment of this application. Figure 27 A schematic diagram of the configuration interface showing the correspondence between variable names and register addresses provided in an embodiment of this application is shown. Figure 28 A schematic diagram of the operating interface of OpcHub provided in an embodiment of this application is shown; Figure 29 This paper shows the trajectory diagram of three compressor units connected in series under load according to an embodiment of this application; Figure 30 The diagram shows the unloading trajectory of three compressor units connected in series according to an embodiment of this application. Figure 31 This paper shows a schematic diagram of the structure of a device for generating a compressor unit control scheme for a compressed air energy storage device according to an embodiment of this application; Figure 32 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0012] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0013] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0014] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such use can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the term "comprising" and its variations should be interpreted as open-ended terms meaning "including but not limited to."

[0015] As mentioned earlier, existing process control schemes and logic verification for such multi-series compressor units mainly rely on on-site physical commissioning. This involves using the operational experience of on-site technicians to gradually determine the timing of guide vanes and valves, as well as the adjustment rhythm of the variable frequency speed, on a physical unit. Through repeated trial and error, a suitable start-up, shutdown, and load-reduction operation process is formed. Control logic verification is also often conducted directly within the on-site control system using physical equipment. This approach, relying on on-site trial and error, not only increases the difficulty of unit start-up and prolongs the project implementation cycle, but also easily leads to risks such as unit surge and significant fluctuations in operating conditions due to improper operating strategies, posing significant safety hazards to equipment and personnel. It fails to meet the urgent needs of the salt cavern air energy storage industry for high-quality development in terms of compressor unit control reliability, operational efficiency, and intelligent management. Therefore, this invention proposes a method and apparatus for generating a compressor unit control scheme for compressed air energy storage devices. The following detailed description of specific embodiments further illustrates this application.

[0016] To facilitate understanding of this embodiment, a method for generating a compressor unit control scheme for a compressed air energy storage device disclosed in this application will first be described in detail. The execution entity of the method for generating a compressor unit control scheme for a compressed air energy storage device provided in this application is generally a computer device with certain computing capabilities. This computer device may include, for example, a terminal device, a server, or other processing devices. The terminal device may be a user equipment (UE), a mobile device, a user terminal, or a terminal. In some possible implementations, the method for generating the compressor unit control scheme for the compressed air energy storage device can be implemented by a processor calling computer-readable instructions stored in memory.

[0017] Figure 1 This paper illustrates a flowchart of a method for generating a compressor unit control scheme for a compressed air energy storage device according to an embodiment of this application. Figure 1 It can be seen that the embodiments of this application include at least steps S101-S104: S101: Based on the actual equipment parameters of the target compressed air energy storage device, construct a corresponding digital twin dynamic simulation model of the compressor unit; the compressor unit of the target compressed air energy storage device includes a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor and a high-pressure centrifugal compressor connected in series; S102: Obtain multiple control schemes; the control scheme includes the opening values ​​of the low-pressure centrifugal compressor inlet guide vane, medium-pressure centrifugal compressor inlet guide vane, low-pressure centrifugal compressor anti-surge valve, medium-pressure centrifugal compressor anti-surge valve, high-pressure centrifugal compressor anti-surge valve, vent valve, and speed value of the high-pressure centrifugal compressor frequency converter at multiple times. The opening value and speed value at the same time constitute a set of control commands at that time. The control commands at each time are arranged in chronological order to form the control scheme. S103: Using the control commands in the control scheme as input conditions, perform dynamic simulation using the digital twin dynamic simulation model of the compressor unit to obtain the dynamic response data of the compressor unit under the input conditions; S104: Determine the optimal control scheme for the compressor unit based on the dynamic response data corresponding to the multiple control schemes.

[0018] As can be seen, this embodiment first constructs a digital twin dynamic simulation model of three series centrifugal compressors based on the actual equipment parameters of the target compressed air energy storage device. This model accurately replicates the operating characteristics and interstage coupling relationships of the actual unit, providing a virtual verification platform that fits the actual operating conditions for subsequent control scheme verification. Based on this, multiple control schemes containing timing parameters of guide vanes, valve opening, and variable frequency speed are obtained, covering strategies to be verified with different operating logics and parameter combinations, providing a sufficient sample basis for scheme comparison. Subsequently, the timing control commands of each control scheme are used as input and imported into the simulation model for dynamic simulation. The process of unit operating condition changes under control actions is fully reproduced in the virtual environment, obtaining unit operating response data for all time periods. Finally, the optimal scheme is selected based on the dynamic response data corresponding to multiple control schemes, and the objective comparison of control strategies is completed based on quantified operating indicators. Ultimately, this embodiment avoids the high risks and low efficiency associated with traditional reliance on manual experience, resulting in a safer, more reliable, and more adaptable compressor unit control scheme, providing strong technical support for the safe and effective operation of series compressor units.

[0019] The following provides a detailed explanation of S101-S104.

[0020] Regarding the above S101: First, based on the actual equipment parameters of the target compressed air energy storage device, a corresponding digital twin dynamic simulation model of the compressor unit is constructed.

[0021] In this application, the target compressed air energy storage device includes three units: a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor, and a high-pressure centrifugal compressor. These three compressors are connected in series via pipelines. Air undergoes primary compression by the low-pressure compressor, secondary compression by the medium-pressure compressor, and tertiary compression by the high-pressure compressor before being finally delivered to an underground salt cavern gas storage facility. Inlet guide vanes are installed at the inlet ends of the low-pressure and high-pressure compressors to regulate the intake airflow. Anti-surge valves are installed on the outlet return lines of the low-pressure, medium-pressure, and high-pressure compressors to open the return loop when the unit approaches the surge boundary, increasing the inlet flow and ensuring safe operation. A vent valve is also installed at the outlet end of the high-pressure compressor to release high-pressure gas in the system during unloading or shutdown. The medium-pressure compressor is driven by a frequency converter for variable speed regulation. The compressors are connected by pipelines, which are equipped with heat exchangers, gas-liquid separators, valves, and instrument measuring points. The entire unit is also equipped with a lubrication system to provide lubrication and cooling for the compressor bearings.

[0022] In practice, specifically in some embodiments, the step of constructing a corresponding digital twin dynamic simulation model of the compressor unit based on the actual equipment parameters of the target compressed air energy storage device includes: Based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device, construct the corresponding compressor model; Based on the structural parameters, spatial location parameters, and operating process parameters of the air filter in the target compressed air energy storage device, an air filter model is constructed. Based on the structural parameters, process parameters, and equipment performance parameters of the gas-water separator in the target compressed air energy storage device, a gas-water separator model is constructed. Based on the structural parameters, process parameters, and equipment performance parameters of the oil-gas heat exchanger and gas-water heat exchanger in the target compressed air energy storage device, construct the oil-gas heat exchanger model and the gas-water heat exchanger model. Based on the electrical parameters, mechanical dynamic parameters, and performance curve data of the motor of each compressor in the target compressed air energy storage device, a corresponding motor model is constructed; Based on the structural parameters, flow characteristic parameters, and action characteristic parameters of each valve in the target compressed air energy storage device, construct the corresponding valve model; Based on the geometric parameters and connection relationships of the pipes in the target compressed air energy storage device, a pipe model is constructed; Based on the internal volume parameters of the equipment in the target compressed air energy storage device, construct a volume model of the equipment; Based on the dead cavity volume parameters and manifold volume parameters at the device connection points in the target compressed air energy storage device, a device volume model is constructed. Based on the structural and equipment parameters of the oil circuit system in the target compressed air energy storage device, an oil circuit system model is constructed. Based on the control logic information of the process equipment in the target compressed air energy storage device, construct a process loop logic model; Based on the measurement point identification parameters, measurement point type parameters, range parameters, engineering unit parameters, and installation location parameters in the measurement point loop table of the target compressed air energy storage device, a measurement point model is constructed. Based on the flow meter, guide vane data, and frequency converter parameters in the target compressed air energy storage device, construct the flow meter model, inlet guide vane model, and frequency converter model.

[0023] In this embodiment, the Peng-Robinson equation can be selected as the property equation in the Unisim software to formulate the simulation control plan. Here, the Peng-Robinson equation (PR equation for short) is a classic formula in chemical thermodynamics used to calculate the pressure, volume, and temperature relationships of real gases and liquids, proposed jointly by Peng Dingyu and Robinson in 1976. Establishing the thermodynamic calculation basis in the Unisim simulation software ensures that all subsequent equipment models (compressors, heat exchangers, separators, pipelines, etc.) use a unified and accurate property calculation method when performing mass balance and energy balance calculations.

[0024] In the specific construction process, it is necessary to construct the corresponding compressor model based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device.

[0025] In some embodiments, the performance characteristic parameters include: a discrete data point set of performance curves for each compressor, each data point containing the inlet volumetric flow rate value and the corresponding pressure ratio value and the corresponding adiabatic efficiency value; data corresponding to the guide vane angle and performance correction coefficient of each compressor; and data corresponding to the inverter frequency and compressor speed of each compressor. The step of constructing corresponding compressor models based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device includes: for each compressor, fitting the corresponding discrete data point set of its performance curves to generate the pressure ratio. The system generates the coefficient and intercept sets of the functions, as well as the coefficient and intercept sets of the efficiency function. It then fits the corresponding data of the guide vane angle and performance correction coefficient to generate the coefficient and intercept sets of the guide vane correction function. Finally, it fits the corresponding data of the inverter frequency and compressor speed to generate the slope and intercept values ​​of the frequency-speed conversion function. The system then inputs the coefficient and intercept sets of the pressure ratio function, the efficiency function, the guide vane correction function, and the frequency-speed conversion function into the corresponding compressor model instance to generate the corresponding compressor simulation model.

[0026] In this embodiment, performance characteristic parameters refer to three types of basic data required to construct the compressor model. The first type is the discrete data point set of the performance curves of each compressor. Each data point in this dataset contains the inlet volumetric flow rate value and the corresponding pressure ratio and adiabatic efficiency value at that flow rate. The second type is the data corresponding to the guide vane angle and performance correction coefficient of each compressor, describing the degree of correction of the compressor performance by the inlet guide vane at different opening angles, which is derived from the guide vane adjustment characteristic test data. The third type is the data corresponding to the inverter frequency and compressor speed of each compressor, describing the correspondence between the inverter output frequency and the actual compressor speed.

[0027] For each compressor, a model is built independently for each compressor by fitting the discrete data points of its corresponding performance curve to generate the coefficient and intercept sets of the pressure ratio function and the efficiency function. Specifically, for example, the inlet volumetric flow rate and corresponding pressure ratio value of each data point are first extracted from the discrete data point set of the performance curve. A polynomial fitting or spline interpolation fitting algorithm is then selected to fit and calculate the data points, generating the coefficient and intercept sets of the pressure ratio function with the inlet volumetric flow rate as the independent variable. Then, the inlet volumetric flow rate and corresponding adiabatic efficiency value of each data point are extracted from the same dataset, and the same fitting algorithm is used to generate the coefficient and intercept sets of the efficiency function with the inlet volumetric flow rate as the independent variable.

[0028] Fitting the corresponding data of guide vane angles and performance correction coefficients to generate the coefficient set and intercept set of the guide vane correction function refers to transforming the discrete correspondence between the inlet guide vane angle and the performance correction coefficient into a continuous correction function. In practice, for example, the angle value and the corresponding correction coefficient value of each data point are extracted from the data corresponding to the guide vane angle and performance correction coefficient. A polynomial fitting or linear interpolation fitting algorithm is selected to fit and calculate the data points, generating the coefficient set and intercept set of the guide vane correction function with the guide vane angle as the independent variable.

[0029] Fitting the corresponding inverter frequency and compressor speed data to generate the slope and intercept values ​​of the frequency-speed conversion function means transforming the correspondence between the inverter output frequency and the actual compressor speed into a linear conversion function. In practice, for example, the frequency value and corresponding speed value of each data point are extracted from the inverter frequency and compressor speed data. Since this correspondence is usually linear within the rated operating range, a linear fitting algorithm is used to fit and calculate the data points, generating the slope and intercept values ​​of the frequency-speed conversion function.

[0030] Finally, the coefficient and intercept sets of the pressure ratio function, the efficiency function, the guide vane correction function, and the slope and intercept values ​​of the frequency-speed conversion function are entered into the corresponding compressor model instance to generate the corresponding compressor simulation model. This means integrating all the function parameter sets generated in the preceding steps into the compressor model instance. In specific implementation, firstly, an independent model instance is created for each compressor in the simulation software. This instance contains a data structure for storing the function parameter set. Then, all the coefficients and intercept values ​​of the pressure ratio function, efficiency function, guide vane correction function, and frequency-speed conversion function are entered into the designated storage location of the corresponding compressor model instance. Finally, the above function parameter sets are associated with the input and output interfaces of the compressor model instance, so that the model can automatically call the corresponding functions for calculation based on the input conditions during operation, forming a complete compressor simulation model.

[0031] After the model is built, a single-unit simulation can be run by inputting the design point operating parameters. The model output results can be compared with the original design values ​​to verify the accuracy of the model parameter input. Figure 2 A schematic diagram of a compressor model provided in an embodiment of this application is shown. Figure 3 A schematic diagram of the compressor model parameter configuration and performance curve setting interface provided in the embodiments of this application is shown, which can be used as a reference when understanding the structure and parameter configuration method of the compressor model.

[0032] It is also necessary to construct an air filter model based on the structural parameters, spatial location parameters, and operational process parameters of the air filter in the target compressed air energy storage device. Structural parameters refer to the geometric dimensions of the air filter, including tank diameter, tank length, and tank wall thickness; spatial location parameters refer to the installation height of the equipment within the device, i.e., the equipment elevation; operational process parameters refer to the process conditions of the air filter during operation, including design values ​​for inlet and outlet pressure, temperature, and flow rate. In practice, an air filter model instance can be created in simulation software first; then, the structural parameters, spatial location parameters, and operational process parameters can be entered into this model instance. During simulation, the model can calculate the pressure, temperature, and flow rate of the outlet medium based on the inlet medium's flow rate and state parameters, combined with the filter's structural dimensions and pressure drop characteristics. After the model is constructed, a single-unit simulation can be performed by inputting design point operating conditions to verify the accuracy of the entered model parameters. Figure 4 A schematic diagram of an air filter model provided in an embodiment of this application is shown; Figure 5 A schematic diagram of the parameter configuration interface of the air filter model provided in the embodiment of this application is shown, which can be used as a reference when understanding the structure and parameter configuration method of the air filter model.

[0033] It is also necessary to construct a gas-water separator model based on the structural parameters, process parameters, and equipment performance parameters of the gas-water separator in the target compressed air energy storage device. Structural parameters refer to the geometric dimensions and internal structural parameters of the gas-water separator, such as tank diameter, tank height, tank type, tank shape, valve orifice position, normal liquid level control height, and equipment elevation. Process parameters refer to the process conditions of the medium during the operation of the gas-water separator, such as pipe-side process parameters, shell-side process parameters, medium composition parameters, and heat loss parameters. Equipment performance parameters refer to parameters describing the separation efficiency and flow characteristics of the gas-water separator, including overall heat transfer coefficient, incremental parameters, flow efficiency, minimum flow rate parameters, pressure loss parameters, and discharge valve flow capacity coefficient. In practice, for example, a gas-water separator model instance is first created in simulation software; then, the structural parameters, process parameters, and equipment performance parameters are entered into this model instance, enabling the model to calculate parameters such as pressure, temperature, flow rate, and liquid level of the outlet medium based on the inlet medium's flow rate and state parameters during simulation operation. Once the model is built, a single-unit simulation can be run by inputting the design point operating parameters to verify the accuracy of the entered model parameters. Figure 6 A schematic diagram of a gas-liquid separator model provided in an embodiment of this application is shown; Figure 7 A schematic diagram of the parameter configuration interface of the gas-liquid separator model provided in the embodiments of this application is shown, which can be used as a reference when understanding the structure and parameter configuration method of the gas-liquid separator model.

[0034] Based on the structural parameters, process parameters, and equipment performance parameters of the oil-gas heat exchanger and gas-water heat exchanger in the target compressed air energy storage device, it is also necessary to construct oil-gas heat exchanger models and gas-water heat exchanger models. Here, both oil-gas and gas-water heat exchangers are used to achieve heat exchange between two media, the difference being the heat exchange medium—oil-gas heat exchangers are used for heat exchange between oil and gas, while gas-water heat exchangers are used for heat exchange between gas and water. Structural parameters refer to the geometric dimensions and internal structural parameters of the heat exchanger, including tank dimensions, tube-side dimensions, shell-side dimensions, tank type, tank shape, and equipment elevation; process parameters refer to the process conditions of the medium during heat exchanger operation, including tube-side process parameters, shell-side process parameters, and heat exchange temperature parameters; equipment performance parameters refer to parameters describing the heat transfer and flow characteristics of the heat exchanger, including overall heat transfer coefficient, incremental parameters, flow efficiency, minimum flow rate parameters, and pressure loss parameters. In practice, for example, model instances of the oil-gas heat exchanger and the gas-water heat exchanger are first created in the simulation software. Then, the parameters of each are entered into the corresponding model instances, so that the model can calculate the temperature and pressure parameters of the outlet medium based on the inlet medium's flow rate and temperature parameters during simulation. After the model is built, a single-unit simulation can be run by inputting the design point operating parameters to verify the accuracy of the entered model parameters. Figure 8A schematic diagram of a gas-water heat exchanger model provided in an embodiment of this application is shown; Figure 9 A schematic diagram of the parameter configuration interface of the gas-water heat exchanger model provided in the embodiments of this application is shown, which can be used as a reference when understanding the structure and parameter configuration method of the gas-water heat exchanger model.

[0035] It is also necessary to construct corresponding motor models based on the electrical parameters, mechanical dynamic parameters, and performance curve data of the motors of each compressor in the target compressed air energy storage device. Electrical parameters refer to the rated electrical characteristic data of the motor, including rated power, rated voltage, rated current, and rated frequency; mechanical dynamic parameters refer to parameters describing the mechanical motion characteristics of the motor, such as synchronous speed, full-load speed, full-load power, rated speed, full-load torque, moment of inertia, and coefficient of friction; performance curve data refers to the characteristic curves of the motor during operation, including speed-torque curves, acceleration curves, and torsional curves. In practice, for example, an independent model instance is first created for each motor in simulation software; then, the electrical parameters, mechanical dynamic parameters, and performance curve data are entered into the corresponding motor model instance, enabling the model to calculate the output torque and actual speed of the motor based on the input speed command, combined with the motor's inertia and friction characteristics, and drive the compressor to rotate during simulation. After the model is constructed, individual simulation runs can be performed to verify the model's accuracy. Figure 10 A schematic diagram of the motor model provided in an embodiment of this application is shown; Figure 11 A schematic diagram of the parameter configuration interface of the motor model provided in the embodiment of this application is shown, which can be used as a reference when understanding the structure of the motor model and the parameter configuration method.

[0036] It is also necessary to construct corresponding valve models based on the structural parameters, flow characteristic parameters, and actuation characteristic parameters of each valve in the target compressed air energy storage device. Here, valves include anti-surge valves, pressure relief valves, and outlet valves. Structural parameters refer to the valve type and basic structural information, including valve type, valve model, and valve diameter; flow characteristic parameters refer to the valve's flow capacity parameters, mainly including the flow capacity coefficient, which describes the fluid flow rate that the valve can pass through at a specific opening degree; actuation characteristic parameters refer to the valve's time response characteristics during the opening and closing process, including the action time from fully open to fully closed, the action time from fully closed to fully open, and the process parameters before and after the valve. In specific implementation, for example, an independent model instance is first created for each valve in the simulation software; then, the structural parameters, flow characteristic parameters, and actuation characteristic parameters are entered into the corresponding valve model instance, so that the model can calculate the actual flow rate and pressure drop before and after the valve at the current opening degree based on the received opening command value, combined with the valve's flow capacity coefficient and action time characteristics during simulation operation. Figure 12A schematic diagram of the parameter configuration interface of the valve model provided in the embodiment of this application is shown, which can be used as a reference when understanding the model parameter configuration method.

[0037] It is also necessary to construct a pipeline model based on the geometric parameters and connection relationships of the pipelines in the target compressed air energy storage device. The geometric parameters of the pipeline refer to its physical dimensions, including length and inner diameter; the connection relationships refer to the routing and connection methods of each pipeline segment in the process flow, i.e., which equipment the pipeline connects to sequentially. In practice, firstly, model instances of each pipeline segment are created in the simulation software, specifying the length and inner diameter values ​​for each segment; then, according to the actual flow of the process, each pipeline model instance is sequentially connected to the corresponding equipment outlet and inlet to form a complete working fluid flow path.

[0038] It is also necessary to construct a volumetric model of the equipment based on the internal volumetric parameters of the equipment in the target compressed air energy storage device. Here, the internal volumetric parameters of the equipment refer to the volumetric space available for the working fluid within the casing of each device, which determines the rate of pressure change when the working fluid flows into or out of the device. In practice, a volumetric model instance can be created in the simulation software for each device that requires a volumetric model; then, the internal volumetric parameters of the device are entered into the corresponding volumetric model instance, so that the model can calculate the real-time changes in the internal pressure of the device based on the difference between the inflow and outflow mass flow rates during simulation. Figure 13 A schematic diagram of the parameter configuration interface of the equipment volume model provided in the embodiment of this application is shown, which can be used as a reference when understanding the model parameter configuration method.

[0039] Furthermore, a volumetric model of the target compressed air energy storage device needs to be constructed based on the dead space volume parameters at the device connection points and the manifold volume parameters. The dead space volume refers to the small, non-negligible volume space located inside connecting flanges, tees, elbows, and other connecting components, excluding the main pipes and equipment. The manifold volume refers to the internal volume of a short, thick pipe section or header where multiple pipes converge. In practice, volumetric model instances for the dead space volume and manifold volume can be created separately in simulation software. The volume values ​​at each connection point and manifold can be entered into the corresponding volumetric model instances. Then, each volumetric instance can be connected to the upstream and downstream pipe models according to the process system connection diagram to form a complete pressure response calculation network.

[0040] Furthermore, an oil circuit system model needs to be constructed based on the structural and equipment parameters of the oil circuit system in the target compressed air energy storage device. The oil circuit system refers to the auxiliary system that provides lubricating and cooling oil to the compressor unit. Structural parameters refer to the connection relationships and layout information between various devices in the oil circuit system; equipment parameters refer to the specifications and performance data of each device in the oil circuit system, including the volume of the oil station, the flow and pressure characteristics of the oil pump, the flow capacity and pressure drop characteristics of the filter, and the type and parameters of each control valve in the oil circuit system. In practice, for example, first, create separate oil station model instances, oil pump model instances, filter model instances, and valve model instances in the simulation software; then, input the parameters of each device into the corresponding model instances; finally, connect the model instances in series according to the connection relationships in the oil circuit system schematic diagram to form a complete oil circuit system simulation model. Figure 14 A schematic diagram of the structure of the oil circuit system model provided in the embodiments of this application is shown, which can be used as a reference when understanding the structure of the oil circuit system model.

[0041] It is also necessary to construct a process loop logic model based on the control logic information of the process equipment in the target compressed air energy storage device.

[0042] In some embodiments, constructing a process loop logic model based on the control logic information of the process equipment in the target compressed air energy storage device includes: generating logical connection relationships between each process equipment and trigger condition parameters for each logical node based on the equipment control relationship diagram and trigger condition constraint table in the control logic information; generating time sequence control rules and interlock protection rules for each process equipment based on the equipment start-up sequence rules, shutdown sequence rules, and interlock protection action conditions in the control logic information; and creating corresponding logical node model instances and connecting them according to the connection relationships based on the logical connection relationships, trigger condition parameters, time sequence control rules, and interlock protection rules to generate the process loop logic model.

[0043] In this embodiment, the control logic information specifically includes an equipment control relationship diagram, a trigger condition constraint table, equipment start-up sequence specifications, shutdown sequence specifications, and interlock protection action conditions. The equipment control relationship diagram describes the signal flow and control dependencies between various process devices; the trigger condition constraint table specifies the specific conditions required for each control action to be executed; the equipment start-up sequence specifications and shutdown sequence specifications describe the sequential timing of each action during equipment start-up and shutdown; and the interlock protection action conditions specify the protection action logic of each device when abnormal operating conditions occur.

[0044] Based on the equipment control relationship diagram and trigger condition constraint table in the control logic information, generating the logical connection relationships between various process equipment and the trigger condition parameters for each logical node refers to converting the signal connection relationships and condition constraints in the control logic diagram into connection relationships and parameters that can be recognized by the logical model. In specific implementation, firstly, the equipment control relationship diagram is parsed to extract the connection information between each device, identifying the starting device, ending device, and signal type represented by the connection, and recording each set of starting-ending-signal type as a logical connection relationship; then, the trigger condition constraint table is parsed to extract the control action name and its corresponding trigger condition expression from each record. The condition expression is composed of multiple condition items combined through logical AND-OR relationships; finally, the parsed logical connection relationships and trigger condition parameters are stored as structured data for use in subsequent steps.

[0045] Based on the equipment start-up sequence, shutdown sequence, and interlocking protection action conditions in the control logic information, time-series control rules and interlocking protection rules for each process device are generated. This means transforming the timing requirements and interlocking protection requirements in the equipment operation manual into executable rules for the model. Specifically, the order of start-up actions and the time interval between adjacent actions are extracted from the equipment start-up sequence, and this information is organized chronologically into the start-up part of the time-series control rules. Similarly, the order of shutdown actions and the time interval are extracted from the shutdown sequence, and organized chronologically into the shutdown part of the time-series control rules. Finally, the trigger condition expressions for each protection event and their corresponding equipment action instructions are extracted from the interlocking protection action conditions and organized into an interlocking protection rule table. The time-series control rules and interlocking protection rules together constitute the basis for determining when and what actions to execute during the runtime of the process loop logic model.

[0046] Based on the logical connection relationships, trigger condition parameters, time sequence control rules, and interlocking protection rules, corresponding logical node model instances are created and connected according to the connection relationships to generate the process loop logic model. This means instantiating all the rules and relationship data generated in the preceding steps into the simulation model. Specifically, in the simulation software, a logical node model instance is created for each control action. A logical node is the basic unit in the simulation software used to execute logical judgments and output control commands. Each logical node instance includes an input interface, an output interface, and internal judgment logic. Then, according to the logical connection relationships, the output interfaces of each logical node instance are connected to the input interfaces of the corresponding downstream nodes, establishing signal transmission paths between nodes. Next, trigger condition parameters are configured into the corresponding logical node instances, enabling the node to determine whether to output a control command based on preset conditions after receiving an input signal. Time sequence control rules are configured into the corresponding logical node instances, enabling the nodes to execute actions according to preset timing requirements. Interlocking protection rules are configured into the corresponding logical node instances, enabling the nodes to prioritize protection actions when abnormal conditions are detected. After all configurations are completed, all logical node instances form a complete logical network through connection relationships, i.e., the process loop logic model. During simulation, the model automatically performs logical judgments and outputs corresponding control commands based on input signals, current state, and preset rules, driving equipment models such as valves and motors to perform corresponding actions, thereby achieving automatic control of the compressor unit's start-up and shutdown process. Figure 15 The diagram shows a logical structure of the process loop logic model provided in the embodiment of this application, which can be used as a reference when understanding the connection relationship between logic nodes.

[0047] Furthermore, a measurement point model needs to be constructed based on the measurement point identification parameters, measurement point type parameters, range parameters, engineering unit parameters, and installation location parameters in the measurement point loop table of the target compressed air energy storage device. The measurement point loop table is a design document describing all measurement points in the entire device, recording the identification parameters, type parameters, range parameters, engineering unit parameters, and installation location parameters for each measurement point. The measurement point identification parameter refers to the unique number or name of the measurement point, used for identification and addressing; the measurement point type parameter refers to the type of physical quantity measured by the measurement point, including temperature, pressure, flow rate, liquid level, etc.; the range parameter refers to the upper and lower limits of the physical quantity range that the measuring instrument can measure; the engineering unit parameter refers to the unit of the physical quantity of the measurement result, such as degrees Celsius, bar, kilograms per hour, etc.; the installation location parameter refers to the specific installation location of the measurement point in the process flow, i.e., which equipment outlet or pipeline section the measurement point is installed on. In practice, an independent measuring point model instance is created for each measuring point in the simulation software based on the measuring point loop table. Then, the identifier, type, upper and lower limits of the measuring point, and engineering unit information are entered. Finally, according to the installation location parameters, the measuring point model instance is bound and associated with the corresponding process pipeline section or equipment outlet in the simulation model, so that the measuring point model can automatically read the real-time process parameters at that location during the simulation operation and display them in the format of range and unit. Figure 16 This diagram illustrates the real-time data display interface of the measurement point model provided in this embodiment during simulation.

[0048] Based on the flowmeter, guide vane data, and frequency converter parameters in the target compressed air energy storage device, it is also necessary to construct flowmeter models, inlet guide vane models, and frequency converter models. Here, flowmeter parameters are derived from flow calculation reports, including the flowmeter's measurement range, flow coefficient, design reference temperature, and design reference pressure; guide vane data is derived from the guide vane manufacturer's technical data, including the guide vane model and performance correction coefficients at various angles; frequency converter parameters are derived from the frequency converter's technical data, including the frequency converter's rated frequency range and the correspondence between output frequency and rotational speed. In practice, for example, flowmeter model instances, inlet guide vane model instances, and frequency converter model instances are first created in simulation software. Then, the flowmeter parameters, guide vane data, and frequency converter parameters are entered into the corresponding model instances, enabling each model to output corresponding measured or adjusted values ​​based on input conditions during simulation operation. The flowmeter model is used to measure the instantaneous flow rate of the working fluid in the pipeline, the inlet guide vane model is used to simulate the impact of guide vane opening changes on compressor performance, and the frequency converter model is used to simulate the conversion relationship between the frequency converter's output frequency and the compressor's rotational speed. Figure 17 This paper shows a schematic diagram of the parameter configuration interface of the flow meter model provided in an embodiment of this application. Figure 18 This diagram illustrates the parameter configuration interface of the inlet guide vane model provided in an embodiment of this application. Figure 19A schematic diagram of the parameter configuration interface of the inverter model provided in the embodiment of this application is shown, which can be used as a reference when understanding the model parameter configuration method.

[0049] Regarding S102 above: The seven data points—the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the opening value of the vent valve, and the speed value of the inverter of the high-pressure centrifugal compressor—correspond to all the active control methods of the three compressor units in the CAES unit: the two inlet guide vanes control the intake volume of the LP and MP compressors respectively, the three anti-surge valves protect the three compressors from entering the surge zone, the vent valve is used to release system pressure during unloading and shutdown, and the inverter changes its output by adjusting the speed of the HP compressor.

[0050] For example, Figure 20 This paper shows the operating point trajectory diagram when the inlet guide vane of the low-pressure compressor opens, according to an embodiment of this application. Figure 21 The diagram shows the operating point trajectory of the anti-surge valve of the low-pressure compressor provided in this embodiment when it is opened. Figure 22 The diagram illustrates the operating point trajectory of the high-pressure compressor as its speed increases, according to an embodiment of this application. (Combined with...) Figure 20 , Figure 21 and Figure 22 It can be seen that under no-load conditions, when the inlet guide vane opening of the LP compressor increases, the operating point of the LP compressor moves to the upper right of the anti-surge coordinate system; when the opening of the anti-surge valve of the LP compressor decreases, the operating point of the LP compressor moves to the upper left of the anti-surge coordinate system; and when the speed of the HP compressor increases, the operating point of the HP compressor moves to the upper right of the anti-surge coordinate system.

[0051] Figure 23 This paper shows the trajectory of the high-pressure compressor's operating point when the anti-surge valve of the high-pressure compressor provided in the embodiment of this application is continuously opened; Figure 24 The diagram shows the operating point trajectory of three compressors when the anti-surge valve of the high-pressure compressor provided in this embodiment of the application is continuously opened; Figure 25 This paper shows the trajectory of the operating point of the high-pressure compressor when its speed decreases, as provided in an embodiment of this application. Figure 26 The diagram illustrates the operating point trajectories of three compressors when the high-pressure compressor speed decreases, as provided in an embodiment of this application. (Combined with...) Figure 23-26It can be seen that when the LP, MP, and HP compressor units are under full load, as the anti-surge valve of the HP compressor gradually opens, the operating point of the HP compressor unit moves to the lower right of the anti-surge coordinate system; at the same time, the operating points of the LP and MP compressor units move to the upper left of the anti-surge coordinate system; when the HP compressor gradually reduces its speed, the operating point of the HP compressor unit moves to the lower left of the anti-surge coordinate system; at the same time, the operating points of the LP and MP compressor units move to the upper left of the anti-surge coordinate system.

[0052] Therefore, in order to verify the optimal control scheme using simulation models, it is necessary to obtain multiple control schemes composed of these seven types of data. Each control scheme includes the opening values ​​of the low-pressure centrifugal compressor inlet guide vane, medium-pressure centrifugal compressor inlet guide vane, low-pressure centrifugal compressor anti-surge valve, medium-pressure centrifugal compressor anti-surge valve, high-pressure centrifugal compressor anti-surge valve, vent valve, and high-pressure centrifugal compressor frequency converter at multiple time points. The opening value and speed value at the same time point constitute a set of control commands for that time point, and the control commands at each time point are arranged in chronological order to form the control scheme.

[0053] In practice, in some embodiments, the control schemes can be obtained through manual input, that is, engineers can manually fill in or drag sliders to input valve opening and speed values ​​through the front-end interface of simulation software.

[0054] In other embodiments, the compressor unit control method of the compressed air energy storage device is implemented based on the compressor unit control system of the compressed air energy storage device. The system includes: a simulation server, a control system, and a communication module. The compressor unit control method of the compressed air energy storage device is deployed on the simulation server. The communication module is used to establish a communication connection between the simulation server and the control system, and to perform data interaction between the simulation server and the control system. It also acquires multiple control schemes, including: acquiring multiple control schemes from the control system through the communication module.

[0055] In this embodiment, the control system refers to an industrial control device or system used to automatically control the compressor unit in the compressed air energy storage device, typically a programmable logic controller (PLC) or a distributed control system (DCS). The control system stores a pre-written one-button start / stop control logic program, which outputs a complete control command timing sequence, i.e., a control scheme. This control command timing sequence includes the opening values ​​of the low-pressure centrifugal compressor inlet guide vane, medium-pressure centrifugal compressor inlet guide vane, low-pressure centrifugal compressor anti-surge valve, medium-pressure centrifugal compressor anti-surge valve, high-pressure centrifugal compressor anti-surge valve, and vent valve at each time point, as well as the rotational speed of the high-pressure centrifugal compressor inverter. The opening value and rotational speed value at the same time constitute a set of control commands for that time point. The control commands at each time point are arranged in chronological order to form the control command timing sequence, which is then sent to the simulation server via a communication module.

[0056] In this embodiment, the control system is the source of control commands for the simulation model, responsible for providing the timing sequence of the control commands to the simulation model. The simulation server is also the source of feedback data for the control system, responsible for transmitting the dynamic response data sequence at each moment obtained from the dynamic simulation back to the control system through the communication module. After receiving the dynamic response data sequence, the control system writes the dynamic response data at each moment into the corresponding internal feedback variables, which are then used by the one-button start / stop control logic program to make decisions in subsequent control cycles.

[0057] The simulation server initiates a data read request to the control system via the communication module, requesting to obtain the control command timing sequence. After receiving the read request, the control system extracts the control command timing sequence from its internal storage unit, generating an original command value timing sequence. The control system sends the original command value timing sequence to the simulation server via the communication module. After receiving the original command value timing sequence, the simulation server converts the original values ​​at each moment into opening and speed values ​​in engineering units recognizable within the simulation model, according to preset data type and unit conversion rules, generating a converted command value timing sequence. The simulation server assigns the values ​​of each moment in the converted command value timing sequence to the corresponding valve input interface variables and frequency converter input interface variables in the simulation model, generating a set of control command input parameters that can be used to drive the simulation model.

[0058] This embodiment provides a control scheme acquisition method based on the collaboration of a simulation server, control system, and communication module. The communication module establishes a stable communication connection between the simulation server and the control system, opening up the data interaction link between the two sides and enabling standardized bidirectional transmission of control parameters and operational data. It directly acquires multiple sets of control schemes to be verified from the control system side, ensuring that the parameter format and data caliber of the control scheme input to the simulation side are completely consistent with the field control system, avoiding parameter deviations caused by manual input or format conversion. Simultaneously, it can directly reuse the strategy configuration system of the field control system, achieving seamless adaptation between simulation verification and the field control architecture. Ultimately, this embodiment can obtain simulation verification results that are more closely aligned with actual field engineering conditions, improving the accuracy of control scheme verification and the efficiency of practical application.

[0059] Research has revealed that in practical engineering applications, the software of some control systems does not support OPC bidirectional communication by default in offline simulation mode. This means that although the control system program can run normally and calculate control command values ​​in this mode, these command values ​​cannot be read by external systems through the standard OPC protocol, and feedback data from external systems cannot be written to the control system. As a result, the control system and the simulation model cannot interact with each other in the offline simulation environment.

[0060] Based on this, in some embodiments of this application, the communication module includes at least a data mapping submodule, which is embedded in the user control program of the control system and is used to: respond to a read request sent by the simulation server; the read request is used to obtain the opening value of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the inverter of the high-pressure centrifugal compressor; the data mapping submodule is specifically used to: query the register address corresponding to each variable name according to the variable name list carried in the read request and the internally stored correspondence between variable names and register addresses, and generate a list of register addresses to be read; extract the currently stored values ​​from each register address of the control system according to the list of register addresses to be read, and generate an original response data sequence; convert the original response data sequence into the opening value and speed value of the corresponding variable name according to the correspondence between variable names and register addresses and the preset value parsing rules, generate a response data packet, and return it to the simulation server.

[0061] In this embodiment, the communication module includes a data mapping submodule, which is embedded in the user control program of the control system. The user control program refers to the application code written by the control engineer to implement the one-button start / stop control logic of the compressor unit; this program runs within a programmable logic controller or distributed control system. The data mapping submodule is essentially a piece of data interface processing logic embedded in the user control program. Its function is to associate the variables used internally by the user control program with the register addresses of external standard communication protocols, enabling external systems to access these internal variables through standardized protocols.

[0062] The core function of the data mapping submodule is to maintain a table mapping variable names to register addresses. This table records the name of each internal variable that needs to be interacted with externally, its corresponding register address number, data type, and read / write permissions. This table, also known as a mapping list or data point translation table, is the foundation of the entire data exchange process. Figure 27 The diagram shows a configuration interface for the correspondence between variable names and register addresses provided in an embodiment of this application. The “Name” column records the variable name of each variable, the “MODBUS Sequence Number” column records the register address number corresponding to each variable, and the “Data Type” and “MODBUS Function Code” columns define the data type and read / write permissions of each variable, respectively.

[0063] The data mapping submodule passively responds to read requests sent by the simulation server via the communication module. A read request is a data retrieval instruction generated by the simulation server according to a preset communication protocol format, carrying a list of variable names corresponding to the data the simulation server wishes to obtain. Upon receiving this read request, the data mapping submodule of the control system initiates the subsequent data query and retrieval process. The simulation server's action of sending read requests is typically repeated at fixed time intervals to ensure that the simulation model continuously receives the latest control command values.

[0064] The list of variable names carried in the read request contains variable identifiers for all the data the simulation server currently needs to acquire, such as the variable name representing the current opening of the inlet guide vanes of the low-pressure centrifugal compressor. Upon receiving this list, the data mapping submodule iterates through each variable name in the list, using that variable name as the index key to perform a match query in its internally stored variable name-register address mapping table. Essentially, the query operation searches this table for a record that exactly matches the input variable name. Once a match is found, the corresponding register address number can be extracted from that record. After querying all variable names, all the matched register address numbers are organized into a list of register addresses to be read, in the order specified in the request. This list indicates the precise location from which data needs to be retrieved from the control system's memory. If a variable name cannot be found in the mapping table, it is considered a configuration error, and the data mapping submodule will log the exception and return an error message.

[0065] After obtaining the list of register addresses to be read, the data mapping submodule accesses the corresponding register storage units in the control system's memory one by one according to the register address numbers in the list. Registers are the basic units in the control system's memory used to store data; each register has a unique address number, and external systems can read or write the data stored in it by specifying this number. The data mapping submodule performs a memory read operation according to each register address, extracting the binary values ​​currently stored in each register. These values ​​are the raw data written to the registers by the control system program after executing the control logic, without any unit conversion or engineering conversion. All extracted values ​​are organized according to the register address list to form a raw response data sequence.

[0066] The raw values ​​extracted from registers are typically not in engineering units that the simulation model can directly recognize. This is because control systems often use scaled integers or other encoding formats to store data for storage and communication efficiency. The numerical parsing rules contain all the information needed to convert the raw values ​​to engineering units, including data type definitions, range conversion factors, offsets, and engineering unit identifiers. The data type definition specifies whether the raw value is stored as an integer, floating-point number, or another encoding format; the range conversion factor defines the proportional relationship between the raw value and the actual engineering value; and the offset is used to handle zero-point offsets. The data mapping submodule determines which variable corresponds to the currently processed raw value based on the correspondence between variable names and register addresses. It then searches the preset numerical parsing rules for that variable and calculates the raw value into the actual opening or rotational speed in engineering units according to the conversion formula defined in the rules. After completing the conversion of all raw values, the converted engineering unit values ​​are associated with their corresponding variable names and encapsulated into a response data packet. The response data packet is a data structure organized according to a communication protocol format. It contains the current values ​​of all variables requested by the simulation server. After receiving the response data packet, the simulation server can directly assign the values ​​to the corresponding input variables in the simulation model to drive the model to perform dynamic simulation calculations. After the data mapping submodule completes the assembly of the response data packet, it returns the data packet to the simulation server through the communication module, thus completing a complete response reading process.

[0067] In this embodiment, the communication module is a data mapping submodule embedded within the user control program of the control system. This module can bypass the functional limitations of the native communication protocol in the offline simulation mode of the control system and establish an external data reading channel without modifying the underlying system architecture. Upon receiving a read request from the simulation server, it queries and generates a list of register addresses to be read based on the variable name list carried in the request and the correspondence between the variable names and register addresses stored internally. This allows for precise location of the storage location of various control parameters, ensuring the accuracy and directionality of data reading. Then, it extracts the original values ​​from the corresponding registers according to the address list and converts the original data into the opening and rotational speed values ​​of the corresponding variables according to preset numerical parsing rules. This data is then encapsulated into a response data packet and returned to the simulation server, achieving standardized data format conversion and reliable transmission. Ultimately, this embodiment achieves a more stable and compatible cross-system data interaction effect in the offline environment, improving the adaptability of the control system and simulation model linkage verification and the reliability of data transmission.

[0068] Research has revealed that in practical engineering applications, the control system is provided by one vendor, whose OPC server follows that vendor's variable naming rules and data structure definitions; while the simulation software is provided by another vendor, whose OPC server follows an independent variable naming system and data organization method. Even if both ends support the OPC communication protocol, because the variable names, data tags, and access interfaces within their respective OPC servers are different, the two OPC servers cannot directly identify each other's data, nor can they correctly associate received values ​​with local variables. Based on this, in some embodiments, the communication module further includes a conversion submodule; the conversion submodule is independently deployed on the computing device between the control system and the simulation server; the conversion submodule is communicatively connected to the first OPC server of the control system and the second OPC server of the simulation server; the conversion submodule stores a mapping relationship between the variable names of the first OPC server and the variable names of the second OPC server, used to: read the values ​​of variables in the first OPC server and write them into the corresponding variables in the second OPC server according to the mapping relationship.

[0069] In this embodiment, the conversion submodule is independently deployed on a computing device between the control system and the simulation server. This computing device is, for example, an industrial-grade computer or server, and is physically connected to both the network where the control system resides and the network where the simulation server resides via network interfaces, enabling data forwarding between the two networks.

[0070] The control system side deploys a first OPC server. An OPC server is a data provider that conforms to the OPC communication protocol standard. It exposes various variables within the control system to the outside world through standardized interfaces, allowing other software supporting the OPC protocol to access them. The simulation server side deploys a second OPC server, also conforming to the OPC communication protocol standard, but its variable namespace is independent of the control system side's namespace. Because the control system and simulation server are built from different software systems, they often use different naming conventions for the same physical quantity. For example, the control system side might name a temperature variable TS0_2.a10MMA10CT161A, while the simulation server side might name it 10MMA10CT161A.PV.

[0071] The mapping relationship between the first OPC server variable name and the second OPC server variable name is used to solve this naming difference problem. The mapping relationship records the pairing correspondence between the control system side variable name and the simulation server side variable name, clearly indicating which control system side variable and which simulation server side variable represent the same physical quantity.

[0072] In practice, the conversion submodule first obtains the network address, service name, and access credentials of the first OPC server and the second OPC server according to a preset configuration file. Based on these connection parameters, it initiates connection requests to the OPC servers at both ends. After successfully verifying the identities of both parties, a communication channel is established, forming a persistent connection. Then, the conversion submodule reads a predefined variable name pairing list from the configuration file. Each record in this list contains a variable name from the first OPC server and a variable name from the second OPC server. The conversion submodule loads this pairing list into memory to form a mapping table for subsequent data transfer operations. Next, the conversion submodule starts a data transfer loop according to a preset data transfer cycle. In each cycle, the conversion submodule iterates through each pairing record according to the mapping table, reads the value of the specified variable in the first OPC server at the current moment for each pairing record, and writes this value into the corresponding variable in the second OPC server, thus completing data synchronization in one direction. When bidirectional data synchronization is required, after completing the data transfer from the first OPC server to the second OPC server, the conversion submodule continues to traverse the mapping table. For each paired record, it reads the value of the specified variable in the paired record at the current moment from the second OPC server and writes this value into the corresponding variable in the paired record on the first OPC server, thus completing the reverse data synchronization. At the end of each data transfer cycle, the conversion submodule records the execution status of the synchronization operation, such as whether the connection status is normal, whether the read / write operation is successful, and whether there are any timeouts or exceptions. If an exception occurs, it attempts to automatically restore the connection or re-execute the failed operation. When the conversion submodule receives a stop command or detects a fatal exception, it actively disconnects the communication connection with both OPC servers, releases the occupied network and memory resources, and records a complete log of the entire operation for subsequent troubleshooting and auditing. Through these steps, the conversion submodule achieves bidirectional data synchronization between the control system and the simulation server based on the OPC protocol, enabling the control system's command values ​​to reach the simulation server to drive the model's operation, while the simulation server's feedback values ​​reach the control system for its logical judgment.

[0073] In practice, the conversion submodule is presented as OpcHub, a dedicated communication software independently developed by the inventor. Figure 28 A schematic diagram of the operating interface of OpcHub provided in an embodiment of this application is shown. See also Figure 28As shown, the top area of ​​the interface displays that OpcHub is connected to the first OPC server of the control system and the second OPC server of the simulation server. Server1 on the left points to the OPC server of the control system, and Server2 on the right points to the OPC server of the simulation software. The data transmission cycle is set to 1000 milliseconds, and the two servers run on different computers, indicating that data is transmitted across machines via the network. The large table at the bottom of the interface is the core area for data mapping and real-time numerical monitoring. Each row in the table represents a pair of variable binding mappings. The "Server1 Tags" column on the left lists the variable names on the control system side, and the "Server2 Tags" column on the right lists the corresponding variable names on the simulation model side. The "Val" columns on both sides have consistent values, indicating that the data is being synchronized in real time and the numerical transmission is accurate. The table lists various types of variables, such as temperature, pressure, liquid level, and valve position feedback, covering various process parameters required for simulation operation. Some variables with values ​​of 0 or 100 correspond to valve position feedback signals, reflecting the current operating state of the simulation. This interface intuitively demonstrates that OpcHub uses variable name binding relationships to map control system-side variable names to simulation model-side variable names, achieving cross-OPC server data transfer and real-time synchronization. The error messages displayed at the bottom are exception prompts during software operation, indicating that this interface was captured from a real debugging process.

[0074] In this embodiment, the communication module includes a mapping submodule and a conversion submodule independently deployed on the computing device between the control system and the simulation server. The conversion submodule connects to both OPC servers and stores the variable name mapping relationship internally, enabling data communication between the two ends without modifying their own naming systems. This independent deployment method ensures that the conversion submodule does not occupy the computing resources of the control system or the simulation server, avoiding the complex operations and potential risks of modifying the original configuration of either system. At the same time, according to the mapping relationship, the value of the variable of the first OPC server is directly read and written to the corresponding variable of the second OPC server. This process does not require both parties to know the other's variable naming rules. The conversion submodule completes the variable name matching and value transfer in the middle, enabling two OPC servers that originally could not communicate directly due to different manufacturers and naming rules to achieve data sharing. Finally, this embodiment provides a more efficient and universal data communication solution between the control system and the simulation server, providing a reliable data transmission foundation for subsequent closed-loop control verification based on simulation results.

[0075] Regarding the above S103: Step S103 involves inputting the control scheme into the simulation model, performing dynamic simulation, and obtaining dynamic response data. In this step, the control command refers to the set of valve opening values ​​and inverter speed values ​​at each moment in the above control scheme, which are the specific input data received and responded to by the simulation model at each time step.

[0076] During implementation, after obtaining multiple control schemes, each control scheme is used as an input condition and sequentially input into the digital twin dynamic simulation model of the compressor unit for dynamic simulation. Specifically, for each control scheme, the simulation engine calculates step by step according to the timing sequence of control commands contained in the scheme, starting from the initial moment. At each moment, the valve opening value and inverter speed value corresponding to that moment are written into the corresponding input interface variables in the simulation model. The mathematical equations of each equipment model are solved, and the following values ​​are output at that moment: outlet pressure, outlet temperature, inlet temperature, inlet pressure, inlet flow rate, outlet flow rate, speed, and power value of each compressor; outlet temperature value of each heat exchanger; liquid level value of each container; valve opening feedback value; and pressure, temperature, and flow measurement values ​​at each measuring point. This process continues until the endpoint of the control scheme is reached, completing one full dynamic simulation of the scheme and obtaining the complete dynamic response data corresponding to the candidate control scheme. The above simulation process is performed for each control scheme to obtain the dynamic response data corresponding to each control scheme, which is used for subsequent steps for safety verification and scheme evaluation.

[0077] Regarding S104 above: Finally, based on the dynamic response data corresponding to the multiple control schemes, the optimal control scheme for the compressor unit is determined.

[0078] Specifically, in some embodiments, determining the optimal control scheme for the compressor unit based on the dynamic response data corresponding to the multiple control schemes includes: performing safety verification on the dynamic response data obtained from multiple simulations according to a preset set of safety constraints to obtain a set of candidate simulation results that pass the safety verification; taking the control scheme corresponding to each element in the candidate simulation result set as a candidate control scheme, and calculating the index values ​​of the following indicators for the candidate control scheme: surge margin, settling time, and volatility; calculating the comprehensive score result of each candidate control scheme based on the index values; and determining the optimal control scheme based on the comprehensive score result of each candidate control scheme.

[0079] In this embodiment, the safety constraint set refers to a pre-defined set of boundary conditions used to determine whether the simulation results meet the safety operation requirements of the compressor unit.

[0080] Specifically, the set of safety constraints includes, for example, surge boundary constraints and temperature limit constraints. The surge boundary constraint refers to a surge boundary line on the compressor unit's performance curve. When the compressor's operating point (determined by the inlet flow rate and pressure ratio) is located to the right of this boundary line, the unit operates stably; when the operating point crosses this boundary line and enters the left-hand region, the compressor will experience surge. The temperature limit constraint means that the outlet temperature of each stage of the compressor must not exceed the maximum permissible operating temperature determined by the material's heat resistance properties.

[0081] In practice, for the dynamic response data obtained from each simulation run, the operating point coordinates (inlet flow rate and pressure ratio) of each compressor and the outlet temperature values ​​of each stage of each compressor are extracted at each moment during the entire simulation process. It is then determined whether the operating point of each compressor at each moment is located to the right of the surge boundary line and whether the outlet temperature of each stage is lower than the maximum allowable temperature. If both conditions are met at all moments during the entire simulation process, the simulation result is deemed to have passed the safety verification; otherwise, it is deemed to have failed the safety verification. Simulation results that pass the safety verification constitute a candidate simulation result set.

[0082] Next, the control scheme corresponding to each element in the candidate simulation result set is taken as a candidate control scheme, and the following index values ​​of the candidate control scheme are calculated: surge margin, settling time, and volatility.

[0083] Surge margin refers to the safe distance between the compressor's current operating point and the surge boundary line, used to quantitatively assess the safety of a control scheme during operation. The surge margin is calculated as follows: for a candidate control scheme in the candidate simulation result set, extract the operating point coordinates of each compressor at each moment during the entire simulation process corresponding to the scheme, calculate the pressure ratio difference or flow rate difference between each operating point and the surge boundary line at each moment, and take the minimum value of this difference across all moments as the surge margin index value of the candidate scheme. A larger surge margin indicates that the control scheme is further away from the surge region during operation, and thus has higher safety.

[0084] Settling time refers to the total time required from the issuance of a control command to the system reaching the target operating condition. It is used to quantitatively evaluate the response speed of a control scheme. For a loading control scheme, the settling time is the total time required from the issuance of the start command to all three compressors reaching their rated operating conditions. For an unloading control scheme, the settling time is the total time required from the issuance of the stop command to the complete shutdown and depressurization of all three compressors. The settling time is calculated by extracting the time span from the initial state to the target state from the simulation results corresponding to the candidate scheme, and outputting this duration in seconds or minutes. The shorter the settling time, the faster the response speed of the control scheme.

[0085] Volatility refers to the ratio of the maximum instantaneous deviation of a key process parameter from its target value to its rated value during loading or unloading. It is used to quantitatively assess the operational stability of a control scheme. Specifically, for example, volatility is the amplitude of outlet pressure fluctuations. Volatility is calculated by extracting the outlet pressure values ​​at each moment during the entire simulation process corresponding to the candidate scheme, calculating its maximum deviation from the target pressure, dividing this maximum deviation by the rated pressure value, and outputting the result as a percentage. A lower volatility indicates a smoother control process and less impact on unit equipment and piping networks.

[0086] Then, based on the values ​​of each indicator, the comprehensive score of each candidate control scheme is calculated. In specific implementation, for example, the surge margin, settling time, and volatility values ​​are first normalized to ensure they are within the same numerical dimension range; then, according to a preset weighting parameter set, the three normalized indicator values ​​are weighted and summed to obtain the comprehensive score. The weighting parameter set can be set according to actual needs; this embodiment does not limit its implementation.

[0087] Finally, based on the comprehensive scoring results of each candidate control scheme, the optimal control scheme is determined. Specifically, the candidate scheme with the highest comprehensive score is selected; all control command timing data corresponding to this candidate scheme (including the valve opening value and inverter speed value at each moment) are output as a one-button start / stop control scheme for the compressor unit. For example, the optimal loading scheme is as follows: 1. Before startup, the inlet guide vanes of LP and MP are slightly opened by 5%, the HP inverter output is 0, and the anti-surge valves of LP, MP, and HP are fully open; 2. The three compressors start simultaneously, the inlet guide vanes of LP and MP are continuously opened, and the HP compressor speed is adjusted by the inverter to the minimum operating speed of 1236 rpm, and the speed is continuously increased; 3. The anti-surge valves of MP and HP compressors are continuously closed, so that the three operating points are close to the anti-surge line; 4. Due to the continuous opening of the inlet guide vanes of LP and HP and the increase of the HP compressor speed, the operating points of the three compressor units are constantly moving towards the upper right along the anti-surge line, that is, the flow rate and pressure ratio are continuously increasing, such as Figure 29 As shown; 5. After the anti-surge valves of the LP, MP, and HP compressors are closed, the inlet guide vanes of the LP and HP compressors and the speed of the HP compressor are continuously adjusted to achieve the fully automatic loading of the outlet pressure setting value, and the one-button loading ends.

[0088] The optimal unloading scheme is as follows: 1. All three compressors simultaneously issue a stop command. HP compressor continuously reduces its speed via frequency converter, while the inlet guide vanes of LP and MP compressors continuously close, bringing the three operating points close to the anti-surge line; 2. The anti-surge valves of LP, MP, and HP compressors continuously open; 3. Due to the continuous reduction in HP compressor speed and the closure of the inlet guide vanes of LP and MP compressors, the operating points of the three compressor units continuously move to the lower right, i.e., the flow rate increases and the pressure ratio decreases. When the speed continues to decrease to a certain level, or the inlet guide vanes close to a certain extent, the inlet flow rate will gradually decrease, and the operating point will continuously move to the lower left until it reaches zero. At this point, the one-button unloading is complete. Figure 30 As shown.

[0089] This embodiment first performs safety verification on all simulated dynamic response data using a preset set of safety constraints, filtering out a set of candidate simulation results that meet the requirements for safe operation, thus eliminating control schemes with safety risks at the source. Next, it calculates the values ​​of three core operating indicators—surge margin, settling time, and volatility—for each candidate control scheme, comprehensively quantifying the operating performance of the control scheme from three dimensions: operating safety margin, regulation response efficiency, and operating condition volatility, providing multi-dimensional objective quantitative basis for scheme evaluation. Subsequently, based on the values ​​of each indicator, it calculates the comprehensive score of each candidate control scheme, integrating multi-dimensional performance parameters into a unified quantitative evaluation standard, achieving objective quantitative comparison and selection of control schemes, and avoiding subjective bias caused by human experience judgment. Finally, this embodiment yields an optimal control scheme for the compressor unit that is safer, more efficient, and has stronger operational stability.

[0090] Those skilled in the art will understand that in the above-described method of the specific embodiments, the order in which the steps are written does not imply a strict execution order, but constitutes no limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0091] It should be noted that in practical applications, all the above-described possible implementation methods can be combined in any way to form possible embodiments of this application, and will not be described in detail here. The information (including but not limited to device information, user information, etc.) and data (including but not limited to data used for analysis, storage, and display) involved in this application are all information and data authorized by the user or fully authorized by all parties. The software tools or components appearing in the embodiments of this application are merely illustrative examples and do not represent actual use.

[0092] Based on the same concept, this application also provides a device for generating a compressor control scheme for a compressed air energy storage device. This device for generating a compressor control scheme for a compressed air energy storage device corresponds one-to-one with the method for generating a compressor control scheme for a compressed air energy storage device in the above embodiments. Figure 31This paper shows a schematic diagram of the structure of the device for generating the compressor unit control scheme of the compressed air energy storage device provided in an embodiment of this application. See also: Figure 31 As shown, the compressor unit control scheme generation device 3100 of the compressed air energy storage device provided in this application embodiment includes: The model building module 3101 is used to build a corresponding digital twin dynamic simulation model of the compressor unit based on the actual equipment parameters of the target compressed air energy storage device; the compressor unit of the target compressed air energy storage device includes a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor and a high-pressure centrifugal compressor connected in series. The acquisition module 3102 is used to acquire multiple control schemes; the control scheme includes the opening values ​​of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the frequency converter of the high-pressure centrifugal compressor at multiple times. The opening value and speed value at the same time constitute a set of control commands at that time. The control commands at each time are arranged in chronological order to form the control scheme. The simulation module 3103 is used to take the control commands in the control scheme as input conditions, and use the digital twin dynamic simulation model of the compressor unit to perform dynamic simulation to obtain the dynamic response data of the compressor unit under the input conditions. The generation module 3104 is used to determine the optimal control scheme for the compressor unit based on the dynamic response data corresponding to the multiple control schemes.

[0093] In some embodiments, in the above-described device, the model building module 3101 is specifically used for: constructing corresponding compressor models based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device; constructing an air filter model based on the structural parameters, spatial location parameters, and operating process parameters of the air filter in the target compressed air energy storage device; constructing an air-water separator model based on the structural parameters, process parameters, and equipment performance parameters of the air-water separator in the target compressed air energy storage device; constructing an oil-gas heat exchanger model and an air-water heat exchanger model based on the structural parameters, process parameters, and equipment performance parameters of the oil-gas heat exchanger and the air-water heat exchanger in the target compressed air energy storage device; constructing corresponding motor models based on the electrical parameters, mechanical dynamic parameters, and performance curve data of the motor of each compressor in the target compressed air energy storage device; and constructing models based on the structural parameters, spatial location parameters, and operating process parameters of each valve in the target compressed air energy storage device. Based on the flow characteristic parameters and action characteristic parameters, a corresponding valve model is constructed; based on the geometric parameters and connection relationships of the pipelines in the target compressed air energy storage device, a pipeline model is constructed; based on the internal volume parameters of the equipment in the target compressed air energy storage device, an equipment volume model is constructed; based on the dead cavity volume parameters and manifold volume parameters at the connection points of the equipment in the target compressed air energy storage device, an equipment volume model is constructed; based on the structural parameters and equipment parameters of the oil circuit system in the target compressed air energy storage device, an oil circuit system model is constructed; based on the control logic information of the process equipment in the target compressed air energy storage device, a process loop logic model is constructed; based on the measurement point identification parameters, measurement point type parameters, range parameters, engineering unit parameters, and installation location parameters in the measurement point loop table of the target compressed air energy storage device, a measurement point model is constructed; based on the flow meter, guide vane data, and frequency converter parameters in the target compressed air energy storage device, a flow meter model, an inlet guide vane model, and a frequency converter model are constructed.

[0094] In some embodiments, in the above-described device, the performance characteristic parameters include: a discrete data point set of performance curves for each compressor, each data point containing the inlet volumetric flow rate value and the corresponding pressure ratio value and the corresponding adiabatic efficiency value, the guide vane angle of each compressor and the corresponding performance correction coefficient data, and the inverter frequency and compressor speed data of each compressor; the model building module 3101, when constructing the corresponding compressor model based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device, is specifically used for: for each compressor, based on its corresponding discrete performance curve data... The system fits the data set to generate the coefficient set and intercept set of the pressure ratio function, as well as the coefficient set and intercept set of the efficiency function. It then fits the corresponding data of the guide vane angle and performance correction coefficient to generate the coefficient set and intercept set of the guide vane correction function. Finally, it fits the corresponding data of the inverter frequency and compressor speed to generate the slope and intercept values ​​of the frequency-speed conversion function. The system then inputs the coefficient sets and intercept sets of the pressure ratio function, the efficiency function, the guide vane correction function, and the frequency-speed conversion function into the corresponding compressor model instance to generate the corresponding compressor simulation model.

[0095] In some embodiments, in the above-described apparatus, the model building module 3101, when constructing a process loop logic model based on the control logic information of the process equipment in the target compressed air energy storage device, is specifically used for: generating logical connection relationships between each process equipment and trigger condition parameters for each logical node based on the equipment control relationship diagram and trigger condition constraint table in the control logic information; generating time sequence control rules and interlocking protection rules for each process equipment based on the equipment start-up sequence rules, shutdown sequence rules, and interlocking protection action conditions in the control logic information; and creating corresponding logical node model instances and connecting them according to the connection relationships based on the logical connection relationships, trigger condition parameters, time sequence control rules, and interlocking protection rules to generate the process loop logic model.

[0096] In some embodiments, the device is implemented based on a compressor unit control system of a compressed air energy storage device. The system includes: a simulation server, a control system, and a communication module. The compressor unit control device of the compressed air energy storage device is deployed on the simulation server. The communication module is used to establish a communication connection between the simulation server and the control system, and to perform data interaction between the simulation server and the control system. The acquisition module 3102 is specifically used to: acquire multiple control schemes from the control system through the communication module.

[0097] In some embodiments, in the above-described device, the communication module includes at least a data mapping submodule, which is embedded in the user control program of the control system and is used to: respond to a read request sent by the simulation server; the read request is used to obtain the opening values ​​of the inlet guide vanes of the low-pressure centrifugal compressor, the inlet guide vanes of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the inverter of the high-pressure centrifugal compressor; the data mapping submodule is specifically used to: query the register address corresponding to each variable name according to the variable name list carried in the read request and the internally stored correspondence between variable names and register addresses, and generate a list of register addresses to be read; extract the currently stored values ​​from each register address of the control system according to the list of register addresses to be read, and generate an original response data sequence; convert the original response data sequence into the opening value and speed value of the corresponding variable name according to the correspondence between variable names and register addresses and the preset value parsing rules, generate a response data packet, and return it to the simulation server.

[0098] In some embodiments, the communication module in the above-described apparatus further includes: a conversion submodule; the conversion submodule is independently deployed on a computing device between the control system and the simulation server; the conversion submodule is communicatively connected to a first OPC server of the control system and a second OPC server of the simulation server; the conversion submodule stores a mapping relationship between variable names of the first OPC server and variable names of the second OPC server, and is used to: read the value of the variable in the first OPC server and write it into the corresponding variable in the second OPC server according to the mapping relationship.

[0099] In some embodiments, in the above-described apparatus, the generation module 3104 is specifically used for: performing security verification on the dynamic response data obtained from multiple simulations according to a preset set of security constraints, to obtain a set of candidate simulation results that pass the security verification; taking the control scheme corresponding to each element in the candidate simulation result set as a candidate control scheme, and calculating the index values ​​of the following indicators of the candidate control scheme: surge margin, settling time, and volatility; calculating the comprehensive score result of each candidate control scheme based on the index values; and determining the optimal control scheme based on the comprehensive score result of each candidate control scheme.

[0100] This invention provides a device for generating a compressor unit control scheme for a compressed air energy storage device. First, based on the actual equipment parameters of the target compressed air energy storage device, a digital twin dynamic simulation model of three series-connected centrifugal compressors is constructed. This model accurately replicates the operating characteristics and inter-stage coupling relationships of the actual units, providing a virtual verification platform that closely matches the on-site operating conditions for subsequent control scheme verification. Based on this, multiple control schemes containing timing parameters of guide vanes, valve opening, and variable frequency speed are obtained, covering strategies to be verified with different operating logics and parameter combinations, providing a sufficient sample basis for scheme comparison. Then, the timing control commands of each control scheme are used as input and imported into the simulation model for dynamic simulation. The process of unit operating condition changes under control actions is fully reproduced in a virtual environment, obtaining unit operating response data for all time periods. Finally, the optimal scheme is selected based on the dynamic response data corresponding to multiple control schemes, and the objective comparison of control strategies is completed based on quantified operating indicators. Ultimately, this embodiment avoids the high risks and low efficiency of traditional methods relying on manual experience, resulting in a safer, more reliable, and more adaptable compressor unit control scheme, providing strong technical support for the safe and effective operation of series-connected compressor units.

[0101] Specific limitations regarding the device for generating the compressor unit control scheme for compressed air energy storage devices can be found in the above-mentioned limitations on the method for generating the compressor unit control scheme for compressed air energy storage devices, and will not be repeated here. Each module in the aforementioned device for generating the compressor unit control scheme for compressed air energy storage devices can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0102] Figure 32 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Figure 32 As shown, at the hardware level, this electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or it may include non-volatile memory, such as at least one disk drive. Of course, this electronic device may also include other hardware required for other business operations.

[0103] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 32 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0104] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0105] The processor reads the corresponding computer program from non-volatile memory into memory and then runs it, forming a compressor unit control scheme for the compressed air energy storage device at the logical level. The processor executes the program stored in memory and specifically performs the aforementioned methods.

[0106] The processor may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0107] This electronic device can execute the method for generating a compressor unit control scheme for a compressed air energy storage device provided in several embodiments of this application, and implement the device for generating a compressor unit control scheme for a compressed air energy storage device. Figure 31 The functions of the embodiments shown are not described in detail here.

[0108] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform the method for generating a compressor unit control scheme for a compressed air energy storage device provided in several embodiments of this application.

[0109] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0110] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0111] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0112] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0113] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0114] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0115] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0116] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0117] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for generating a compressor unit control scheme for a compressed air energy storage device, characterized in that, The method includes: Based on the actual equipment parameters of the target compressed air energy storage device, a corresponding digital twin dynamic simulation model of the compressor unit is constructed; the compressor unit of the target compressed air energy storage device includes a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor and a high-pressure centrifugal compressor connected in series. Multiple control schemes are obtained; the control scheme includes the opening values ​​of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the frequency converter of the high-pressure centrifugal compressor at multiple times. The opening value and speed value at the same time constitute a set of control commands at that time. The control commands at each time are arranged in chronological order to form the control scheme. Using the control commands in the control scheme as input conditions, dynamic simulation is performed using the digital twin dynamic simulation model of the compressor unit to obtain the dynamic response data of the compressor unit under the input conditions. The optimal control scheme for the compressor unit is determined based on the dynamic response data corresponding to the multiple control schemes.

2. The method for generating a compressor unit control scheme for a compressed air energy storage device according to claim 1, characterized in that, The step of constructing a corresponding digital twin dynamic simulation model of the compressor unit based on the actual equipment parameters of the target compressed air energy storage device includes: Based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device, construct the corresponding compressor model; Based on the structural parameters, spatial location parameters, and operating process parameters of the air filter in the target compressed air energy storage device, an air filter model is constructed. Based on the structural parameters, process parameters, and equipment performance parameters of the gas-water separator in the target compressed air energy storage device, a gas-water separator model is constructed. Based on the structural parameters, process parameters, and equipment performance parameters of the oil-gas heat exchanger and gas-water heat exchanger in the target compressed air energy storage device, construct the oil-gas heat exchanger model and the gas-water heat exchanger model. Based on the electrical parameters, mechanical dynamic parameters, and performance curve data of the motor of each compressor in the target compressed air energy storage device, a corresponding motor model is constructed; Based on the structural parameters, flow characteristic parameters, and action characteristic parameters of each valve in the target compressed air energy storage device, construct the corresponding valve model; Based on the geometric parameters and connection relationships of the pipes in the target compressed air energy storage device, a pipe model is constructed; Based on the internal volume parameters of the equipment in the target compressed air energy storage device, construct a volume model of the equipment; Based on the dead cavity volume parameters and manifold volume parameters at the device connection points in the target compressed air energy storage device, a device volume model is constructed. Based on the structural and equipment parameters of the oil circuit system in the target compressed air energy storage device, an oil circuit system model is constructed. Based on the control logic information of the process equipment in the target compressed air energy storage device, construct a process loop logic model; Based on the measurement point identification parameters, measurement point type parameters, range parameters, engineering unit parameters, and installation location parameters in the measurement point loop table of the target compressed air energy storage device, a measurement point model is constructed. Based on the flow meter, guide vane data, and frequency converter parameters in the target compressed air energy storage device, construct the flow meter model, inlet guide vane model, and frequency converter model.

3. The method for generating a compressor unit control scheme for a compressed air energy storage device according to claim 2, characterized in that, The performance characteristic parameters include: a discrete data point set of performance curves for each compressor, each data point containing the inlet volume flow rate value and the corresponding pressure ratio value and the corresponding adiabatic efficiency value, the guide vane angle and performance correction coefficient corresponding data for each compressor, and the inverter frequency and compressor speed corresponding data for each compressor. The step of constructing corresponding compressor models based on the performance characteristic parameters of the low-pressure centrifugal compressor, medium-pressure centrifugal compressor, and high-pressure centrifugal compressor in the target compressed air energy storage device includes: For each compressor, a set of coefficients and intercepts for the pressure ratio function and the efficiency function are generated by fitting the discrete data points of its corresponding performance curve. Fit the corresponding data of guide vane angle and performance correction coefficient to generate the coefficient set and intercept set of guide vane correction function; The corresponding inverter frequency and compressor speed data are fitted to generate the slope and intercept values ​​of the frequency-speed conversion function; The coefficient set and intercept set of the pressure ratio function, the coefficient set and intercept set of the efficiency function, the coefficient set and intercept set of the guide vane correction function, and the slope value and intercept value of the frequency-speed conversion function are entered into the corresponding compressor model instance to generate the corresponding compressor simulation model.

4. The method for generating a compressor unit control scheme for a compressed air energy storage device according to claim 2, characterized in that, The step of constructing a process loop logic model based on the control logic information of the process equipment in the target compressed air energy storage device includes: Based on the equipment control relationship diagram and trigger condition constraint table in the control logic information, generate the logical connection relationship between each process equipment and the trigger condition parameters of each logical node; Based on the equipment start-up sequence, shutdown sequence, and interlocking protection action conditions in the control logic information, time sequence control rules and interlocking protection rules for each process equipment are generated. Based on the logical connection relationships, trigger condition parameters, time sequence control rules, and interlocking protection rules, corresponding logical node model instances are created and connected according to the connection relationships to generate the process loop logic model.

5. The method for generating a compressor unit control scheme for a compressed air energy storage device according to claim 1, characterized in that, The compressor unit control method of the compressed air energy storage device is based on the compressor unit control system of the compressed air energy storage device, and the system includes: a simulation server, a control system, and a communication module; The compressor unit control method of the compressed air energy storage device is deployed on the simulation server; The communication module is used to establish a communication connection between the simulation server and the control system, and to perform data interaction between the simulation server and the control system. Multiple control schemes were obtained, including: Multiple control schemes are obtained from the control system through the communication module.

6. The method for generating a compressor unit control scheme for a compressed air energy storage device according to claim 5, characterized in that, The communication module includes at least a data mapping submodule, which is embedded in the user control program of the control system and is used for: Responding to the read request sent by the simulation server; the read request is used to obtain the opening value of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the frequency converter of the high-pressure centrifugal compressor; The data mapping submodule is specifically used for: Based on the list of variable names carried in the read request and the internally stored correspondence between variable names and register addresses, the register address corresponding to each variable name is obtained by querying, and a list of register addresses to be read is generated. Based on the list of register addresses to be read, extract the currently stored values ​​from each register address of the control system to generate the original response data sequence; Based on the correspondence between the variable names and register addresses and the preset numerical parsing rules, the original response data sequence is converted into the opening value and rotational speed value of the corresponding variable names, a response data packet is generated, and returned to the simulation server.

7. The method for generating a compressor unit control scheme for a compressed air energy storage device according to claim 6, characterized in that, The communication module further includes: a conversion submodule; The conversion submodule is independently deployed on the computing device between the control system and the simulation server; The conversion submodule is communicatively connected to the first OPC server of the control system and the second OPC server of the simulation server, respectively. The conversion submodule stores a mapping relationship between the first OPC server variable name and the second OPC server variable name, and is used to: read the value of the variable in the first OPC server and write it into the corresponding variable in the second OPC server according to the mapping relationship.

8. A method for generating a compressor unit control scheme for a compressed air energy storage device according to any one of claims 1-7, characterized in that, The step of determining the optimal control scheme for the compressor unit based on the dynamic response data corresponding to the multiple control schemes includes: Based on the preset set of safety constraints, the dynamic response data obtained from multiple simulations are subjected to safety verification to obtain a set of candidate simulation results that pass the safety verification. For each element in the candidate simulation result set, the corresponding control scheme is taken as a candidate control scheme, and the following index values ​​of the candidate control scheme are calculated: surge margin, settling time, and volatility. Based on the values ​​of each indicator, calculate the comprehensive score of each candidate control scheme; The optimal control scheme is determined based on the comprehensive score of each candidate control scheme.

9. A device for generating a compressor unit control scheme for a compressed air energy storage device, characterized in that, The device includes: The model building module is used to build a corresponding digital twin dynamic simulation model of the compressor unit based on the actual equipment parameters of the target compressed air energy storage device; the compressor unit of the target compressed air energy storage device includes a low-pressure centrifugal compressor, a medium-pressure centrifugal compressor and a high-pressure centrifugal compressor connected in series; The acquisition module is used to acquire multiple control schemes. The control scheme includes the opening values ​​of the inlet guide vane of the low-pressure centrifugal compressor, the inlet guide vane of the medium-pressure centrifugal compressor, the anti-surge valve of the low-pressure centrifugal compressor, the anti-surge valve of the medium-pressure centrifugal compressor, the anti-surge valve of the high-pressure centrifugal compressor, the vent valve, and the speed value of the frequency converter of the high-pressure centrifugal compressor at multiple times. The opening value and speed value at the same time constitute a set of control instructions at that time. The control instructions at each time are arranged in chronological order to form the control scheme. The simulation module is used to take the control commands in the control scheme as input conditions, and perform dynamic simulation using the digital twin dynamic simulation model of the compressor unit to obtain the dynamic response data of the compressor unit under the input conditions. The generation module is used to determine the optimal control scheme for the compressor unit based on the dynamic response data corresponding to the multiple control schemes.

10. An electronic device, comprising: processor; And a memory arranged to store computer-executable instructions, characterized in that, when executed, the executable instructions cause the processor to perform the steps of the method for generating a compressor unit control scheme for a compressed air energy storage device as described in any one of claims 1-8.