A step-size adaptive steady-state simulation method for hot steam networks

By establishing a system of equations of the steady-state network of thermal steam network and using an adaptive step size selection method, the problem of step size specification mechanism in thermal steam network simulation is solved, the simulation accuracy and controllability are improved, and the accuracy in the traditional simulation process is achieved Adjustment.

CN114996957BActive Publication Date: 2024-11-12SOUTHEAST UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210684462.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-16
Publication Date
2024-11-12
Estimated Expiration
2042-06-16

AI Technical Summary

Technical Problem

In the prior art, the step size specification mechanism for the thermal steam network simulation has the problem of high accuracy variation and poor controllability, and there is a lack of effective step size adjustment method.

Method used

By analyzing the steady-state flow of hot steam in the transportation pipeline, establishing hydraulic and thermal equations, forming a steady-state network equation system of hot steam, and using the adaptive step size selection method of the single-step algorithm of ordinary differential equations, automatically adjusting the steps Long to meet preset accuracy.

Benefits of technology

The problem of manually adjusting the step length during the traditional simulation process is solved, ensuring that the simulation results meet pre-set accuracy, and improving the accuracy and controllability of the thermal steam network simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996957B_ABST
    Figure CN114996957B_ABST
Patent Text Reader

Abstract

The present invention discloses a step-size adaptive hot steam network steady-state simulation method in the field of simulation modeling of a heating system, and the method comprises the following steps: step one: establishing a hydraulic equation group in algebraic form of a hot steam network; step two: establishing a thermodynamic equation group in algebraic form of a hot steam network; step three: forming a hot steam steady-state network equation group; step four: establishing a hot steam network step-size adaptive method. The present invention establishes a hot steam steady-state network equation group based on the steady-state motion equation of hot steam transmission in a pipeline network, and proposes a step-size adaptive equation group solution method, so that the final solution result meets the preset accuracy, and solves the problem of manually adjusting the step size in the traditional simulation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of simulation modeling of heating systems, and in particular relates to a step-size adaptive steady-state simulation method for a hot steam network. Background Art

[0002] Heating engineering and heating engineering are one of the most important projects in the energy field in recent years. They occupy a very important position in light / heavy industrial production and urban residential heating. Hot water heating system and hot steam heating system are two mainstream heat energy transmission systems. Hot steam can transmit more heat energy at one time compared with hot water under the same flow rate, so it is currently widely used in industrial production heating, such as in chemical, steel, pharmaceutical, textile and other industrial production. However, compared with hot water, hot steam has larger heat energy transmission loss and poor controllability. Therefore, the steam parameters vary greatly during the transmission process, and the simulation accuracy is highly variable when the same step length is selected. At present, there is still a lack of an effective step size adjustment method for the problem of high simulation accuracy variability under the same step length, which is a problem that needs to be solved in the field of hot steam network simulation. For this reason, we propose a step size adaptive hot steam network steady-state simulation method to solve the above problem. Summary of the invention

[0003] In view of the deficiencies in the prior art, the object of the present invention is to provide a step-adaptive thermal steam network steady-state simulation method to solve the problem of the thermal steam network simulation step-size specification mechanism problem raised in the above-mentioned background technology.

[0004] The purpose of the present invention can be achieved through the following technical solutions:

[0005] A step-size adaptive hot steam network steady-state simulation method, the method comprising the following steps:

[0006] Step 1: Analyze the motion state of hot steam in the transport pipeline during steady-state flow, establish a hydraulic equation group based on the conservation of mass, conservation of momentum and conservation of loop pressure drop, and establish a hydraulic equation group in the algebraic form of the hot steam network;

[0007] Step 2: Analyze the heat dissipation process of hot steam when it flows steadily in the transportation pipeline, and establish a group of thermal equations in the algebraic form of the hot steam network by integrating energy conservation and node temperature;

[0008] Step 3: Combine the hydraulic equations and the thermodynamic equations for the steady-state flow of hot steam in the pipeline network in step 1 and step 2 to form a steady-state network equation group for hot steam;

[0009] Step 4: Estimate the error through the adaptive step size selection method of the ordinary differential equation single-step algorithm and establish the hot steam network step size adaptive method.

[0010] Preferably, the hydraulic equations in step 1 are obtained by:

[0011] The mass flow rate of steam in pipe j is a constant value, that is:

[0012] M j,in =M j,out =M j ,j∈W

[0013] Momentum conservation equation for steady-state steam flow:

[0014]

[0015] For a hot steam network with I nodes and J pipes, let A, A in , A out They are the node-pipeline association matrix, inflow node-pipeline association matrix, and outflow node-pipeline association matrix of the network, and their value selection rules are as follows:

[0016]

[0017]

[0018]

[0019] Preferably, the A, A in , A out The following relationships exist in the three association matrices:

[0020] A=A in -A out

[0021] The inflow steam flow is equal to the outflow, and the node flow balance equation is obtained:

[0022] A·M+q=0

[0023] G jj The values ​​of are as follows:

[0024]

[0025] Take the node voltage square vector P 2 =[P1 2 ,P2 2 ,…,P I 2 ] T , A j Represents the jth column of the association matrix A, and the pipeline momentum conservation equation is as follows:

[0026]

[0027] Take G = diag[G 11 ,G 22 ,…,G JJ ], and obtain the hydraulic equations of the hot steam network:

[0028] AGA T p 2 =q.

[0029] Preferably, the thermodynamic equations in step 2 are obtained by:

[0030] The pipeline energy conservation equation is derived from the energy conservation equation:

[0031] M j (h j,out -h j,in )+K j (T j -T0)L j =0

[0032] The node temperature fusion equation for the hot steam network is:

[0033]

[0034] Preferably, the node temperature fusion equation and the pipeline energy conservation equation together constitute the thermal calculation equation of the steam network, which is sorted into the following matrix equation:

[0035]

[0036] Preferably, the hot steam steady-state network equations in step 3 are obtained by the following method:

[0037] According to the hydraulic equations of the hot steam network established in step 1 and the thermodynamic equations of the hot steam network established in step 2, the state equations of the hot steam network in steady state are obtained by combining the two:

[0038]

[0039] The solution of the system of equations is obtained through alternating iterations of the hydraulic equations and the thermal equations.

[0040] Preferably, the hot steam network step size adaptive method in step 4 is obtained by the following method:

[0041] Select two methods with order s1 and s2 respectively, and assume that the pipeline end parameters solved by the two methods are ω1(T1, P1, M1) and ω2(T2, P2, M2) respectively, and the error is:

[0042]

[0043] The allowable error is ε. When τ(h)>ε, it means that the error does not meet the requirements. When the step size changes from h to At this time, the following conditions must be met:

[0044]

[0045] Find the number of nodes N to increase add :

[0046]

[0047] After completing the alternating iterative solution described in step three, the step size is automatically adjusted using the above criteria, and then the solution is returned to step three again, thereby iteratively converging to the required accuracy.

[0048] Beneficial effects of the present invention:

[0049] 1. Based on the steady-state motion equation of hot steam transmission in a pipeline network, the present invention establishes a group of steady-state network equations for hot steam, and proposes a step-size adaptive solution method for the group of equations, so that the final solution meets the preset accuracy and solves the problem of manually adjusting the step size in the traditional simulation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0051] Figure 1 It is a flow chart of the hot steam network simulation method of the present invention;

[0052] Figure 2 It is a node parameter diagram of a radial 15-node hot steam network of the present invention;

[0053] Figure 3 It is a parameter diagram of a radial 15-node hot steam pipeline of the present invention;

[0054] Figure 4 It is a pipeline parameter simulation result diagram of the present invention;

[0055] Figure 5 It is a diagram of the node parameter simulation results of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] See also Figure 1-Figure 5 As shown, this embodiment selects a 15-node radial hot steam network for simulation.

[0058] A step-size adaptive thermal steam network steady-state simulation method comprises the following steps:

[0059] Step 1: Analyze the motion state of hot steam in the transport pipeline during steady-state flow, establish a hydraulic equation group based on the conservation of mass, conservation of momentum, and conservation of loop pressure drop, and establish a hydraulic equation group in the algebraic form of the hot steam network, as follows:

[0060] The traditional hot steam network method has fully proved that the inclination of the steam pipe can usually be ignored. When the network has reached a steady state, the mass flow rate of steam in pipe j is a constant value according to the law of conservation of mass, that is:

[0061] M j,in =M j,out =M j ,j∈W

[0062] Where W is the set of all pipelines, M j,in and M j,out They represent the steam flow at the beginning and end of pipeline j, M j represents the steam flow rate of pipe j;

[0063] Ignoring the inertia term during steam flow, the momentum conservation equation for steady steam flow can be obtained:

[0064]

[0065] Where P j,in and P j,out Respectively represent the steam pressure at the beginning and end of pipe j; λ j represents the friction coefficient of pipeline j; Z j represents the gas compression factor of water vapor in pipe j; R represents the gas constant of water vapor; T j Indicates the steam temperature in the pipeline; L j is the length of the pipeline; D j represents the inner diameter of the pipe, where the steam temperature T of pipe j is j and the gas compressibility factor Z jThe average value of the corresponding parameters at the beginning and end is taken;

[0066] For a hot steam network with I nodes and J pipes, let A, A in , A out They are the node-pipeline association matrix, inflow node-pipeline association matrix, and outflow node-pipeline association matrix of the network, and their value selection rules are as follows:

[0067]

[0068]

[0069]

[0070] The following relationships exist in the above three association matrices:

[0071] A=A in -A out

[0072] For a certain node, the inflow steam flow should be equal to the outflow steam flow, that is, the node flow balance equation:

[0073] A·M+q=0

[0074] Where, M=[M1,M2,…,M J ] T is the pipeline flow column vector, q=[q1,q2,…,q I ] T Inject traffic column vector into the node;

[0075] To facilitate subsequent calculations, let G jj The values ​​of are as follows:

[0076]

[0077] Take the node voltage square vector P 2 =[P1 2 ,P2 2 ,…,P I 2 ] T , A j represents the jth column of the association matrix A, then the pipeline momentum conservation equation can be organized into the following form:

[0078]

[0079] Take G = diag[G 11 ,G 22 ,…,G JJ ], the hydraulic equations of the hot steam network can be obtained:

[0080] AGA T p 2 =q

[0081] Step 2: Analyze the heat dissipation process of hot steam in the transport pipeline when it flows steadily. Establish the thermal equations of the hot steam network algebraic form by integrating energy conservation and node temperature. The specific details are as follows:

[0082] For the hot steam flowing steadily in the pipeline, ignoring the pipeline inclination and steam inertia terms, the pipeline energy conservation equation is obtained from the energy conservation equation:

[0083] M j (h j,out -h j,in )+K j (T j -T0)L j =0

[0084] In the formula, h j,in and h j,out They represent the steam specific enthalpy at the beginning and end of pipe j respectively; K j is the total heat transfer coefficient of pipe j, T0 is the ambient temperature of the pipe;

[0085] At the same time, the node temperature fusion equation for the hot steam network is:

[0086]

[0087] In the formula, q i,in represents the steam flow rate injected by the heat source to node i; T n,i represents the steam temperature at node i, that is, the temperature of the steam after fusion at node i; W i,in represents the set of all pipes flowing into node i, W i,out represents the set of all pipes that flow out of node i;

[0088] The node temperature fusion equation and the pipeline energy conservation equation together constitute the thermal calculation equation of the steam network as follows:

[0089]

[0090] Further arrangement can get the matrix equation:

[0091]

[0092] Where K = diag[K1, K2, …, K J ],L=diag[L1,L2,…,L J ],M=diag[M1,M2,…,MJ ], P = diag[L1,L2,…,L J ], q in =diag[q in,1 ,q in,2 ,…,q in,I ].

[0093] Step 3: Combine the hydraulic equations and thermodynamic equations for the steady-state flow of hot steam in the pipeline network to form a steady-state network equation for hot steam. The specific situation is:

[0094] The hydraulic equations of the hot steam network have been established in S1, and the thermodynamic equations of the hot steam network have been established in S2. By combining the two, the state equations of the hot steam network in a steady state can be obtained:

[0095]

[0096] In the above formula, the quantities to be determined are steam flow rate M, steam pressure P and steam temperature T. Through the alternating iteration of hydraulic equations and thermal equations, the solution of the equation system can be finally converged.

[0097] Step 4: Estimate the error through the adaptive step size selection method of the ordinary differential equation single-step algorithm and establish the hot steam network step size adaptive method. The specific steps are as follows:

[0098] By using the adaptive step size selection method of the single-step algorithm for ordinary differential equations, the error of the lower-order method can be estimated by taking the difference between the solution results of two different-order methods. The fourth-order Runge-Kutta method is now selected as the reference value for the exact value.

[0099] Select two methods with order s1 and s2 respectively, and assume that the pipeline end parameters solved by the two methods are ω1(T1, P1, M1) and ω2(T2, P2, M2) respectively, then the error is:

[0100]

[0101] Assume that the allowable error is ε. When τ(h)>ε, it means that the error does not meet the requirements. Assume that the step size changes from h to At this time, the following conditions must be met:

[0102]

[0103] The number of nodes N can be increased add :

[0104]

[0105] After completing the alternating iterative solution described in S3, the step size is automatically adjusted using the above criteria, and then the solution is returned to S3 to be re-solved, thereby iteratively converging to the required accuracy.

[0106] This embodiment finally converges to the required accuracy (pressure is required to be accurate to 1Pa, temperature is required to be accurate to 0.01°C) through 1 step adjustment and 20 iterations. Finally, in the process of adjusting the step size, one node is added to pipeline 4 and pipeline 6 respectively, that is, node 16 is added at the midpoint of pipeline 4, and its step size is reduced to half of the original one, and node 17 is added at the midpoint of pipeline 6, and its step size is also reduced to half of the original one. The solution is as follows: Figure 4 and Figure 5 shown.

