An optimal hydraulic and thermal calculation method and system for pipeline fluids

Through iterative calculation methods, the source side pressure and temperature of the pipeline fluid are optimized, and the problem of energy loss in long-distance transportation of steam pipelines is solved, achieving safe and efficient steam transmission and energy-saving operation.

CN114492243BActive Publication Date: 2025-07-25PUHENG HIGH-TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210107257.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2025-07-25
Estimated Expiration
2042-01-28

AI Technical Summary

Technical Problem

During long-distance transportation of pipeline fluids, it is difficult for the prior art to effectively analyze and optimize the minimum temperature and pressure input on the source side to reduce energy losses and improve steam transmission efficiency, especially the condensate and heat loss of steam pipelines, affecting operational safety and economic benefits.

Method used

Through iterative calculation methods, various attribute parameters of the pipeline are determined, assuming the source side fluid pressure, combining the load side demand pressure and average physical properties parameters, the new pressure and temperature of the load side fluid are calculated, the allowable error range is set, and the source side pressure and temperature is iteratively adjusted until the error requirements are met and the optimal hydraulic thermal calculation is achieved.

Benefits of technology

While meeting the minimum pressure and temperature parameters on the load side, reduce the amount of condensation, reduce the hidden dangers of water hammers, improve the safety and economic benefits of pipeline operation, improve the power generation efficiency of steam cogeneration, and reduce carbon emissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114492243B_ABST
    Figure CN114492243B_ABST
Patent Text Reader

Abstract

The present invention provides an optimal hydraulic and thermal calculation method and system for pipeline fluids, which determines various attribute parameters of the pipeline and the required pressure of the fluid on the load side of the pipeline. By assuming the fluid pressure on the source side of the pipeline, the assumed pressure drop and the assumed fluid pressure on the source side of the pipeline are calculated according to the average physical property parameters, and the assumed fluid pressure on the load side of the pipeline is calculated, and then the lowest pressure on the source side is obtained through iterative calculation. During the long-distance transportation of steam pipelines, the minimum condensation water volume of the steam pipeline is achieved under the lowest pressure and temperature on the load side, or the source side pressure is the lowest when there is no condensation water; by reducing the condensation water volume, the hidden danger of water hammer is reduced to improve the pipeline operation safety, and at the same time, the heat loss is reduced to improve the operation economic benefit. By reducing the source side pressure, the power generation efficiency of steam cogeneration is improved, and the comprehensive fuel utilization efficiency under the contradictory relationship between cogeneration power generation and heat supply is improved, and carbon emissions are reduced in multiple aspects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of pipeline energy, and particularly to an optimal hydraulic and thermal calculation method and system for pipeline fluids. Background Art

[0002] During the long-distance transportation of pipeline fluids, significant energy losses will occur due to resistance. To prevent such large energy losses, it is necessary to reduce the fluid transportation volume. However, if the fluid transportation volume is reduced, the fluidity of the fluid will deteriorate, affecting the operation efficiency.

[0003] Pipeline fluids are divided into phase-changeable fluids and non-phase-changeable fluids.

[0004] Among them, steam, as a phase-changeable fluid, in the research on long-distance pipeline transportation, existing technologies usually explore the calculation methods of temperature drop and pressure drop of steam pipelines to reduce the errors in the analysis process. However, there is little research on how to analyze the minimum temperature and minimum pressure of the steam input on the source side based on the temperature and pressure of the pipeline load to ensure that no condensation occurs in the load, thereby improving the efficiency of steam transmission.

[0005] Among non-phase-changeable fluids, represented by water and compressed air, during the long-distance pipeline transportation process, there is also little analysis of the minimum pressure input on the source side of the pipeline based on the pressure of the pipeline load, so as to reduce energy waste and achieve the goal of energy conservation.

[0006] Therefore, the existing technologies still need to be improved and developed. Summary of the Invention

[0007] In view of the above deficiencies of the existing technologies, the purpose of the present invention is to provide an optimal hydraulic and thermal calculation method and system for pipeline fluids. When calculating the pipeline transmission of non-phase-changeable fluids, by calculating the minimum pressure on the source side while meeting the minimum pressure on the load side, the goal of energy conservation can be achieved; when calculating the pipeline steam transmission, while meeting the minimum pressure and temperature parameters on the load side, the minimum condensation water volume in the steam pipeline is achieved, or when there is no condensation water, the source side pressure is the lowest. By reducing the condensation water volume, the hidden danger of water hammer is reduced, the pipeline operation safety is improved, and at the same time, the heat loss is reduced to improve the operation economic benefit.

[0008] The technical solution of the present invention is as follows. An optimal hydraulic and thermal calculation method and system for pipeline fluids, wherein the method includes:

[0009] S1: Determine the various property parameters of the pipeline. Determine the required pressure of the fluid on the load side of the pipeline according to the requirements on the user side. Randomly assume a number as the assumed pressure of the fluid on the source side of the pipeline. Calculate the average physical property parameters of the fluid based on the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline. Calculate the pressure drop in the pipeline based on the average physical property parameters of the fluid and the average pressure. Calculate the new pressure of the fluid on the load side of the pipeline based on the pressure drop obtained from the above calculations combined with the assumed pressure of the fluid on the source side of the pipeline. This new pressure of the fluid on the load side of the pipeline is a theoretical value calculated based on the assumed pressure of the fluid on the source side of the pipeline. When calculating, set a maximum allowable error between the required pressure of the fluid on the load side of the pipeline and the new pressure of the fluid on the load side of the pipeline. This maximum allowable error is set according to the actual application scenario;

[0010] S2: If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is within the set allowable error range, output the assumed pressure of the fluid on the source side of the pipeline in S1. At this time, the output pressure of the fluid on the source side of the pipeline is used as the optimal pressure on the source side of the pipeline, and the calculation ends. At this time, the randomly assumed fluid pressure on the source side of the pipeline output in S1 is the lowest pressure that can meet the required pressure on the load side, thus achieving the purpose of energy conservation. If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is not within the set range, then calculate the sum of the required pressure of the fluid on the load side of the pipeline and the assumed pressure of the fluid on the source side of the pipeline, subtract the new pressure of the fluid on the load side of the pipeline to obtain the new assumed pressure of the fluid on the source side of the pipeline. Take the new assumed pressure of the fluid on the source side of the pipeline as the assumed pressure of the fluid on the source side of the pipeline in S1, and re - execute S1 - S2. According to the principle of iteration, the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline get closer and closer until within the maximum allowable error.

