A compressor simulation control method, device, equipment and readable storage medium
By performing polynomial fitting on the valve opening and Cv value curves of the compressor, and combining the pressure and temperature before and after the valve, a flow polynomial is established and fitted to the compressor performance curve. This solves the limitations and high cost of existing compressor simulation control methods, and achieves efficient and accurate simulation control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU HOLLYSYS AUTOMATION
- Filing Date
- 2022-12-01
- Publication Date
- 2026-04-14
AI Technical Summary
Existing compressor simulation control methods suffer from limitations in testing and verification, are prone to producing erroneous results, and are costly.
By acquiring the valve opening and Cv value curves of the anti-surge valve, polynomial fitting is performed. Combining the valve opening and Cv value polynomials, the pressure and temperature before and after the valve, a valve opening and valve flow polynomial is established. The compressor performance curves are then acquired and polynomial fitting is performed to establish an inlet flow and outlet pressure polynomial, thereby realizing compressor simulation control.
It shortened the factory program verification time for compressor projects, improved work efficiency, saved costs, and enhanced the accuracy of control algorithms.
Smart Images

Figure CN115898852B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of compressor simulation technology, and in particular to a compressor simulation control method, device, equipment, and computer-readable storage medium. Background Technology
[0002] Before a compressor control system leaves the factory, it needs to undergo simulation testing to verify the compressor control program. Existing compressor control system simulation methods mainly include three types. One method artificially creates surge conditions by forcing the compressor to operate at relevant points, checking whether the anti-surge control function works effectively and whether the performance control trend is correct. Another method uses simple mathematical relationships (anti-surge valve and stator / speed / guide vane opening, representing compressor outlet pressure) to characterize process data. This method greatly improves the continuity and timeliness of testing; however, if the weighting coefficients for anti-surge and stator / outlet pressure are not chosen properly, it can cause model distortion and fail to accurately represent compressor performance, especially for testing compressor performance control. A third method involves purchasing professional fluid industry modeling software, having professionally trained personnel develop a specialized compressor model, and then building the compressor process and control loop to verify the algorithm.
[0003] However, all three compressor simulation control methods have their own drawbacks. First, because the forced operation of the compressor process data artificially creates surge symptoms, its biggest drawback, the discontinuity of process data, will limit the testing and verification process and even lead to errors. Second, because the simple mathematical relationship (the opening of the anti-surge valve and the stationary vane / speed / guide vane represents the compressor's outlet pressure) characterizes the process data, improper weighting coefficients can cause model data distortion, leading to incorrect results in the compressor performance control algorithm verification. Furthermore, because professional process software needs to be purchased, it requires expensive costs to buy the software and train professional process configuration engineers, resulting in high costs.
[0004] In summary, how to effectively address the limitations, erroneous results, and high costs of existing compressor simulation control methods in testing and verification is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] The purpose of this invention is to provide a compressor simulation control method that shortens the factory program verification time for compressor projects, improves work efficiency, and saves costs. Another purpose of this invention is to provide a compressor simulation control device, equipment, and computer-readable storage medium.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:
[0007] A compressor simulation control method includes:
[0008] Obtain the valve opening versus Cv value curve of the anti-surge valve;
[0009] Polynomial fitting is performed on the valve opening versus Cv value curve to obtain the valve opening versus Cv value polynomial of the anti-surge valve;
[0010] By combining the valve opening and Cv value polynomials, the upstream and downstream pressures, and the upstream and downstream temperatures, a valve opening and valve flow rate polynomial is established.
[0011] The compressor performance curve is obtained, and polynomial fitting is performed on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed. Among them, the compressor inlet flow rate is the sum of the return flow rate of the anti-surge valve and the suction flow rate of the compressor. The suction flow rate of the compressor is obtained through the compressor design conditions.
[0012] Compressor simulation control is performed based on the valve opening versus valve flow polynomial and the inlet flow versus outlet pressure polynomial.
[0013] In one specific embodiment of the present invention, compressor simulation control is performed based on the valve opening degree versus valve flow rate polynomial and the inlet flow rate versus outlet pressure polynomial, including:
[0014] Based on the similarity of the inlet flow rate and outlet pressure polynomials corresponding to each preset rotation speed and the performance curves corresponding to each rotation speed, the powers of each polynomial that minimize the fitting error are predicted.
[0015] Polynomial fitting is performed on the coefficients and rotational speeds corresponding to each of the polynomial powers to obtain the polynomial power coefficients and the rotational speed polynomial.
[0016] The inlet flow rate and speed polynomial are determined based on the inlet flow rate and outlet pressure polynomial and the power coefficients of the polynomial and the speed polynomial.
[0017] Compressor simulation control is performed by combining the valve opening degree and valve flow rate polynomials, the inlet flow rate and outlet pressure polynomials, and the inlet flow rate and speed polynomials.
[0018] In one specific embodiment of the present invention, compressor simulation control is performed by combining the valve opening degree and valve flow rate polynomial, the inlet flow rate and outlet pressure polynomial, and the inlet flow rate and speed polynomial, including:
[0019] Based on the compressor performance curve, surge line polynomial fitting and blockage line polynomial fitting are performed respectively to obtain surge line polynomial and blockage line polynomial.
[0020] Based on the surge line polynomial, the blockage line polynomial, and the inlet flow rate and rotational speed polynomial, fit the rotational speed and maximum flow rate polynomial and the rotational speed and minimum flow rate polynomial;
[0021] Compressor simulation control is performed by combining the polynomials of valve opening and valve flow rate, inlet flow rate and outlet pressure, inlet flow rate and speed, speed and maximum flow rate, and speed and minimum flow rate.
[0022] In one specific embodiment of the present invention, polynomial fitting is performed on the compressor performance curve, including:
[0023] The horizontal axis of the compressor performance curve is transformed so that the effective range of the horizontal axis for each preset speed is the same; wherein, the horizontal axis of the compressor performance curve represents the inlet flow rate and the vertical axis represents the outlet pressure.
[0024] Polynomial fitting was performed on the compressor performance curve after the horizontal and vertical axes were converted.
[0025] In one specific embodiment of the present invention, polynomial fitting is performed on the compressor performance curve, including:
[0026] The horizontal and vertical axes of the compressor performance curve are standardized respectively to obtain the compressor performance curve after the horizontal and vertical axes are standardized.
[0027] Polynomial fitting was performed on the compressor performance curves after standardization of the horizontal and vertical axes.
[0028] In one specific embodiment of the present invention, after obtaining the valve opening degree versus Cv value curve of the anti-surge valve, the method further includes:
[0029] The Cv value curve is converted to a first Excel spreadsheet using image sampling software;
[0030] After obtaining the compressor performance curve, the following is also included:
[0031] The compressor performance curve was converted into a second Excel spreadsheet using image sampling software.
[0032] A compressor simulation control device, comprising:
[0033] The valve opening and Cv value curve acquisition module is used to acquire the valve opening and Cv value curve of the anti-surge valve.
[0034] The valve opening degree and Cv value polynomial fitting module is used to perform polynomial fitting on the valve opening degree and Cv value curve to obtain the valve opening degree and Cv value polynomial of the anti-surge valve.
[0035] The valve opening and valve flow rate polynomial establishment module is used to establish the valve opening and valve flow rate polynomial by combining the valve opening and Cv value polynomial, the pressure before and after the valve, and the temperature before and after the valve.
[0036] The inlet flow rate and outlet pressure polynomial fitting module is used to obtain the compressor performance curve and perform polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed of the compressor; wherein, the compressor inlet flow rate is the sum of the return flow rate of the anti-surge valve and the suction flow rate of the compressor; the compressor suction flow rate is obtained through the compressor design conditions;
[0037] The compressor simulation control module is used to perform compressor simulation control based on the valve opening degree and valve flow polynomial and the inlet flow rate and outlet pressure polynomial.
[0038] In one specific embodiment of the present invention, the compressor simulation control module includes:
[0039] The polynomial power prediction submodule is used to predict the polynomial powers that minimize the fitting error based on the similarity of the inlet flow rate and outlet pressure polynomials corresponding to each preset rotational speed and the performance curves corresponding to each rotational speed.
[0040] The polynomial power coefficient and speed polynomial fitting submodule is used to perform polynomial fitting on the coefficients and speed corresponding to each of the polynomial powers to obtain the polynomial power coefficient and speed polynomial.
[0041] The inlet flow rate and speed polynomial determination submodule is used to determine the inlet flow rate and speed polynomial based on the inlet flow rate and outlet pressure polynomial and the power coefficient of the polynomial and the speed polynomial.
[0042] The compressor simulation control submodule is used to perform compressor simulation control by combining the valve opening degree and valve flow rate polynomial, the inlet flow rate and outlet pressure polynomial, and the inlet flow rate and speed polynomial.
[0043] A compressor simulation control device, comprising:
[0044] Memory, used to store computer programs;
[0045] A processor is used to execute the computer program to implement the steps of the compressor simulation control method as described above.
[0046] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the compressor simulation control method described above.
[0047] The compressor simulation control method provided by this invention obtains the valve opening degree and Cv value curve of the anti-surge valve; performs polynomial fitting on the valve opening degree and Cv value curve to obtain the valve opening degree and Cv value polynomial of the anti-surge valve; combines the valve opening degree and Cv value polynomial, the pressure before and after the valve, and the temperature before and after the valve to establish the valve opening degree and valve flow rate polynomial; obtains the compressor performance curve, and performs polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomial of the compressor based on each preset speed; wherein, the compressor inlet flow rate is the sum of the anti-surge valve return flow rate and the compressor suction flow rate; the compressor suction flow rate is obtained through the compressor design conditions; and performs compressor simulation control based on the valve opening degree and valve flow rate polynomial and the inlet flow rate and outlet pressure polynomial.
[0048] As can be seen from the above technical solution, by performing high-precision polynomial fitting on the compressor in the control system, users do not need to understand much about compressor model design. They only need to input the compressor's operating conditions and rated operating parameters, and the system will automatically generate fitting coefficients to complete the dynamic simulation and verification of the compressor control algorithm. This is convenient and easy to operate. It shortens the development cycle of the compressor control algorithm, improves the accuracy of the control algorithm, shortens the factory program verification time for compressor projects, improves work efficiency, and saves costs.
[0049] Accordingly, the present invention also provides a compressor simulation control device, equipment, and computer-readable storage medium corresponding to the above-mentioned compressor simulation control method, which have the above-mentioned technical effects, and will not be elaborated further here. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a flowchart illustrating one implementation of the compressor simulation control method in this invention.
[0052] Figure 2 This is a schematic diagram of a compressor process circuit in an embodiment of the present invention;
[0053] Figure 3 This is a performance curve of a compressor according to an embodiment of the present invention;
[0054] Figure 4 This is a similarity transformation diagram of the compressor performance curve in an embodiment of the present invention;
[0055] Figure 5 This is a flowchart illustrating another implementation of the compressor simulation control method in this invention.
[0056] Figure 6 This is a curve showing the fitting of rotational speed and polynomial coefficients in an embodiment of the present invention;
[0057] Figure 7 This is a schematic diagram of the fitting of a surge line and a blockage line in an embodiment of the present invention;
[0058] Figure 8 This is a schematic diagram of fitting the flow rate boundary line corresponding to the rotational speed in an embodiment of the present invention;
[0059] Figure 9 This is a schematic diagram of the actual operable area of a compressor simulation in an embodiment of the present invention;
[0060] Figure 10 This is a structural block diagram of a compressor simulation control device according to an embodiment of the present invention;
[0061] Figure 11 This is a structural block diagram of a compressor simulation control device according to an embodiment of the present invention;
[0062] Figure 12 This is a schematic diagram of the specific structure of a compressor simulation control device provided in this embodiment. Detailed Implementation
[0063] To enable those skilled in the art to better understand the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0064] See Figure 1 , Figure 1 This is a flowchart illustrating one implementation of the compressor simulation control method in this invention. The method may include the following steps:
[0065] S101: Obtain the valve opening degree versus Cv value curve of the anti-surge valve.
[0066] The compressor manufacturer will provide the valve opening degree versus Cv value curve for the anti-surge valve. This curve is obtained during compressor simulation control. The horizontal axis of the valve opening degree versus Cv value curve represents the valve opening degree, and the vertical axis represents the Cv value.
[0067] S102: Perform polynomial fitting on the valve opening versus Cv value curve to obtain the polynomial of valve opening versus Cv value for the anti-surge valve.
[0068] After obtaining the valve opening degree and Cv value curve of the anti-surge valve, polynomial fitting is performed on the valve opening degree and Cv value curve to obtain the valve opening degree and Cv value polynomial of the anti-surge valve. Thus, the Cv value can be obtained from the valve opening degree based on the valve opening degree and Cv value polynomial.
[0069] It should be noted that different valve sizes correspond to different valve opening degrees and Cv curves.
[0070] S103: By combining the valve opening and Cv value polynomials, the upstream and downstream pressures, and the upstream and downstream temperatures, establish the valve opening and valve flow polynomials.
[0071] After fitting the polynomials of valve opening and Cv value of the anti-surge valve, the polynomials of valve opening and Cv value, in conjunction with the pressures before and after the valve and the temperatures before and after the valve, are used to establish the polynomials of valve opening and valve flow rate.
[0072] After fitting the polynomials of valve opening and Cv value, and establishing the polynomials of valve opening and valve flow rate, the gas flow rate through the valve can be calculated using the valve Cv value, upstream and downstream pressure, temperature, medium composition, molecular weight, compressibility factor, and upstream and downstream pipeline conditions.
[0073] S104: Obtain the compressor performance curve and perform polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed.
[0074] The compressor inlet flow rate is the sum of the anti-surge valve return flow rate and the compressor suction flow rate; the compressor suction flow rate is obtained from the compressor design conditions.
[0075] See Figure 2 , Figure 2 This is a schematic diagram of a compressor process circuit according to an embodiment of the present invention. The compressor inlet flow rate is the sum of the backflow flow rate of the anti-surge valve and the compressor suction flow rate. The compressor suction flow rate is obtained through compressor design conditions. Compressor design conditions may include inlet temperature, inlet pressure, operating pressure, gas composition, operating flow rate, etc. The operating flow rate under the design conditions is the suction flow rate when the compressor is operating normally.
[0076] See Figure 3 , Figure 3 This is a compressor performance curve diagram according to an embodiment of the present invention. The compressor manufacturer will also provide a compressor performance curve, obtain the compressor performance curve, and perform polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed.
[0077] In one specific embodiment of the present invention, performing polynomial fitting on the compressor performance curve may include the following steps:
[0078] Step 1: Transform the horizontal axis of the compressor performance curve to ensure that the effective range of the horizontal axis is the same for each preset speed; where the horizontal axis of the compressor performance curve represents the inlet flow rate and the vertical axis represents the outlet pressure.
[0079] Step 2: Perform polynomial fitting on the compressor performance curve after the horizontal and vertical axes are converted.
[0080] For ease of description, the two steps above can be combined for explanation.
[0081] See Figure 4 , Figure 4 This is a similarity transformation diagram of compressor performance curves in an embodiment of the present invention. The horizontal axis of the compressor performance curve represents the inlet flow rate, and the vertical axis represents the outlet pressure. After obtaining the compressor performance curve, the horizontal axis of the compressor performance curve is transformed to ensure that the effective range of the horizontal axis for each preset speed is the same. The transformed speeds have the same speed-flow rate. Polynomial fitting is then performed on the transformed compressor performance curves. This ensures that all parameters are within the effective data range, guaranteeing that all fitted data points are within the effective fitting region, thus ensuring the correctness of the fitting. Figure 4 The polynomials and curves obtained by fitting the graph correspond one-to-one with each other in the graph. That is, the top polynomial corresponds to the top curve, the bottom polynomial corresponds to the bottom curve, and so on.
[0082] In one specific embodiment of the present invention, performing polynomial fitting on the compressor performance curve may include the following steps:
[0083] Step 1: Standardize the horizontal and vertical axes of the compressor performance curve to obtain the compressor performance curve after standardization.
[0084] Step 2: Perform polynomial fitting on the compressor performance curves after standardization of the horizontal and vertical axes.
[0085] For ease of description, the two steps above can be combined for explanation.
[0086] After obtaining the compressor performance curve, the horizontal and vertical axes of the compressor performance curve are standardized to obtain the compressor performance curve after standardization of the horizontal and vertical axes. Polynomial fitting is then performed on the compressor performance curve after standardization of the horizontal and vertical axes.
[0087] For example, the process of modeling compressor parameters for different models may include the following steps:
[0088] (1) Perform (0-100) standardization transformation on the horizontal and vertical axes of the standard model performance curves respectively;
[0089] (2) Standardize the working conditions of the standard model (0-100);
[0090] (3) Convert the design pressure and design flow of the new model to (0-100);
[0091] (4) Model the performance curve of the new model by standardizing the pressure and flow of the new model;
[0092] (5) The polynomial fitting parameters are automatically calculated based on the performance curve of the new model to complete the development of the new model.
[0093] In one specific embodiment of the present invention, after step S101, the method may further include the following steps:
[0094] The Cv value curve was converted to the first Excel spreadsheet using image sampling software;
[0095] Accordingly, after obtaining the compressor performance curve, the method may further include the following steps:
[0096] The compressor performance curve was converted to a second Excel spreadsheet using image sampling software.
[0097] After obtaining the valve opening and Cv value curves of the anti-surge valve, the Cv value curves are converted to a first Excel spreadsheet using image sampling software. Similarly, after obtaining the compressor performance curves, they are converted to a second Excel spreadsheet using the same software. Converting the Cv value curves and compressor performance curves to Excel spreadsheets separately improves the accuracy of the polynomial fitting.
[0098] S105: Compressor simulation control is performed based on the polynomials of valve opening and valve flow rate and inlet flow rate and outlet pressure.
[0099] After establishing the valve opening and valve flow polynomials and fitting the inlet flow and outlet pressure polynomials, compressor simulation control is performed based on the valve opening and valve flow polynomials and the inlet flow and outlet pressure polynomials.
[0100] As can be seen from the above technical solution, by performing high-precision polynomial fitting on the compressor in the control system, users do not need to understand much about compressor model design. They only need to input the compressor's operating conditions and rated operating parameters, and the system will automatically generate fitting coefficients to complete the dynamic simulation and verification of the compressor control algorithm. This is convenient and easy to operate. It shortens the development cycle of the compressor control algorithm, improves the accuracy of the control algorithm, shortens the factory program verification time for compressor projects, improves work efficiency, and saves costs.
[0101] It should be noted that, based on the above embodiments, the present invention also provides corresponding improvements. In subsequent embodiments, steps identical or corresponding to those in the above embodiments can be referenced interchangeably, and their respective beneficial effects can also be referred to each other. These improvements will not be elaborated upon in the following improved embodiments.
[0102] See Figure 5 , Figure 5 This is a flowchart illustrating another implementation of the compressor simulation control method in this invention. The method may include the following steps:
[0103] S501: Obtain the valve opening degree versus Cv value curve of the anti-surge valve.
[0104] S502: Perform polynomial fitting on the valve opening versus Cv value curve to obtain the polynomial of valve opening versus Cv value for the anti-surge valve.
[0105] S503: By combining the valve opening and Cv value polynomials, the upstream and downstream pressures, and the upstream and downstream temperatures, establish the valve opening and valve flow polynomials.
[0106] S504: Obtain the compressor performance curve and perform polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed.
[0107] The compressor inlet flow rate is the sum of the anti-surge valve return flow rate and the compressor suction flow rate; the compressor suction flow rate is obtained from the compressor design conditions.
[0108] S505: Based on the similarity of the inlet flow rate and outlet pressure polynomials corresponding to each preset speed and the performance curves corresponding to each speed, predict the powers of each polynomial that minimize the fitting error.
[0109] After fitting the polynomials for inlet flow rate and outlet pressure, the powers of the polynomials that minimize the fitting error are predicted based on the similarity of the polynomials for inlet flow rate and outlet pressure corresponding to each preset speed and the performance curves corresponding to each speed.
[0110] S506: Perform polynomial fitting on the coefficients and rotational speeds corresponding to each polynomial power to obtain the polynomial power coefficients and rotational speed polynomials.
[0111] After predicting the polynomial powers that minimize the fitting error, polynomial fitting is performed on the coefficients and rotational speeds corresponding to each polynomial power to obtain the polynomial power coefficients and the rotational speed polynomial.
[0112] See Figure 6 , Figure 6 This is a curve showing the fitting of rotational speed and polynomial coefficients in an embodiment of the present invention. Since the performance curves at different rotational speeds have similar shapes, it can be inferred that there exists a polynomial power that minimizes the fitting error. Furthermore, since the curves gradually change with rotational speed, the coefficients of the same power in each polynomial also change regularly with respect to rotational speed. Based on this regularity, a univariate fitting of each coefficient with respect to rotational speed is performed.
[0113] S507: Determine the inlet flow rate and speed polynomials based on the inlet flow rate and outlet pressure polynomials, the polynomial power coefficients, and the speed polynomial.
[0114] After fitting the polynomial power coefficients and the speed polynomial, the inlet flow rate and speed polynomials are determined based on the inlet flow rate and outlet pressure polynomials and the polynomial power coefficients and speed polynomials. In other words, the algebraic polynomial expression y = f(Q, n) of the fitted characteristic parameters with respect to flow rate and speed can be obtained.
[0115] S508: Combining valve opening and valve flow polynomials, inlet flow and outlet pressure polynomials, and inlet flow and speed polynomials for compressor simulation control.
[0116] After determining the polynomials for inlet and outlet flow rates and rotational speeds, compressor simulation control is performed by combining the polynomials for valve opening and valve flow rates, inlet flow rates and outlet pressures, and inlet flow rates and rotational speeds. This further improves the accuracy of compressor simulation control.
[0117] In one specific embodiment of the present invention, step S508 may include the following steps:
[0118] Step 1: Based on the compressor performance curve, perform surge line polynomial fitting and blockage line polynomial fitting respectively to obtain the surge line polynomial and the blockage line polynomial.
[0119] Step 2: Based on the surge line polynomial, the blockage line polynomial, and the inlet flow rate versus rotational speed polynomial, fit the rotational speed versus maximum flow rate polynomial and the rotational speed versus minimum flow rate polynomial;
[0120] Step 3: Perform compressor simulation control by combining the polynomials of valve opening and valve flow rate, inlet flow rate and outlet pressure, inlet flow rate and speed, speed and maximum flow rate, and speed and minimum flow rate.
[0121] For ease of description, the three steps above can be combined for explanation.
[0122] See Figure 7 , Figure 8 and Figure 9 , Figure 7 This is a schematic diagram of the fitting of a surge line and a blockage line in an embodiment of the present invention. Figure 8 This is a schematic diagram of fitting the flow rate boundary line corresponding to the rotational speed in an embodiment of the present invention. Figure 9 This is a schematic diagram of the actual operable zone of a compressor simulation in an embodiment of the present invention. Surge line polynomial fitting and blockage line polynomial fitting are performed based on the compressor performance curves to obtain surge line polynomials and blockage line polynomials. Based on the surge line polynomial, blockage line polynomial, and inlet flow rate versus speed polynomial, speed versus maximum flow rate polynomial and speed versus minimum flow rate polynomial are fitted. The actual operable zone of the compressor can be obtained from the surge line polynomial, blockage line polynomial, speed versus maximum flow rate polynomial, and speed versus minimum flow rate polynomial. Compressor simulation control is performed by combining valve opening versus valve flow rate polynomial, inlet flow rate versus outlet pressure polynomial, inlet flow rate versus speed polynomial, speed versus maximum flow rate polynomial, and speed versus minimum flow rate polynomial. This further improves the accuracy of compressor simulation control.
[0123] Corresponding to the above method embodiments, the present invention also provides a compressor simulation control device, and the compressor simulation control device described below can be referred to in correspondence with the compressor simulation control method described above.
[0124] See Figure 10 , Figure 10 This is a structural block diagram of a compressor simulation control device according to an embodiment of the present invention. The device may include:
[0125] Valve opening degree and Cv value curve acquisition module 11 is used to acquire the valve opening degree and Cv value curve of the anti-surge valve;
[0126] The valve opening and Cv value polynomial fitting module 12 is used to perform polynomial fitting on the valve opening and Cv value curve to obtain the valve opening and Cv value polynomial of the anti-surge valve.
[0127] The valve opening and valve flow polynomial establishment module 13 is used to combine the valve opening and Cv value polynomial, the pressure before and after the valve, and the temperature before and after the valve to establish the valve opening and valve flow polynomial.
[0128] The inlet flow rate and outlet pressure polynomial fitting module 14 is used to obtain the compressor performance curve and perform polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed of the compressor; wherein, the compressor inlet flow rate is the sum of the return flow rate of the anti-surge valve and the suction flow rate of the compressor; the compressor suction flow rate is obtained through the compressor design conditions.
[0129] The compressor simulation control module 15 is used to perform compressor simulation control based on the valve opening degree and valve flow polynomial and the inlet flow and outlet pressure polynomial.
[0130] As can be seen from the above technical solution, by performing high-precision polynomial fitting on the compressor in the control system, users do not need to understand much about compressor model design. They only need to input the compressor's operating conditions and rated operating parameters, and the system will automatically generate fitting coefficients to complete the dynamic simulation and verification of the compressor control algorithm. This is convenient and easy to operate. It shortens the development cycle of the compressor control algorithm, improves the accuracy of the control algorithm, shortens the factory program verification time for compressor projects, improves work efficiency, and saves costs.
[0131] In one specific embodiment of the present invention, the compressor simulation control module 15 includes:
[0132] The polynomial power prediction submodule is used to predict the polynomial powers that minimize the fitting error based on the similarity of the inlet flow rate and outlet pressure polynomials corresponding to each preset speed and the performance curves corresponding to each speed.
[0133] The polynomial power coefficient and speed polynomial fitting submodule is used to perform polynomial fitting on the coefficients and speed corresponding to each polynomial power to obtain the polynomial power coefficient and speed polynomial.
[0134] The inlet flow rate and speed polynomial determination submodule is used to determine the inlet flow rate and speed polynomial based on the inlet flow rate and outlet pressure polynomial and the polynomial power coefficient and speed polynomial.
[0135] The compressor simulation control submodule is used to perform compressor simulation control by combining valve opening and valve flow polynomials, inlet flow and outlet pressure polynomials, and inlet flow and speed polynomials.
[0136] In one specific embodiment of the present invention, the compressor simulation control submodule includes:
[0137] The surge polynomial and blockage polynomial fitting unit is used to perform surge polynomial fitting and blockage polynomial fitting respectively based on the compressor performance curve to obtain surge polynomial and blockage polynomial.
[0138] The rotational speed and flow rate polynomial fitting unit is used to fit the rotational speed and maximum flow rate polynomial and the rotational speed and minimum flow rate polynomial based on the surge line polynomial, the blockage line polynomial and the inlet flow rate and rotational speed polynomial.
[0139] The compressor simulation control unit is used to perform compressor simulation control by combining polynomials on valve opening and valve flow rate, inlet flow rate and outlet pressure, inlet flow rate and speed, speed and maximum flow rate, and speed and minimum flow rate.
[0140] In one specific embodiment of the present invention, the inlet flow rate and outlet pressure polynomial fitting module 14 includes:
[0141] The coordinate transformation submodule is used to transform the horizontal axis of the compressor performance curve to ensure that the effective range of the horizontal axis is the same for each preset speed. The horizontal axis of the compressor performance curve represents the inlet flow rate, and the vertical axis represents the outlet pressure.
[0142] The first compressor performance curve polynomial fitting submodule is used to perform polynomial fitting on the compressor performance curve after the x and y axes are converted.
[0143] In one specific embodiment of the present invention, the inlet flow rate and outlet pressure polynomial fitting module 14 includes:
[0144] The coordinate standardization submodule is used to standardize the horizontal and vertical coordinates of the compressor performance curve to obtain the compressor performance curve after the horizontal and vertical coordinates are standardized.
[0145] The second compressor performance curve polynomial fitting submodule is used to perform polynomial fitting on the compressor performance curves after the horizontal and vertical axes have been standardized.
[0146] In one specific embodiment of the present invention, the device may further include:
[0147] The Cv value curve conversion module is used to convert the Cv value curve to the first Excel sheet after obtaining the valve opening degree and Cv value curve of the anti-surge valve through image point acquisition software.
[0148] The compressor performance curve conversion module is used to convert the compressor performance curve to a second Excel spreadsheet after obtaining the compressor performance curve using image point acquisition software.
[0149] For the method embodiments described above, see [link to relevant documentation]. Figure 11 , Figure 11 This is a schematic diagram of the compressor simulation control device provided by the present invention, which may include:
[0150] Memory 332 is used to store computer programs;
[0151] The processor 322 is used to implement the steps of the compressor simulation control method of the above method embodiment when executing a computer program.
[0152] For details, please refer to Figure 12 , Figure 12 This is a schematic diagram illustrating the specific structure of a compressor simulation control device provided in this embodiment. The compressor simulation control device can vary significantly depending on its configuration or performance. It may include a processor (central processing unit, CPU) 322 (e.g., one or more processors) and a memory 332. The memory 332 stores one or more computer programs 342 or data 344. The memory 332 can be temporary or permanent storage. The program stored in the memory 332 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the data processing device. Furthermore, the processor 322 may be configured to communicate with the memory 332 and execute the series of instruction operations stored in the memory 332 on the compressor simulation control device 301.
[0153] The compressor simulation control device 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input / output interfaces 358, and / or one or more operating systems 341.
[0154] The steps in the compressor simulation control method described above can be implemented by the structure of the compressor simulation control equipment.
[0155] Corresponding to the above method embodiments, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the following steps:
[0156] Obtain the valve opening versus Cv value curve of the anti-surge valve; perform polynomial fitting on the valve opening versus Cv value curve to obtain the valve opening versus Cv value polynomial of the anti-surge valve; combine the valve opening versus Cv value polynomial, the inlet and outlet pressures, and the inlet and outlet temperatures to establish the valve opening versus valve flow polynomial; obtain the compressor performance curve and perform polynomial fitting on the compressor performance curve to obtain the inlet flow and outlet pressure polynomials corresponding to each preset speed; wherein, the compressor inlet flow is the sum of the anti-surge valve return flow and the compressor suction flow; the compressor suction flow is obtained through the compressor design conditions; perform compressor simulation control based on the valve opening versus valve flow polynomial and the inlet flow versus outlet pressure polynomial.
[0157] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0158] For a description of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments; the present invention will not be described in detail here.
[0159] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses, devices, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.
[0160] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made to the present invention without departing from the principles of the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims
1. A compressor simulation control method, characterized in that, include: Obtain the valve opening versus Cv value curve of the anti-surge valve; Polynomial fitting is performed on the valve opening versus Cv value curve to obtain the valve opening versus Cv value polynomial of the anti-surge valve; By combining the valve opening and Cv value polynomials, the upstream and downstream pressures, and the upstream and downstream temperatures, a valve opening and valve flow rate polynomial is established. The compressor performance curve is obtained, and polynomial fitting is performed on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed. Among them, the compressor inlet flow rate is the sum of the return flow rate of the anti-surge valve and the suction flow rate of the compressor. The suction flow rate of the compressor is obtained through the compressor design conditions. Compressor simulation control is performed based on the valve opening versus valve flow polynomial and the inlet flow versus outlet pressure polynomial. The compressor simulation control, based on the valve opening versus valve flow polynomial and the inlet flow versus outlet pressure polynomial, includes: Based on the similarity of the inlet flow rate and outlet pressure polynomials corresponding to each preset rotation speed and the performance curves corresponding to each rotation speed, the powers of each polynomial that minimize the fitting error are predicted. Polynomial fitting is performed on the coefficients and rotational speeds corresponding to each of the polynomial powers to obtain the polynomial power coefficients and the rotational speed polynomial. The inlet flow rate and speed polynomial are determined based on the inlet flow rate and outlet pressure polynomial and the power coefficients of the polynomial and the speed polynomial. Compressor simulation control is performed by combining the valve opening degree and valve flow rate polynomials, the inlet flow rate and outlet pressure polynomials, and the inlet flow rate and speed polynomials. Polynomial fitting is performed on the compressor performance curve, including: The horizontal axis of the compressor performance curve is transformed so that the effective range of the horizontal axis for each preset speed is the same; wherein, the horizontal axis of the compressor performance curve represents the inlet flow rate and the vertical axis represents the outlet pressure. Polynomial fitting was performed on the compressor performance curve after the horizontal and vertical axes were converted.
2. The compressor simulation control method according to claim 1, characterized in that, Compression simulation control is performed by combining the valve opening versus valve flow rate polynomial, the inlet flow rate versus outlet pressure polynomial, and the inlet flow rate versus speed polynomial, including: Based on the compressor performance curve, surge line polynomial fitting and blockage line polynomial fitting are performed respectively to obtain surge line polynomial and blockage line polynomial. Based on the surge line polynomial, the blockage line polynomial, and the inlet flow rate and rotational speed polynomial, fit the rotational speed and maximum flow rate polynomial and the rotational speed and minimum flow rate polynomial; Compressor simulation control is performed by combining the polynomials of valve opening and valve flow rate, inlet flow rate and outlet pressure, inlet flow rate and speed, speed and maximum flow rate, and speed and minimum flow rate.
3. The compressor simulation control method according to claim 1, characterized in that, Polynomial fitting is performed on the compressor performance curve, including: The horizontal and vertical axes of the compressor performance curve are standardized respectively to obtain the compressor performance curve after the horizontal and vertical axes are standardized. Polynomial fitting was performed on the compressor performance curves after standardization of the horizontal and vertical axes.
4. The compressor simulation control method according to claim 1, characterized in that, After obtaining the valve opening versus Cv value curve of the anti-surge valve, the following is also included: The Cv value curve is converted to a first Excel spreadsheet using image sampling software; After obtaining the compressor performance curve, the following is also included: The compressor performance curve was converted into a second Excel spreadsheet using image sampling software.
5. A compressor simulation control device, characterized in that, include: The valve opening and Cv value curve acquisition module is used to acquire the valve opening and Cv value curve of the anti-surge valve. The valve opening degree and Cv value polynomial fitting module is used to perform polynomial fitting on the valve opening degree and Cv value curve to obtain the valve opening degree and Cv value polynomial of the anti-surge valve. The valve opening and valve flow rate polynomial establishment module is used to establish the valve opening and valve flow rate polynomial by combining the valve opening and Cv value polynomial, the pressure before and after the valve, and the temperature before and after the valve. The inlet flow rate and outlet pressure polynomial fitting module is used to obtain the compressor performance curve and perform polynomial fitting on the compressor performance curve to obtain the inlet flow rate and outlet pressure polynomials corresponding to each preset speed of the compressor; wherein, the compressor inlet flow rate is the sum of the return flow rate of the anti-surge valve and the suction flow rate of the compressor; the compressor suction flow rate is obtained through the compressor design conditions; The compressor simulation control module is used to perform compressor simulation control based on the valve opening and valve flow polynomial and the inlet flow and outlet pressure polynomial. The compressor simulation control module includes: The polynomial power prediction submodule is used to predict the polynomial powers that minimize the fitting error based on the similarity of the inlet flow rate and outlet pressure polynomials corresponding to each preset rotational speed and the performance curves corresponding to each rotational speed. The polynomial power coefficient and speed polynomial fitting submodule is used to perform polynomial fitting on the coefficients and speed corresponding to each of the polynomial powers to obtain the polynomial power coefficient and speed polynomial. The inlet flow rate and speed polynomial determination submodule is used to determine the inlet flow rate and speed polynomial based on the inlet flow rate and outlet pressure polynomial and the power coefficient of the polynomial and the speed polynomial. The compressor simulation control submodule is used to perform compressor simulation control by combining the valve opening degree and valve flow rate polynomial, the inlet flow rate and outlet pressure polynomial, and the inlet flow rate and speed polynomial. The inlet flow rate and outlet pressure polynomial fitting module includes: The coordinate transformation submodule is used to transform the horizontal axis of the compressor performance curve to ensure that the effective range of the horizontal axis is the same for each preset speed. The horizontal axis of the compressor performance curve represents the inlet flow rate, and the vertical axis represents the outlet pressure. The first compressor performance curve polynomial fitting submodule is used to perform polynomial fitting on the compressor performance curve after the x and y axes are converted.
6. A compressor simulation control device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the compressor simulation control method as described in any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the compressor simulation control method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Transient modeling method of centrifugal air compressor in fuel cell system
CN109145363A