Академический Документы
Профессиональный Документы
Культура Документы
0RYLQJ%RXQGDU\0RGHOVIRU'\QDPLF6LPXODWLRQVRI7ZR3KDVH)ORZV
QG,QWHUQDWLRQDO0RGHOLFD&RQIHUHQFH3URFHHGLQJVSS
3DSHUSUHVHQWHGDWWKHQG,QWHUQDWLRQDO0RGHOLFD&RQIHUHQFH0DUFK
'HXWVFKHV=HQWUXPIU/XIWXQG5DXPIDKUWH9'/52EHUSIDIIHQKRIHQ*HUPDQ\
$OOSDSHUVRIWKLVZRUNVKRSFDQEHGRZQORDGHGIURP
KWWSZZZ0RGHOLFDRUJ&RQIHUHQFHSDSHUVVKWPO
3URJUDP&RPPLWWHH
0DUWLQ 2WWHU 'HXWVFKHV =HQWUXP IU /XIW XQG 5DXPIDKUW H9 '/5 ,QVWLWXW IU
5RERWLN XQG 0HFKDWURQLN 2EHUSIDIIHQKRIHQ *HUPDQ\ FKDLUPDQ RI WKH SURJUDP
FRPPLWWHH
+LOGLQJ(OPTYLVW'\QDVLP$%/XQG6ZHGHQ
3HWHU )ULW]VRQ 3(/$% 'HSDUWPHQW RI &RPSXWHU DQG ,QIRUPDWLRQ 6FLHQFH /LQN|SLQJ
8QLYHUVLW\6ZHGHQ
/RFDORUJDQL]HUV
0DUWLQ2WWHU$VWULG-DVFKLQVNL&KULVWLDQ6FKZHLJHU(ULND:RHOOHU-RKDQQ%DOV
'HXWVFKHV=HQWUXPIU/XIWXQG5DXPIDKUWH9'/5,QVWLWXWIU5RERWLNXQG
0HFKDWURQLN2EHUSIDIIHQKRIHQ*HUPDQ\
Department
of Automatic Control
Lund University, Sweden
hubertus@control.lth.se
Abstract
Two-phase flows are commonly found in components
in energy systems such as evaporators and boilers. The
performance of these components depends among others on the controller. Transient models describing the
evaporation process are important tools for determining control parameters, and fast low order models are
needed for this purpose. This article describes a general moving boundary (MB) model for modeling of
two-phase flows.
The new model is numerically fast compared to discretized models and very robust to sudden changes in
the boundary conditions. The model is a 7th order
model (7 state variables), which is a suitable order for
control design. The model is also well suited for open
loop simulations for systems design and optimization.
It is shown that the average void fraction has a significant influence on the system response. A new method
to calculate the average void fraction including the influence of the slip ratio is given. The average void
fraction is calculated as a symbolic solution to the integral of the liquid fraction profile.
Introduction
First principle mathematical models of dynamical systems are made for a range of purposes, but one of
the most common ones is to develop and verify controllers. The complexity of the model should be in accordance with the purpose of the model and this simple principle suggests that models for control design
should be of low order and preferably easy to linearize.
Unfortunately, physical systems are not sticking to this
class of models, on the contrary: most mathematical
first principle models are of distributed nature. The
natural way to describe such a model is partial differ-
235
area
nozzle coef.
heat cap. of wall
diameter
length
slip ratio
cylinder volume
h
m
q
t
v
x
z
enthalpy
mass flow
heat flux
time
velocity
mass fraction
length coordinate
density
pump speed
dissipation function
vapour generation
i
in
l
o
out
r
w
inner
inlet
saturated liquid
outer
outlet
refrigerant
wall
Subscripts
1
2
3
12
23
amb
c
g
subcooled
two-phase
superheated
interface 1-2
interface 2-3
ambient
condensation
saturated gas
Superscripts
2.1
L1
A
dz
t
Governing Equations
v
(1)
m
z
hv
Dp
Dt
m
dz
z
(6)
d
dt
L1
dz
A L1
dL1
dt
m 12
m in
0
(7)
(2) The density at the interface L1 is equal to the saturated liquid density l . Pressure and mean enthalpy h 1
define the state of the subcooled region where
L1
1
hin
2
h 1
(3)
hl
(8)
which can be simplified by neglecting the axial conThe inlet enthalpy hin is known from the boundary
ductivity, radiation and the viscous stresses and assumconditions and hl is a function of the pressure. The
ing one dimensional flow:
mean density in the subcooled region is approximated
by
mh
Ah Ap
D Tw Tr
(4)
1 L1
t
z
dz p h 1
(9)
1
L1 0
A simplified differential energy balance for the wall is
achieved by setting all flow terms in (3) equal to zero The mean temperature is calculated from the same
states as T1 T p h 1 . The mass balance for the suband neglecting the axial conductivity.
cooled region can be rewritten as
Tw
i Di Tr Tw o Di Tamb Tw
Cw w Aw
dL1
d 1
t
L1
m in m 12
(10)
A 1 l
(5)
dt
dt
236
L1
where 1 h 1 1 h1
0 hdz. The above equation
(15) is inserted into the energy balance (14), which
gives the final energy balance for the subcooled region:
d 1
dt
1 d p 1
p h dt h 1
1
1 1
p h 2 h 1
1 1 dhin
2 h 1 p dt
d h 1
p dt
dhl d p
p d p dt
(11)
1
A
2
1 hin
hl
dL1
dt
2l hl
1
dhin
h p dt
dhl
hin hl
1
dp
1 L1
L1
dL1
1
1 1
L1
A 1 l
dt
p h 2 h 1
1 1 dhin
m in m 12
L1
2 h 1 p dt
dhl d p
p d p dt
2.3
dhl
p dp
m 12 hl
dp
dt
2
Di L1 i1 Tw1
Tr1
Mass and Energy Balances for the TwoPhase and Superheated Regions
1 1
2 h
m in hin
(16)
1
p
(12) The mass and energy balances are integrated over the
two-phase region and the superheated region using the
2.2 Energy Balance for the Subcooled Region same procedure as for the subcooled region. The equations are derived in detail in Appendix B.
Integration of the energy balance (4) over the sub- The flow in the two-phase region is assumed to be hocooled region gives
mogeneous at equilibrium conditions with a mean den1 l , where the void fraction is
sity of g
L1 Ah Ap
L1 mh
A
defined
as
L1
0
hdz
dL1
dt
dL1
l h l
dt
L1 h L1
d
1 h 1 L1
dt
1
dL1
l h l
1 hin hl
2
dt
1
1
1
hin hl
L1 1
2
2
h1
1
dhl
hin hl
L1 1
2
dp
1
1 1 dhl
dp
p h 2 h1 p d p
dt
p
dhin
dt
(15)
dp
dt
(18)
Tr2
237
The derivative of the properties at the phase boundaries are written in a short notation and can be rewritten as e.g. d g hg d p hg dg d p g dg d p .
Both d g hg d p and d l hl d p can be calculated
d g h g
dp
d l h l
dp
dL1
g hg 1 l hl
dt
dL2
1 l hl g hg
dt
m 12 hl m 23 hg Di i2 L2 Tw2
A L2
from the pressure. The mass balance for the super- The wall temperature in the model is discontinuous at
L1 giving
heated region reads:
1 3
2 h 3
dhg 3
dp
A L3
p dp
p h dt
dL1
dL2
g 3
g 3
dt
dt
1 3 dhout
m 23 m out
L3
2 h 3 p dt
Tw L1
(19)
dL1
dt
dL1
Tw1 for
dt
Tw L1
Tw2 for
(24)
0
A
1
3 hg
2
dL1 dL2
g h g
hout
dt
dt
1
1 3 dhg 3
L3
hg hout
2
2 h 3 p d p
p h
1 dhg
dp
3
1
2 dp
dt
1
1 3
dhout
hg hout L3
3 L3
2
4 h3 p
dt
m 23 hg m out hout Di i3 L3 Tw3 Tr3
(20)
2.4
The energy balances for the walls are derived. Integration of the wall energy equation (5) from to gives
Cw w Aw
Tw
dz
t
i Di Tr
Tw dz
o Di Tamb
(21)
Tw dz
Applying Leibnizs rule, assuming constant wall properties give and rearranging gives the general energy
balance for a wall region:
Cw w Aw
Tw
dTw
dt
Tw
Tw
Tw
d
i Di
dt
Tamb Tw
2.5
Tr
Tw
o Do
dTw1
dL1
Tw1 Tw L1
dt
dt
i 1Di L1 Tr1 Tw1
o Do L1 Tamb
The liquid fraction in the two phase region z is related to the void fraction z via the equation
z
z
(25)
(22)
d
dt
238
A
l
l
tion of the liquid fraction profile, in particular that
The boundary conditions at the length coordinates z
a constant pressure is assumed along the pipe.
0 0 and z 1 0 are
2. The profile can be evaluated under steady state
conditions. For the purpose of slow, start-up tran1
1
0
(30)
0
sients as well as for linearization purposes this
does not pose any restrictions. This means in par- From (28), (29) and the boundary conditions, the following function for z can be derived:
ticular that the pressure is in steady state.
1
z
z
1
S
(31)
1
4. The slip velocity ratio S ug ul between the The influence of the slip ratio S on the amount of satgas and the liquid velocities is constant along urated liquid in the evaporation region, can seen in
the evaporator length and a known function of Figure 2. z can be integrated symbolically to give:
the model states that also can be evaluated under
Liquid Fraction over z for S 1, 3, 5, and 7 and 0.01
steady state conditions1.
Al ul
z
Ag ug
g
z
l
0.2
0.4
0.6
DimensionlessLength z
(27)
0.8
u
z
1 u
S
z
z dz
S S
1 ln S
S 1 2
(32)
S 7.0
S 5.0
0.4
(26)
S 3.0
0.6
0.2
S 1.0
0.8
liquid fraction
S
ug
ul
l
g
1 3
(33)
239
z dz
1
2 3
2 3 ln 1
2 3
(34)
Three more eigenvalues come from the energy
Both the density ratio and the slip S approach 1 when
balances of the evaporator walls.
the pressure is rising toward the critical pressure. In
the limit, the liquid and vapour densities are equal as In [1] Bauer derived a more detailed, distributed model
well as the flow speeds, so that a mean liquid fraction of heterogeneous flow2 and validated it against meaof 0 5 is expected, compare the plot of in Figure 3. surement data for the refrigerant R22. According to
[1], the advantage of the heterogenous model over the
0.5
homogeneous one is that the void fraction turns out to
0.4
be more realistic. Therefore, the dominant time constants are modeled more accurately. The average void
0.3
fraction 1 has a strong influence on the total fluid
mass in the evaporator, as can be seen clearly from
0.2
Figure 4. It can be concluded from this argument that
liquid fraction
0.1
0.45
0
0.2
0.4
0.6
Density ratio
0.8
1
0.4
In this section the influence of some model parameters on the eigenvalues of a linearization of the system derived in section 2 is investigated. Models for
fluid flow exhibit two types of time constants: fast, hydraulic time constants for disturbances traveling with
the speed of sound and much slower thermal ones,
whose disturbances move at the flow speed. In two
phase flows, the coupling between thermal and hydraulic phenomena is much tighter than in one phase
flows, because a change in the hydraulic pressure is
tightly coupled to a change in the temperature. The
eigenvectors reveal that the 7 eigenvalues are tightly
coupled, but roughly their physical interpretation is as
follows:
0.35
0.3
0.25
0.2
Velocity Slip
240
the void fraction gets more important at lower pressures because the slip increases due to smaller density
ratio and the heat capacity of the pipes is usually
smaller due to thinner pipe walls.
The root locus plot in Figure 5 shows the slow eigenvalues of the system, which are the dominating ones
for control design purposes. These vary significantly
when the slip ratio S (and thus the void fraction) is
varied from 1.0 to 8.0. In the example with approx.
31 bars the pressure is relatively high for the working
fluid R22 and therefore the slip ratio is not very far
from 1. Nonetheless, the slow eigenvalues move considerably on the root locus. The change in the model
dynamics will be larger at lower pressures.
0.2
0.1
4.1
Boundary Models
0.1
The test simulations for the heat exchanger are performed for a simple cycle containing a pump that sup0.2
plies the liquid flow into the evaporator and a nozzle
0.8
0.7
0.6
0.5
0.4
(turbine) at the end of the evaporator. The pump model
Figure 5: Root Locus for the slow eigenvalues. Dia- is defined by a simple expression for the mass flow
monds mark a slip ratio of 1.0, stars a slip ratio of the
(35)
m pump v pumpVcyl
test case of 1.7. Slip ratios vary from 1.0 to 8.0.
241
3.25
3
10
10
20
30
40
50
60
70
80
10
20
30
40
50
60
70
80
90
L1 [m]
L2 [m]
3
2.5
L3 [m]
20
30
Time
40
50
60
70
80
90
8.5
1.5
10
10
90
8
10
9.5
10
20
30
40
50
60
70
80
90
Time
5 [m3 ]
Cv
pc
3 76E 5 [m2 ]
1 4 [M pa]
Q
m
p
Tw1
Tw2
Tw3
Tr1
Tr2
Tr3
L1
L2
L3
122
163 [kW ]
0 54 [kg s]
3 6 [M pa]
388 8 [K]
371 7 [K]
449 5 [K]
306 0 [K]
352 3 [K]
384 0 [K]
39m
87m
24m
120
L 15 [m]
Di 0 020 [m]
Do 0 022 [m]
Cw 385 [J kgK]
w 8 96E3 [kg m3]
i1 2451 [J m2 K]
i2 11404 [J m2 K]
i3 2071 [J m2 K]
o 500 [J m2 K]
Tamb 573 1 [K]
S 1 67 [-]
0 665 [-]
3.1
3.5
10
3.15
3.05
4.5
x 10
3.2
Pressure [MPa]
118
116
114
112
110
108
10
10
20
30
40
Time
50
60
70
80
90
242
d
dt
L1 L2
hdz
L1
A L1 h L1
dL1
dt
L2
d L1
dt
Di i2 L2 Tw2
A L1
L2 h L1
m 23 hg
m 12 hl
L2
dp
dt
d p (41)
AL2
dt
AL1
Tr2
Appendix B: Derivation of the Model Mass Balance for the Superheated Region
Equations
Mass Balance for the Two-Phase Region
The mass balance (2) is integrated over the superheated region from L1 L2 to L which for a constant
area pipe gives
L
A
dz
L2 t
d
A
dt
L1 L2
dL1
dz A L1
dt
d L1 L2
A L1 L2
dt
m 23 m 12 0
L1
(38)
L1
L1 L2
m
dz
z
0
(43)
Applying Leibnizs rule on the first term and integrating the second term give for a constant area pipe
d
A
dt
d L1 L2
L2
dt
m out m 23
L1 L2
dz
A L1
L
0 (44)
The flow is assumed to be homogeneous at equilibrium The mean density in the superheated region is 3
conditions with a mean density of g 1 l . 1 L
p h3 , which inserted in the mass
L3 L1 L2 dz
The mass balance for the two-phase region becomes
balance (44) gives
d
dL1
dL2
d3
dL1
dL2
2 L2
l g
g
A
g 3
g 3
A L3
dt
dt
dt
(39)
dt
dt
dt
m 12 m 23
m 23 m out (45)
1 l . The time derivative of 2
where 2 g
The derivative of 3 is calculated as
is
dg
dl d p
d2
d3 3 d p 3 dh
(40)
1
dt
dp
d p dt
dt
p h dt
h p dt
which inserted into the mass balance (39) gives the fi1 3 dhg 3
d p 1 3 dhout
nal mass balance for the two-phase region as stated in
2 h3 p d p
p h dt 2 h3 p dt
(17).
(46)
243
3
The expression for d
dt is inserted into (45), which For the wall region adjacent to the superheated region
gives the final mass balance for the superheated region L1 L2 and L, which inserted in (22) gives
as stated in (19).
dTw3
dL1
Tw L1 Tw2
Cw w Aw L3
dt
dt
Energy Balance for the Superheated Region
dL1 dL2
Tw L1 L2 Tw3
dt
dt
The energy equation 4 is integrated over the superi 3DiL3 Tr3 Tw3
o Do L3 Tamb Tw3
heated region from L1 L2 to L. Applying Leibnizs
(51)
rule gives for a constant area pipe
d
dt
L
hdz
L1 L2
A L1
L2 h L1
L2
d L2
dt
dp
m out ho ut m 23 hg
dt
Di i3 L3 Tw3 Tr3
AL3
L
L1 L2
hdz
d
3 h 3 L3
dt
References
1
d L1 L2
3 hg hout
2
dt
1
d 3
L3 hg hout
2
dt
1
dhg d p dhout
3 L3
2
d p dt
dt
(48)
dTw2
dt
Cw w Aw L2
Tw L1
Tw2
Tw2
Tw L1
o Do L2 Tamb
Tw L1
L2
Tw L1
L2
L2
dL1
dt
i 2Di L2 Tr2
Tw2
Tw2
L2 is given by
dL2
Tw3 for
dt
dL2
Tw2 for
dt
dL2
dt
[7] N.B.O.L. Pettit M. Willatzen and L. PlougSrensen, A general dynamic simulation model for
evaporators and condensers in refrigeration, Int.
(49)
J. of Refrigeration 21 (1998), 398 414.
0
0
244