[0011] When calculating the optimal pressure on the source side of the pipeline for non - phase - change fluids:

[0012] S11: Determine the various property parameters of the pipeline and the required pressure P2 of the non - phase - change fluid on the load side of the pipeline. Assume the pressure of the non - phase - change fluid on the source side of the pipeline is P1, and calculate the average pressure P_aver;

[0013] S11a: P_aver can be obtained from formula (1):

[0014] (1)

[0015] S12: Based on P_aver obtained in S11, calculate the average physical property parameters of the non - phase - change fluid in the pipeline. Calculate the pressure drop P_drop of the non - phase - change fluid pipeline based on the average physical property parameters of the non - phase - change fluid in the pipeline and P_aver;

[0016] S13: Based on the assumed pressure P1 of the non-phase-change fluid on the source side of the pipeline in S11, combined with the pressure drop P_drop obtained in S12, calculate the new pressure P2_new of the non-phase-change fluid on the load side of the pipeline;

[0017] S13a: P2_new can be obtained using the calculation formula (2):

[0018] (2)

[0019] S14: Based on P2_new calculated in S13, calculate the error err_P between P2 and P2_new, and set the minimum pressure convergence value eps_P for the non-phase-change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2_new and P2;

[0020] S21: Based on the pressure error err_P calculated in S14, if the pressure error err_P is less than the preset minimum pressure convergence value eps_P, end the calculation and directly output the current P1. At this time, the output P1 is used as the optimal pressure on the source side of the pipeline; if the pressure error err_P is greater than the set minimum pressure convergence value eps_P, calculate the new assumed pressure P1_new of the non-phase-change fluid on the source side of the pipeline using P2_new obtained through S13, use P1_new as P1 in S11, and re-execute S11 - S21;

[0021] S21a: P1_new can be obtained from formula (3):

[0022] (3)

[0023] err_P is the relative error or absolute error, and eps_P is the error corresponding to the form of err_P. For example, when err_P is the relative error, eps_P is also the relative error; when err_P is the absolute error, eps_P is also the absolute error.

[0024] When calculating the optimal parameters on the source side of the steam pipeline, in addition to the optimal pressure, the optimal temperature also needs to be considered to achieve the most energy-saving purpose. Therefore, when calculating the optimal parameters on the source side of the steam pipeline:

[0025] S11: Determine the various attribute parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline. Assume the steam temperature on the source side of the pipeline is T1 and the steam pressure on the source side of the pipeline is P1, and calculate the average temperature T_aver and average pressure P_aver through calculation;

[0026] S11a: T_aver and P_aver can be obtained from formula (4):

[0027] (4)

[0028] S12: Calculate the average physical properties of the pipeline steam based on P_aver and T_aver obtained from S11. Calculate the temperature drop T_drop and pressure drop P_drop of the pipeline based on the average physical properties of the pipeline steam, T_aver, and P_aver.

[0029] S13: Based on the assumed temperature T1 and assumed pressure P1 of the steam on the source side of the pipeline in S11, and combined with the pressure drop P_drop and temperature drop T_drop obtained in S12, calculate the new pressure P2_new of the steam on the load side of the pipeline and the new temperature T2_new of the steam on the load side of the pipeline.

[0030] S13a: P2_new and T2_new can be obtained from Equation (5):

[0031] (5)

[0032] S14: Based on P2_new and T2_new calculated in S13, calculate the error err_P between P2 and P2_new, and the error err_T between T2 and T2_new. Preset the minimum convergence pressure value eps_P and the minimum convergence temperature value eps_T. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new.

[0033] S21: Based on the pressure error err_P and temperature error err_T calculated in S14, if both the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is also less than the minimum pressure convergence value eps_P, then end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and optimal temperature on the source side of the pipeline. If the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate the new assumed pressure P1_new on the source side of the pipeline and the new assumed temperature T1_new on the source side of the pipeline from P2_new and T2_new obtained through S13. Take P1_new as P1 in S11 and T1_new as T1 in S11, and re - execute S11 - S21.

[0034] S21a: P1_new and T1_new can be obtained from Equation (6):

[0035] (6)

[0036] err_P and err_T are relative errors or absolute errors, eps_P is the error corresponding to the form of err_P, and eps_T is the error corresponding to the form of err_T. For example, when err_P and err_T are relative errors, eps_P is also a relative error; when err_P and err_T are absolute errors, eps_P is also an absolute error.

[0037] Advantageous effects:

[0038] The present invention provides a method and system for optimal hydraulic and thermal calculation of pipeline fluids, which can minimize the condensate water volume in a steam pipeline during long-distance transportation under the lowest pressure and temperature parameters that meet the load, or minimize the source-side pressure when there is no condensate water; reduce the hidden danger of water hammer by reducing the condensate water volume to improve the pipeline operation safety, and at the same time reduce heat loss to improve the operation economic benefit, improve the power generation efficiency of steam cogeneration by reducing the source-side pressure, and improve the comprehensive fuel utilization efficiency under the contradictory relationship between cogeneration power generation and heat supply, and reduce carbon emissions in multiple aspects.

[0039] At the same time, during the long-distance operation of non-phase-change fluids, a method for calculating the lowest source-side pressure of the pipeline is provided under the condition of the lowest pressure on the load side, so as to avoid energy consumption waste and achieve the purpose of energy conservation to improve the economic operation benefit. Brief Description of the Drawings

[0040] Figure 1 It is a flowchart of a method for optimal hydraulic and thermal calculation of pipeline fluids of the present invention applied to a non-phase-change fluid pipeline;

[0041] Figure 2 It is a flowchart of a system for optimal hydraulic and thermal calculation of pipeline fluids of the present invention applied to a non-phase fluid pipeline;

[0042] Figure 3 It is a flowchart of a method for optimal hydraulic and thermal calculation of pipeline fluids of the present invention applied to a steam pipeline;

[0043] Figure 4 It is a flowchart of a system for optimal hydraulic and thermal calculation of pipeline fluids of the present invention applied to a steam pipeline. Detailed Description of the Embodiment

[0044] The present invention provides a method and system for optimal hydraulic and thermal calculation of pipeline fluids. To make the purpose, technical solution and effects of the present invention clearer and more definite, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0045] It should be noted that when a component is referred to as "fixed to" or "disposed on" another component, it can be directly on the other component or indirectly on the other component. When a component is referred to as "connected to" another component, it can be directly connected to the other component or indirectly connected to the other component.

