The present disclosure relates to a state estimation method for a heating network in a steady state based on a bilateral equivalent model, belonging to the technical field of the operation and control of comprehensive energy systems.
According to different heating mediums, heating networks can be divided into two categories: hot-water heat-supply networks and steam heat-supply networks. At present, most of China's industrial heating supply uses medium or high pressure steam heat supply networks, and civil heating supply mostly uses hot-water heat-supply networks. In the present disclosure, the hot-water heat-supply network is taken for analysis. According to whether there is a return network, the heating network can be divided into two types: an open network and a closed network.
For the open network, only the supply network of the heating network needs to be analyzed, while for the closed network, it is necessary to study both the supply network and the return network. Generally speaking, for the closed network, the supply network and the return network have the same topological structure. In the prior art, when analyzing the supply network and the return network individually, it is considered that the mass flow rate of each pipeline in the supply network and the return network is approximately the same. Therefore, only the hydraulic operating conditions of the supply network are analyzed, and on this basis, the thermal operating conditions of the supply network and the return network are analyzed. However, this method cannot handle asymmetry circumstances between the supply network and the return network. For example, when a line in the supply network or the return network fails or is being repaired, it will inevitably lead to the asymmetry between the supply network and the return network. On the other hand, the purpose of state estimation is to monitor the operation of the entire network. If the symmetric processing is simply performed, the operating conditions of the return network cannot be monitored.
The purpose of the present disclosure is to propose a state estimation method for a heating network in a steady state based on a bilateral equivalent model. The method may include: establishing the bilateral equivalent model based on a mass flow rate in each supply branch of the heating network, a mass flow rate in each return branch of the heating network, a mass flow rate in each connecting branch of the heating network, a pressure and a temperature of each node in the heating network, in which each heat source is configured as a connecting branch and each heat load is configured as a connecting branch; and repeatedly performing a state estimation on the heating network based on the bilateral equivalent model, until a coverage state estimation result is acquired.
The state estimation method for steady state operation of a heating network based on a bilateral equivalent model proposed by the present disclosure includes the following steps.
(1) Anode-branch incidence matrix for the bilateral equivalent model of the heating network is established, which includes followings.
The structure of the heating network involved in the method of the present disclosure is illustrated in
(1-1) a node-branch incidence matrix A:
The node-branch incidence matrix A represents the topological relationship among nodes and branches in the network. The matrix A consists of three elements: 0, 1, and −1. The elements in the matrix A are defined as follows:
where i represents any node in the heating network, and j represents any branch in the heating network, i=1, 2, . . . , N, and j=1, 2, . . . , B. As shown in
(1-2) a positive node-branch incidence matrix Af:
The positive node-branch incidence matrix Af represents the relationship among the headend nodes of the respective branches and the branches, Af={A|Aij>0}, and the elements in the matrix Af are defined as follows:
where i=1, 2, . . . , N, and j=1, 2, . . . , B.
(1-3) a negative node-branch incidence matrix At:
The negative node-branch incidence matrix At represents the relationship among the tailend nodes of the respective branches and the branches, At={−A|Aij<1}, and the elements in the matrix At are defined as follows:
where i=1, 2, . . . , N, and j=1, 2, . . . , B.
(2) A state estimation is performed on the heating network in steady state operation based on the bilateral equivalent model.
(2-1) A convergence accuracy δ and a maximum number of cycles d of the state estimation for the heating network are set, and a number of cycles a is set to 0 during initialization.
(2-2) The real-time measured operation data of the heating network at a time point t is obtained from a supervisory control and data acquisition system of the heating network, including a pressure H of each node in the heating network, a mass flow rate m of a branch between any two nodes, and a head-end temperature Tf and a tailend temperature Tt of a branch between two nodes, a thermal power ϕq of connecting branches (as illustrated by the dashed lines in
(2-3) A column vector xh is constituted by all the state values to be estimated for the heating network, including a pressure Ĥ of each node in the heating network, a headend temperature and a tailend temperature of the branch between any two nodes.
(2-4) A measurement function f(x) describing a relation between a measurement value and a state value of the heating network is established, in which f(x)=f(xh), and f(xh) is a group of equations describing the thermal system flow, including the following equations:
(2-4-1) a branch pressure loss equation:
The branch pressure loss equation represents a pressure difference between the nodes at the two ends of the branch. The branch pressure loss equation is represented in a matrix form as follows.
A
T
H=ΔH−H
p
where H represents a column vector composed of the pressures of the nodes in the heating network in the above step (2-2), AT represents a transposed matrix of the node-branch incidence matrix A in the above step (1-1), and Hp represents a column vector composed of lifts of pumps on the branches, in which Hp=ampp2+bmp+c, where a, b, and c are pump parameters, which are obtained from the product nameplate of the pumps, mp represents a mass flow rate of the branch where the pump is located, and ΔH represents a column vector composed of pressure losses of respective branches in the heating network, in which ΔH is calculated with the following equation.
ΔH=K·m·|m|
where K represents a friction coefficient of the branch in the heating network, which ranges from 10 to 500 Pa/(kg/s)2, and m represents a mass flow rate of any branch in the heating network.
(2-4-2) a thermal power equation of a connecting branch:
The thermal power equation represents the headend-to-tailend temperature relation of a connecting branch q, which is expressed by the following equation.
ϕq=Cpmq(Tfq−Ttq)
where the superscript q represents the connecting branch, ϕq represents a heating power of the connecting branch, the value of the heating power at the heat load is positive, the value of the heating power at the heat source is negative, and Cp is a specific heat capacity of a heating medium, which is obtained from a physical parameter table of fluid, mq represents a mass flow rate of the connecting branch, Tfq represents a temperature at a headend of the connecting branch, and Ttq represents a temperature at a tailend of the connecting branch.
(3) According to the measurement values of the above step (2-2), an objective function of state estimation for steady state operation of a heating network is established as follows.
min J(xh)=min{[zh−f(xh)]TW[zh−f(xh)]}
where W represents a covariance matrix of the measurement values, the superscript T represents matrix transposition, and J(xh) is an expression of the objective function.
(4) Constraint conditions c(xh) for the steady state operation of the heating network is established, including followings.
(4-1) Mass flow continuity constraints for all nodes are established, and the mass flow continuity constraints are expressed in a matrix form as follows.
AM=0
where M represents a column vector composed of mass flow rates of respective branches in the heating network. The supply branch and the return branch are uniformly equivalent to an ordinary branch, which is represented by the superscript p, and the connecting branch is equivalent to a special branch, which is represented by the superscript q. Thus, M is represented by the following equation.
where Mp represents a sub-vector composed of mass flow rates of the ordinary branches (i.e., the supply branch and the return branch), and Mq represents a sub-vector composed of the mass flow rates of the connecting branch.
(4-2) Temperature mixing constraints for all nodes in the heating network are established.
(Σmout)Tn=Σ(minTin)
where mout represents a mass flow rates of the heating medium in a branch flowing out of a node, min represents a mass flow rates of the heating medium in a branch flowing into a node, Tn represents a temperature of the heating medium after being mixed at the node, and Tin represents a temperature of the heating medium in different branches before being mixed at the node.
The temperature Tin of the heating medium in branches before being mixed at the node is replaced by the tailend temperature Tt of different branches, then the temperature mixing constraints for nodes may be represented in a matrix form as follows.
diag(AfM)Tn=Atdiag(M)Tt
where Af and At represent the positive node-branch incidence matrix in the above step (1-2) and the negative node-branch incidence matrix in the above step (1-3) respectively, and diag(⋅) represents a diagonal matrix.
(4-3) Branch temperature drop constraints are established for all ordinary branches in the heating network. The branch temperature drop constraints are represented in a matrix form as follows.
where Ta represents an ambient temperature, Ttp represents a tailend temperature of the ordinary branch, Tfp represents a headend temperature of the ordinary branch, L represents a length of the ordinary branch, and λ represents a heat transfer coefficient of the ordinary branch in the heating network, the heat transfer coefficients of different materials are different, and the value of the heat transfer coefficient ranges from zero to a few hundreds, which may be obtained in the corresponding data manual, e is the natural logarithm, Cp represents a specific heat capacity of a heating medium, and Mp represents a sub-vector composed of mass flow rates of the ordinary branches (i.e., the supply branch and the return branch).
(5) A Lagrangian function is constituted with the objective function in the above step (3) and the constraints in the above step (4) using a Lagrangian multiplier method, which is represented as follows.
L(xh, ω)=J(xh)+ωTc(xh)
where J(xh) represents the objective function in the above step (3), ω represents a Lagrangian multiplier, c(xh) represents the constraint conditions for the steady state operation of the heating network established in the above step (4), and the superscript T represents matrix transposition.
The Newton-Raphson method in the optimization theory is used to solve the Lagrangian function for the steady state operation of the heating network to obtain a state estimation result for the steady state operation of the heating network.
(6) A convergence judgment is performed on the state estimation result in the above step (5).
If the number of cycles a reaches a preset number of cycles d, that is, a≥d, the current state estimation result is determined as a state estimation result for steady state operation of the heating network based on the bilateral equivalent model at a time point t.
If the number of cycles a does not reach the preset number of cycles d, that is, a<d, the convergence judgement is further performed on the state estimation result according to the accuracy δ of the state estimation for the heating network. If a difference between estimation values xa and xa−1 of state variables in two latest state estimation results is smaller than the accuracy δ of the state estimation, that is, max|xa−xa−1|<δ, the current state estimation result is determined as the state estimation result for steady state operation of the heating network based on the bilateral equivalent model at the time point t. If the difference between estimation values xa and xa−1 of state variables in two latest state estimation results is greater than or equal to the accuracy δ of the state estimation, that is, max|xa−xa−1≤δ, the state variables are updated, and the pressure of the node in the heating network and the headend temperature and the tailend temperature of the branch are updated according to the temperature obtained by the current state estimation, a=a+1 is set, and a process of the current state estimation is continued by returning to step (4).
Number | Date | Country | Kind |
---|---|---|---|
201710957867.X | Oct 2017 | CN | national |
This application is a continuation of International Application No. PCT/CN2017/114463, filed Dec. 4, 2017, which claims priority to Chinese Patent Application No. 201710957867.X, filed Oct. 16, 2017, the entire disclosures of which are incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2017/114463 | Dec 2017 | US |
Child | 16844356 | US |