[0107] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0108] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A step-size adaptive steady-state simulation method for a hot steam network, characterized in that: The method comprises the following steps: Step 1: Analyze the motion state of hot steam in the transport pipeline during steady-state flow, establish a hydraulic equation group based on the conservation of mass, conservation of momentum and conservation of loop pressure drop, and establish a hydraulic equation group in the algebraic form of the hot steam network; Step 2: Analyze the heat dissipation process of hot steam when it flows steadily in the transportation pipeline, and establish a group of thermal equations in the algebraic form of the hot steam network by integrating energy conservation and node temperature; Step 3: Combine the hydraulic equations and the thermodynamic equations for the steady-state flow of hot steam in the pipeline network in step 1 and step 2 to form a steady-state network equation group for hot steam; Step 4: Estimate the error through the adaptive step size selection method of the ordinary differential equation single-step algorithm and establish the hot steam network step size adaptive method; The hot steam steady-state network equations in step 3 are obtained by the following method: According to the hydraulic equations of the hot steam network established in step 1 and the thermodynamic equations of the hot steam network established in step 2, the state equations of the hot steam network in steady state are obtained by combining the two: In the formula, the quantity to be determined is the steam flow rate M , vapor pressure P and steam temperature T, The solution of the system of equations is obtained through alternating iterations of hydraulic equations and thermal equations; The hot steam network step size adaptive method in step 4 is obtained by the following method: The selected orders are and The two methods are as follows. Suppose the pipeline end parameters obtained by the two methods are and , the error is: The allowable error is ,when When , it means that the error does not meet the requirements. becomes , then need to meet: Find the number of nodes to increase : After completing the alternating iterative solution described in step three, the step size is automatically adjusted using the above criteria, and then the solution is returned to step three to be re-solved, thereby iteratively converging to the required accuracy.

2. A step-size adaptive hot steam network steady-state simulation method according to claim 1, characterized in that: The hydraulic equations in step 1 are obtained as follows: Steam in pipes j The mass flow rate in is a constant value, that is: In the formula, W is the collection of all pipelines, M j,in and M j,out They represent the steam flow at the beginning and end of pipeline j respectively, M j represents the steam flow rate of pipeline j; Momentum conservation equation for steady-state steam flow: In the formula, P j,in and P j,out Respectively represent pipelines j Steam pressure at the beginning and end; j Represents a pipeline j Friction coefficient; Z j Represents a pipeline j Gas compressibility factor of water vapor in water vapor; R The gas constant for water vapor; T j Indicates the steam temperature in the pipeline; L j is the length of the pipeline; D j represents the inner diameter of the pipe, where j Steam temperature T j and the gas compressibility factor Z j The average value of the corresponding parameters at the beginning and end is taken; For one I node, J Hot steam network of pipes, A , A in , A out They are the node-pipeline association matrix, inflow node-pipeline association matrix, and outflow node-pipeline association matrix of the network, and their value selection rules are as follows: , , , 。 3. A step-size adaptive hot steam network steady-state simulation method according to claim 2, characterized in that: Said A , A in , A out The following relationships exist in the three association matrices: The inflow steam flow is equal to the outflow, and the node flow balance equation is obtained: In the formula, is the pipeline flow column vector, Inject traffic column vector into the node; G jj The values ​​of are as follows: Take the node voltage square vector , A j Represents the incidence matrix A No. j The pipeline momentum conservation equation is as follows: Pick , we get the hydraulic equations of the hot steam network: 。 4. The method for steady-state simulation of a hot steam network with adaptive step size according to claim 1, characterized in that: The thermodynamic equations in step 2 are obtained by the following method: The pipeline energy conservation equation is derived from the energy conservation equation: In the formula, h j,in and h j,out Respectively represent pipelines j Specific enthalpy of steam at the beginning and end; K j It's a pipeline j The total heat transfer coefficient, T 0 is the ambient temperature of the pipe; The node temperature fusion equation for the hot steam network is: In the formula, q i,in Indicates that the heat source is directed to the node i Injected steam flow rate; T n,i Representation Node i The steam temperature at the node i The temperature after fusion; W i,in Indicates the inflow node i The collection of all pipelines, W i,out Indicates outflow node i The collection of all pipelines.

5. A step-size adaptive hot steam network steady-state simulation method according to claim 4, characterized in that: The node temperature fusion equation and the pipeline energy conservation equation together constitute the thermal calculation equation of the steam network, which is sorted into the following matrix equation: In the formula, , , , , .

Citation Information

Patent Citations

  • Quasi-steady state variable step simulation method applicable to long time scale in power system

    CN106295001A

  • Hot steam network steady state simulation method, system, equipment and medium

    CN114117819A

  • Heat supply network waterway modeling method for comprehensive energy system scheduling

    WO2021164454A1