[0046] It should also be noted that the same or similar reference numerals in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if there are terms such as "upper", "lower", "left", "right", etc. indicating the orientation or positional relationship, it is based on the orientation or positional relationship shown in the drawings. This is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, the terms describing the positional relationship in the drawings are only for illustrative purposes and cannot be understood as a limitation of this patent. For those of ordinary skill in the art, the specific meanings of the above terms can be understood according to specific circumstances.

[0047] Existing fluid pipelines will cause energy waste during long-distance transportation.

[0048] To solve the above problems, the present invention provides an optimal hydraulic and thermal calculation method for pipeline fluids:

[0049] S1: Determine the various property parameters of the pipeline. Determine the required pressure of the fluid on the load side of the pipeline according to the requirements of the user side. Randomly assume a number as the assumed pressure of the fluid on the source side of the pipeline. Calculate the average physical property parameters of the fluid according to the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline. Calculate the pressure drop in the pipeline according to the average physical property parameters and the average pressure of the fluid. Calculate the new pressure of the fluid on the load side of the pipeline according to the pressure drop calculated above and the assumed pressure of the fluid on the source side of the pipeline. This new pressure of the fluid on the load side of the pipeline is a theoretical value calculated according to the assumed pressure of the fluid on the source side of the pipeline. When calculating, set a maximum allowable error value between the required pressure of the fluid on the load side of the pipeline and the new pressure of the fluid on the load side of the pipeline. This maximum allowable error value is set according to the actual application scenario;

[0050] S2: If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is within the set allowable error range, output the assumed pressure of the fluid on the source side of the pipeline in S1. At this time, the output pressure of the fluid on the source side of the pipeline is used as the optimal pressure of the source side of the pipeline, and the calculation ends. At this time, the randomly assumed fluid pressure of the source side of the pipeline output in S1 is the lowest pressure that can meet the required pressure of the load side, thereby achieving the purpose of energy conservation. If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is not within the set range, then by calculating the sum of the required pressure of the fluid on the load side of the pipeline and the assumed pressure of the fluid on the source side of the pipeline, subtracting the new fluid pressure on the load side of the pipeline to obtain the new assumed pressure of the fluid on the source side of the pipeline. Take the new assumed pressure of the fluid on the source side of the pipeline as the assumed pressure of the fluid on the source side of the pipeline in S1, and re - execute S1 - S2. According to the principle of iteration, the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side are getting closer and closer until within the maximum value of the allowable error.

[0051] As Figure 1 shown, the method includes: When calculating for a pipeline with a non - phase - change fluid,

[0052] S11: Determine the various property parameters of the pipeline and the required pressure P2 of the non - phase - change fluid on the load side of the pipeline. Assume the pressure of the non - phase - change fluid on the source side of the pipeline is P1, and obtain the average pressure P_aver through calculation;

[0053] S11a: P_aver can be obtained by formula (1):

[0054] (1)

[0055] S12: According to P_aver obtained in S11, calculate the average physical property parameters of the non - phase - change fluid in the pipeline. According to the average physical property parameters of the non - phase - change fluid in the pipeline and P_aver, calculate the pressure drop P_drop of the non - phase - change fluid pipeline;

[0056] S13: According to the assumed pressure P1 of the non - phase - change fluid on the source side of the pipeline in S11, combined with the pressure drop P_drop obtained in S12, calculate the new pressure P2_new of the non - phase - change fluid on the load side of the pipeline;

[0057] S13a: P2_new can be obtained by the calculation formula (2):

[0058] (2)

[0059] S14: According to P2_new calculated in S13, calculate the error err_P between P2 and P2_new. Set the minimum pressure convergence value eps_P of the non - phase - change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2_new and P2;

[0060] S21: Calculate the pressure error err_P based on S14. If the pressure error err_P is less than the preset minimum pressure convergence value eps_P, end the calculation and directly output the current P1. At this time, the output P1 is used as the optimal pressure on the source side of the pipeline. If the pressure error err_P is greater than the set minimum pressure convergence value eps_P, calculate the new assumed pressure P1_new of the non-phase-change fluid on the source side of the pipeline through P2_new obtained from S13, use P1_new as P1 in S11, and re-execute S11 - S21;

[0061] S21a: P1_new can be obtained from formula (3):

[0062] (3)

[0063] err_P is the relative error or absolute error, and eps_P is the error corresponding to the form of err_P.

[0064] A water supply pipeline is calculated using the method of the present invention. The total length of the pipeline is 5000 m, and the water supply volume is 100 m3 / hr (at a temperature of 0 °C). The required load water pressure at the end of the pipeline is 0.9 Mpa.

[0065] (1)Assume that the pressure P1 on the source side of the pipeline is 1.5 Mpa;

[0066] (2)According to the assumed source-side pressure and the load pressure, calculate the average pressure P_aver;

[0067] (3)Calculate the resistance pressure drop of the pipeline;

[0068] Among them, λ is the friction coefficient of the pipeline, ρ is the fluid density, kg / m3, v is the fluid velocity in the pipeline, m / s, and Din is the inner diameter of the pipeline, m;

[0069] The calculated pressure drop ΔP = 0.4 Mpa;

[0070] (4)The pressure P2_new at the end of the pipeline = P1 - ΔP = 1.1 Mpa;

[0071] (5)The new source-side pressure is P1_new = 2×P_aver - P2 = 1.3 Mpa. After 5 cycles, it finally converges to a source-side pressure of P1 = 0.9 Mpa.

[0072] As Figure 3 shown, when calculating the optimal parameters on the source side of the steam pipeline,

[0073] S11: Determine various property parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline. Assume the steam temperature on the source side of the pipeline is T1 and the steam pressure on the source side of the pipeline is P1, and calculate the average temperature T_aver and average pressure P_aver through calculation;

[0074] S11a: T_aver and P_aver can be obtained from formula (4):

[0075] (4)

[0076] S12: Calculate the average physical property parameters of the pipeline steam according to P_aver and T_aver obtained in S11, and calculate the temperature drop T_drop and pressure drop P_drop of the pipeline according to the average physical property parameters of the pipeline steam, T_aver and P_aver;

[0077] S13: Calculate the new pressure P2_new of the steam on the load side of the pipeline and the new temperature T2_new of the steam on the load side of the pipeline according to the assumed temperature T1 of the steam on the source side of the pipeline and the assumed pressure P1 of the steam on the source side of the pipeline in S11, combined with the pressure drop P_drop and temperature drop T_drop obtained in S12;

[0078] S13a: P2_new and T2_new can be obtained from formula (5):

[0079] (5)

[0080] S14: Calculate the error err_P between P2 and P2_new and the error err_T between T2 and T2_new according to P2_new and T2_new calculated in S13. Preset the minimum convergence pressure value eps_P and the minimum convergence temperature value eps_T. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new;

[0081] S21: Based on the pressure error err_P and temperature error err_T calculated in S14, if both the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is also less than the minimum pressure convergence value eps_P, then end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and optimal temperature on the source side of the pipeline. If the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate the new assumed pressure P1_new on the source side of the pipeline and the new assumed temperature T1_new on the source side of the pipeline from the P2_new and T2_new obtained through S13. Take P1_new as P1 in S11 and T1_new as T1 in S11, and re - execute S11 - S21;

[0082] S21a: P1_new and T1_new can be obtained from formula (6):

[0083] (6)

[0084] err_P and err_T are relative errors or absolute errors, eps_P is the error corresponding to the form of err_P, and eps_T is the error corresponding to the form of err_T.

[0085] Use the method of the present invention to calculate a steam main pipe in a power plant. The total length of the pipeline is 15000m, the steam delivery volume is 30t / h, the load pressure at the end of the main pipe is 0.9665Mpa, and the load temperature is 192℃. Ambient temperature: 20℃. The absolute roughness of the pipeline is 0.0546mm. The pipeline includes two layers of thermal insulation. The innermost thermal insulation material is aluminosilicate pipe shell with a thermal insulation thickness of 100mm, and the outermost thermal insulation material is high - temperature glass wool board with a thermal insulation thickness of 100mm.

[0086] (1)Assume the pipeline inlet pressure P1 = 1.5Mpa and the inlet temperature T1 = 400℃;

[0087] (2)Based on the inlet pressure, inlet temperature, load pressure and temperature, calculate the average temperature T_aver = 296℃, the average pressure P_aver = 1.2333Mpa, and then calculate the average viscosity mu_aver = 1.998E - 5PaS and ρ_aver = 4.848kg / m3 according to the steam physical properties;

[0088] (3)Calculate the resistance pressure drop and temperature drop of the pipeline;

[0089] Among them, λ is the friction coefficient of the pipeline, ρ is the density of steam, kg / m3, v is the steam flow velocity in the pipeline, m / s, and Din is the inner diameter of the pipeline, m;

[0090] In the "DLT5072-2007 Design Code for Thermal Insulation and Painting of Thermal Power Plants", the calculation of heat loss per unit area is as follows:

[0091] Among them, D2 is the outermost insulation diameter of the pipeline, in mm, D1 is the innermost insulation diameter of the pipeline, in mm, λ1 and λ2 are the thermal conductivities of two insulation materials, α is the heat transfer coefficient, t is the steam temperature, in °C, and ta is the ambient temperature, in °C;

[0092] (4) The calculated pressure drop ΔP = 0.0263 Mpa, and the temperature drop ΔT = 103 °C;

[0093] (5) The pressure at the end of the pipeline P2_new = P1 - ΔP = 1.4737 Mpa, and T2_new = T1 - ΔT = 293 °C;

[0094] (6) The new inlet pressure is P1_new = 2×P_aver - P2_new = 0.9928 Mpa, and T1_new = 2×T_aver - T2_new = 394 °C. After 12 cycles, it finally converges to an inlet pressure of P1 = 1 Mpa and an inlet temperature of 300 °C.

[0095] As Figure 2 shown: Based on the above method, the present invention also provides an optimal hydraulic and thermal calculation system for pipeline fluids. When applying it to calculate the optimal pressure scenario on the source side of a non-phase-change fluid pipeline, it includes:

[0096] A preset module for determining various attribute parameters of the pipeline and the required pressure P2 of the non-phase-change fluid on the load side of the pipeline, and the assumed pressure P1 of the non-phase-change fluid on the source side of the pipeline. By calculation, the average pressure P_aver is obtained, and P_aver can be obtained from formula (1):

[0097] (1)

[0098] A first calculation module for calculating the average physical property parameters of the non-phase-change fluid in the pipeline according to P_aver obtained by the preset module, and calculating the pressure drop P_drop of the non-phase-change fluid pipeline according to the average physical property parameters of the non-phase-change fluid in the pipeline and P_aver;

[0099] A second calculation module for calculating the new pressure P2_new of the non-phase-change fluid on the load side of the pipeline according to the assumed pressure P1 of the non-phase-change fluid on the source side of the pipeline by the preset module and combining the pressure drop P_drop obtained by the first calculation module. P2_new can be obtained by the calculation formula (2):

[0100] (2)

[0101] A third calculation module, configured to calculate a pressure error err_P between P2 and P2_new based on P2_new calculated by the second calculation module, and preset a minimum pressure convergence value eps_P for the non-phase-change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error between the P2_new and P2 error values.

[0102] A judgment module, configured to, based on the pressure error err_P calculated by the third calculation module, if the pressure error err_P is less than the preset minimum pressure convergence value eps_P, end the calculation and directly output the current P1, and at this time, the output P1 is used as the optimal pressure on the source side of the pipeline; if the pressure error err_P is greater than the set minimum pressure convergence value eps_P, calculate a new assumed pressure P1_new for the non-phase-change fluid on the source side of the pipeline through P2_new obtained by the second calculation module, use P1_new as P1 in the preset module, and re-execute the preset module - judgment module. P1_new can be obtained by formula (3):

[0103] (3).

[0104] As Figure 4 shown, based on the above method, the present invention further provides a pipeline fluid optimal hydraulic and thermal calculation system. When applying the optimal parameter scenario on the source side of the steam fluid pipeline, it includes:

[0105] A preset module, configured to determine various attribute parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline, assume the steam temperature on the source side of the pipeline is T1, assume the steam pressure on the source side of the pipeline is P1, and calculate the average temperature T_aver and average pressure P_aver. T_aver and P_aver can be obtained by formula (4):

[0106] (4)

[0107] A first calculation module, configured to calculate the average physical properties of the pipeline steam based on P_aver and T_aver obtained by the preset module, and calculate the temperature drop T_drop and pressure drop P_drop of the pipeline based on the average physical properties of the pipeline steam in combination with P_aver and T_aver;

[0108] A second calculation module, configured to calculate the new pressure P2_new and new temperature T2_new of the steam on the load side of the pipeline based on the assumed temperature T1 of the steam on the source side of the pipeline and the assumed pressure P1 of the steam on the source side of the pipeline obtained by the preset module, in combination with the pressure drop P_drop and temperature drop T_drop obtained by S12. P2_new and T2_new can be obtained by formula (5):

[0109] (5)

[0110] A third calculation module, configured to calculate a pressure error err_P between P2 and P2_new and a temperature error err_T between T2 and T2_new according to P2_new and T2_new obtained by S13; preset a minimum pressure convergence value eps_P and a minimum temperature convergence value eps_T, where the minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new;

[0111] A judgment module, configured to, according to the pressure error err_P and the temperature error err_T calculated by the third calculation module, if both the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is less than the minimum pressure convergence value eps_P are satisfied, end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and the optimal temperature on the source side of the pipeline respectively; if the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate a new assumed pressure P1_new on the source side of the pipeline and a new assumed temperature T1_new on the source side of the pipeline through P2_new and T2_new obtained by the second calculation module, use P1_new as P1 in the preset module, use T1_new as T1 in the preset module, and re - execute the preset module - judgment module. P1_new and T1_new can be obtained by formula (6):

[0112] (6).

[0113] In one embodiment, the present invention provides an electronic device, which may be a terminal, including a memory and a processor. The memory stores a computer program. Wherein, when the processor executes the computer program, the following steps are implemented:

[0114] S1: Determine various attribute parameters of the pipeline, determine the required pressure of the fluid on the load side of the pipeline according to the requirements of the user side, randomly assume a number as the assumed pressure of the fluid on the source side of the pipeline, calculate the average physical property parameters of the fluid according to the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline, calculate the pressure drop in the pipeline according to the average physical property parameters of the fluid and the average pressure, and calculate the new pressure of the fluid on the load side of the pipeline according to the calculated pressure drop and the assumed pressure of the fluid on the source side of the pipeline. This new pressure of the fluid on the load side of the pipeline is a theoretical value calculated according to the assumed pressure of the fluid on the source side of the pipeline. When calculating, set a maximum allowable error between the required pressure of the fluid on the load side of the pipeline and the new pressure of the fluid on the load side of the pipeline, and this maximum allowable error is set according to the actual application scenario;

[0115] S2: If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is within the set allowable error range, output the assumed pressure of the fluid on the source side of the pipeline in S1. At this time, the output pressure of the fluid on the source side of the pipeline is used as the optimal pressure of the source side of the pipeline, and the calculation ends. At this time, the randomly assumed fluid pressure on the source side of the pipeline output in S1 is the lowest pressure that can meet the required pressure on the load side, thus achieving the purpose of energy conservation. If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is not within the set range, then by calculating the sum of the required pressure of the fluid on the load side of the pipeline and the assumed pressure of the fluid on the source side of the pipeline, and subtracting the new fluid pressure on the load side of the pipeline, the new assumed pressure of the fluid on the source side of the pipeline is obtained. The new assumed pressure of the fluid on the source side of the pipeline is used as the assumed pressure of the fluid on the source side of the pipeline in S1, and S1 - S2 is executed again. According to the principle of iteration, the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side are getting closer and closer until within the maximum value of the allowable error.

[0116] When calculating the optimal pressure of the source side of the pipeline for non-phase-change fluid:

[0117] S11: Determine the various attribute parameters of the pipeline and the required pressure P2 of the non-phase-change fluid on the load side of the pipeline. Assume the pressure of the non-phase-change fluid on the source side of the pipeline is P1, and calculate the average pressure P_aver through calculation;

[0118] S11a: P_aver can be obtained from formula (1):

[0119] (1)

[0120] S12: According to P_aver obtained in S11, calculate the average physical property parameters of the non-phase-change fluid in the pipeline. According to the average physical property parameters of the non-phase-change fluid in the pipeline and P_aver, calculate the pressure drop P_drop of the non-phase-change fluid pipeline;

[0121] S13: According to the assumed pressure P1 of the non-phase-change fluid on the source side of the pipeline in S11, combined with the pressure drop P_drop obtained in S12, calculate the new pressure P2_new of the non-phase-change fluid on the load side of the pipeline;

[0122] S13a: P2_new can be obtained by the calculation formula (2):

[0123] (2)

[0124] S14: According to P2_new calculated in S13, calculate the error err_P between P2 and P2_new, and set the minimum pressure convergence value eps_P of the non-phase-change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2_new and P2;

[0125] S21: Calculate the pressure error err_P based on S14. If the pressure error err_P is less than the preset minimum pressure convergence value eps_P, end the calculation and directly output the current P1. At this time, the output P1 is used as the optimal pressure on the source side of the pipeline. If the pressure error err_P is greater than the set minimum pressure convergence value eps_P, calculate the new assumed pressure P1_new of the non-phase change fluid on the source side of the pipeline using P2_new obtained from S13. Use P1_new as P1 in S11 and re-execute S11 - S21;

[0126] S21a: P1_new can be obtained from formula (3):

[0127] (3)

[0128] err_P is the relative error or absolute error, and eps_P is the error corresponding to the form of err_P.

[0129] When calculating the optimal parameters for the source side of the steam pipeline:

[0130] S11: Determine the various property parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline. Assume the steam temperature on the source side of the pipeline is T1 and the steam pressure on the source side of the pipeline is P1, and calculate the average temperature T_aver and average pressure P_aver;

[0131] S11a: T_aver and P_aver can be obtained from formula (4):

[0132] (4)

[0133] S12: Calculate the average physical property parameters of the pipeline steam based on P_aver and T_aver obtained from S11, and calculate the temperature drop T_drop and pressure drop P_drop of the pipeline based on the average physical property parameters of the pipeline steam, T_aver, and P_aver;

[0134] S13: Calculate the new pressure P2_new of the steam on the load side of the pipeline and the new temperature T2_new of the steam on the load side of the pipeline based on the assumed temperature T1 of the steam on the source side of the pipeline and the assumed pressure P1 of the steam on the source side of the pipeline in S11, combined with the pressure drop P_drop and temperature drop T_drop obtained from S12;

[0135] S13a: P2_new and T2_new can be obtained from formula (5):

[0136] (5)

[0137] S14: Based on P2_new and T2_new calculated in S13, calculate the error err_P between P2 and P2_new, and the error err_T between T2 and T2_new; preset the minimum convergence pressure value eps_P and the minimum convergence temperature value eps_T. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new.

[0138] S21: Based on the pressure error err_P and the temperature error err_T calculated in S14, if both the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is also less than the minimum pressure convergence value eps_P, then end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and optimal temperature on the source side of the pipeline; if the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate the new assumed pressure P1_new on the source side of the pipeline and the new assumed temperature T1_new on the source side of the pipeline from P2_new and T2_new obtained through S13. Take P1_new as P1 in S11 and T1_new as T1 in S11, and re - execute S11 - S21.

[0139] S21a: P1_new and T1_new can be obtained from formula (6):

[0140] (6)

[0141] err_P and err_T are relative errors or absolute errors, eps_P is the error of the corresponding form of err_P, and eps_T is the error of the corresponding form of err_T.

[0142] In one embodiment, the present invention provides a computer storage medium, on which a computer program is stored, characterized in that: when the program is executed by a processor, the following steps are implemented:

[0143] S1: Determine various property parameters of the pipeline. Determine the required pressure of the fluid on the load side of the pipeline according to the requirements of the user side. Randomly assume a number as the assumed pressure of the fluid on the source side of the pipeline. Calculate the average physical property parameters of the fluid according to the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline. Calculate the pressure drop in the pipeline according to the average physical property parameters of the fluid and the average pressure. Calculate the new pressure of the fluid on the load side of the pipeline according to the pressure drop obtained from the above calculation and the assumed pressure of the fluid on the source side of the pipeline. This new pressure of the fluid on the load side of the pipeline is a theoretical value calculated according to the assumed pressure of the fluid on the source side of the pipeline. When calculating, set a maximum allowable error between the required pressure of the fluid on the load side of the pipeline and the new pressure of the fluid on the load side of the pipeline. This maximum allowable error is set according to the actual application scenario;

[0144] S2: If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is within the set allowable error range, output the assumed pressure of the fluid on the source side of the pipeline in S1. At this time, the output pressure of the fluid on the source side of the pipeline is used as the optimal pressure on the source side of the pipeline, and the calculation ends. At this time, the randomly assumed fluid pressure on the source side of the pipeline output in S1 is the lowest pressure that can meet the required pressure on the load side, thus achieving the purpose of energy conservation. If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is not within the set range, then calculate the sum of the required pressure of the fluid on the load side of the pipeline and the assumed pressure of the fluid on the source side of the pipeline, subtract the new pressure of the fluid on the load side of the pipeline to obtain the new assumed pressure of the fluid on the source side of the pipeline. Use the new assumed pressure of the fluid on the source side of the pipeline as the assumed pressure of the fluid on the source side of the pipeline in S1, and re - execute S1 - S2. According to the principle of iteration, the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline are getting closer and closer until within the maximum allowable error.

[0145] When calculating the optimal pressure on the source side of the pipeline for non - phase - change fluid:

[0146] S11: Determine various property parameters of the pipeline and the required pressure P2 of the non - phase - change fluid on the load side of the pipeline. Assume the pressure of the non - phase - change fluid on the source side of the pipeline is P1, and calculate the average pressure P_aver;

[0147] S11a: P_aver can be obtained from formula (1)

[0148] (1)

[0149] S12: According to P_aver obtained in S11, calculate the average physical property parameters of the non - phase - change fluid in the pipeline. Calculate the pressure drop P_drop of the non - phase - change fluid pipeline according to the average physical property parameters of the non - phase - change fluid in the pipeline and P_aver;

[0150] S13: Based on the assumed pressure P1 of the non-phase-change fluid on the source side of the pipeline in S11, combined with the pressure drop P_drop obtained in S12, calculate the new pressure P2_new of the non-phase-change fluid on the load side of the pipeline;

[0151] S13a: P2_new can be obtained using the calculation formula (2):

[0152] (2)

[0153] S14: Based on P2_new calculated in S13, calculate the error err_P between P2 and P2_new, and set the minimum pressure convergence value eps_P for the non-phase-change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2_new and P2;

[0154] S21: Based on the pressure error err_P calculated in S14, if the pressure error err_P is less than the preset minimum pressure convergence value eps_P, end the calculation and directly output the current P1. At this time, the output P1 is used as the optimal pressure on the source side of the pipeline; if the pressure error err_P is greater than the set minimum pressure convergence value eps_P, calculate the new assumed pressure P1_new of the non-phase-change fluid on the source side of the pipeline using P2_new obtained through S13, use P1_new as P1 in S11, and re-execute S11 - S21;

[0155] S21a: P1_new can be obtained from formula (3):

[0156] (3)

[0157] err_P is the relative error or absolute error, and eps_P is the error corresponding to the form of err_P.

[0158] When calculating the optimal parameters on the source side of the steam pipeline,

[0159] S11: Determine the various property parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline. Assume the steam temperature on the source side of the pipeline is T1 and the steam pressure on the source side of the pipeline is P1, and calculate the average temperature T_aver and average pressure P_aver;

[0160] S11a: T_aver and P_aver can be obtained from formula (4):

[0161] (4)

[0162] S12: Calculate the average physical properties of the pipeline steam based on P_aver and T_aver obtained in S11. Calculate the temperature drop T_drop and pressure drop P_drop of the pipeline based on the average physical properties of the pipeline steam, T_aver, and P_aver.

[0163] S13: Based on the assumed temperature T1 and assumed pressure P1 of the steam on the source side of the pipeline in S11, and combined with the pressure drop P_drop and temperature drop T_drop obtained in S12, calculate the new pressure P2_new of the steam on the load side of the pipeline and the new temperature T2_new of the steam on the load side of the pipeline.

[0164] S13a: P2_new and T2_new can be obtained from formula (5):

[0165] (5)

[0166] S14: Based on P2_new and T2_new calculated in S13, calculate the error err_P between P2 and P2_new, and the error err_T between T2 and T2_new. Preset the minimum convergence pressure value eps_P and the minimum convergence temperature value eps_T. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new.

[0167] S21: Based on the pressure error err_P and temperature error err_T calculated in S14, if both the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is also less than the minimum pressure convergence value eps_P, then end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and optimal temperature on the source side of the pipeline. If the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate the new assumed pressure P1_new on the source side of the pipeline and the new assumed temperature T1_new on the source side of the pipeline from P2_new and T2_new obtained through S13. Take P1_new as P1 in S11 and T1_new as T1 in S11, and re - execute S11 - S21.

