A Simulation Method for Thermal Steam Networks Using Alternating Iteration of Matrix Equations

By establishing hydraulic and thermal matrix equations in a thermal steam network and performing alternating iterative solutions, the nonlinear problem caused by high losses in thermal steam network simulation is solved, achieving the effects of fast solution and reduced computational complexity.

CN114861463BActive Publication Date: 2024-11-08SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210615057.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-11-08
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

Existing thermal steam network simulation models suffer from high losses leading to highly coupled variables, resulting in highly nonlinear mathematical models that are difficult and time-consuming to solve, and there is a lack of effective solutions.

Method used

By analyzing the motion state of hot steam in a single pipe, hydraulic and thermal equations are established in matrix form and solved iteratively, thus decoupling the hydraulic and thermal equations and reducing computational complexity.

Benefits of technology

It achieves accelerated solution of thermal steam network simulation, reduces nonlinearity, improves calculation speed, and simplifies the solution process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114861463B_ABST
    Figure CN114861463B_ABST
Patent Text Reader

Abstract

The invention discloses a thermal steam network simulation method of alternating matrix equation iterations, which relates to the field of heating system simulation and comprises the following steps: analyzing the motion state of thermal steam flowing stably in a single pipeline, and establishing a hydraulic equation for the thermal steam flowing in a single pipeline; supplementing a steam network topology equation through the hydraulic equation for the thermal steam flowing in a single pipeline, and establishing a hydraulic equation in the form of a thermal steam network matrix; analyzing the thermal process of thermal steam flowing stably in the pipeline, and establishing a thermal equation in the form of a thermal steam network matrix; performing alternating iterations on the hydraulic equation in the form of a thermal steam network matrix and the thermal equation in the form of a thermal steam network matrix, and finally solving the variables to be solved for thermal steam network simulation, and accelerating the overall simulation solution by reducing the computational complexity of a single iteration in the solution process, thereby providing a solution for the linearization and high-speed solution of a thermal steam network model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of simulation modeling of heating systems, and in particular relates to a hot steam network simulation method using alternating matrix equation iterations. Background Art

[0002] Thermal energy is a very important energy in both industrial production and residential heating. There are two forms of thermal energy transmission in the existing heating system, one is the hot water heating system, and the other is the hot steam heating system. Compared with hot water, hot steam has a higher energy density and can transmit more thermal energy at the same flow rate. However, the disadvantage is that the thermal energy transmission loss is large and the controllability is poor. Therefore, it is currently widely used in industrial heating systems. For example, in the production process of textile, steel, and chemical industries, steam is the main heating medium. However, the high loss of hot steam during transmission makes it highly coupled between variables during simulation modeling, resulting in a high degree of nonlinearity in its mathematical model, great difficulty in solving, and long time-consuming to solve. At present, there is still a lack of recognized and effective solutions to the above-mentioned problems of high solution complexity and highly nonlinear equations, which is an urgent problem to be solved in the field of hot steam network simulation. Summary of the invention

[0003] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a hot steam network simulation method of alternating iteration of matrix equations, which solves the technical problems in the prior art that due to the high loss of hot steam in the transmission process, there is a high degree of coupling between variables during simulation modeling, resulting in a high degree of nonlinearity in the mathematical model, great difficulty in solving, and a long time-consuming solution.

[0004] The object of the present invention can be achieved by the following technical solution: a thermal steam network simulation method of alternating matrix equation iterations, the method comprising the following steps:

[0005] S1. Analyze the motion state of hot steam flowing steadily in a single pipe and establish the hydraulic equation of hot steam flowing in a single pipe;

[0006] S2. Supplement the steam network topology equation through the hydraulic equation of hot steam flowing in a single pipe, and establish the hydraulic equation in the form of hot steam network matrix;

[0007] S3. Analyze the thermal process of hot steam when it flows steadily in the pipeline and establish the thermal equation in the form of hot steam network matrix;

[0008] S4. Alternately iteratively solve the hydraulic equations in the form of a hot steam network matrix and the thermal equations in the form of a hot steam network matrix, and finally solve the variables to be determined for the hot steam network simulation.

[0009] Furthermore, a section of hot steam transmission pipeline is taken to analyze the hot steam in a stable flow state, and its hydraulic equation in a single pipeline is established by the mass conservation equation and momentum conservation equation, as follows:

[0010] Analyzing the steam transmission process in pipe j, we can get the following from the principle of mass conservation:

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

[0012] 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 pipeline j;

[0013] Since the steam transport pipeline usually has a small inclination angle, the influence of gravity is ignored during the steam flow process. Since the steam flow rate is slow, the inertia term is ignored, so the momentum conservation equation of the steam in the pipeline is:

[0014]

[0015] 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 j The average value of the corresponding parameters at the beginning and end is taken, that is:

[0016]

[0017] Where, T j,in and T j,out Respectively represent the steam temperature at the beginning and end of pipeline j; Z j,in and Z j,out Respectively represent the gas compression factors of the steam at the beginning and end of pipeline j.

[0018] Furthermore, the value of the water vapor gas constant is 461.526 J / (kg·K).

[0019] Furthermore, based on the hydraulic equation of the hot steam flowing in the pipeline, the steam network topology equation is supplemented, and the hydraulic equation of the hot steam network is organized into a matrix form, as follows:

[0020] When expanding from a single pipeline to a network with I nodes and J pipelines, the corresponding network equations need to be supplemented;

[0021] Assume that the number of nodes with known pressure in the network is N P , then let nodes 1 to N P All nodes have known pressure, node N P +1~I are nodes with unknown pressure.

[0022] Let A be the node-pipeline association matrix:

[0023]

[0024] In the formula,

[0025] Take A in is the inflow node-pipeline association matrix, A out is the outflow node-pipeline association matrix:

[0026]

[0027] In the formula,

[0028]

[0029] In the formula,

[0030] Then we have:

[0031] A=A in -A out

[0032] The node flow balance equation can be obtained from Kirchhoff's first law:

[0033] A·M+q=0

[0034] Where, M=[M1,M2,…,M J ] T is the pipeline flow vector, q=[q1,q2,…,q I ] T Inject traffic vectors into nodes,

[0035] For medium and high pressure pipeline network:

[0036]

[0037] Where P0 is the reference pressure (Pa), usually the steam pressure at the heat source, and ΔP0 is the steam pressure difference at both ends of pipe j (Pa), that is, ΔP j =P j,in -P j,out ;

[0038] Then we have:

[0039]

[0040] Where P 2 =[P1 2 ,P2 2 ,…,P I 2 ] T is the node voltage square vector, A j represents the j-th column of the incidence matrix A,

[0041] Take G = diag[G 11 ,G 22 ,…,G JJ ], then the hydraulic equation in the form of steam network matrix is ​​expressed as:

[0042] AGA T p 2 =q.

[0043] Furthermore, the process of analyzing the thermodynamic process of hot steam when it flows stably in the pipeline and establishing the thermodynamic equation in the form of a hot steam network matrix includes:

[0044] 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:

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

[0046] 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;

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

[0048]

[0049] In the formula, q i,inrepresents 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;

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

[0051]

[0052] Further sorting out the matrix form of the thermodynamic equation:

[0053]

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

[0055] Furthermore, the hydraulic equation in the form of the hot steam network matrix and the thermal equation in the form of the hot steam network matrix are alternately iterated and solved, and finally the variables to be solved for the hot steam network simulation are solved. The process includes:

[0056] The hydraulic equations in the form of a hot steam network matrix and the thermal equations in the form of a hot steam network matrix are decoupled. When performing hydraulic calculations, the temperature is regarded as a known quantity to solve the node pressure P and the pipeline flow M; when performing thermal calculations, M and P are regarded as known quantities to solve the pipeline start and end temperatures T in , T out The linear equation is solved through alternating iterations to achieve convergence and finally all the quantities to be solved are solved.

[0057] Beneficial effects of the present invention:

[0058] During use, the present invention analyzes the motion state of hot steam flowing stably in a single pipe to establish a hydraulic equation for hot steam flowing in a single pipe; supplements the steam network topology equation through the hydraulic equation for hot steam flowing in a single pipe to establish a hydraulic equation in the form of a hot steam network matrix; analyzes the thermal process of hot steam flowing stably in the pipe to establish a thermal equation in the form of a hot steam network matrix; alternately iterates and solves the hydraulic equation in the form of a hot steam network matrix and the thermal equation in the form of a hot steam network matrix, and finally solves the variables to be solved for hot steam network simulation, and accelerates the overall simulation solution by reducing the computational complexity of a single iteration in the solution process, providing a solution for the linearization and high-speed solution of the hot steam network model, and realizing the functions of simple solution, reducing the degree of nonlinearity, and improving the calculation speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0060] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0061] 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.

[0062] like Figure 1 As shown, a thermal steam network simulation method of alternating matrix equation iterations comprises the following steps:

[0063] S1. Analyze the motion state of hot steam flowing steadily in a single pipe and establish the hydraulic equation of hot steam flowing in a single pipe;

[0064] It should be further explained that, in the specific implementation process, a section of hot steam transmission pipeline is taken, and the hot steam in a stable flow state is analyzed, and its hydraulic equation in a single pipeline is established by the mass conservation equation and the momentum conservation equation, as follows:

[0065] Analyzing the steam transmission process in pipe j, we can get the following from the principle of mass conservation:

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

[0067] 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 pipeline j;

[0068] Since the steam transport pipeline usually has a small inclination angle, the influence of gravity is ignored during the steam flow process. Since the steam flow rate is slow, the inertia term is ignored, so the momentum conservation equation of the steam in the pipeline is:

[0069]

[0070] 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, which is 461.526 J / (kg·K); 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 j The average value of the corresponding parameters at the beginning and end is taken, that is:

[0071]

[0072] Where, T j,in and T j,out Respectively represent the steam temperature at the beginning and end of pipeline j; Z j,in and Z j,out Respectively represent the gas compression factors of the steam at the beginning and end of pipeline j.

[0073] It should be further explained that, in the specific implementation process, a 15-node radial hot steam network is selected for simulation. The pipeline parameters of this embodiment are shown in Table 1.

[0074] Table 1 Parameters of radial 15-node hot steam pipeline

[0075]

[0076]

[0077] The node parameters of this embodiment are shown in Table 2.

[0078] Table 2 Node parameters of radial 15-node hot steam network

[0079]

[0080] S2. Supplement the steam network topology equation through the hydraulic equation of hot steam flowing in a single pipe, and establish the hydraulic equation in the form of hot steam network matrix;

[0081] It should be further explained that, in the specific implementation process, based on the hydraulic equation of the hot steam flowing in the pipeline, the steam network topology equation is supplemented, and the hydraulic equation of the hot steam network is organized into a matrix form, as follows:

[0082] When expanding from a single pipeline to a network with I nodes and J pipelines, the corresponding network equations need to be supplemented;

[0083] Assume that the number of nodes with known pressure in the network is N P , then let nodes 1 to N P All nodes have known pressure, node N P +1~I are nodes with unknown pressure.

[0084] Let A be the node-pipeline association matrix:

[0085]

[0086] In the formula,

[0087] Take A in is the inflow node-pipeline association matrix, A out is the outflow node-pipeline association matrix:

[0088]

[0089] In the formula,

[0090]

[0091] In the formula,

[0092] Then we have:

[0093] A=A in -A out

[0094] The node flow balance equation can be obtained from Kirchhoff's first law:

[0095] A·M+q=0

[0096] Where, M=[M1,M2,…,M J ] Tis the pipeline flow vector, q=[q1,q2,…,q I ] T Inject traffic vectors into nodes,

[0097] For medium and high pressure pipeline network:

[0098]

[0099] Where P0 is the reference pressure (Pa), usually the steam pressure at the heat source, and ΔP0 is the steam pressure difference at both ends of pipe j (Pa), that is, ΔP j =P j,in -P j,out ;

[0100] Then we have:

[0101]

[0102] Where P 2 =[P1 2 ,P2 2 ,…,P I 2 ] T is the node voltage square vector, A j represents the j-th column of the incidence matrix A,

[0103]

[0104] Take G = diag[G 11 ,G 22 ,…,G JJ ], then the hydraulic equation in the form of steam network matrix is ​​expressed as:

[0105] AGA T p 2 =q.

[0106] S3. Analyze the thermal process of hot steam when it flows steadily in the pipeline and establish the thermal equation in the form of hot steam network matrix;

[0107] It should be further explained that, in the specific implementation process, the process of analyzing the thermodynamic process of hot steam when it flows stably in the pipeline and establishing the thermodynamic equation in the form of a hot steam network matrix includes:

[0108] 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:

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

[0110] 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;

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

[0112]

[0113] 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;

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

[0115]

[0116] Further sorting out the matrix form of the thermodynamic equation:

[0117]

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

[0119] S4. Alternately iteratively solve the hydraulic equations in the form of a hot steam network matrix and the thermal equations in the form of a hot steam network matrix, and finally solve the variables to be determined for the hot steam network simulation.

[0120] It should be further explained that, in the specific implementation process, the hydraulic equation in the form of the hot steam network matrix and the thermal equation in the form of the hot steam network matrix are alternately solved iteratively, and finally the variables to be solved for the hot steam network simulation are solved. The process includes:

[0121] The hydraulic equations in the form of a hot steam network matrix and the thermal equations in the form of a hot steam network matrix are decoupled. When performing hydraulic calculations, the temperature is regarded as a known quantity to solve the node pressure P and the pipeline flow M; when performing thermal calculations, M and P are regarded as known quantities to solve the pipeline start and end temperatures T in , T out The linear equation is solved through alternating iterations to achieve convergence and finally all the quantities to be solved are solved.

[0122] The thermal equation in the form of a hot steam network matrix is ​​a linear equation about Tin, Tout and Tn when M and P are known. If it is assumed that M and P are known, it is only necessary to solve the linear matrix equation with Tin, Tout and Tn as the unknown quantities, and the solution speed of a single cycle will be greatly improved.

[0123] This embodiment finally converges to the required accuracy through 41 iterations, and the solution time is 0.0245 seconds. The solution results are shown in Table 3 and Table 4. Table 3 shows the solution results of the steam network pipeline parameters, and Table 4 shows the solution results of the steam network node parameters.

[0124] Table 3 Solution results of hot steam network pipeline parameters

[0125]

[0126] Table 4 Solution results of hot steam network node parameters

[0127]

[0128] From the solution speed of this embodiment, although the number of iterations reached 41 times, the matrixization and linearization of the equations greatly shortened the duration of a single iteration, so the final total solution time was only 0.0245 seconds, achieving the acceleration of the hot steam network simulation solution.

