A kind of separating tank dynamic simulation method, device, equipment and storage medium

CN114117962BActive Publication Date: 2026-06-19ZHEJIANG SUPCON SOFTWARE +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111451668.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-01
Publication Date
2026-06-19
Estimated Expiration
2041-12-01

Smart Images

  • Figure CN114117962B_ABST
    Figure CN114117962B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, equipment, and storage medium for dynamic simulation of a separator, relating to the field of dynamic simulation technology. The method includes: first, acquiring the material information at the separator's ports; then, based on one pressure variable, two flow variables, the heat exchange of the separator in the previous cycle, and the temperature of the separator in the previous cycle, calculating the equilibrium pressure and flow rate at each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure within the separator; determining the material inlet and material outlet from each material inlet; calculating the equilibrium component information and the equilibrium heat information at each material inlet in the separator under equilibrium conditions; and finally, generating the equilibrium state information of the material outlet based on the equilibrium component information, equilibrium heat information, and equilibrium pressure and flow rate at the material outlet. In the solution provided in this application, because the influence of temperature and heat exchange on the material balance calculation within the separator is considered, the dynamic simulation results of the separator are more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of dynamic simulation technology, and more specifically, to a dynamic simulation method, apparatus, equipment, and storage medium for a separation tank. Background Technology

[0002] In industrial production, separation tanks are one of the most commonly used unit devices in chemical processes. Separation tanks often contain fluids of different phases; therefore, monitoring the dynamic characteristics of the fluids within the separation tank is particularly important. Current technologies often employ dynamic simulation of the fluids within the separation tank to obtain its dynamic characteristics.

[0003] In existing dynamic simulation methods for separator tanks, the volume balance of the entire system is calculated based on the pressure and flow rate of the fluid to obtain the pressure and flow rate of the fluid in the separator tank under equilibrium conditions. Based on this, the composition balance and energy balance of the fluid in the separator tank are calculated, thereby obtaining the thermodynamic properties of the fluid in the separator tank, such as temperature and composition.

[0004] In the entire dynamic simulation process, the pressure and flow rate of the fluid at volume equilibrium are calculated first, followed by the thermodynamic properties of the fluid, such as temperature and composition. However, in each round of simulation calculations, the acquisition of thermodynamic properties such as temperature and composition lags behind that of pressure and flow rate. Furthermore, in actual separation tanks, these thermodynamic properties also affect volume equilibrium. Therefore, simply calculating the volume equilibrium of the entire system using fluid pressure and flow rate cannot accurately yield the dynamic simulation results of the separation tank. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of the prior art by providing a dynamic simulation method, apparatus, equipment, and storage medium for separation tanks, thereby solving the problem that the prior art cannot accurately obtain the dynamic simulation results of separation tanks.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, embodiments of this application provide a dynamic simulation method for a separation tank, including:

[0008] Obtain the port material information of the separator, which includes: component information of each material port, a pressure variable, and two flow variables. Each pressure variable is the pressure of any material port in the separator, or the pressure inside the separator, and each flow variable is the flow rate of any material port in the separator.

[0009] Based on the pressure variable, the two flow variables, the heat exchange of the previous cycle in the separator, and the temperature of the previous cycle in the separator, calculate the equilibrium pressure and flow rate of each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure inside the separator.

[0010] Based on the balanced pressure and flow rate of each material inlet, determine the material inlet and material outlet from each material inlet;

[0011] Based on the component information of the material inlet, the component information of the previous round in the separator, and the heat exchange of the previous round, calculate the equilibrium component information and the equilibrium heat information of each material inlet and the separator in the equilibrium state.

[0012] Based on the equilibrium component information, equilibrium heat information, and equilibrium pressure and flow rate of the material outlet, the equilibrium state information of the material outlet is generated.

[0013] Optionally, the step of calculating the equilibrium pressure and flow rate at each material inlet in the separator, and the equilibrium pressure within the separator, based on the pressure variable, the two flow variables, the heat exchange of the separator in the previous cycle, and the temperature of the separator in the previous cycle, includes:

[0014] Based on the heat exchange in the previous cycle and the temperature in the previous cycle of the separation tank, calculate the first volume change parameter caused by the heat exchange in the separation tank;

[0015] Based on the aforementioned pressure variable and the previous gas phase volume of the separator, calculate the second volume change parameter caused by the pressure inside the separator;

[0016] Based on the two flow variables, calculate the third volume change parameter caused by the flow rate inside the separation tank;

[0017] Based on the first volume change parameter, the second volume change parameter, and the third volume change parameter, a preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separation tank.

[0018] Optionally, before calculating the first volume change parameter caused by the heat exchange in the separation tank based on the previous heat exchange and the previous temperature of the separation tank, the method further includes:

[0019] Determine whether the material components in the separation tank are gas phase, liquid phase, or both gas and liquid phase;

[0020] The step of calculating the first volume change parameter caused by the heat exchange in the separation tank based on the previous heat exchange and the previous temperature of the separation tank includes:

[0021] If the material component in the separator is gas, the first volume change parameter caused by the heat exchange in the separator is calculated based on the previous temperature, the previous heat exchange in the separator, and the previous gas volume in the separator.

[0022] Optionally, the step of calculating the first volume change parameter caused by the heat exchange in the separation tank based on the preset heat exchange capacity and the preset temperature further includes:

[0023] If the material component in the separation tank is a liquid phase, then the first volume change parameter caused by the heat exchange in the separation tank is calculated based on the previous temperature, the previous heat exchange in the separation tank, and the previous pressure in the separation tank.

[0024] Optionally, calculating the first volume change parameter caused by the heat exchange in the separation tank based on the preset heat exchange rate and the preset temperature includes:

[0025] If the material composition in the separator is a gas-liquid two-phase system, then the first change parameter caused by the heat exchange in the separator is calculated based on the previous temperature of the separator, the previous heat exchange in the separator, and the previous gas phase volume of the separator.