[0168] S21a: P1_new and T1_new can be obtained from formula (6):

[0169] (6)

[0170] err_P and err_T are relative errors or absolute errors, eps_P is the error corresponding to the form of err_P, and eps_T is the error corresponding to the form of err_T.

[0171] In summary, the present invention provides a method and system for optimal hydraulic and thermal calculation of pipeline fluids, which determine various attribute parameters of the pipeline and the required pressure of the fluid on the load side of the pipeline. By assuming the fluid pressure on the source side of the pipeline, the assumed pressure drop and the assumed fluid pressure on the source side of the pipeline are calculated according to the average physical property parameters, and the assumed fluid pressure on the load side of the pipeline is calculated, and then the lowest pressure on the source side is obtained through iterative calculation. During the long-distance transportation of steam pipelines, the minimum condensate water volume in the steam pipeline is achieved under the lowest pressure and temperature on the load side, or the lowest source side pressure when there is no condensate water; by reducing the condensate water volume, the hidden danger of water hammer is reduced to improve the operation safety of the pipeline, and at the same time, the heat loss is reduced to improve the operation economic benefit. By reducing the source side pressure, the power generation efficiency of steam cogeneration is improved, and the comprehensive utilization efficiency of fuel under the contradictory relationship between cogeneration power generation and heat supply is improved, reducing carbon emissions in multiple aspects.

[0172] It should be understood that the application of the present invention is not limited to the above examples. For those of ordinary skill in the art, improvements or transformations can be made according to the above description, and all such improvements and transformations should fall within the protection scope of the appended claims of the present invention.

Claims

1. An optimal hydraulic and thermal calculation method for pipeline fluids, characterized in that, Including: S1: Determine various attribute parameters of the pipeline and the required pressure of the fluid on the load side of the pipeline. Assume the pressure of the fluid on the source side of the pipeline. Based on the assumed pressure of the fluid on the source side of the pipeline and the required pressure of the fluid on the load side of the pipeline, obtain the average pressure. And according to this average pressure, calculate the average physical property parameters of the fluid. Calculate the pipeline pressure drop based on the average physical property parameters and the average pressure, and then calculate the new pressure of the fluid on the load side of the pipeline. S2: If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is within the set range, output the assumed pressure of the fluid on the source side of the pipeline in S1. At this time, the output assumed pressure of the fluid on the source side of the pipeline is used as the optimal pressure on the source side of the pipeline, and the calculation ends. If the error between the new pressure of the fluid on the load side of the pipeline and the required pressure of the fluid on the load side of the pipeline is not within the set range, then calculate the sum of the required pressure of the fluid on the load side of the pipeline and the assumed pressure of the fluid on the source side of the pipeline, subtract the new pressure of the fluid on the load side to obtain the new assumed pressure of the fluid on the source side of the pipeline. Take the new assumed pressure of the fluid on the source side of the pipeline as the assumed pressure of the fluid on the source side of the pipeline in S1, and re - execute S1 - S2. When calculating the optimal pressure on the source side of the pipeline for non - phase - change fluid, the specific steps of S1 include: S11: Determine various attribute parameters of the pipeline and the required pressure P2 of the non - phase - change fluid on the load side of the pipeline. Assume the pressure of the non - phase - change fluid on the source side of the pipeline is P1, and calculate the average pressure P_aver. S11a: P_aver can be obtained from formula (1) S12: According to P_aver obtained in S11, calculate the average physical property parameters of the non - phase - change fluid in the pipeline. Calculate the pressure drop P_drop of the non - phase - change fluid pipeline based on the average physical property parameters of the non - phase - change fluid in the pipeline and P_aver. S13: Based on the assumed pressure P1 of the non - phase - change fluid on the source side of the pipeline in S11, combined with the pressure drop P_drop obtained in S12, calculate the new pressure P2_new of the non - phase - change fluid on the load side of the pipeline. S13a: P2_new can be obtained from the calculation formula (2) P2_new = P1 - P_drop (2) S14: According to P2_new calculated in S13, calculate the error err_P between P2 and P2_new. Set the minimum pressure convergence value eps_P for the non - phase - change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2_new and P2. When calculating the optimal pressure on the source side of the pipeline for non - phase - change fluid, the specific steps of S2 include: S21: According to the pressure error err_P calculated in S14, if the pressure error err_P is less than the preset minimum pressure convergence value eps_P, end the calculation and directly output the current P1. At this time, the output P1 is used as the optimal pressure on the source side of the pipeline. If the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate the new assumed pressure P1_new of the non - phase - change fluid on the source side of the pipeline through P2_new obtained in S13. Take P1_new as P1 in S11 and re - execute S11 - S21. S21a: P1_new can be obtained from formula (3): P1_new = P_aver × 2 - P2_new (3).

2. The optimal hydrodynamic and thermodynamic calculation method for pipeline fluid according to claim 1, characterized in that When calculating the optimal parameters on the source side of the steam pipeline, the specific steps of S1 are as follows: S11: Determine the various property parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline. Assume the steam temperature on the source side of the pipeline is T1 and the steam pressure on the source side of the pipeline is P1, and calculate the average temperature T_aver and average pressure P_aver through calculation; S11a: T_aver and P_aver can be obtained from formula (4): S12: Calculate the average physical property parameters of the pipeline steam according to P_aver and T_aver obtained in S11, and calculate the temperature drop T_drop and pressure drop P_drop of the pipeline according to the average physical property parameters of the pipeline steam, T_aver and P_aver; S13: Calculate the new pressure P2_new of the steam on the load side of the pipeline and the new temperature T2_new of the steam on the load side of the pipeline according to the assumed temperature T1 of the steam on the source side of the pipeline and the assumed pressure P1 of the steam on the source side of the pipeline in S11, combined with the pressure drop P_drop and temperature drop T_drop obtained in S12; S13a: P2_new and T2_new can be obtained from formula (5) P2_new = P1 - P_drop T2_new = T1 - T_drop (5) S14: Calculate the error err_P between P2 and P2_new and the error err_T between T2 and T2_new according to P2_new and T2_new calculated in S13. Preset the minimum pressure convergence value eps_P and the minimum temperature convergence value eps_T. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new.