[0129] 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 thermal steam network simulation method using alternating matrix equation iterations, characterized in that: The method comprises the following steps: S1. Analyze the motion state of hot steam flowing steadily in a single pipe and establish the hydraulic equation of hot steam flowing in a single pipe; S2. Supplement the steam network topology equation through the hydraulic equation of hot steam flowing in a single pipe, and establish the hydraulic equation in the form of hot steam network matrix; Based on the hydraulic equation of the hot steam flowing in a single pipe, the steam network topology equation is supplemented, and the hydraulic equation of the hot steam network is organized into a matrix form, as follows: When expanding from a single pipeline to a network with I nodes and J pipelines, the corresponding network equations need to be supplemented; Assume that the number of nodes with known pressure in the network is N P , then let nodes 1 to N P All nodes have known pressure, node N P +1~I are nodes with unknown pressure. Let A be the node-pipeline association matrix: In the formula, Take A in is the inflow node-pipeline association matrix, A out is the outflow node-pipeline association matrix: In the formula, In the formula, Then we have: A=A in -A out The node flow balance equation can be obtained from Kirchhoff's first law: A·M+q=0 Where, M=[M1,M2,…,M J ] T is the pipeline flow vector, q=[q1,q2,…,q I ] T Inject traffic vectors into nodes, For medium and high pressure pipeline network: Where P0 is the reference pressure, usually the steam pressure at the heat source, and ΔP0 is the steam pressure difference at both ends of pipe j, that is, ΔP j =P j,in -P j,out ; Then we have: Where P 2 =[P1 2 ,P2 2 ,…,P I 2 ] T is the node voltage square vector, A j represents the j-th column of the incidence matrix A, Take G = diag[G 11 ,G 22 ,…,G JJ ], then the hydraulic equation in the form of steam network matrix is ​​expressed as: BROTHER T p 2 =q; S3. Analyze the thermal process of hot steam when it flows steadily in the pipeline and establish the thermal equation in the form of hot steam network matrix; The process of analyzing the thermal process of hot steam flowing steadily in the pipeline and establishing the thermal equation in the form of a hot steam network matrix includes: 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: M j (h j,out -h j,in )+K j (T j -T0)L j =0 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; At the same time, the node temperature fusion equation for the hot steam network is: 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; The node temperature fusion equation and the pipeline energy conservation equation together constitute the thermal calculation equation of the steam network as follows: The matrix form of the thermodynamic equation is: where \(K = diag[K_1, K_2, \ldots, K J \), \(L = diag[L_1, L_2, \ldots, L J \), \(M = diag[M_1, M_2, \ldots, M J \), \(P = diag[L_1, L_2, \ldots, L J \), \(q in = diag[q in,1 , q in,2 , \ldots, q in,I \); S4. Alternately iteratively solve the hydraulic equations in the form of a hot steam network matrix and the thermal equations in the form of a hot steam network matrix, and finally solve the variables to be determined for the hot steam network simulation.

2. A hot steam network simulation method of matrix equation alternating iteration according to claim 1, characterized in that: Take a section of hot steam transmission pipeline and analyze the hot steam in a stable flow state. The hydraulic equation in a single pipeline is established by the mass conservation equation and momentum conservation equation, as follows: Analyzing the steam transmission process in pipe j, we can get the following from the principle of mass conservation: M j,in =M j,out =M j ,j∈W 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 pipeline j; Since the steam transport pipeline usually has a small inclination angle, the influence of gravity is ignored during the steam flow process. Since the steam flow rate is slow, the inertia term is ignored, so the momentum conservation equation of the steam in the pipeline is: 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 j The average value of the corresponding parameters at the beginning and end is taken, that is: Where, T j,in and T j,out Respectively represent the steam temperature at the beginning and end of pipeline j; Z j,in and Z j,out Respectively represent the gas compression factors of the steam at the beginning and end of pipeline j.

3. A hot steam network simulation method of matrix equation alternating iteration according to claim 2, characterized in that: The gas constant of the water vapor is 461.526 J / (kg·K).

4. The method for simulating a hot steam network by alternating matrix equation iteration according to claim 1, characterized in that: The hydraulic equation in the form of a hot steam network matrix and the thermal equation in the form of a hot steam network matrix are alternately and iteratively solved, and finally the variables to be solved for the hot steam network simulation are solved. The process includes: The hydraulic equations in the form of a hot steam network matrix and the thermal equations in the form of a hot steam network matrix are decoupled. When performing hydraulic calculations, the temperature is regarded as a known quantity to solve the node pressure P and the pipeline flow M; when performing thermal calculations, M and P are regarded as known quantities to solve the pipeline start and end temperatures T in , T out The linear equation is solved through alternating iterations to achieve convergence and finally all the quantities to be solved are solved.