[0026] Based on the previous temperature, the previous heat exchange in the separation tank, and the previous pressure in the separation tank, calculate the second change parameter caused by the heat exchange in the separation tank;

[0027] The first volume change parameter is obtained based on the first change parameter and the second change parameter.

[0028] Optionally, determining whether the material components in the separation tank are gaseous, liquid, or a two-phase mixture includes:

[0029] Calculate the enthalpy of the substance in the separation tank based on the state of matter in the separation tank;

[0030] The composition of the substance in the separation tank is determined as gas phase, liquid phase, or gas-liquid two phases based on the heat exchange capacity and the enthalpy value of the substance in the separation tank.

[0031] If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the first preset condition, then the substance in the separator is determined to be gaseous.

[0032] If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the second preset condition, then the substance in the separator is determined to be a liquid phase.

[0033] If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the third preset condition, then the substance composition in the separator is determined to be a gas-liquid two-phase system.

[0034] Optionally, the step of calculating the equilibrium pressure-flow rate of each material inlet and the equilibrium pressure inside the separation tank using a preset volume balance equation based on the first volume change parameter, the second volume change parameter, and the third volume change parameter further includes:

[0035] Based on the first volume change parameter, the second volume change parameter, the third volume change parameter, and the preset volume deviation correction term, the preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separation tank.

[0036] Secondly, embodiments of this application provide a dynamic simulation device for a separation tank, comprising:

[0037] The acquisition module is used to acquire the port material information of the separation tank. The port material information includes: component information of each material port, a pressure variable, and two flow variables. Each pressure variable is the pressure of any material port in the separation tank, or the pressure inside the separation tank. Each flow variable is the flow rate of any material port in the separation tank.

[0038] The first calculation module is used to calculate the equilibrium pressure and flow rate of each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure in the separator, based on the pressure variable, the two flow variables, the heat exchange of the separator in the previous cycle, and the temperature of the separator in the previous cycle.

[0039] The determining module is used to determine the material inlet and material outlet from each material outlet based on the balanced pressure and flow rate of each material outlet;

[0040] The second calculation module is used to calculate the equilibrium component information and the equilibrium heat information of each material inlet and the separation tank under equilibrium conditions based on the component information of the material inlet, the component information of the previous round in the separation tank and the heat exchange of the previous round.

[0041] The generation module is used to generate the equilibrium state information of the material outlet based on the equilibrium component information, equilibrium heat information, and equilibrium flow rate of the material outlet.

[0042] Thirdly, embodiments of this application provide a computer device, including: a processor and a storage medium, wherein the storage medium stores a computer program that can run on the processor, and the processor executes the computer program to perform any of the methods described in the first aspect above.

[0043] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs any of the methods described in the first aspect above.

[0044] Compared with the prior art, this application has the following beneficial effects:

[0045] This application provides a method, apparatus, device, and storage medium for dynamic simulation of a separator. First, the material information at the separator's ports is acquired, including component information for each material inlet, one pressure variable, and two flow variables. Then, based on the pressure variable, the two flow variables, the previous heat exchange in the separator, and the previous temperature, the equilibrium pressure and flow rate at each material inlet, as well as the equilibrium pressure within the separator, are calculated under equilibrium conditions. Next, based on the equilibrium pressure and flow rate at each material inlet, the material inlet and outlet are determined. Then, based on the component information at the material inlet, the previous component information within the separator, and the previous heat exchange, the equilibrium component information and equilibrium heat information at each material inlet and within the separator under equilibrium conditions are calculated. Finally, based on the equilibrium component information, equilibrium heat information, and equilibrium pressure and flow rate at the material outlet, the equilibrium state information at the material outlet is generated. In the solution provided in this application, the influence of temperature and heat exchange on the material balance calculation in the separator is considered when calculating the balance pressure and flow rate. The lag effect of temperature and heat exchange on the balance calculation is reduced to a certain extent. Therefore, the obtained balance pressure and flow rate is more accurate. Based on the accurate balance pressure and flow rate, accurate balance state information is obtained, and accurate dynamic simulation of the separator is realized. Attached Figure Description

[0046] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 This is a schematic diagram of the structure of a separation tank provided in an embodiment of this application;

[0048] Figure 2A flowchart illustrating a dynamic simulation method for a separation tank provided in this application embodiment;

[0049] Figure 3 A flowchart illustrating a specific implementation method for calculating balanced pressure flow provided in an embodiment of this application;

[0050] Figure 4 A flowchart illustrating a specific implementation method for calculating a first volume change parameter provided in an embodiment of this application;

[0051] Figure 5 A flowchart illustrating a specific implementation method for determining the composition of substances in a separation tank, provided in an embodiment of this application;

[0052] Figure 6 A flowchart illustrating another specific implementation method for calculating balanced pressure flow provided in an embodiment of this application;

[0053] Figure 7 This is a schematic diagram of a dynamic simulation device for a separation tank provided in an embodiment of this application;

[0054] Figure 8 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0056] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

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

[0058] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0059] It should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.

[0060] The present application provides a separation tank. Figure 1 This is a schematic diagram of a separation tank provided in an embodiment of this application. Figure 1 As shown, the separator includes three material inlets and a tank body. Material enters the tank body 104 through material inlet 101 and flashes into a gas-liquid two-phase mixture inside the tank body 104. The gaseous phase material is discharged through material inlet 102, and the liquid phase material is discharged through material inlet 103. Optionally, the separator also exchanges heat with the external environment. It should be noted that during actual operation, the pressure and material information of the separator are constantly changing, and backflow may occur in all material inlets. Therefore, each material inlet can be both an inlet and an outlet, requiring determination based on the specific material flow rate and direction. The material flow directions at material inlets 101, 102, and 103 are only one of the most common scenarios.

[0061] Dynamic simulation of a separator involves using known material information at the inlet (including material pressure, flow rate, and composition) and the initial state of the separator (including material pressure, temperature, and composition) to determine the material information at the inlet and the equilibrium state of the separator. Dynamic simulation requires continuous balancing of the separator; therefore, it is necessary to improve the convergence speed of each balancing cycle to ensure the real-time performance of the overall dynamic simulation results, while also maintaining the accuracy of the balancing solution.

[0062] To more accurately simulate the dynamic characteristics of the separator, this application provides a dynamic simulation method for the separator, which comprehensively considers the influence of heat exchange, pressure changes, and flow rate changes on the volume of materials in the separator, thereby obtaining accurate equilibrium state information and realizing dynamic simulation of the separator.

[0063] The following specific examples will be used to explain the dynamic simulation method for the separation tank provided in the embodiments of this application. Figure 2 This is a flowchart illustrating a dynamic simulation method for a separation tank provided in an embodiment of this application. The execution subject of this method can be a simulation device, which can be a device with computing processing capabilities, such as a desktop computer, laptop computer, or tablet computer. Figure 2 As shown, the method includes:

[0064] S101. Obtain the port material information of the separator. The port material information includes: the component information of each material port, one pressure variable, and two flow variables.

[0065] The composition information for each material inlet represents the components of the material, such as gas, liquid, or a gas-liquid dual phase. Each pressure variable represents the material pressure at any material inlet in the separator, or the material pressure within the separator. Each flow variable represents the flow rate at any material inlet in the separator.

[0066] S102. Based on one pressure variable, two flow variables, the heat exchange of the previous cycle in the separator, and the temperature of the previous cycle in the separator, calculate the equilibrium pressure and flow rate of each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure inside the separator.

[0067] During the balancing calculation, each round of calculation is completed before starting the next round. At the end of each round, the balanced pressure and flow rate of each material inlet, as well as the balanced pressure within the separator, are obtained. Based on this, the temperature at the current balanced state is further calculated. Therefore, there is a time lag between calculating the temperature at the current balanced state and calculating the balanced pressure and flow rate. Due to this time lag, the temperature at the current balanced state cannot be used to calculate the balanced pressure and flow rate at the current balanced state during each round of balancing calculation. However, when calculating the balanced pressure and flow rate at the current balanced state, the temperature from the previous round has already been calculated. Therefore, the temperature from the previous round can be used for the current balancing calculation, or the temperature from the previous round can be used to predict the current temperature using a preset prediction method before performing the current balancing calculation. For example, this preset prediction method can be an empirical method. Based on the difference between the predicted temperature and the actual temperature in each round, the preset prediction method can be adjusted to gradually reduce the gap between the predicted and actual temperatures. The heat exchange of the separator will affect the temperature of the separator. Therefore, similar to the method for handling temperature mentioned above, the heat exchange of the previous round can be used to perform the balance calculation for the current round, or the heat exchange of the previous round can be used to predict the heat exchange of the current round according to the preset prediction method, and then the balance calculation for the current round can be performed.

[0068] In the first round of balancing calculations, the heat exchange and temperature of the separator in the previous round are not yet available. Therefore, the initial heat exchange and temperature of the separator need to be set based on empirical values.

[0069] By using the heat exchange and temperature of the separator from the previous cycle for balancing calculations, the balancing calculation results for this cycle are more accurate. As the number of calculation cycles increases, the balancing calculation results will become more and more accurate.

[0070] S103. Determine the material inlet and material outlet from each material outlet based on the balanced pressure and flow rate of each material outlet.

[0071] After obtaining the balanced pressure and flow rate of each material inlet, the material inlet and material outlet can be determined based on the value and direction of the material flow rate at each material inlet. For example, when the sum of the material flow rate at material inlet 101 and the material flow rate at material inlet 102 equals the material flow rate at material inlet 103, and the material flow direction at material inlets 101 and 102 is from the material inlet to the separator, while the material flow direction at material inlet 103 is from the separator to the material inlet, then material inlets 101 and 102 can be determined as material inlets, and material inlet 103 as a material outlet.

[0072] S104. Based on the component information of the material inlet, the component information of the previous round in the separator, and the heat exchange of the previous round, calculate the equilibrium component information and the equilibrium heat information of each material inlet and the separator under equilibrium conditions.

[0073] Based on the component information of the imported material, the component information of the previous round in the separator, and the heat exchange of the previous round, component balance calculations and heat balance calculations are performed respectively.

[0074] Specifically, component balance calculations are performed based on the law of conservation of mass. To ensure that the total mass of the components remains conserved, the component information at the material outlet of the separator can be obtained from the component information at the material inlet of the separator and the component information of the previous round in the separator.

[0075] According to the law of conservation of energy, heat balance calculations are performed. To ensure that the total heat of the components remains conserved, the heat change value of the components in the separator is determined based on the component information at the material inlet of the separator and the component information of the previous round in the separator. The component heat at the material inlet of the separator is also determined. Combined with the heat exchange of the previous round, the component heat at the material outlet of the separator can be determined.

[0076] In addition, after obtaining the equilibrium heat of each material inlet and the separator, the equilibrium temperature of each material inlet and the separator can also be obtained based on the equilibrium heat of each material inlet and the separator, as well as the heat exchanged in the previous cycle.

[0077] Information such as the equilibrium components and equilibrium temperature of the separator under equilibrium conditions was obtained through component balance calculation and heat balance calculation.

[0078] S105. Generate the equilibrium state information of the material outlet based on the equilibrium component information, equilibrium heat information, and equilibrium pressure and flow rate information of the material outlet.

[0079] Based on the equilibrium composition and equilibrium heat information at the material outlet, the equilibrium composition and equilibrium temperature at the material outlet are obtained. Combined with the equilibrium pressure and flow rate at the material outlet, the equilibrium state information at the material outlet is generated. This equilibrium state information includes: equilibrium composition, equilibrium temperature, equilibrium pressure, and equilibrium flow rate. This completes the dynamic simulation calculation of the entire separator.

[0080] In summary, this application provides a dynamic simulation method for a separator. It obtains the component information of each material inlet, one pressure variable, and two flow variables from the material information at the separator's ports. Then, based on the pressure variable, the two flow variables, the heat exchange in the previous cycle of the separator, and the temperature in the previous cycle, it calculates the equilibrium pressure and flow rate at each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure within the separator. Next, based on the equilibrium pressure and flow rate at each material inlet, it determines the material inlet and material outlet. Then, based on the component information of the material inlet, the component information of the previous cycle in the separator, and the heat exchange in the previous cycle, it calculates the equilibrium component information and the equilibrium heat information at each material inlet in the separator under equilibrium conditions. Finally, based on the equilibrium component information, equilibrium heat information, and equilibrium pressure and flow rate at the material outlet, it generates the equilibrium state information of the material outlet. In the solution provided in this application, the balance pressure and flow rate are calculated more accurately because the influence of temperature and heat exchange on the material balance calculation in the separator is taken into account. Based on the accurate balance pressure and flow rate, accurate balance state information is obtained, thus realizing accurate dynamic simulation of the separator.

[0081] In the above Figure 2 Based on the aforementioned dynamic simulation method for the separator, this application embodiment also provides a method for calculating the equilibrium pressure and flow rate of each material inlet in the separator under equilibrium conditions, as well as a specific method for implementing the equilibrium pressure within the separator. Figure 3 This is a flowchart illustrating the specific implementation method for calculating the equilibrium pressure and flow rate in a dynamic simulation method for a separator provided in this application embodiment. Figure 3 As shown, in step S102, based on one pressure variable, two flow variables, the heat exchanged in the previous cycle of the separator, and the temperature of the separator in the previous cycle, the equilibrium pressure and flow rate at each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure inside the separator, can be calculated. This may include:

[0082] S201. Based on the heat exchange and temperature of the separator in the previous cycle, calculate the first volume change parameter caused by the heat exchange in the separator.

[0083] In practical applications, separators cannot be completely insulated and often exchange energy with the external environment. This heat exchange causes the substances inside the separator to either heat up and vaporize or cool down and condense, resulting in temperature changes or changes in the amount of substance accumulated within the separator. Both temperature changes and changes in the amount of substance accumulated affect the volume of the substance inside the separator. The first volume change parameter is ΔV. Q This indicates that Q represents the heat exchange.

[0084] S202. Based on a pressure variable and the previous gas phase volume in the separator, calculate the second volume change parameter caused by the pressure inside the separator.

[0085] In practical applications, the separator typically contains a mixture of gas and liquid phases. For the liquid phase, changes in pressure within the separator do not affect its volume. However, for the gas phase, the gas will compress or expand due to increases or decreases in pressure. According to the ideal gas equation: PV = nRT, under constant gas mass and temperature, changes in pressure within the separator will cause changes in gas volume. This volume change is the second volume change parameter, which is shown in the following formula (1):

[0086]

[0087] Where P0 is the pressure of the previous stage in the separator (known), P is the pressure of the current stage in the separator, and V... g The volume of the gas phase in the previous cycle of the separator is known.

[0088] S203. Based on the two flow variables, calculate the third volume change parameter caused by the flow rate in the separator.

[0089] In practical applications, when the separator reaches a steady state, the material inlet and outlet of the separator maintain strict mass conservation. However, during dynamic simulation, the difference between the material inlet flow rate and the material outlet flow rate of the separator will cause the amount of material accumulation in the separator to change, which in turn leads to a change in the volume of material in the separator. This volume change is the third volume change parameter, which is shown in the following formula (2):

[0090] ΔV F =V in -V out (2)

[0091] Where: V in V is the volume of all inbound material flows. out This represents the volume of all outflowing materials.

[0092] S204. Based on the first volume change parameter, the second volume change parameter, and the third volume change parameter, the preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separator.

[0093] When the separator reaches equilibrium, the volume inside the separator is a stable constant. Therefore, the change in its volume is 0, and the sum of the volume change parameters caused by various factors is 0. Based on the first volume change parameter, the second volume change parameter, and the third volume change parameter, and combined with the rules of the preset volume balance equation, the volume balance equation can be determined. The volume balance equation is shown in the following formula (3):

[0094] ΔV p +ΔV F +ΔV Q =0 (3)

[0095] In addition, this embodiment also provides the pressure balance equation for dynamic simulation of the separator tank, which is shown in the following formula (4):

[0096] P = P1 = P2 = P3 (4)

[0097] Where P is the pressure of the separator in this cycle, and P1, P2, and P3 are the pressures of the three material inlets in this cycle.

[0098] By combining the volume balance equation (3) and the pressure balance equation (4), and substituting any one pressure variable and any two flow variables, the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separator, can be calculated.

[0099] In summary, this application provides a specific method for calculating the equilibrium pressure and flow rate. It calculates a first volume change parameter caused by the heat exchange in the previous cycle of the separator, based on the heat exchange and temperature of the separator in the previous cycle. A second volume change parameter caused by the pressure in the separator is calculated based on a pressure variable and the gas phase volume in the separator in the previous cycle. A third volume change parameter caused by the flow rate in the separator is calculated based on two flow rate variables. Finally, based on the first, second, and third volume change parameters, and using a preset volume balance equation, the equilibrium pressure and flow rate at each material inlet, as well as the equilibrium pressure in the separator, are calculated. Thus, when calculating the equilibrium pressure and flow rate, the influence of heat exchange and temperature on the volume of matter in the separator is incorporated into the volume balance equation. Mechanism analysis of the volume changes caused by pressure, flow rate, and heat exchange is performed, and by making corresponding assumptions, precise calculations are conducted, making the equilibrium pressure and flow rate calculated based on the volume balance equation more accurate.

[0100] In the above Figure 3Based on the specific implementation method for calculating the balanced pressure and flow rate, this application embodiment also provides a specific implementation method for calculating the first volume change parameter. Figure 4 This is a flowchart illustrating the specific implementation method for calculating the first volume change parameter in a dynamic simulation method for a separation tank provided in this application embodiment. Figure 4 As shown, before calculating the first volume change parameter caused by the heat exchange in the separator based on the heat exchange and temperature of the separator in the previous cycle in step S201, the following steps are also included:

[0101] S301. Determine whether the material components in the separator are gas phase, liquid phase, or gas-liquid two phases.

[0102] If the composition of the substances in the separator and the heat exchange are different, the mechanism by which the heat exchange causes volume change will be different. It may cause volume change by affecting the temperature change of the substances in the separator, or it may cause volume change by affecting the cumulative amount of substances in the separator.

[0103] For example, when the substance in the separator is gaseous, heat exchange may cause temperature changes, leading to expansion or compression of the gaseous substance's volume. When the substance is liquid, heat exchange may also cause temperature changes, but the effect of temperature changes on its volume is negligible and can be disregarded. When the substance is a two-phase mixture of gas and liquid, heat exchange primarily causes condensation or evaporation, resulting in volume changes. The volume of the gas phase is affected by both temperature and cumulative volume, while the volume of the liquid phase is affected by cumulative volume. Therefore, before calculating the first volume change parameter caused by heat exchange, it is necessary to first determine the composition of the substance in the separator and identify its influencing mechanism.

[0104] Continue to refer to Figure 4 In S201, based on the heat exchange and temperature of the separator in the previous cycle, the first volume change parameters caused by the heat exchange in the separator are calculated, including:

[0105] S302. If the material component in the separator is gas, then calculate the first volume change parameter caused by the heat exchange in the separator based on the previous temperature, the previous heat exchange in the separator, and the previous gas volume in the separator.

[0106] If the material composition in the separator is gaseous, temperature changes in the separator will cause the gaseous phase to expand or compress, resulting in changes in the gaseous phase. Therefore, the first volume change parameter caused by heat exchange in the separator is the volume change parameter caused by temperature in the separator. According to the heat exchange formula: Q=CΔT and the ideal gas equation PV=nRT, the first volume change parameter caused by heat exchange in the separator can be obtained as shown in the following formula (5):

[0107]

[0108] Where: ΔV T Let C be the volume change parameter caused by temperature inside the separator, C be the heat capacity of the substance inside the separator (known), T0 be the temperature inside the separator in the previous round (known), Q be the heat exchange in the separator in the previous round (known), and V be the volume change parameter caused by temperature inside the separator. g The volume of the gas phase in the previous separation tank is known.

[0109] S303. If the material component in the separator is a liquid phase, then calculate the first volume change parameter caused by the heat exchange in the separator based on the previous temperature, the previous heat exchange, and the previous pressure of the separator.

[0110] If the material composition in the separator is liquid, the temperature change in the separator has almost no effect on the volume of the liquid phase. When the liquid phase just begins to generate gas, the amount of gas produced is small, and the temperature change is also small. Only the cumulative change caused by the huge difference in the density of the gas phase and the liquid phase needs to be considered. Therefore, the first volume change parameter caused by the heat exchange in the separator is mainly the volume change parameter caused by the cumulative amount. According to the heat exchange formula Q=rΔn and the ideal gas equation PV=nRT, the first volume change parameter is obtained as shown in the following formula (6):

[0111]

[0112] Where R is the molar gas constant (known), r is the latent heat of vaporization of the substance in the separator (known), T0 is the previous temperature of the separator (known), Q is the previous heat exchange of the separator (known), and P0 is the previous pressure of the separator (known).

[0113] S304. If the material components in the separator are gas and liquid phases, the first volume change parameter is obtained based on the first change parameter and the second change parameter.

[0114] When the substances inside the separator are in a gas-liquid two-phase state, the heat exchange affects the temperature inside the separator, and the temperature change leads to a change in the volume of the gas phase. The heat exchange also causes condensation or evaporation of the substances inside the separator, causing the gas phase to become liquid and vice versa, thus changing the cumulative amount of substances and consequently, the volume of substances inside the separator. In the case of a gas-liquid two-phase system, when calculating the first volume change parameter caused by the heat exchange in the separator, it is necessary to simultaneously consider the first change parameter caused by the temperature change due to the heat exchange, and the second change parameter caused by the change in the cumulative amount of substances due to the heat exchange.

[0115] Based on the previous temperature of the separator, the previous heat exchange of the separator, and the previous gas phase volume of the separator, calculate the first change parameter caused by the heat exchange in the separator, as shown in the above formula (5).

[0116] Based on the previous temperature, the previous heat exchange in the separator, and the previous pressure in the separator, calculate the second change parameter caused by the heat exchange in the separator, as shown in the above formula (6).

[0117] Based on the first and second change parameters, the first volume change parameter is obtained as shown in the following formula (7):

[0118]

[0119] In summary, the embodiments of this application provide a specific method for calculating the first volume change parameter. By determining the composition of the substance in the separation tank, different calculation methods are determined. If the substance in the separation tank is a gas phase, the first volume change parameter caused by the heat exchange in the separation tank is calculated based on the previous temperature, the previous heat exchange, and the previous gas phase volume. If the substance in the separation tank is a liquid phase, the first volume change parameter caused by the heat exchange is calculated based on the previous temperature, the previous heat exchange, and the previous pressure. If the substance in the separation tank is a gas-liquid two-phase system, the first volume change parameter is obtained based on the first and second change parameters. This ensures that the influence of the substance composition is fully considered when calculating the first volume change parameter caused by the heat exchange in the separation tank, resulting in more accurate calculation results.

[0120] In the above Figure 4 Based on the specific implementation method for calculating the first volume change parameter, this application embodiment also provides a specific implementation method for determining the material composition in the separation tank. Figure 5 This application provides a flowchart illustrating the specific implementation method for determining the material composition within a separation tank using a dynamic simulation method for a separation tank, as shown in the embodiment of the present application. Figure 5 As shown, S301, determining whether the material components in the separator are gaseous, liquid, or a two-phase mixture includes:

[0121] S401. Calculate the enthalpy of the substance in the separator based on the state of matter in the separator.

[0122] The system obtains the material state of the separator, including temperature, pressure, volume, and composition, and calculates the enthalpy of the material in the separator based on this state. Simultaneously, it obtains the bubble point enthalpy and dew point enthalpy of the material in the separator. The bubble point is the critical temperature at which the first batch of bubbles separates from the liquid phase, and the dew point is the critical temperature at which the first batch of droplets forms from the gas phase.

[0123] S402. Determine whether the material components in the separator are gas phase, liquid phase, or gas-liquid two phases based on the heat exchange capacity and enthalpy of the material in the separator.

[0124] The sum of the heat exchange in the previous cycle of the separator and the enthalpy of the substance in the separator is compared with the bubble point enthalpy and dew point enthalpy of the substance in the separator to determine whether the substance in the separator is a gas phase, a liquid phase, or a gas-liquid two-phase mixture.

[0125] S403. If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the first preset condition, then the substance in the separator is determined to be gaseous.

[0126] If the enthalpy of the substance in the separator is greater than or equal to the enthalpy of the substance's dew point, then the substance in the separator is in the gas phase. In this case, considering the effect of heat exchange on the substance composition, when the sum of the substance's enthalpy and the heat exchange is greater than or equal to the enthalpy of the dew point, the substance composition in the entire separator remains in the gas phase.

[0127] S404. If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the second preset condition, then the substance in the separator is determined to be a liquid phase.

[0128] If the enthalpy of the substance in the separator is less than or equal to its bubble point enthalpy, then the substance in the separator is in the liquid phase. In this case, considering the effect of heat exchange on the substance composition, when the sum of the substance's enthalpy and the heat exchange is less than or equal to the bubble point enthalpy, the entire substance in the separator remains in the liquid phase. Since the dew point enthalpy is greater than the bubble point enthalpy, the enthalpy of the substance here being less than or equal to its bubble point enthalpy can be directly determined to be in the liquid phase without further comparison with the dew point enthalpy.

[0129] S405. If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the third preset condition, then the substance composition in the separator is determined to be a gas-liquid two-phase system.

[0130] If the enthalpy of the substance in the separator is greater than or equal to the enthalpy of its dew point, then the substance in the separator is in the gas phase. In this case, considering the effect of heat exchange on the substance composition, when the sum of the enthalpy of the substance and the heat exchange is less than the enthalpy of the substance's dew point, droplets will begin to form in the gas phase, thus determining that the substance in the separator is a two-phase gas-liquid mixture.

[0131] If the enthalpy of the substance in the separator is less than or equal to the enthalpy of its bubble point, then the substance in the separator is a liquid phase. In this case, considering the effect of heat exchange on the substance composition, when the sum of the enthalpy of the substance and the heat exchange is greater than the enthalpy of its bubble point, bubbles will begin to separate from the liquid phase, thus determining that the substance in the separator is a two-phase gas-liquid system.

[0132] If the enthalpy of the substance in the separator is less than its dew point enthalpy but greater than its bubble point enthalpy, then the substance in the separator is a two-phase mixture of gas and liquid. In this case, considering the effect of heat exchange on the substance composition, when the sum of the substance's enthalpy and the heat exchange is greater than the substance's dew point enthalpy (i.e., the sum of the substance's enthalpy and the heat exchange is also greater than the substance's bubble point enthalpy), the gas phase in the two-phase mixture will continue to remain in a gaseous state, while the liquid phase will begin to separate into bubbles. However, the substance composition in the separator remains a two-phase mixture of gas and liquid.

[0133] If the enthalpy of the substance in the separator is less than its dew point enthalpy but greater than its bubble point enthalpy, then the substance in the separator is a two-phase mixture of gas and liquid. In this case, considering the effect of heat exchange on the substance composition, when the sum of the substance's enthalpy and the heat exchange is less than the substance's bubble point enthalpy (i.e., the sum of the substance's enthalpy and the heat exchange is also less than the substance's dew point enthalpy), the liquid phase in the gas-liquid mixture will continue to remain in a liquid state, but the gas phase will begin to form droplets. However, the substance composition in the separator remains a two-phase mixture of gas and liquid.

[0134] If the enthalpy of the substance in the separator is less than its dew point enthalpy but greater than its bubble point enthalpy, the substance in the separator will consist of a gas-liquid two-phase system. In this case, considering the effect of heat exchange on the substance composition, when the sum of the substance's enthalpy and the heat exchange is less than or equal to the substance's dew point enthalpy, and greater than or equal to the substance's bubble point enthalpy, the gas phase in the gas-liquid two-phase system will begin to form droplets, and the liquid phase will begin to separate into bubbles. However, the substance composition in the separator will still remain a gas-liquid two-phase system.

[0135] In summary, the embodiments of this application provide a specific method for determining the composition of substances within a separation tank. The method calculates the enthalpy of the substance in the separation tank based on its state of matter; and determines whether the substance within the separation tank is gaseous, liquid, or a two-phase mixture based on the heat exchange rate and the enthalpy of the substance. Thus, the composition of substances within the separation tank can be accurately determined through physical parameters for use in volume balance calculations.

[0136] In the above Figure 3 Based on the specific implementation method for calculating balanced pressure and flow rate described above, this application embodiment also provides another specific implementation method for calculating balanced pressure and flow rate. Figure 6 A flowchart illustrating another specific implementation method for calculating balanced pressure and flow rate provided in this application embodiment is shown below. Figure 6 As shown, S204, based on the first volume change parameter, the second volume change parameter, and the third volume change parameter, uses a preset volume balance equation to calculate the equilibrium pressure and flow rate of each material inlet, as well as the equilibrium pressure inside the separator. It also includes:

[0137] S501. Based on the first volume change parameter, the second volume change parameter, the third volume change parameter, and the preset volume deviation correction term, the preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separator.

[0138] In the dynamic simulation of the separator, the temperature and heat exchange from the previous round were used to calculate the volume balance in the current round. It was also assumed that the gas inside the separator was an ideal gas and that the volume of the liquid phase inside the separator did not change with temperature and pressure. This resulted in some deviations between the pressure-flow balance calculations and the energy and component balance calculations. To eliminate the negative impact of these deviations accumulating during continuous solving, a volume deviation correction term was introduced to gradually eliminate these deviations during the calculation, making the balance calculation results more accurate and easier to converge. When the dynamic simulation of the separator tends to stabilize, the volume deviation correction term should be zero.

[0139] Introducing a preset volume deviation correction term ΔV d The subsequent volume balance equation is shown in formula (8):

[0140] ΔV p +ΔV F +ΔV Q +ΔV d =0 (8)

[0141] By combining the volume balance equation (8) and the pressure balance equation (4), and substituting any one pressure variable and any two flow variables, the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separator, can be calculated.

[0142] In summary, the alternative method for calculating balanced pressure and flow provided in this application introduces a preset volume deviation correction term to gradually eliminate the deviations caused by predictions and assumptions during the calculation process, thereby improving the model convergence and making the balance calculation results more accurate.

[0143] The following describes the dynamic simulation device, equipment, and storage medium for the separation tank provided in this application, and the specific implementation process and technical effects are described above, and will not be repeated below.

[0144] Figure 7 This is a schematic diagram of a dynamic simulation device for a separation tank provided in an embodiment of this application, as shown below. Figure 7 As shown, the simulation device 700 may include:

[0145] The acquisition module 701 is used to acquire the port material information of the separator. The port material information includes: the component information of each material port, a pressure variable, and two flow variables. Each pressure variable is the pressure of any material port in the separator, or the pressure inside the separator. Each flow variable is the flow rate of any material port in the separator.

[0146] The first calculation module 702 is used to calculate the equilibrium pressure and flow rate of each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure in the separator, based on one pressure variable, two flow variables, the heat exchange of the separator in the previous cycle, and the temperature of the separator in the previous cycle.

[0147] The determination module 703 is used to determine the material inlet and material outlet from each material outlet based on the balanced pressure and flow rate of each material outlet.

[0148] The second calculation module 704 is used to calculate the equilibrium component information and the equilibrium heat information of each material inlet and the separation tank under equilibrium conditions, based on the component information of the material inlet, the component information of the previous round in the separation tank, and the heat exchange information of the previous round in the separation tank.

[0149] The generation module 705 is used to generate the balance state information of the material outlet based on the balance component information, balance heat information and balance flow rate of the material outlet.

[0150] Furthermore, the first calculation module 702 is specifically used to calculate the first volume change parameter caused by the heat exchange in the separator tank based on the heat exchange and temperature of the separator tank in the previous cycle; to calculate the second volume change parameter caused by the pressure in the separator tank based on a pressure variable and the gas phase volume of the separator tank in the previous cycle; to calculate the third volume change parameter caused by the flow rate in the separator tank based on two flow rate variables; and to calculate the equilibrium pressure and flow rate of each material inlet, as well as the equilibrium pressure in the separator tank, based on the first, second, and third volume change parameters and a preset volume balance equation.

[0151] Furthermore, the first calculation module 702 is also specifically used to determine whether the material component in the separator is a gas phase, a liquid phase, or a gas-liquid two-phase system; if the material component in the separator is a gas phase, then the first volume change parameter caused by the heat exchange in the separator is calculated based on the previous temperature of the separator, the previous heat exchange in the separator, and the previous gas phase volume of the separator.

[0152] Furthermore, the first calculation module 702 is also specifically used to calculate the first volume change parameter caused by the heat exchange in the separation tank if the material component in the separation tank is a liquid phase, based on the previous temperature, the previous heat exchange in the separation tank, and the previous pressure in the separation tank.

[0153] Furthermore, the first calculation module 702 is also specifically used to calculate, if the material composition in the separator is a gas-liquid two-phase system, a first change parameter caused by the heat exchange in the separator based on the previous temperature, the previous heat exchange in the separator, and the previous gas phase volume in the separator; a second change parameter caused by the heat exchange in the separator based on the previous temperature, the previous heat exchange in the separator, and the previous pressure in the separator; and a first volume change parameter obtained based on the first change parameter and the second change parameter.

[0154] Furthermore, the first calculation module 702 is also specifically used to calculate the enthalpy of the substance in the separator based on the state of matter in the separator; to determine whether the substance in the separator is a gas phase, a liquid phase, or a gas-liquid two-phase system based on the heat exchange and enthalpy of the separator; if the heat exchange and enthalpy of the separator meet a first preset condition, then the substance in the separator is determined to be a gas phase; if the heat exchange and enthalpy of the separator meet a second preset condition, then the substance in the separator is determined to be a liquid phase; if the heat exchange and enthalpy of the separator meet a third preset condition, then the substance in the separator is determined to be a gas-liquid two-phase system.

[0155] Furthermore, the first calculation module 702 is also specifically used to calculate the equilibrium pressure and flow rate of each material inlet, as well as the equilibrium pressure inside the separator, based on the first volume change parameter, the second volume change parameter, the third volume change parameter, and the preset volume deviation correction term, using a preset volume balance equation.

[0156] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0157] Figure 8 This is a schematic diagram of a computer device provided in an embodiment of this application. The computer device may be a device with computing processing capabilities.

[0158] The computer device 800 includes a processor 801 and a storage medium 802. The processor 801 and the storage medium 802 are connected via a bus.

[0159] Storage medium 802 is used to store programs, and processor 801 calls the programs stored in storage medium 802 to execute the above method embodiments. The specific implementation and technical effects are similar, and will not be described in detail here.

[0160] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform the above-described method embodiments.