3. The optimal hydraulic and thermal calculation method for pipeline fluid according to claim 2, characterized in that When calculating the optimal parameters on the source side of the steam pipeline, the specific steps of S2 are as follows: S21: According to the pressure error err_P and temperature error err_T calculated in S14, if both the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is also less than the minimum pressure convergence value eps_P, then end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and optimal temperature on the source side of the pipeline respectively; if the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, then calculate the new assumed pressure P1_new and new assumed temperature T1_new on the source side of the pipeline through P2_new and T2_new obtained in S13, take P1_new as P1 in S11, take T1_new as T1 in S11, and re - execute S11 - S21; S21a: P1_new and T1_new can be obtained from formula (6): P1_new = P_aver × 2 - P2_new T1_new = T_aver × 2 - T2_new (6).

4. A method for optimal hydraulic and thermal calculation of pipeline fluid according to claim 1, characterized in that, err_P is the relative error or absolute error, and eps_P is the error corresponding to the form of err_P.

5. A method for optimal hydraulic and thermal calculation of pipeline fluid according to any one of claims 2-3, characterized in that err_P and err_T are the relative error or absolute error, eps_P is the error corresponding to the form of err_P, and eps_T is the error corresponding to the form of err_T.

6. An optimal hydraulic and thermal calculation system for pipeline fluids, including a memory and a processor, is used to calculate the optimal pressure on the source side of a pipeline for non-phase-change fluids, and is characterized in that: including a preset module, configured to determine various attribute parameters of the pipeline and the required pressure P2 of the non-phase-change fluid on the load side of the pipeline, and assume the pressure P1 of the non-phase-change fluid on the source side of the pipeline. The average pressure P_aver is obtained by calculation, and P_aver can be obtained from formula (1) a first calculation module, configured to calculate the average physical property parameters of the non-phase-change fluid in the pipeline according to P_aver obtained by the preset module, and calculate the pressure drop P_drop of the non-phase-change fluid pipeline according to the average physical property parameters of the non-phase-change fluid in the pipeline and P_aver; a second calculation module, configured to assume the pressure P1 of the non-phase-change fluid on the source side of the pipeline according to the preset module, and calculate the new pressure P2_new of the non-phase-change fluid on the load side of the pipeline in combination with the pressure drop P_drop obtained by the first calculation module. P2_new can be obtained by the calculation formula (2) P2_new = P1 - P_drop (2) a third calculation module, configured to calculate the pressure error err_P between P2 and P2_new according to P2_new calculated by the second calculation module, and preset the minimum pressure convergence value eps_P of the non-phase-change fluid on the load side of the pipeline. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2_new and P2; a judgment module, configured to judge according to the pressure error err_P calculated by the third calculation module. If the pressure error err_P is less than the preset minimum pressure convergence value eps_P, the calculation is ended, and the current P1 is directly output. At this time, the output P1 is used as the optimal pressure on the source side of the pipeline. If the pressure error err_P is greater than the set minimum pressure convergence value eps_P, the new assumed pressure P1_new of the non-phase-change fluid on the source side of the pipeline is calculated through P2_new obtained by the second calculation module, and P1_new is used as P1 in the preset module, and the preset module - judgment module is executed again. P1_new can be obtained from formula (3): P1_new = P_aver × 2 - P2_new (3).

7. An optimal hydraulic and thermal calculation system for pipeline fluids, including a memory and a processor, is used to calculate the optimal parameters on the source side of a steam pipeline. It is characterized in that: including a preset module, configured to determine various attribute parameters of the pipeline and the required temperature T2 and required pressure P2 of the steam on the load side of the pipeline, assume the steam temperature on the source side of the pipeline is T1, assume the steam pressure on the source side of the pipeline is P1, and obtain the average temperature T_aver and average pressure P_aver by calculation. T_aver and P_aver can be obtained from formula (4): a first calculation module, configured to calculate the average physical property parameters of the pipeline steam according to P_aver and T_aver obtained by the preset module, and calculate the temperature drop T_drop and pressure drop P_drop of the pipeline in combination with P_aver and T_aver according to the average physical property parameters of the pipeline steam; A second calculation module, configured to calculate, according to a hypothesized temperature T1 of the steam on the source side of the preset module pipeline and a hypothesized pressure P1 of the steam on the source side of the pipeline, in combination with the pressure drop P_drop and the temperature drop T_drop obtained in S12, a new pressure P2_new of the steam on the load side of the pipeline and a new temperature T2_new of the steam on the load side of the pipeline. P2_new and T2_new can be obtained from formula (5): P2_new = P1 - P_drop T2_new = T1 - T_drop (5) A third calculation module, configured to calculate, according to P2_new and T2_new obtained in S13, a pressure error err_P between P2 and P2_new and a temperature error err_T between T2 and T2_new; a preset minimum pressure convergence value eps_P and a minimum temperature convergence value eps_T. The minimum pressure convergence value eps_P is the maximum allowable error of the error value between P2 and P2_new, and the minimum temperature convergence value eps_T is the maximum allowable error of the error value between T2 and T2_new; A judgment module, configured to, according to the pressure error err_P and the temperature error err_T calculated by the third calculation module, if the temperature error err_T is less than the minimum temperature convergence value eps_T and the pressure error err_P is less than the minimum pressure convergence value eps_P are satisfied simultaneously, end the calculation and directly output the current P1 and T1. At this time, the output P1 and T1 are used as the optimal pressure and the optimal temperature on the source side of the pipeline respectively; if the temperature error err_T is greater than the set minimum temperature convergence value eps_T or the pressure error err_P is greater than the set minimum pressure convergence value eps_P, calculate a new hypothesized pressure P1_new of the source side of the pipeline and a new hypothesized temperature T1_new of the source side of the pipeline from P2_new and T2_new obtained by the second calculation module, use P1_new as P1 in the preset module, use T1_new as T1 in the preset module, and re - execute the preset module - judgment module. P1_new and T1_new can be obtained from formula (6): P1_new = P_aver × 2 - P2_new T1_new = T_aver × 2 - T2_new (6).

8. An electronic device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of an optimal hydraulic - thermal calculation method for pipeline fluid according to any one of claims 1 - 3 are implemented.

9. A computer storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by the processor, the steps of an optimal hydraulic - thermal calculation method for pipeline fluid according to any one of claims 1 - 3 are implemented.

Citation Information

Patent Citations

  • Method of accurately calculating pressure drop and temperature drop of steam pipeline

    CN103823941A