A method, device and system for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy
By establishing a dynamic simulation model and intelligent control strategy for the compressor unit, the problem of the lack of simulation modeling of the overall air supply system in the existing technology is solved, efficient and intelligent control of the grid-connected air supply of the compressor unit is achieved, and the R&D cost and cycle are reduced. .
Patent Information
- Application Number
- CN202210994507.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-18
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-08-18
AI Technical Summary
The existing technology lacks the overall dynamic simulation modeling of the compressor unit air supply system and the dynamic simulation platform for different air supply needs, resulting in high cost and long cycle of control strategy optimization.
A method based on dynamic simulation and intelligent control strategy is used to establish a mechanism model of the compressor pipeline network system. A modular model is established through control equations, and grid-connected modeling is performed in Simulink. The optimal control strategy is obtained through iterative optimization and the control of valves is realized. Intelligent control of opening.
It reduces R&D costs and cycles, improves the intelligence and reliability of the control strategy, achieves optimal control of the grid-connected gas supply of the compressor unit, and is suitable for a variety of gas supply needs.
Smart Images

Figure CN115167151B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of compressor unit grid-connected combined gas supply equipment, and relates to a compressor unit grid-connected combined gas supply method, device and system based on dynamic simulation and intelligent control strategy. Background Art
[0002] Compressor unit gas supply equipment is widely used in the fields of energy and chemical industry, oil and gas storage and transportation, and aerospace. It is an important power equipment. The gas supply system is mainly composed of multiple air compressors of different sizes, pipelines, and valves. The gas supply equipment can control the number of compressor units to be turned on and the opening of the valves according to the subsequent gas demand to obtain the required gas parameters. However, for different gas parameter requirements, different equipment needs to be controlled on site to meet the requirements. This process is relatively complicated. Therefore, it is very important to directly obtain a control strategy for the compressor and valve according to the subsequent gas parameter requirements.
[0003] In the study of the dynamic characteristics of air supply units, dynamic modeling is a very important research method. Although there are relatively complete theoretical systems and modeling methods for components such as compressors and valves, when they constitute a large nonlinear thermodynamic system, the coupling between components will bring many problems to the dynamic modeling of the system. A large amount of test data under different working conditions is required to modify the control strategy and parameters of the control module so that the control module is constantly close to the actual operation process of the system, thereby achieving precise control of the control module. A large number of experiments have brought about a significant increase in R&D costs and cycles, and numerical simulation technology as an effective means of R&D can greatly shorten the R&D cycle and reduce R&D costs. Therefore, the method of combining experiments with simulations has become the mainstream of industrial R&D.
[0004] Scholars at home and abroad have done a lot of research on compressor unit air supply equipment, mainly involving dynamic modeling of centrifugal compressors, dynamic simulation methods of valve-pipeline networks, and control valve characteristic modeling. Among them, there are fewer studies on the simulation modeling of the overall air supply system, and there is a lack of dynamic simulation platforms for different air supply needs in China. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a method, device and system for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy, so as to solve the problem of lack of simulation modeling research on the entire gas supply system in the prior art.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy, comprising the following steps:
[0008] Step 1, establishing a mechanism model of the compressor pipe network system, the mechanism model includes mass conservation equations, momentum conservation equations and energy conservation equations; the compressor pipe network system is composed of multiple single compressor units in parallel, all the single compressor units are connected to upstream equipment upstream, all the single compressor units are connected to air supply equipment downstream, and each single compressor unit is provided with its own pipe network, valve and compressor;
[0009] Step 2, based on the mechanism model, respectively establish the control equation of the compressor, the control equation of the pipe network and the control equation of the valve, and respectively establish the modular model of the compressor, the modular model of the pipe network and the modular model of the valve through the control equation;
[0010] Step 3, based on the modular model of the compressor, the modular model of the pipe network and the modular model of the valve, model the single compressor unit in Simulink;
[0011] All single compressor unit models are modeled for grid connection, and unified upstream boundary conditions and downstream boundary conditions are set to establish a multi-compressor unit grid connection model; the input parameter of the multi-compressor unit grid connection model is the total flow of all single compressor unit gas supply equipment, and the output is the pressure and temperature of the single compressor unit gas supply equipment;
[0012] Step 4, inputting boundary conditions into the multi-compressor unit grid-connected model, simulating the multi-compressor unit grid-connected model, iteratively optimizing the valve opening combinations of all single compressor units according to different gas supply conditions, and obtaining an optimal control strategy; the optimal control strategy is that the compressor pipe network system does not experience severe pressure fluctuations, and the compressor does not enter a surge state;
[0013] Step 5: Based on the optimal control strategy, the opening instructions for controlling each valve are converted into action instructions for each valve. Each valve performs an operation according to the action instruction, and all units jointly supply gas to the gas supply equipment.
[0014] A further improvement of the present invention is:
[0015] Preferably, in step 2, the control equation of the compressor is:
[0016]
[0017] The control equation of the pipe network is:
[0018]
[0019] The valve control equation is:
[0020]
[0021] Where p, T, w, v are pressure, temperature, mass flow rate and flow velocity; subscripts in and out represent inlet and outlet; h is specific enthalpy; Cp is specific heat of working fluid; V is pipeline volume; R is gas constant; Ψ is performance curve of compressor; N is speed; L c is the equivalent flow length; A1 is the flow area; D is the pipe diameter; C f is the valve flow resistance characteristic function; k is the valve flow area coefficient.
[0022] Preferably, in step 3, during the modeling of a single compressor unit, the input parameters of the modular model of the compressor are the upstream and downstream pressures, and the output parameter is the compressor flow; the input parameters of the modular model of the pipeline network are the import and export flows, and the output parameter is the pipeline network pressure; the input parameters of the modular model of the valve are the valve opening and the upstream and downstream pressures, and the output parameter is the valve flow.
[0023] Preferably, in step 3, during the modeling of a single compressor unit, the input of the valve and the compressor is the upstream and downstream pressure, and the output is the flow; the input of the pipe network is the inlet and outlet flow, and the output is the pressure;
[0024] The input of the valves and compressors is the output of the pipeline network, and the input of the pipeline network is the output of the valves and compressors.
[0025] Preferably, in step 3, the unified upstream boundary condition is the boundary condition of the upstream equipment in all single compressor units; and the downstream boundary condition is the exhaust equipment in all single compressor units.
[0026] Preferably, in step 4, in the multi-compressor unit grid-connected model, the atmospheric temperature and pressure are boundary conditions, the compressor performance curve and the valve characteristic curve are key parameters, the opening of all valves is the input signal, and the output is the pressure, temperature, flow rate of each compressor inlet and outlet and the pressure, temperature and flow rate of the gas supply equipment.
[0027] Preferably, in step 5, the valve opening instruction is converted into a valve action instruction through the ModBus protocol.
[0028] Preferably, in step 5, the valve is operated through an AD converter and a relay.
[0029] A compressor unit grid-connected joint gas supply device based on dynamic simulation and intelligent control strategy, comprising:
[0030] A mechanism model unit is used to establish a mechanism model of a compressor pipe network system, wherein the mechanism model includes a mass conservation equation, a momentum conservation equation, and an energy conservation equation; the compressor pipe network system is composed of a plurality of single compressor units connected in parallel, wherein all the single compressor units are connected to upstream equipment at the upstream, and all the single compressor units are connected to air supply equipment at the downstream, and each single compressor unit is provided with its own pipe network, valve, and compressor;
[0031] A modular unit is used to establish control equations of the compressor, the pipe network and the valve based on the mechanism model, and to establish modular models of the compressor, the pipe network and the valve through the control equations;
[0032] A modeling unit is used to model a single compressor unit in Simulink based on a modular model of the compressor, a modular model of the pipe network, and a modular model of the valve; all single compressor unit models are connected to the grid for modeling, and unified upstream boundary conditions and downstream boundary conditions are set to establish a multi-compressor unit grid connection model; the input parameter of the multi-compressor unit grid connection model is the total flow of all single compressor unit gas supply equipment, and the output is the pressure and temperature of the single compressor unit gas supply equipment;
[0033] A solving unit is used to input boundary conditions in a multi-compressor unit grid-connected model, simulate the multi-compressor unit grid-connected model, iteratively optimize the valve opening combination of all single compressor units according to different gas supply conditions, and obtain an optimal control strategy; the optimal control strategy is that the compressor pipe network system does not experience severe pressure fluctuations and the compressor does not enter a surge state;
[0034] The execution unit is used to convert the opening instruction of the control valve into the action instruction of the valve based on the optimal control strategy. The valve performs the operation according to the action instruction, and all units jointly supply gas to the gas supply equipment.
[0035] A compressor unit grid-connected joint gas supply system based on dynamic simulation and intelligent control strategy for implementing the above method, comprising a plurality of single compressor units connected in parallel, wherein the input ends of all the single compressor units are commonly connected to an upstream device, and the output ends of all the single compressor units are commonly connected to a gas supply device;
[0036] Each single compressor unit includes an inlet valve, the inlet of the inlet valve is connected to the upstream equipment, the outlet of the inlet valve is connected to the centrifugal compressor, the outlet of the centrifugal compressor is divided into two branches, one branch is connected to the drain valve, and the other branch is connected to the air supply valve, the drain valve is connected to the exhaust equipment, and the air supply valve is connected to the air supply equipment.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] The invention discloses a method for grid-connected joint gas supply of compressor sets based on dynamic simulation and intelligent control strategy. The method first establishes a control equation based on a mechanism model, establishes a corresponding modular model based on the control equation, integrates the separate modular models to establish a grid-connected model of the entire system, obtains the optimal strategy after simulating the grid-connected model, controls each valve based on the optimal strategy, and jointly supplies gas to the gas supply equipment. The control method is advanced, based on the dynamic simulation of the mechanism model of the compressor grid-connected system, iteratively optimizes the control strategy, and forms the best control strategy, which is innovative. The method iteratively obtains the optimal control strategy according to the gas supply demand and boundary conditions of the actual working conditions; the computer software realizes the control of each regulating valve through the Modbus protocol, and completes the grid-connected joint gas supply of the compressor set. Compared with the prior art, the present invention is oriented to the characteristic research and application field of grid-connected gas supply of compressor sets, builds a grid-connected dynamic simulation model of the target compressor set, and optimizes the control strategy through simulation and iteration. Compared with traditional manual control and automatic control, the control strategy obtained by the present invention has a higher degree of intelligence, while taking into account reliability and practicality.
[0039] The present invention also discloses a compressor group grid-connected joint gas supply device based on dynamic simulation and intelligent control strategy, the device includes a mechanism model unit, a modular unit, a modeling unit, a solving unit and an execution unit, and the device implements the above method through multiple modules. The device is oriented to various gas supply demands, and obtains the optimal control strategy of compressor grid-connected joint gas supply through dynamic simulation and iterative optimization according to different gas supply demands, realizes grid-connected gas supply, and has a wide range of applications.
[0040] The present invention also discloses a compressor unit grid-connected joint gas supply system based on dynamic simulation and intelligent control strategy. The system is composed of multiple compressor units in parallel and controlled by the intelligent control strategy of the software part. A single compressor unit includes key equipment such as centrifugal compressors, pipe networks, and valves. The system has high reliability. Through the simulation of the mechanism model, a control strategy with high reliability is obtained, which comprehensively considers the compressor operation safety margin, valve action speed, system response and control time, and has high gas supply reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is the technical roadmap of the present invention;
[0042] Figure 2 It is the structure diagram of the intelligent combined grid-connected equipment of the compressor unit;
[0043] Figure 3 It is a structural diagram of a single compressor unit;
[0044] Figure 4 It is a flowchart of intelligent strategy iteration of the joint grid-connected gas supply system;
[0045] Figure 5 It is the valve action control flow chart;
[0046] Figure 6 It is the pressure diagram of each unit of the combined gas supply intelligent simulation system;
[0047] Figure 7 It is the flow diagram of each unit of the combined gas supply intelligent simulation system;
[0048] Figure 8 It is the combined gas supply intelligent simulation gas supply main pressure diagram;
[0049] Fig. 9 It is the valve action diagram obtained by the combined gas supply intelligent simulation system.
[0050] Among them, 1-upstream equipment; 2-inlet valve; 3-centrifugal compressor; 4-drain valve; 5-air supply valve; 6-exhaust equipment; 7-downstream air supply equipment. DETAILED DESCRIPTION
[0051] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0052] In the description of the present invention, it should be noted that the orientations or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention; the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance; in addition, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0053] The present invention discloses a compressor unit grid-connected combined gas supply system based on dynamic simulation and intelligent control strategy, and the combined gas supply equipment includes a hardware part and a software part. Figure 3 The hardware part is composed of multiple compressor units in parallel to form a gas supply system. The gas supply system is the core of the gas source device in chemical, aerospace, metallurgical and other industrial systems. It is an important component to achieve the actual gas supply demand. Its grid connection strategy, pneumatic performance, dynamic characteristics, and stability will directly affect the accuracy of the entire gas supply equipment. Figure 1It can be seen that the gas supply system composed of multiple compressor units in parallel has its gas supply end connected to the upstream equipment and its output end connected to the downstream gas supply equipment. The software mainly establishes a dynamic simulation model of the compressor pipe network system to dynamically simulate the changes in the grid-connected parameters of the compressor pipe network system under various operating conditions, and performs simulation according to different gas supply requirements to obtain a set of control strategies.
[0054] Specifically, the hardware part faces different gas supply demands, and through centrifugal compressor boosting and valve coordination, the working fluid that reaches the target parameters is input to the downstream equipment. The software part establishes a simulation model of the compressor air supply unit. According to the gas supply demand, the working margin of the hardware compressor and the action mode of the valve are comprehensively considered. Through iterative optimization, the simulation strategy is obtained, and the action of each valve is controlled to realize the intelligent grid-connected joint gas supply of the unit to meet the gas supply demand.
[0055] Among them, any compressor unit includes a centrifugal compressor, pipe network, valves and key equipment; Figure 2 It is a typical structure of a single compressor unit of the device of the present invention. In this embodiment, the compressor unit includes an inlet valve 2, a centrifugal compressor 3, a drain valve 4 and an air supply valve 5, and the various components are connected by flanges. Specifically, the upstream device 1 is connected to the inlet of the inlet valve 2, and the outlet of the inlet valve 2 is connected to the inlet of the centrifugal compressor 3. The outlet of the centrifugal compressor 3 is divided into two branches, one branch is connected to the drain valve 4, and the outlet of the drain valve 4 is connected to the exhaust device 6, and one branch is connected to the air supply valve 5, and the outlet of the air supply valve 5 is connected to the downstream air supply device 7. Among them, the centrifugal compressor is a core component of the air supply system as an efficient and energy-saving device for providing compressed gas. The gas is accelerated to heat up after passing through the impeller, and flows into the downstream equipment after being pressurized in the diffuser. Through the cooperation of the system air supply valve 5, the compressor unit is connected to the grid to achieve the target air supply requirement, see the attached Figure 2 In the diagram, each line is the pipe network.
[0056] Specifically, after the centrifugal compressor 3 is started, the inlet valve 2 and the drain valve 4 of each unit are linked to make the centrifugal compressor 3 system work stably. When connected to the grid, the drain valve 4 is linked with the gas supply valve 5 to transport the high-pressure gas to the gas supply main. When the requirements are met, the main valve controls the opening and inputs it into the downstream gas supply equipment.
[0057] Step 1, establishing a dynamic simulation model of a target multi-compressor grid-connected system;
[0058] The software part is a dynamic simulation model of the target compressor pipe network system. Users can dynamically simulate the compressor air supply unit through parameter boundary conditions determined by different air supply conditions and output the results. Establish the mechanism model of the target multi-compressor parallel pipe network system. The system includes multiple compressor units, obtain the characteristic functions of their pressure, temperature and flow, and combine the mass, momentum and energy conservation equations to obtain the mechanism model of each component.
[0059] The mass conservation equation is:
[0060]
[0061] The momentum conservation equation is:
[0062]
[0063] The energy conservation equation is:
[0064]
[0065] Among them, the mass conservation equation and momentum conservation equation are in tensor form, i and j represent the tensor order; u, p, T represent velocity, pressure and temperature respectively; ρ is density. The energy conservation equation is in expanded form, u, v, w represent the velocity in the x, y, z direction respectively, h is the specific enthalpy; α is the thermal conductivity of the fluid; S h is the source term of the fluid; Φ is the heat energy converted from mechanical energy due to viscosity.
[0066] According to the characteristics of the compressor, pipeline network and valve, the above conservation equations are derived to obtain the zero-dimensional control equations of the compressor, pipeline network and valve as follows.
[0067] The governing equation for the compressor is:
[0068]
[0069] The governing equations of the pipe network are:
[0070]
[0071] Valve control equation:
[0072]
[0073] Where p, T, w, v are pressure, temperature, mass flow rate and flow velocity; subscripts in and out represent inlet and outlet; h is specific enthalpy; Cp is specific heat of working fluid; V is pipeline volume; R is gas constant; Ψ is performance curve of compressor; N is speed; L c is the equivalent flow length; A1 is the flow area; D is the pipe diameter; C f is the valve flow resistance characteristic function; k is the valve flow area coefficient.
[0074] Specifically, a dynamic simulation model of the compressor group grid-connected gas supply equipment is established in Simulink. The compressor, pipeline network and valve in the gas supply system are dynamically modeled, and the modular models of the compressor, pipeline network and valve are obtained according to the above-mentioned mass, momentum and energy conservation equations. The input parameters of the modular model of the compressor are the upstream and downstream pressures, and the output parameter is the compressor flow; the input parameters of the pipeline network are the inlet and outlet flow, and the output parameter is the pipeline network pressure; the input parameters of the valve are the valve opening and the upstream and downstream pressures, and the output parameter is the valve flow. Valves and compressors are classified as a type of original component, which is characterized by inputting upstream and downstream pressures and outputting flow; the pipeline network is regarded as a type of original component, which is characterized by inputting inlet and outlet flow and outputting pressure. The two types of original components appear alternately, and the output parameters of the former are the input parameters of the latter, and vice versa, so as to realize component connection, parameter transfer and simulation decoupling. Specifically, for the modeling of the compressor group grid-connected joint gas supply system, the modeling of a single compressor group is completed first, and then the grid-connected modeling of three compressor groups is completed. Modeling of a single compressor group. The first step is the modeling of upstream equipment 1. This part is the boundary condition. If the upstream equipment is connected to the atmosphere, the boundary condition is the atmospheric pressure and temperature. If this part is a gas supply pipeline, the boundary condition is the pressure and temperature in the pipeline. The second step is the modeling of inlet valve 2. The input parameters of the valve are the pressure and temperature of the upstream equipment and the pressure of the pipeline network after the valve, and the output is the flow rate. The third step is the modeling of the pipeline network between inlet valve 2 and compressor 3. The input parameters of this module are the flow rate of inlet valve 2 and the flow rate of compressor 3, and the output is the pressure of the pipeline network at this stage. The fourth step is the modeling of compressor 3. The input parameters of this module are the pressure of the pipeline network before the compressor and the pressure of the pipeline network after the compressor, and the output value is the compressor flow rate. The fifth step is the pipeline network after compressor 3 and before exhaust valve 4 and gas supply valve 5. The input parameters of this module are the compressor flow rate, exhaust valve 4 flow rate, and gas supply valve 5 flow rate, and the output parameter is the pipeline network pressure. The sixth step is the modeling of exhaust valve 4. The input parameters of this module are the pressure calculated by the pipeline network in the fifth step and the pressure of the exhaust equipment after the valve. The sixth step is the modeling of the gas supply valve 5. The input parameters of this module are the pressure calculated by the pipeline network in the fifth step and the pressure of the gas supply equipment after the valve. The seventh step is the modeling of the exhaust equipment 6. This part is the boundary condition. If the gas is discharged into the atmosphere, the boundary condition is the atmospheric pressure and temperature. The eighth step is the modeling of the downstream gas supply equipment 7. The downstream gas supply equipment is usually a large cavity. The volume parameters of the cavity and the gas supply flow requirements are input. According to the flow input from the upstream, the pressure and temperature of the gas supply equipment are output. The above eight steps are completed in sequence to establish a dynamic simulation model of a single gas supply unit.
[0075] After the single unit modeling is completed, the multi-unit grid-connected modeling is carried out (taking the grid-connected modeling of three units as an example). First, the boundary conditions of the upstream equipment 1 of the three single unit models are set to the unified upstream boundary conditions, and the exhaust equipment 6 of the three unit models are set to the unified downstream boundary conditions. Secondly, the gas supply valves 5 of the three units are connected to the only downstream gas supply device 7. When connected to the grid, the input parameters of the downstream gas supply device 7 are the total flow of units 1, 2, and 3 entering the gas supply equipment. The parameters and gas supply requirements of the downstream gas supply equipment are set. The output of the grid connection is the pressure and temperature of the downstream gas supply equipment 7, realizing the system modeling of the grid-connected joint gas supply equipment of multiple compressor units.
[0076] Through the above system modeling method, dynamic simulation of multiple compressor units connected to the grid is realized. The system uses atmospheric temperature and pressure as boundary conditions, compressor performance curve and valve characteristic curve as key parameters of the mechanism model, and each valve opening as input signal. The dynamic changes of pressure, temperature and flow rate at the inlet and outlet of each compressor in the output system and the pressure, temperature and flow rate of the downstream gas supply equipment are output to realize dynamic simulation.
[0077] Step 4, based on the corresponding multi-compressor unit grid-connected model, iteratively obtain the optimal control strategy according to the gas supply demand and boundary conditions of the actual working conditions;
[0078] Attached Figure 4 The iterative technical route of the intelligent control strategy described in the present invention is given. Under actual working conditions, input parameters are set based on actual gas supply needs, specifically including: atmospheric conditions, geometric parameters, initial pressure and temperature of each component, compressor power, etc. Boundary conditions are set according to the requirements of downstream gas supply equipment, with the target pressure, temperature and flow of the downstream gas supply equipment as input parameters, the opening of each valve as a variable parameter, the compressor inlet and outlet pressure, temperature, flow and the pressure, temperature and flow of the main pipe as characteristic parameters, and the compressor operating point and valve switching speed as constraints for iterative optimization, and finally obtain the optimal control strategy under the gas supply target through dynamic simulation. The acquired boundary conditions are imported into the dynamic simulation model for simulation, and the optimal control strategy is obtained through multiple iterations.
[0079] Specifically, based on the corresponding multi-compressor unit grid-connected model, according to different gas supply conditions, the valve opening combination is iteratively optimized, and finally a control strategy with safe operating point, short response time and small pressure fluctuation is obtained for grid-connected joint gas supply control. In the given example, the dynamic changes are stable, no drastic pressure fluctuations occur, the compressor does not enter the surge state, and the unit grid-connected time is less than 10s.
[0080] Step 5: The computer software controls each regulating valve through the Modbus protocol to complete the grid-connected joint gas supply of the compressor unit.
[0081] Attached Figure 4A control flow chart of the present invention is given. The computer software obtains the valve switch control strategy, that is, the opening data of each valve changing with time, to realize the control of all regulating valves through the ModBus communication protocol. The specific position computer converts the valve opening into a valve action instruction through the ModBus protocol, and then realizes the valve action through the AD converter and the relay, and finally completes the grid-connected joint gas supply of the compressor unit.
[0082] Specifically, the software part of the present invention outputs the optimal valve control strategy obtained by Simulink iteration as a two-dimensional array of valve opening and time, converts the valve opening percentage in the array into an instruction table that conforms to the ModBus communication protocol, and outputs the valve action instruction to the AD converter based on real time. The corresponding valve action is controlled by the relay to realize the change of the compressor working condition and complete the grid-connected joint gas supply of the compressor unit. In the joint gas supply dynamic simulation system of Simulink, it is assumed that there are 3 units, each unit has three valves, and the numbering of the valve opening function over time is respectively θ11, θ12, θ13; θ21, θ22, θ123; θ31, θ32, θ33. The initial function of each valve opening function is set to a constant. Taking the 1# valve of the 1# compressor unit as an example, its initial function θ11(t)=constant, and the valve maintains a certain opening unchanged. The initial function is brought into the joint gas supply dynamic simulation system. In order to meet the gas supply demand, the valve opening function is obtained after several iterations as shown in the following table, and it is gradually closed over time in a certain period of time.
[0083] Time 0 5 10 15 20 25 30 35 θ11(t) 1.00 0.81 0.65 0.63 0.52 0.61 0.59 0.55
[0084] In the iteration, the valve action function is adjusted by comparing the control time, pressure fluctuation of the gas supply main, compressor working conditions and other parameters, and finally the stable action function of each valve in the joint grid-connected system is obtained. After obtaining the stable function, the two-dimensional array of each valve action function is transmitted to the AD converter through the MODbus protocol, the digital signal is converted into an electrical signal, and the corresponding valve switch is controlled by the relay to realize the intelligent joint grid-connected gas supply.
[0085] Figure 1 The structural diagram of the compressor unit grid-connected joint gas supply equipment is given. The control strategy is iteratively optimized through dynamic simulation of the software part, and the valve opening of the compressor unit is intelligently controlled, ultimately achieving grid-connected joint gas supply for the target equipment.
[0086] Figure 5The results of the intelligent control strategy of a multi-unit grid-connected joint gas supply equipment are given. The intelligent gas supply system consists of three compressor units. The upstream equipment of the unit is connected to the atmosphere, and the downstream is connected to the gas supply equipment. The gas supply form is grid-connected gas supply. The unit grid-connected control strategy obtained in a certain gas supply is as follows. During the grid-connected process, the compressor inlet valve, drain valve and gas supply valve of the three compressor units 1, 2, and 3 are grouped and grid-connected, and the coordinated action piece. The three compressor units 1, 2, and 3 realize the grid-connected action at different time points, and the time difference of each action group is 10s. During the grid-connected action, the drain valve of each compressor unit gradually changes from fully open to fully closed, and the gas supply valve changes from fully closed to fully open, and the opening of the unit inlet valve remains fully open. The three units complete the grid connection at staggered times, avoiding the situation of large fluctuations in the main pipe pressure, and making the main pipe pressure of the gas supply reach the target pressure as soon as possible.
[0087] Figure 6 and Figure 7 The pressure and flow changes of the compressor grid-connected combined gas supply equipment are given. Figure 6 The changes in the inlet and outlet pressures of each compressor unit are given in detail. Units 1, 2, and 3 are transformed from emptying conditions to gas supply conditions in turn. Each unit is connected to the grid in turn, and the system changes from emptying to gas supply. Figure 7 The flow rate changes of each unit in the compressor grid-connected joint gas supply equipment are given. The grid-connected time of the three units differs by 10s, and the gas supply conversion is smooth. The grid-connected joint gas supply is achieved under the premise of safe and stable operation of the compressor units. Figure 8 The pressure change of the gas supply main downstream of the unit is given. When unit 1 is connected to the grid, the main pressure rises rapidly to reach the target value under the setting. When units 2 and 3 are connected after an interval of 10s, the main pressure fluctuates less, which meets the requirements. Fig. 9 The final valve control strategy is given. The inlet valves of the three units remain unchanged. When connected to the grid, the drain valve is turned from fully open to fully closed, and the gas supply valve is turned from fully closed to fully open. The three units are connected to the grid 10s apart.
[0088] In summary, the compressor unit grid-connected joint gas supply equipment based on dynamic simulation and intelligent control strategy proposed in the present invention has a relatively broad application, and users can obtain intelligent grid-connected control strategies according to actual gas supply equipment and gas supply requirements. This system takes into account safety, efficiency and practicality.
[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy, characterized in that: The following steps are involved: Step 1, establishing a mechanism model of a compressor pipe network system, wherein the mechanism model includes a mass conservation equation, a momentum conservation equation, and an energy conservation equation; the compressor pipe network system is composed of a plurality of single compressor units connected in parallel, wherein all the single compressor units are connected to an upstream device (1) at their upstream ends, and are connected to an air supply device (7) at their downstream ends, and each single compressor unit is provided with its own pipe network, valve, and compressor; Step 2, based on the mechanism model, respectively establish the control equation of the compressor, the control equation of the pipe network and the control equation of the valve, and respectively establish the modular model of the compressor, the modular model of the pipe network and the modular model of the valve through the control equation; Step 3, based on the modular model of the compressor, the modular model of the pipe network and the modular model of the valve, model the single compressor unit in Simulink; All single compressor unit models are modeled for grid connection, and unified upstream boundary conditions and downstream boundary conditions are set to establish a multi-compressor unit grid connection model; the input parameter of the multi-compressor unit grid connection model is the total flow of all single compressor unit gas supply equipment, and the output is the pressure and temperature of the single compressor unit gas supply equipment; Step 4, inputting boundary conditions into the multi-compressor unit grid-connected model, simulating the multi-compressor unit grid-connected model, iteratively optimizing the valve opening combinations of all single compressor units according to different gas supply conditions, and obtaining an optimal control strategy; the optimal control strategy is that the compressor pipe network system does not experience severe pressure fluctuations, and the compressor does not enter a surge state; Step 5, based on the optimal control strategy, the opening instructions for controlling each valve are converted into action instructions for each valve, each valve performs an operation according to the action instruction, and all units jointly supply gas to the gas supply device (7).
2. A compressor unit grid-connected joint gas supply method based on dynamic simulation and intelligent control strategy according to claim 1, characterized in that: In step 2, the control equation of the compressor is: The control equation of the pipe network is: The valve control equation is: Where p, T, w, v are pressure, temperature, mass flow rate and flow velocity; subscripts in and out represent inlet and outlet; h is specific enthalpy; Cp is specific heat of working fluid; V is pipeline volume; R is gas constant; Ψ is performance curve of compressor; N is speed; L c is the equivalent flow length; A1 is the flow area; D is the pipe diameter; C f is the valve flow resistance characteristic function; k is the valve flow area coefficient.
3. The method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy according to claim 1 is characterized in that: In step 3, during the modeling of a single compressor unit, the input parameters of the modular model of the compressor are the upstream and downstream pressures, and the output parameter is the compressor flow rate; The input parameter of the modular model of the pipe network is the inlet and outlet flow, and the output parameter is the pipe network pressure; The input parameters of the valve modular model are valve opening and upstream and downstream pressures, and the output parameter is valve flow.
4. The method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy according to claim 1 is characterized in that: In step 3, during the modeling of a single compressor unit, the inputs of the valve and compressor are the upstream and downstream pressures, and the output is the flow rate; the input of the pipe network is the inlet and outlet flow rates, and the output is the pressure; The input of the valves and compressors is the output of the pipeline network, and the input of the pipeline network is the output of the valves and compressors.
5. A compressor unit grid-connected joint gas supply method based on dynamic simulation and intelligent control strategy according to claim 4, characterized in that: In step 3, the unified upstream boundary condition is the boundary condition of the upstream equipment (1) in all single compressor units; and the downstream boundary condition is the exhaust equipment (6) in all single compressor units.
6. The method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy according to claim 1 is characterized in that: In step 4, in the multi-compressor unit grid-connected model, the atmospheric temperature and pressure are boundary conditions, the compressor performance curve and the valve characteristic curve are key parameters, the opening of all valves is the input signal, and the output is the pressure, temperature, flow rate of each compressor inlet and outlet and the pressure, temperature and flow rate of the gas supply equipment (7).
7. The method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy according to claim 1 is characterized in that: In step 5, the valve opening instruction is converted into a valve action instruction through the ModBus protocol.
8. The method for grid-connected joint gas supply of compressor units based on dynamic simulation and intelligent control strategy according to claim 1 is characterized in that: In step 5, the valve is operated via the AD converter and the relay.
9. A compressor unit grid-connected joint gas supply device based on dynamic simulation and intelligent control strategy, characterized in that: include: A mechanism model unit is used to establish a mechanism model of the compressor pipe network system, wherein the mechanism model includes a mass conservation equation, a momentum conservation equation, and an energy conservation equation; The compressor pipe network system is composed of a plurality of single compressor units connected in parallel, all the single compressor units are connected to an upstream device (1) at their upstream, and all the single compressor units are connected to an air supply device (7) at their downstream, and each single compressor unit is provided with its own pipe network, valve, and compressor; A modular unit is used to establish control equations of the compressor, the pipe network and the valve based on the mechanism model, and to establish modular models of the compressor, the pipe network and the valve through the control equations; A modeling unit for modeling a single compressor unit in Simulink based on a modular model of the compressor, a modular model of the pipe network, and a modular model of the valve; All single compressor unit models are modeled for grid connection, and unified upstream boundary conditions and downstream boundary conditions are set to establish a multi-compressor unit grid connection model; the input parameter of the multi-compressor unit grid connection model is the total flow of all single compressor unit gas supply equipment, and the output is the pressure and temperature of the single compressor unit gas supply equipment; A solving unit is used to input boundary conditions in a multi-compressor unit grid-connected model, simulate the multi-compressor unit grid-connected model, iteratively optimize the valve opening combination of all single compressor units according to different gas supply conditions, and obtain an optimal control strategy; the optimal control strategy is that the compressor pipe network system does not experience severe pressure fluctuations and the compressor does not enter a surge state; The execution unit is used to convert the opening instruction of the control valve into the action instruction of the valve based on the optimal control strategy, and the valve performs the operation according to the action instruction, and all the units jointly supply gas to the gas supply device (7).
10. A compressor unit grid-connected joint gas supply system based on dynamic simulation and intelligent control strategy for implementing the method of claim 1, characterized in that: It comprises a plurality of single compressor units connected in parallel, wherein the input ends of all the single compressor units are commonly connected to an upstream device (1), and the output ends of all the single compressor units are commonly connected to an air supply device (7); Each single compressor unit comprises an inlet valve (2), the inlet of the inlet valve (2) is connected to the upstream device (1), the outlet of the inlet valve (2) is connected to the centrifugal compressor (3), the outlet of the centrifugal compressor (3) is divided into two branches, one branch is connected to the drain valve (4), and the other branch is connected to the air supply valve (5), the drain valve (4) is connected to the exhaust device (6), and the air supply valve (5) is connected to the air supply device (7).
Citation Information
Patent Citations
Method for building dynamic simulation system of natural gas pipeline network conveying system
CN102779198A
Auto-disturbance rejection control hardware online closed-loop simulation control method based on performance data
CN106444419A
Fuel cell vehicle fuzzy control strategy optimization method based on approximation model
CN111695202A
Centrifugal fan system dynamic simulation method and system based on MATLAB
CN114282389A
Simulation apparatus for motor-driven compressor system and the simulation method thereof
EP2426361A2