[0161] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0162] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0163] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0164] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes 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.

Claims

1. A dynamic simulation method for a separation tank, characterized in that, include: Obtain the port material information of the separator, which includes: component information of each material port, a pressure variable, and two flow variables. The pressure variable is the pressure of any material port in the separator, or the pressure inside the separator, and each flow variable is the flow rate of any material port in the separator. Based on the heat exchange in the previous cycle and the temperature in the previous cycle of the separation tank, calculate the first volume change parameter caused by the heat exchange in the separation tank; Based on the aforementioned pressure variable and the previous gas phase volume of the separator, calculate the second volume change parameter caused by the pressure inside the separator; Based on the two flow variables, calculate the third volume change parameter caused by the flow rate inside the separation tank; Based on the first volume change parameter, the second volume change parameter, and the third volume change parameter, a preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet in this round, as well as the balance pressure inside the separation tank. Based on the balanced pressure and flow rate of each material inlet, determine the material inlet and material outlet from each material inlet; Based on the component information of the material inlet, the component information of the previous round in the separator, and the heat exchange of the previous round, calculate the equilibrium component information and the equilibrium heat information of each material inlet and the separator in the equilibrium state. Based on the equilibrium component information, equilibrium heat information, and equilibrium pressure and flow rate of the material outlet, the equilibrium state information of the material outlet is generated.

2. The method of claim 1, wherein, Before calculating the first volume change parameter caused by the heat exchange in the separation tank based on the previous heat exchange and the previous temperature of the separation tank, the method further includes: Determine whether the material components in the separation tank are gas phase, liquid phase, or both gas and liquid phase; The step of calculating the first volume change parameter caused by the heat exchange in the separation tank based on the previous heat exchange and the previous temperature of the separation tank includes: If the material component in the separator is gas, the first volume change parameter caused by the heat exchange in the separator is calculated based on the previous temperature, the previous heat exchange in the separator, and the previous gas volume in the separator.

3. The method of claim 2, wherein, Based on the heat exchange and temperature of the previous cycle in the separator, the calculation of the first volume change parameter caused by the heat exchange in the separator further includes: If the material component in the separation tank is a liquid phase, then the first volume change parameter caused by the heat exchange in the separation tank is calculated based on the previous temperature, the previous heat exchange in the separation tank, and the previous pressure in the separation tank.

4. The method of claim 2, wherein, Based on the heat exchange and temperature of the previous cycle in the separator, calculate the first volume change parameter caused by the heat exchange in the separator, including: If the material composition in the separator is a gas-liquid two-phase system, then the first change parameter caused by the heat exchange in the separator is calculated based on the previous temperature of the separator, the previous heat exchange in the separator, and the previous gas phase volume of the separator. Based on the previous temperature, the previous heat exchange in the separation tank, and the previous pressure in the separation tank, calculate the second change parameter caused by the heat exchange in the separation tank; The first volume change parameter is obtained based on the first change parameter and the second change parameter.

5. The method of claim 2, wherein, The determination of whether the material components in the separation tank are gaseous, liquid, or a two-phase mixture includes: Calculate the enthalpy of the substance in the separation tank based on the state of matter in the separation tank; The composition of the substance in the separation tank is determined as gas phase, liquid phase, or gas-liquid two phases based on the heat exchange capacity and the enthalpy value of the substance in the separation tank. If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the first preset condition, then the substance in the separator is determined to be gaseous. If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the second preset condition, then the substance in the separator is determined to be a liquid phase. If the heat exchange capacity of the separator and the enthalpy of the substance in the separator meet the third preset condition, then the substance composition in the separator is determined to be a gas-liquid two-phase system.

6. The method of claim 1, wherein, The step of calculating the equilibrium pressure and flow rate of each material inlet and the equilibrium pressure inside the separation tank using a preset volume balance equation based on the first volume change parameter, the second volume change parameter, and the third volume change parameter further includes: Based on the first volume change parameter, the second volume change parameter, the third volume change parameter, and the preset volume deviation correction term, the preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separation tank.

7. A dynamic simulation device for a knockout drum, characterized by include: The acquisition module is used to acquire the port material information of the separation tank. The port material information includes: component information of each material port, a pressure variable, and two flow variables. The pressure variable is the pressure of any material port in the separation tank, or the pressure inside the separation tank. Each flow variable is the flow rate of any material port in the separation tank. The first calculation module is used to calculate the equilibrium pressure and flow rate of each material inlet in the separator under equilibrium conditions, as well as the equilibrium pressure in the separator, based on the pressure variable, the two flow variables, the heat exchange of the separator in the previous cycle, and the temperature of the separator in the previous cycle. The determining module is used to determine the material inlet and material outlet from each material outlet based on the balanced pressure and flow rate of each material outlet; The second calculation module is used to calculate the equilibrium component information and the equilibrium heat information of each material inlet and the separation tank under equilibrium conditions based on the component information of the material inlet, the component information of the previous round in the separation tank and the heat exchange of the previous round. The generation module is used to generate the balance state information of the material outlet based on the balance component information, balance heat information, and balance flow rate of the material outlet. The first calculation module is specifically used to: calculate the first volume change parameter caused by the heat exchange in the separation tank based on the heat exchange in the previous round and the temperature in the previous round of the separation tank; Based on the aforementioned pressure variable and the previous gas phase volume of the separator, calculate the second volume change parameter caused by the pressure inside the separator; Based on the two flow variables, calculate the third volume change parameter caused by the flow rate inside the separation tank; Based on the first volume change parameter, the second volume change parameter, and the third volume change parameter, a preset volume balance equation is used to calculate the balance pressure and flow rate of each material inlet, as well as the balance pressure inside the separation tank.

8. A computer device, comprising: include: A processor and a storage medium storing a computer program executable on the processor, the processor executing the computer program to perform the method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, performs the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Automatic stripping system and method for Cargo oilpump

    KR1020020085019A

  • Oil well simulation tool

    US9810042B1