CN112417698A - Dynamic two-port thermodynamic system model based on quality adjustment - Google Patents
Dynamic two-port thermodynamic system model based on quality adjustment Download PDFInfo
- Publication number
- CN112417698A CN112417698A CN202011336938.2A CN202011336938A CN112417698A CN 112417698 A CN112417698 A CN 112417698A CN 202011336938 A CN202011336938 A CN 202011336938A CN 112417698 A CN112417698 A CN 112417698A
- Authority
- CN
- China
- Prior art keywords
- node
- temperature
- dynamic
- pipeline
- port
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 102
- 239000011159 matrix material Substances 0.000 claims abstract description 89
- 239000013598 vector Substances 0.000 claims description 52
- 238000000034 method Methods 0.000 claims description 21
- 150000001875 compounds Chemical class 0.000 claims description 18
- 239000008400 supply water Substances 0.000 claims description 18
- 238000002347 injection Methods 0.000 claims description 15
- 239000007924 injection Substances 0.000 claims description 15
- 230000011218 segmentation Effects 0.000 claims description 6
- 230000002123 temporal effect Effects 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims 1
- 230000004044 response Effects 0.000 abstract description 7
- 230000002349 favourable effect Effects 0.000 abstract description 2
- 238000004088 simulation Methods 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 9
- 230000005284 excitation Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000000243 solution Substances 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 230000001421 changed effect Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000003345 natural gas Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
- G06F17/13—Differential equations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/10—Numerical modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/14—Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/08—Thermal analysis or thermal optimisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Human Resources & Organizations (AREA)
- Computational Mathematics (AREA)
- Strategic Management (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Marketing (AREA)
- Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- Data Mining & Analysis (AREA)
- Operations Research (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Water Supply & Treatment (AREA)
- Public Health (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Primary Health Care (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a dynamic two-port thermodynamic system model based on quality adjustment, which comprises: 10) establishing a matrix uniform format based on a thermodynamic system dynamic model of a differential format; 20) determining the port type of a dynamic thermodynamic system in a water supply network, and establishing a dynamic two-port thermodynamic system model in the water supply network; 30) determining the port type of the dynamic thermodynamic system in the backwater net, and establishing a dynamic two-port thermodynamic system model in the backwater net. The model establishes direct relation between the boundary condition and the initial condition and the state evolution of the thermodynamic system, quantitatively describes the influence degree of the boundary condition and the initial condition on the state distribution in the thermodynamic system, is favorable for intuitively analyzing the operation flexibility and the safety of the thermodynamic system, and can depict the response of the system to external disturbance.
Description
Technical Field
The invention belongs to the field of energy system modeling and operation analysis, and particularly relates to a dynamic two-port thermodynamic system model based on quality regulation.
Background
The gradual increase of energy consumption and environmental pressure promote the change of low-carbon green energy network technology, and cities serve as main bodies of energy consumption and change, and forward multi-energy-flow and multi-dynamic complex energy networks are changed. The centralized heat supply power system serves as an important component of the urban energy network, and the comprehensive utilization efficiency of the energy system and the consumption capacity of renewable energy can be remarkably improved through interconnection and intercommunication and energy optimization management of the centralized heat supply power system, the power system and the natural gas system. The time scales of operation and management of different energy networks are greatly different, real-time, reliable and consistent network information needs to be acquired based on an accurate simulation model and technology, however, as the multi-energy network belongs to management and operation of different companies, interactive information is very limited, and attention needs to be paid to information protection in the process of joint simulation and operation optimization.
The simulation calculation of the heat supply pipe network is essentially to define a group of state variables to describe the key characteristics of the system, and then to analyze the system mechanism to obtain the change process of all the state variables under given excitation. Because the heat supply pipe network model is a group of nonlinear partial differential equations, the existing mainstream method is to differentiate the pipe model by space-time segmentation, and to perform recursive calculation on the state distribution in the system according to boundary conditions and initial conditions. However, to ensure the computational efficiency, the number of segments required on each pipeline is generally large, so that the whole recursion process is low in computational efficiency, and it is difficult to visually and quantitatively characterize the response degree of the state quantity in the thermodynamic system to the external excitation.
In view of the above disadvantages, it is necessary to develop a dynamic two-port thermodynamic system model that considers both the physical characteristics of the system and the network topology characteristics from the modeling perspective, and establish a direct connection between the external excitation and the state quantity in the system, so as to describe the dynamic process of the system quickly and accurately, which is more beneficial to the simulation calculation and the optimized operation of multiple subjects, and conforms to the application conditions in the actual engineering.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the problems that the existing model analysis depends on a recursion relation, the calculation efficiency is low, the response degree of state quantity in a thermodynamic system to external excitation is difficult to visually and quantitatively depict, and the like, the method provides a dynamic two-port thermodynamic system model based on quality adjustment. And then, converting the traditional recursive pipeline temperature distribution calculation process into a matrix type unified format by introducing a partial constant vector and a constant coefficient matrix. On the basis, a correlation matrix describing the topological connection relation in the system is established, and the correlation matrix and the pipeline flow are segmented according to the precision requirement. And finally, combining the segmented correlation matrix, the segmented pipeline flow and the unified matrix pipeline temperature distribution equation with the node temperature equation to form a two-port model only comprising an input port and an output port.
In order to solve the technical problem, the technical scheme adopts a dynamic two-port thermodynamic system model based on quality adjustment, and the method comprises the following steps:
step 10), establishing a matrix uniform format based on a thermodynamic system dynamic model of a differential format;
step 20) determining the port type of a dynamic thermodynamic system in the water supply network, and establishing a dynamic two-port thermodynamic system model in the water supply network;
and step 30) determining the port type of the dynamic thermodynamic system in the backwater network, and establishing a dynamic two-port thermodynamic system model in the backwater network.
As a further description of the present invention, the step 10) specifically includes:
step 101) establishing a thermodynamic system dynamic model, including a pipeline temperature distribution equation in a partial differential format and a linear node temperature mixed equation:
(∑mout)Tout=(∑minTin) \*MERGEFORMAT (2)
wherein T is the pipeline temperature; m is the mass flow of the pipeline, v is the flow velocity of the pipeline, and lambda is the heat conductivity coefficient of the pipeline; t isaIs ambient temperature; cρThe specific heat capacity of the working medium; m isoutFor pipe flow into the node, minAn outgoing flow that is a node; x represents a spatial scale and t represents a temporal scale; t isoutIs the node outflow temperature, TinTo linearize the end temperature of the node inflow pipe, the equation (1) is linearized using an implicit differential format, which can be expressed as
In the formula, mu1-4Coefficient terms representing different temperature components; the coefficient terms of α and β are constructed for convenience of description; tau and h are respectively differential space-time step length; k represents a differential time step, i represents a differential space step;
step 102) establishing a matrix uniform format for describing the temperature distribution of the pipeline based on the differential thermodynamic system dynamic model:
in the formula (I), the compound is shown in the specification,andrespectively representing segmented pipeline temperature vectors at the k +1 moment and the k moment; m represents the number of spatial segments of the pipeline;representing the temperature corresponding to each segmented point on the pipeline at the moment k; u and V are constant matrices composed of the coefficients in the equation (3), and are respectively expressed as:
χ and γ represent the vectors used to characterize the boundary conditions of the temperature of the pipeline, respectively. χ is used to delineate a known set of boundary conditions, wherein χi=μ4Ta(1. ltoreq. i. ltoreq.M), for a pipeline of known boundary conditions, χ0Equal to the boundary condition of the pipeline, otherwise χ0Equal to 0; gamma is used to delineate a set of unknown boundary conditions, which can be expressed as
In the formula (I), the compound is shown in the specification,for the corrected head end temperature-node temperature correlation matrix of the segmented pipeline in the water supply network, the head end temperature-node water supply temperature correlation matrix of the segmented pipeline is usedAnd (6) obtaining. Behavior 0 of the pipe set corresponding to the known boundary condition,corresponding dimension is (M +1) Np×NhIn which N ispIndicating the number of thermodynamic system pipe sections, NhRepresenting the number of thermodynamic system nodes;
pipeline starting temperature T in thermodynamic systempsNamely the mixed water supply temperature T of the nodes,nThrough a correlation matrix A of pipeline initial temperature-node water supply temperaturesAssociation, which can be expressed as
Tps=AsTs,n \*MERGEFORMAT (9)
Wherein A issThe ith row of (1) the jth element as,ij1 denotes that the starting temperature of conduit i equals the supply water temperature at node j, otherwise as,ij0. Accordingly, the method can be used for solving the problems that,the values of the medium elements can be expressed as:
step 103) deriving a matrix uniform format for describing the temperature distribution of the pipeline in the backwater net, wherein the equations (5) - (7) are still applicable to the backwater net due to the topology structure of the backwater net being the same as that of the water supply net, and the difference is characterized in that boundary conditions are depicted, and the equations (8) - (10) are respectively transformed in the backwater net:
Tps=ArTr,n \*MERGEFORMAT (11)
wherein, Tr,nIndicating the node mixed return water temperature, ArRepresents a correlation matrix of the initial temperature of the pipeline and the return water temperature of the node, ArThe ith row of (1) the jth element ar,ij1 represents that the initial temperature of the pipeline i is equal to the return water temperature of the node j, otherwise ar,ij=0,For the corrected head end temperature-node temperature correlation matrix of the segmented pipeline in the backwater network, the head end temperature-node backwater temperature correlation matrix of the pipeline based on the segmentationThe acquisition step is carried out by the user, behavior 0 of the pipe set corresponding to the known boundary condition,has a dimension of (M +1) Np×Nh. Accordingly, the method can be used for solving the problems that,the values of the medium elements can be expressed as:
as a further explanation of the present invention, the step 20) determines the port type of the dynamic thermodynamic system in the water supply network, and establishes a dynamic two-port thermodynamic system model in the water supply network, specifically as follows:
step 201) in the dynamic thermodynamic model, the distribution of the node state in the water supply network is mainly determined by boundary conditions and initial conditions, so that in the dynamic two-port model in the water supply network, the input port is the boundary conditions and the initial conditions of the pipeline temperature at the given k moment, and the output port is the node water supply temperature distribution at the k +1 moment;
step 202) a net outflow flow matrix Ms, out of nodes in the water supply network, comprising node outflow to pipe sections and node flows, may be expressed as
Ms,out=diag(As,outm+d) \*MERGEFORMAT (14)
In the formula, As,outAs an association matrix of nodes and outflow conduits in the water supply network, as,out,ij1 denotes the flow from node i to conduit j, as,out,ij0 means that the flow from node i is independent of pipe j; d represents the node injection flow; net injection flow to nodes in water supply networkCan be equivalently the endmost injection node segmented by the pipeline, can be represented as
Wherein M' represents the segmented pipeline flow, and the dimension of the segmented pipeline flow is (M +1) NpX 1, which can be expressed as:
a node and inflow pipe association matrix representing segments in a water supply network, having a dimension Nh×(M+1)NpFrom the correlation matrix AsinAnd (6) obtaining. a iss,in,ij1 denotes that pipe j flows into node i, otherwise as,in,ij0. Accordingly, the method can be used for solving the problems that, middle elementThe values of (a) can be expressed as:
substituting the formula (5), the formula (14) -the formula (17) into the formula (2), a matrix-type dynamic model in the water supply network can be expressed as
In the formula (I), the compound is shown in the specification,the tabular value is equal to the node water supply temperature vector for the given boundary condition,representing an unknown node supply water temperature vector,a water supply temperature vector representing the pipe section for a given boundary condition,a temperature vector representing a pipe segment for which no boundary condition is given; ms,bdAnd Ms,gdAre respectively a matrix MsA medium element corresponding to the components of the node of the known supply water temperature and the node of the unknown supply water temperature;andare respectively a matrixMiddle element;andare respectively vectorA medium element corresponding to the components of the node of the known supply water temperature and the node of the unknown supply water temperature;
Ms,andrespectively representing a coefficient matrix and a constant vector of the middle dynamic two-port model in the water supply network, wherein the coefficient matrix and the constant vector are respectively represented as follows:
suppose thatThe initial condition of the water supply temperature of the pipeline after the given time k is segmented is shown, and according to the formula (18), the dynamic two-port model can be shown as follows:
in the formula (I), the compound is shown in the specification,andrespectively is a constant coefficient matrix and a constant vector of the dynamic two-port model in the water supply network.
As a further explanation of the present invention, the step 30) determines the port type of the dynamic thermodynamic system in the backwater network, and establishes a dynamic two-port thermodynamic system model in the backwater network, specifically as follows:
step 301) in the dynamic thermodynamic model, the distribution of the node states in the backwater network is mainly determined by boundary conditions and initial conditions, therefore, in the dynamic two-port model in the backwater network, the input port is the boundary condition and the initial condition of the pipeline temperature at the given k moment, the output port is the node backwater temperature distribution at the k +1 moment,
step 302) Net outflow matrix M of nodes in the Return networkr,outIncluding the outflow from the node to the pipe section and the node flow, can be expressed as
Mr,out=diag(Ar,outm-d) \*MERGEFORMAT (21)
In the formula, Ar,outIs an incidence matrix of nodes and outflow pipes in the backwater network, ar,out,ij1 denotes the flow from node i to conduit j, ar,out,ij0 means that the flow out of node i is independent of pipe j. Net injection flow to nodes in a backwater netCan be equivalently the endmost injection node segmented by the pipeline, can be represented as
A node and inflow pipe association matrix representing segments in a water supply network, having a dimension Nh×(M+1)NpFrom the correlation matrix Ar,inAnd (6) obtaining. a isr,in,ij1 denotes that pipe j flows into node i, otherwise ar,in,ij0. Accordingly, the method can be used for solving the problems that,middle elementThe values of (a) can be expressed as:
substituting the formula (5), the formula (21) and the formula (23) into the formula (2), a matrix type dynamic model in the backwater net can be expressed as
In the formula (I), the compound is shown in the specification,the tabular value is equal to the node return water temperature vector for the given boundary condition,representing an unknown node return water temperature vector,a return water temperature vector for the pipe section representing a given boundary condition,a temperature vector representing a pipe segment for which no boundary condition is given; mr,bdAnd Mr,gdAre respectively a matrix MrA medium element corresponding to the components of a node of known return water temperature and a node of unknown return water temperature;andare respectively a matrixMiddle element; jdybr, bd andare respectively vectorA medium element corresponding to the components of a node of known return water temperature and a node of unknown return water temperature; mr,Andrespectively representing a coefficient matrix and a constant vector of the middle dynamic two-port model in the backwater net,respectively expressed as:
suppose thatAnd (3) representing the initial condition of the return water temperature of the pipeline after the given segmentation at the moment k, wherein according to the formula (18), the dynamic two-port model can be represented as follows:
in the formula (I), the compound is shown in the specification,andrespectively is a constant coefficient matrix and a constant vector of the dynamic two-port model in the backwater net.
The invention has the beneficial effects that: compared with the prior art, the invention has the following beneficial effects: the model directly links the boundary conditions, the initial conditions and the state quantity of the system to be solved, so that the calculation efficiency of the thermodynamic system time sequence simulation is effectively improved; the weight coefficient for connecting the two ports reflects the influence degree of the input end on the output end, and the response of the output end to the input end can be quantitatively described; in addition, because the complex thermodynamic system model is a two-port model, for different operation scenes, the thermodynamic system can obtain the operation state of the network only by opening the input and output ports.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 illustrates an embodiment of the present invention;
FIG. 2 is a flow chart of timing simulation using a dynamic two-port heat network model according to an embodiment of the present invention;
FIG. 3 is a block diagram of a thermodynamic system employed in an embodiment of the present invention;
FIG. 4 is a comparison of the time sequence of the variation of the end temperature of the pipe 6 with the variation of the heat source temperature in the dynamic port model and the static model according to the embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
The thermodynamic system shown in fig. 3 is taken as an example for explanation. And each pipeline is divided into 50 ends, the time step is 40s, the ambient temperature is-10 ℃, the co-simulation is carried out for 20000s, and a sinusoidal disturbance is added at a heat source at 800s-1400s and is used for observing the response of the system to external excitation.
As shown in fig. 1, an embodiment of the present invention provides a dynamic two-port thermodynamic system model based on quality adjustment, including the following steps:
step 10), establishing a matrix uniform format based on a thermodynamic system dynamic model of a differential format;
step 20) determining the port type of a dynamic thermodynamic system in the water supply network, and establishing a dynamic two-port thermodynamic system model in the water supply network;
and step 30) determining the port type of the dynamic thermodynamic system in the backwater network, and establishing a dynamic two-port thermodynamic system model in the backwater network.
In the above embodiment, the step 10) specifically includes:
step 101) establishing a thermodynamic system dynamic model, including a pipeline temperature distribution equation in a partial differential format and a linear node temperature mixed equation:
(∑mout)Tout=(∑minTin) \*MERGEFORMAT (2)
wherein T is the pipeline temperature; m is the mass flow of the pipeline, v is the flow velocity of the pipeline, and lambda is the heat conductivity coefficient of the pipeline; t isaIs ambient temperature; cρThe specific heat capacity of the working medium; m isoutFor pipe flow into the node, minAn outgoing flow that is a node; x represents a spatial scale and t represents a temporal scale; t isoutIs the node outflow temperature, TinTo linearize the end temperature of the node inflow pipe, the equation (1) is linearized using an implicit differential format, which can be expressed as
In the formula, mu1-4Coefficient terms representing different temperature components; the coefficient terms of α and β are constructed for convenience of description; tau and h are respectively differential space-time step length; k represents the time step of the difference and i represents the space step of the difference.
Step 102) establishing a matrix uniform format for describing the temperature distribution of the pipeline based on the differential thermodynamic system dynamic model:
in the formula (I), the compound is shown in the specification,andrespectively representing segmented pipeline temperature vectors at the k +1 moment and the k moment; m represents the number of spatial segments of the pipeline;representing the temperature corresponding to each segmented point on the pipeline at the moment k; u and V are constant matrices composed of the coefficients in the equation (3), and are respectively expressed as:
χ and γ represent the vectors used to characterize the boundary conditions of the temperature of the pipeline, respectively. χ is used to delineate a known set of boundary conditions, wherein χi=μ4Ta(1. ltoreq. i. ltoreq.M), for a pipeline of known boundary conditions, χ0Equal to the boundary condition of the pipeline, otherwise χ0Equal to 0; gamma is used to delineate a set of unknown boundary conditions, which can be expressed as
In the formula (I), the compound is shown in the specification,for the corrected head end temperature-node temperature correlation matrix of the segmented pipeline in the water supply network, the head end temperature-node water supply temperature correlation matrix of the segmented pipeline is usedAnd (6) obtaining.Corresponds to knownBehavior 0 of the pipe set of the boundary condition,corresponding dimension is (M +1) Np×NhIn which N ispIndicating the number of thermodynamic system pipe sections, NhRepresenting the number of thermodynamic system nodes;
pipeline starting temperature T in thermodynamic systempsNamely the mixed water supply temperature T of the nodes,nThrough a correlation matrix A of pipeline initial temperature-node water supply temperaturesAssociation, which can be expressed as
Tps=AsTs,n \*MERGEFORMAT (9)
Wherein A issThe ith row of (1) the jth element as,ij1 denotes that the starting temperature of conduit i equals the supply water temperature at node j, otherwise as,ij0. Accordingly, the method can be used for solving the problems that,the values of the medium elements can be expressed as:
step 103) deriving a matrix uniform format for describing the temperature distribution of the pipeline in the backwater net, wherein the equations (5) - (7) are still applicable to the backwater net due to the topology structure of the backwater net being the same as that of the water supply net, and the difference is characterized in that boundary conditions are depicted, and the equations (8) - (10) are respectively transformed in the backwater net:
Tps=ArTr,n \*MERGEFORMAT (11)
wherein, Tr,nIndicating the node mixed return water temperature, ArRepresents a correlation matrix of the initial temperature of the pipeline and the return water temperature of the node, ArThe ith row of (1) the jth element ar,ij1 denotes that the initial temperature of the pipe i is equal to the pitchReturn water temperature at point j, otherwise ar,ij=0,
For the corrected head end temperature-node temperature correlation matrix of the segmented pipeline in the backwater network, the head end temperature-node backwater temperature correlation matrix of the pipeline based on the segmentationThe acquisition step is carried out by the user, behavior 0 of the pipe set corresponding to the known boundary condition,has a dimension of (M +1) Np×Nh. Accordingly, the method can be used for solving the problems that,the values of the medium elements can be expressed as:
in the above embodiment, the step 20) specifically includes:
step 201) in the dynamic thermodynamic model, the distribution of the node state in the water supply network is mainly determined by boundary conditions and initial conditions, so that in the dynamic two-port model in the water supply network, the input port is the boundary conditions and the initial conditions of the pipeline temperature at the given k moment, and the output port is the node water supply temperature distribution at the k +1 moment;
step 202) Net outflow matrix M for nodes in Water supply networks,outIncluding the outflow from the node to the pipe section and the node flow, can be expressed as
Ms,out=diag(As,outm+d) \*MERGEFORMAT (14)
In the formula, As,outFor nodes and outflow conduits in water supply networksThe correlation matrix of as,out,ij1 denotes the flow from node i to conduit j, as,out,ij0 means that the flow from node i is independent of pipe j; d represents the node injection flow; net injection flow to nodes in water supply networkCan be equivalently the endmost injection node segmented by the pipeline, can be represented as
Wherein M' represents the segmented pipeline flow, and the dimension of the segmented pipeline flow is (M +1) NpX 1, which can be expressed as:
a node and inflow pipe association matrix representing segments in a water supply network, having a dimension Nh×(M+1)NpFrom the correlation matrix AsinAnd (6) obtaining. a iss,in,ij1 denotes that pipe j flows into node i, otherwise as,in,ij0. Accordingly, the method can be used for solving the problems that, middle elementThe values of (a) can be expressed as:
substituting the formula (5), the formula (14) -the formula (17) into the formula (2), a matrix-type dynamic model in the water supply network can be expressed as
In the formula (I), the compound is shown in the specification,the tabular value is equal to the node water supply temperature vector for the given boundary condition,representing an unknown node supply water temperature vector,a water supply temperature vector representing the pipe section for a given boundary condition,a temperature vector representing a pipe segment for which no boundary condition is given; ms,bdAnd Ms,gdAre respectively a matrix MsA medium element corresponding to the components of the node of the known supply water temperature and the node of the unknown supply water temperature;andare respectively a matrixMiddle element;andare respectively vectorMiddle element, corresponding toThe components of the node of the known supply water temperature and the node of the unknown supply water temperature;
Ms,andrespectively representing a coefficient matrix and a constant vector of the middle dynamic two-port model in the water supply network, wherein the coefficient matrix and the constant vector are respectively represented as follows:
suppose thatThe initial condition of the water supply temperature of the pipeline after the given time k is segmented is shown, and according to the formula (18), the dynamic two-port model can be shown as follows:
in the formula (I), the compound is shown in the specification,andrespectively is a constant coefficient matrix and a constant vector of the dynamic two-port model in the water supply network.
In the above embodiment, the step 30) specifically includes:
step 301) in the dynamic thermodynamic model, the distribution of the node states in the backwater network is mainly determined by boundary conditions and initial conditions, therefore, in the dynamic two-port model in the backwater network, the input port is the boundary condition and the initial condition of the pipeline temperature at the given k moment, the output port is the node backwater temperature distribution at the k +1 moment,
step 302) backwater netThe net outgoing flow matrix M of the node inr,outIncluding the outflow from the node to the pipe section and the node flow, can be expressed as
Mr,out=diag(Ar,outm-d) \*MERGEFORMAT (21)
In the formula, Ar,outIs an incidence matrix of nodes and outflow pipes in the backwater network, ar,out,ij1 denotes the flow from node i to conduit j, ar,out,ij0 means that the flow out of node i is independent of pipe j. Net injection flow to nodes in a backwater netCan be equivalently the endmost injection node segmented by the pipeline, can be represented as
A node and inflow pipe association matrix representing segments in a water supply network, having a dimension Nh×(M+1)NpFrom the correlation matrix Ar,inAnd (6) obtaining. a isr,in,ij1 denotes that pipe j flows into node i, otherwise ar,in,ij0. Accordingly, the method can be used for solving the problems that,middle elementThe values of (a) can be expressed as:
substituting the formula (5), the formula (21) and the formula (23) into the formula (2), a matrix type dynamic model in the backwater net can be expressed as
In the formula (I), the compound is shown in the specification,the tabular value is equal to the node return water temperature vector for the given boundary condition,representing an unknown node return water temperature vector,a return water temperature vector for the pipe section representing a given boundary condition,a temperature vector representing a pipe segment for which no boundary condition is given; mr,bdAnd Mr,gdAre respectively a matrix MrA medium element corresponding to the components of a node of known return water temperature and a node of unknown return water temperature;andare respectively a matrixMiddle element; jdybr, bd andare respectively vectorA medium element corresponding to the components of a node of known return water temperature and a node of unknown return water temperature; mr,Andrespectively representing the coefficient matrix and the constant vector of the middle dynamic two-port model in the backwater net, and respectively representing as follows:
suppose thatAnd (3) representing the initial condition of the return water temperature of the pipeline after the given segmentation at the moment k, wherein according to the formula (18), the dynamic two-port model can be represented as follows:
in the formula (I), the compound is shown in the specification,andrespectively is a constant coefficient matrix and a constant vector of the dynamic two-port model in the backwater net. Calculating the temperature distribution of the thermodynamic system at different moments in the simulation process using said equation (26), wherein at a simulation time of 800-1400 s a sinusoidal disturbance is added at the boundary condition, i.e. T is changeds,bdThe values at 800s-1400s were kept constant for the rest of the time, and the results of the calculations are shown by taking the temperatures at the ends of the pipes 1 and 5 as examples. As shown in fig. 4, the temperature at the end of the pipe responds to the excitation disturbance at the heat source after a delay, the length of which is related to the distance. Compared with the traditional model, the model provided by the invention does not need layer-by-layer iteration, directly depicts the response of the pipeline temperature to the heat source disturbance, has high calculation efficiency, and is favorable for giving intuitive guidance suggestion on the adjustment mode of the heat source in advance.
According to the dynamic two-port heat supply network model based on mass adjustment, provided by the embodiment of the invention, the boundary condition, the initial condition and the state quantity of the system to be solved are directly linked together, so that the calculation efficiency of the thermodynamic system time sequence simulation is effectively improved; the weight coefficient for connecting the two ports reflects the influence degree of the input end on the output end, and the response of the output end to the input end can be quantitatively described; in addition, because a complex thermodynamic system model is a two-port model, the thermodynamic system can obtain the running state of the network only by opening the input port and the output port in different running scenes, so that the internal information is protected.
It will be appreciated by those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the spirit and scope of the invention, and any equivalents thereto, such as those skilled in the art, are intended to be embraced therein.
Claims (4)
1. A dynamic two-port thermodynamic system model based on quality adjustment is characterized in that the model construction comprises the following steps:
step 10), establishing a matrix uniform format based on a thermodynamic system dynamic model of a differential format;
step 20) determining the port type of a dynamic thermodynamic system in the water supply network, and establishing a dynamic two-port thermodynamic system model in the water supply network;
and step 30) determining the port type of the dynamic thermodynamic system in the backwater network, and establishing a dynamic two-port thermodynamic system model in the backwater network.
2. The dynamic two-port thermodynamic system model based on quality adjustment according to claim 1, wherein the step 10) is based on a thermodynamic system dynamic model in a differential format to establish a matrix uniform format, and the specific steps are as follows:
step 101) establishing a thermodynamic system dynamic model, including a pipeline temperature distribution equation in a partial differential format and a linear node temperature mixed equation:
(∑mout)Tout=(∑minTin) \*MERGEFORMAT (2)
wherein T is the pipeline temperature; m is the mass flow of the pipeline, v is the flow velocity of the pipeline, and lambda is the heat conductivity coefficient of the pipeline; t isaIs ambient temperature; cρThe specific heat capacity of the working medium; m isoutFor pipe flow into the node, minAn outgoing flow that is a node; x represents a spatial scale and t represents a temporal scale; t isoutIs the node outflow temperature, TinTo linearize the end temperature of the node inflow pipe, the equation (1) is linearized using an implicit differential format, which can be expressed as
In the formula, mu1-4Coefficient terms representing different temperature components; the coefficient terms of α and β are constructed for convenience of description; tau and h are respectively differential space-time step length; k represents a differential time step, i represents a differential space step;
step 102) establishing a matrix uniform format for describing the temperature distribution of the pipeline based on the differential thermodynamic system dynamic model:
in the formula (I), the compound is shown in the specification,andrespectively representing segmented pipeline temperature vectors at the k +1 moment and the k moment; m represents the number of spatial segments of the pipeline;representing the temperature corresponding to each segmented point on the pipeline at the moment k; u and V are constant matrices composed of the coefficients in the equation (3), and are respectively expressed as:
χ and γ represent the vectors used to characterize the boundary conditions of the temperature of the pipeline, respectively. χ is used to delineate a known set of boundary conditions, wherein χi=μ4Ta(1. ltoreq. i. ltoreq.M), for a pipeline of known boundary conditions, χ0Equal to the boundary condition of the pipeline, otherwise χ0Equal to 0; gamma is used to delineate a set of unknown boundary conditions, which can be expressed as
In the formula (I), the compound is shown in the specification,for the corrected head end temperature-node temperature correlation matrix of the segmented pipeline in the water supply network, the head end temperature-node water supply temperature correlation matrix of the segmented pipeline is usedAnd (6) obtaining.Behavior 0 of the pipe set corresponding to the known boundary condition,corresponding dimension is (M +1) Np×NhIn which N ispIndicating the number of thermodynamic system pipe sections, NhRepresenting the number of thermodynamic system nodes;
pipeline starting temperature T in thermodynamic systempsNamely the mixed water supply temperature T of the nodes,nThrough a correlation matrix A of pipeline initial temperature-node water supply temperaturesAssociation, which can be expressed as
Tps=AsTs,n \*MERGEFORMAT (9)
Wherein A issThe ith row of (1) the jth element as,ij1 denotes that the starting temperature of conduit i equals the supply water temperature at node j, otherwise as,ij0. Accordingly, the method can be used for solving the problems that,the values of the medium elements can be expressed as:
step 103) deriving a matrix uniform format for describing the temperature distribution of the pipeline in the backwater net, wherein the equations (5) - (7) are still applicable to the backwater net due to the topology structure of the backwater net being the same as that of the water supply net, and the difference is characterized in that boundary conditions are depicted, and the equations (8) - (10) are respectively transformed in the backwater net:
Tps=ArTr,n \*MERGEFORMAT (11)
wherein,Tr,nIndicating the node mixed return water temperature, ArRepresents a correlation matrix of the initial temperature of the pipeline and the return water temperature of the node, ArThe ith row of (1) the jth element ar,ij1 represents that the initial temperature of the pipeline i is equal to the return water temperature of the node j, otherwise ar,ij=0,For the corrected head end temperature-node temperature correlation matrix of the segmented pipeline in the backwater network, the head end temperature-node backwater temperature correlation matrix of the pipeline based on the segmentation The acquisition step is carried out by the user,behavior 0 of the pipe set corresponding to the known boundary condition,has a dimension of (M +1) Np×Nh. Accordingly, the method can be used for solving the problems that,the values of the medium elements can be expressed as:
3. the dynamic two-port thermodynamic system model based on quality adjustment according to claim 2, wherein the step 20) determines the type of the dynamic thermodynamic system port in the water supply network, and establishes the dynamic two-port thermodynamic system model in the water supply network as follows:
step 201) in the dynamic thermodynamic model, the distribution of the node state in the water supply network is mainly determined by boundary conditions and initial conditions, so that in the dynamic two-port model in the water supply network, the input port is the boundary conditions and the initial conditions of the pipeline temperature at the given k moment, and the output port is the node water supply temperature distribution at the k +1 moment;
step 202) Net outflow matrix M for nodes in Water supply networks,outIncluding the outflow from the node to the pipe section and the node flow, can be expressed as
Ms,out=diag(As,outm+d) \*MERGEFORMAT (14)
In the formula, As,outAs an association matrix of nodes and outflow conduits in the water supply network, as,out,ij1 denotes the flow from node i to conduit j, as,out,ij0 means that the flow from node i is independent of pipe j; d represents the node injection flow; net injection flow to nodes in water supply networkCan be equivalently the endmost injection node segmented by the pipeline, can be represented as
Wherein M' represents the segmented pipeline flow, and the dimension of the segmented pipeline flow is (M +1) NpX 1, which can be expressed as:
a node and inflow pipe association matrix representing segments in a water supply network, having a dimension Nh×(M+1)NpFrom the correlation matrix AsinAnd (6) obtaining. a iss,in,ij1 denotes that pipe j flows into node i, otherwise as,in,ij0. Accordingly, the method can be used for solving the problems that,middle elementThe values of (a) can be expressed as:
substituting the formula (5), the formula (14) -the formula (17) into the formula (2), a matrix-type dynamic model in the water supply network can be expressed as
In the formula (I), the compound is shown in the specification,the tabular value is equal to the node water supply temperature vector for the given boundary condition,representing an unknown node supply water temperature vector,a water supply temperature vector representing the pipe section for a given boundary condition,a temperature vector representing a pipe segment for which no boundary condition is given; ms,bdAnd Ms,gdAre respectively a matrix MsA medium element corresponding to the components of the node of the known supply water temperature and the node of the unknown supply water temperature; andare respectively a matrixMiddle element;andare respectively vectorA medium element corresponding to the components of the node of the known supply water temperature and the node of the unknown supply water temperature;
Ms,andrespectively representing a coefficient matrix and a constant vector of the middle dynamic two-port model in the water supply network, wherein the coefficient matrix and the constant vector are respectively represented as follows:
suppose thatRepresenting initial conditions of the water supply temperature of the pipeline after the given k-time segmentation, and according to the formula (18), a dynamic two-port model supplies waterThe net can be represented as:
4. The dynamic two-port thermodynamic system model based on quality adjustment according to claim 3, wherein the step 30) determines the type of the dynamic thermodynamic system port in the backwater network, and establishes the dynamic two-port thermodynamic system model in the backwater network, specifically as follows:
step 301) in the dynamic thermodynamic model, the distribution of the node states in the backwater network is mainly determined by boundary conditions and initial conditions, therefore, in the dynamic two-port model in the backwater network, the input port is the boundary condition and the initial condition of the pipeline temperature at the given k moment, the output port is the node backwater temperature distribution at the k +1 moment,
step 302) Net outflow matrix M of nodes in the Return networkr,outIncluding the outflow from the node to the pipe section and the node flow, can be expressed as
Mr,out=diag(Ar,outm-d) \*MERGEFORMAT (21)
In the formula, Ar,outIs an incidence matrix of nodes and outflow pipes in the backwater network, ar,out,ij1 denotes the flow from node i to conduit j, ar,out,ij0 means that the flow out of node i is independent of pipe j. Net injection flow to nodes in a backwater netCan be equivalently segmented by the last of the pipesEnd injection node, which can be represented as
A node and inflow pipe association matrix representing segments in a water supply network, having a dimension Nh×(M+1)NpFrom the correlation matrix Ar,inAnd (6) obtaining. a isr,in,ij1 denotes that pipe j flows into node i, otherwise ar,in,ij0. Accordingly, the method can be used for solving the problems that,middle elementThe values of (a) can be expressed as:
substituting the formula (5), the formula (21) and the formula (23) into the formula (2), a matrix type dynamic model in the backwater net can be expressed as
In the formula (I), the compound is shown in the specification,the tabular value is equal to the node return water temperature vector for the given boundary condition,representing an unknown node return water temperature vector,a return water temperature vector for the pipe section representing a given boundary condition,a temperature vector representing a pipe segment for which no boundary condition is given; mr,bdAnd Mr,gdAre respectively a matrix MrA medium element corresponding to the components of a node of known return water temperature and a node of unknown return water temperature; andare respectively a matrixMiddle element; jdybr, bd andare respectively vectorA medium element corresponding to the components of a node of known return water temperature and a node of unknown return water temperature; mr,Andrespectively representing the coefficient matrix and the constant vector of the middle dynamic two-port model in the backwater net, and respectively representing as follows:
suppose thatAnd (3) representing the initial condition of the return water temperature of the pipeline after the given segmentation at the moment k, wherein according to the formula (18), the dynamic two-port model can be represented as follows:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011336938.2A CN112417698B (en) | 2020-11-25 | 2020-11-25 | Dynamic two-port thermodynamic system model based on quality adjustment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011336938.2A CN112417698B (en) | 2020-11-25 | 2020-11-25 | Dynamic two-port thermodynamic system model based on quality adjustment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112417698A true CN112417698A (en) | 2021-02-26 |
CN112417698B CN112417698B (en) | 2024-04-19 |
Family
ID=74843776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011336938.2A Active CN112417698B (en) | 2020-11-25 | 2020-11-25 | Dynamic two-port thermodynamic system model based on quality adjustment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112417698B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111191182A (en) * | 2019-12-17 | 2020-05-22 | 东南大学 | Static combined heat and power flow hybrid solving method based on linearized thermal model |
CN111428962A (en) * | 2020-02-19 | 2020-07-17 | 清华大学 | Electric heating cooperative scheduling method based on heat supply network dynamic characteristic port equivalent model |
US20200233387A1 (en) * | 2017-10-16 | 2020-07-23 | Tsinghua University | State estimation method for heating network in steady state based on bilateral equivalent model |
-
2020
- 2020-11-25 CN CN202011336938.2A patent/CN112417698B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200233387A1 (en) * | 2017-10-16 | 2020-07-23 | Tsinghua University | State estimation method for heating network in steady state based on bilateral equivalent model |
CN111191182A (en) * | 2019-12-17 | 2020-05-22 | 东南大学 | Static combined heat and power flow hybrid solving method based on linearized thermal model |
CN111428962A (en) * | 2020-02-19 | 2020-07-17 | 清华大学 | Electric heating cooperative scheduling method based on heat supply network dynamic characteristic port equivalent model |
Non-Patent Citations (2)
Title |
---|
姚帅 等: "一种考虑建筑物蓄热特性的分布式冷热电联供系统运行优化方法", 分布式能源, vol. 3, no. 4, 31 August 2018 (2018-08-31) * |
王罡 等: "热力系统流体网络法的研究", 现代电力, no. 02, 30 April 2005 (2005-04-30) * |
Also Published As
Publication number | Publication date |
---|---|
CN112417698B (en) | 2024-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019200662A1 (en) | Stability evaluation and static control method for electricity-heat-gas integrated energy system | |
Du et al. | ADMM-based distributed state estimation for integrated energy system | |
CN109242365A (en) | A kind of Interval Power Flow calculation method of electric-thermal interconnection integrated energy system | |
CN113657660B (en) | Heat source load prediction method based on substation load and heat supply network hysteresis model | |
CN110795845B (en) | Heat supply system margin quantitative calculation method and system | |
CN110287509B (en) | Flexible analysis and structural defect diagnosis and positioning method and system for urban heat supply network | |
CN113111515B (en) | Unified modeling method of comprehensive energy system | |
CN111626003B (en) | Heating system heat load layered prediction method, storage medium and prediction equipment | |
CN114547894A (en) | Regional comprehensive energy system-oriented carbon emission flow calculation method and device | |
Zang et al. | A robust state estimator for integrated electrical and heating networks | |
CN107871058A (en) | Tidal current computing method, device, equipment and the storage medium of electric heating association system | |
CN111563332B (en) | Urban water supply pipe network leakage positioning method based on night pressure regulation actual measurement | |
CN110688744A (en) | Asynchronous distributed state estimation method applied to thermoelectric coupling network | |
CN111783309A (en) | Dynamic simulation method of steam heating network based on internal conservation | |
Boulos et al. | A graph-theoretic approach to explicit nonlinear pipe network optimization | |
CN114896891A (en) | Steam simulation calculation method based on error correction of nuclear extreme learning machine | |
CN112417698A (en) | Dynamic two-port thermodynamic system model based on quality adjustment | |
CN114021490A (en) | Dynamic full-analysis method for hot water network | |
CN112182905B (en) | Heat supply pipe network simulation method and device for comprehensive energy system | |
CN113269449B (en) | Node level dispersion method for gas source gas supply flow scheduling of natural gas system | |
CN112670997B (en) | Electric heating energy system time sequence probability power flow calculation method considering photovoltaic uncertainty | |
CN114912291A (en) | Newly-added monitoring point arrangement method and device serving water supply network hydraulic model checking | |
CN114970987B (en) | Thermoelectric-simulation-model-based optimal scheduling method and system for electric heating comprehensive energy system | |
Agner et al. | Hydraulic Parameter Estimation in District Heating Networks | |
Liu et al. | Research on soil thermal conductivity prediction algorithm based on improved BP neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |