Professional Documents
Culture Documents
PML:Heat Exchange
Release 4.2
December 2015
Trademarks
gPROMS is a registered trademark of Process Systems Enterprise Limited ("PSE"). All other registered and pending
trademarks mentioned in this material are considered the sole property of their respective owners. All rights reserved. Legal
notice No part of this material may be copied, distributed, published, retransmitted or modified in any way without the prior
written consent of PSE. This document is the property of PSE, and must not be reproduced in any manner without prior
written permission.
Disclaimer
gPROMS provides an environment for modelling the behaviour of complex systems. While gPROMS provides valuable
insights into the behaviour of the system being modelled, this is not a substitute for understanding the real system and any
dangers that it may present. Except as otherwise provided, all warranties, representations, terms and conditions express
and implied (including implied warranties of satisfactory quality and fitness for a particular purpose) are expressly excluded
to the fullest extent permitted by law. gPROMS provides a framework for applications which may be used for supervising a
process control system and initiating operations automatically. gPROMS is not intended for environments which require failsafe characteristics from the supervisor system. PSE specifically disclaims any express or implied warranty of fitness for
environments requiring a fail-safe supervisor. Nothing in this disclaimer shall limit PSE's liability for death or personal injury
caused by its negligence.
2
Copyright 1997-2015 Process Systems Enterprise Limited
Introduction
The gPROMS Process Model Library (PML) is a collection of models of commonly used processing equipment. The library
is designed to enable the user to quickly construct process flowsheet models that are suitable for use in steady state and
dynamic simulation, parameter estimation and optimisation studies.
The library includes:
The library models employ an accurate representation of pressure-flow dynamics within the flowsheet; flow reversal
phenomena are handled robustly.
The model code is open to the user, making it easier for you to develop customised company specific models.
The models have fully integrated support for a variety of rigorous physical property packages such as Infochems Multiflash
and other Cape-Open compliant packages.
This document describes the contents of the PML Heat Exchange library.
3
Copyright 1997-2015 Process Systems Enterprise Limited
Contents
1
Heater .................................................................................................................................................... 31
4
Copyright 1997-2015 Process Systems Enterprise Limited
Heat exchanger
5
Copyright 1997-2015 Process Systems Enterprise Limited
Heat exchanger
1.1
Model icon
1.2
Model description
This model calculates the heat exchanged between a hot stream and a cold stream. The model uses two instances of the
lumped PML heater_pipe model (see Section 5) to calculate the fluid flowrate and the change in fluid temperature for both
the hot and the cold streams. The mean temperature difference is calculated using either the log-mean or Underwood
methods.
The fluid heat transfer coefficients can be described by a fixed value or a simple relationship which varies the fluid heat
transfer coefficient according to the fluid flow rates in the heat exchanger and includes fouling resistance. The model can be
used to describe both counter-current and co-current flow situations.
Model assumptions1
1.3
1.4
Parameters
Symbol
Definition
Units
gPROMS Name
Default Value
Comp1
pipe1_no_components
6
Copyright 1997-2015 Process Systems Enterprise Limited
1.5
Symbol
Definition
Units
gPROMS Name
Default Value
PhysPro
ppipe1
pipe1_phys_prop
Comp2
pipe2_no_components
PhysPro
ppipe2
pipe2_phys_prop
Fscale
kg/s
flow_scale
Pscale
Pa
pressure_scale
1E5
Escale
energy_scale
1E3
hscale
J/kg
enthalpy_scale
1E3
Flow
kg/s
low_flow_threshold
1E-1
Tsmall
small_differential_temperature
1E-1
N1
small_positive_number
1E-10
flow_correction_power
0.8
Units
Symbol
Sub-models used
Pipe1
Heat pipe
Pipe1
Pipe2
Heat pipe
Pipe2
7
Copyright 1997-2015 Process Systems Enterprise Limited
1.6
Ports
gPROMS Name
Port Type
Port Category
Content
in
Portset
in
pipe1_inlet
PMLMaterial
ConnectorPort
x in,pipe1, h in,pipe1,
in
P in,pipe1, Fin,pipe1,
xin,pipe1, hin,pipe1
pipe1_outlet
PMLMaterial
ConnectorPort
x out,pipe1, h out,pipe1,
in
P out,pipe1, Fout,pipe1,
xout,pipe1, hout,pipe1
pipe2_inlet
PMLMaterial
ConnectorPort
x in,pipe2, h in,pipe2,
in
P in,pipe2, Fin,pipe2,
xin,pipe2, hin,pipe2
pipe2_outlet
PMLMaterial
ConnectorPort
x out,pipe2, h out,pipe2,
in
P out,pipe2, Fout,pipe2,
xout,pipe2, hout,pipe2
pipe2
pipe1_inlet_temperature
PMLControl
ControlPort
signal
Tpipe1,in
pipe1_outlet_temperature
PMLControl
ControlPort
signal
Tpipe1,out
pipe2_inlet_temperature
PMLControl
ControlPort
signal
Tpipe2,in
pipe2_outlet_temperature
PMLControl
ControlPort
signal
Tpipe2,out
in
in
in
pipe1
in
in
1.7
pipe1
pipe2
in
Variables
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
Upipe1
W/m .K
pipe1_heat_transfer_coefficient
heat_transfer_coeff
Upipe2
W/m .K
pipe2_heat_transfer_coefficient
heat_transfer_coeff
W/m .K
heat_transfer_coefficient
no_type_gezero
UA
W/K
UA_value
no_type_gezero
Fouling resistance
m .K/W
fouling_resistance
no_type_gezero
0
Upipe1
W/m .K
design_pipe1_heat_tranfer_coeffici
ent
Heat_transfer_coeff
0
Upipe2
W/m .K
design_cold_pipe2_transfer_ceffici
ent
Heat_transfer_coeff
8
Copyright 1997-2015 Process Systems Enterprise Limited
1.8
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
0
Fpipe1
kg/s
design_pipe1_mass_flowrate
mass_flowrate
0
Fpipe2
kg/s
design_pipe2_mass_flowrate
mass_flowrate
pipe1
kg/s Pa
pipe1_flow_coefficient
Linear_flow_coefficient
pipe2
kg/s Pa
pipe2_flow_coefficient
Linear_flow_coefficient
heat_transfer_area
Area
multipass_correction_factor
no_type_gezero
J/s
overall_heat_transfer_energy_rate
energy_rate
Tin
Inlet differential
temperature
in_differential_temperature
differential_temperature
Tout
Outlet differential
temperature
out_differential_temperature
differential_temperature
Tmean
Mean differential
temperature
mean_differential_temperature
differential_temperature
Tlimit
Limit differential
temperature
limit_differential_temperature
differential_temperature
Selectors
1.9
Definition
gPROMS Name
Possible Values
Default value
exchanger_type
counter_current_flow,
co_current_flow
co_current_flow
Temperature driving
force
deltaTemp
logmean, underwood
Logmean
HTC_coefficient
constant, calculate
Choice of specification
UA_htc_choice
UA, individual_htc
Constant
Individual_htc
Topology
Stream variables:
9
Copyright 1997-2015 Process Systems Enterprise Limited
=
=
=
=
pipe1_ inlet
pipe1_ outlet
pipe2 _ inlet
pipe2 _ outlet
1.10
pipe1.in
pipe1.out
pipe2.in
pipe2.out
Set
=
=
=
=
=
=
=
=
1.11
Equations
Control port variables:
signal
Tpipe1,in
signal
Tpipe1,out
si gnal
Tpipe2,in
pipe1.Tin
=
=
pipe1.Tout
pipe2.Tin
signal
Tpipe2,out
pipe2.Tout
THEN
Q = pipe1.Q = pipe2.Q
ELSE
10
Copyright 1997-2015 Process Systems Enterprise Limited
Q = pipe1.Q = pipe2.Q
pipe1 = pipe1.
pipe2 = pipe2.
calculate
0
Upipe1 = Upipe1
0
Upipe2 = Upipe2
0
pipe1
pipe1.F
0
Fpipe1
ELSE
F
0
Upipe1 = Upipe1
0low
Fpipe1
0
pipe2
pipe2.F
0
Fpipe2
ELSE
Upipe2 = U
0
pipe2
F
0low
Fpipe2
U=
1 + 1 +R
Upipe1 Upipe2
11
Copyright 1997-2015 Process Systems Enterprise Limited
UA
Q = UA Tmean
Q = f U A Tmean
12
Copyright 1997-2015 Process Systems Enterprise Limited
co_current_flow
Tin
LOG
Tout
+ N1
ELSE
Tmean
Underwood
Tin Tout )
T
(
Tlimit
=
+ NI limit + Tlimit 1
Tsmall
LOG Tin + N1
Tsmall
Tout
Tmean
1
1
ELSE
3
Tmean
1
1
Tlimit
= 0.5 SGN ( Tin ) Tin 3 + SGN ( Tout ) Tout 3
Tsmall
Tlimit
+ Tlimit 1
Tsmall
13
Copyright 1997-2015 Process Systems Enterprise Limited
1.12
Fluid properties are taken from a physical property package complying with the gPROMS physical property interface.
1.13
Specifications
The user is guided in making the specifications for the model from the specification dialog, shown below:
Heat exchanger type: this allows the user to choose between co-current and counter-current heat exchanger type
of flow.
14
Copyright 1997-2015 Process Systems Enterprise Limited
Heat transfer coefficient function: this corresponds to the options available to keep heat transfer coefficient in pipe1
and pipe2 as constant or calculate them as a function of flowrate.
Parameter specification
Low flow threshold (htc) (Advanced): Below this flowrate the this low flow threshold will be used to calculate the
heat transfer coefficient instead of the real flowrate
Low flow threshold (pipe 1) (Advanced): Below this flowrate the heat will not be added to the pipe to prevent very
high or low temperatures.
Low flow threshold (pipe 2) (Advanced): Below this flowrate the heat will not be added to the pipe to prevent very
high or low temperatures.
Variable specification
In order to satisfy the degrees of freedom for the model the user needs to ASSIGN appropriate number of variables of the
heat exchanger. The user is guided in making these specifications for the model from the specification dialog. The following
is the list of process variables involved in the heat exchanger model:
Fouling resistance, R
0
Upipe1
0
Upipe2
0
Fpipe1
0
Fpipe2
15
Copyright 1997-2015 Process Systems Enterprise Limited
16
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
17
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
2.1
Model icon
2.2
Model description
This distributed model describes the heat exchange between a fluid (either gas or liquid) flowing inside of a tube (or bundle
of tubes) and a fluid (gas or liquid) flowing counter-currently through the shell. The model uses two instances of the PML
heater_pipe_tubular model (see Section 6) to calculate the fluid flowrate and the change in fluid temperature for both the
tube and shell streams. The user can define the exchanger operation mode (co or counter-current flow) using the flow
direction CASE statements in the lower level models.
The fluid heat transfer coefficients can be described by a fixed value or a simple relationship which varies according to the
fluid flow rates in the heat exchanger. The fluid heat transfer coefficients are used to characterise the rate of heat transfer
to and from the tube metal mass.
Model assumptions2
2.3
Thermal conduction in the tube metal is negligible in the axial direction and infinitely fast in the radial direction.
2.4
Parameters
Symbol
Definition
Units
gPROMS Name
Default Value
Array size
CompT
tube_no_components
PhysPropT
tube_phys_prop
Also see the tubular heat pipe sub model (Section 6).
18
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
Symbol
Definition
Units
gPROMS Name
Default Value
Array size
CompS
shell_no_components
PhysPropS
shell_phys_prop
NG
Number of grids
no_grids
Fscale
kg/s
flow_scale
Pscale
Pa
pressure_scale
1E5
Escale
energy_scale
1E3
hscale
J/kg
enthalpy_scale
1E3
Flow
kg/s
low_flow_threshold
1E-1
flow_correction_power
0.8
fD
flow_direction_indicator
_shell
-1
pos_norm
pos_norm
NG+1
pos_rev
pos_rev
NG+1
Pi
pi
3.141592
TTinit
Tube_fluid_temperatur
e_i
300
Tsinit
shell_fluid_temperature
_i
300
Tminit
Tube_metal_temperatu
re_i
300
2.5
2.6
Distribution domains
Symbol
Domain description
Interval
gPROMS name
[0 : 1]
axial
Units
Symbol
Sub-models used
Tube
tube
Shell
shell
Fm_inlet
Flow multiplier
Flow_multiplier_inlet
Fm_outlet
Flow multiplier
Flow_multiplier_outlet
19
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
2.7
Ports
gPROMS Name
Port Type
Port Category
Content
in
in
tube_in
PMLMaterial
ConnectorPort
x t,in, h
h t,in
tube_out
PMLMaterial
ConnectorPort
x t,out, h t,out, P
x t,out, h t,out
shell_in
PMLMaterial
ConnectorPort
x s,in, h
h s,in
shell_out
PMLMaterial
ConnectorPort
x s,out, h s,out, P
x s,out, h s,out
in_tube_temperature
PMLControl
ControlPort
signal
TT,in
out_tube_temperature
PMLControl
ControlPort
signal
TT,out
in_shell_temperature
PMLControl
ControlPort
signal
TS,in
out_shell_temperature
PMLControl
ControlPort
signal
TS,out
in
in
t,in
,P
t,in
in
in
in
2.8
Portset
in
s,in
,P
in
in
in
, F t,in, x t,in,
t,out
s,in
in
, F t,out,
, F s,in, x s,in,
s,out
, F s,out,
Tube_Flow
Tube_Flow
Shell_Flow
Shell_Flow
Variables
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
Array Size
NT
Number of tubes
no_tubes
no_type_gezero
UT
W/m . K
tube_heat_transfer_coefficie
nt
no_type_gezero
US
W/m . K
shell_heat_transfer_coefficie
nt
no_type_gezero
U0T
W/m . K
design_tube_heat_transfer_c
oefficient
no_type_gezero
U0S
W/m . K
design_shell_heat_transfer_c
oefficient
no_type_gezero
FT0
kg/s
tube_design_mass_flowrate
mass_flowrate
FS0
kg/s
shell_design_mass_flowrate
mass_flowrate
kg/s. Pa
tube_flow_coefficient
linear_flow_coefficie
nt
20
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
Array Size
kg/s. Pa
shell_flow_coefficient
linear_flow_coefficie
nt
DI,T
tube_inner_diameter
diameter
DO,T
tube_outer_diameter
diameter
Tube length
tube_length
length
DI,S
shell_inner_diameter
diameter
QFluxT
J/m. s
tubewallTotube_heat_flux
heat_flux
axial
QFluxS
J/m. s
tubewallToshell_heat_flux
heat_flux
axial
QFluxS,c
J/m. s
tubewallToshell_heat_flux_ca
lc
heat_flux
TT
tube_fluid_temperature
temperature
axial
TS
shell_fluid_temperature
temperature
axial
TS,c
shell_fluid_temperature_calc
temperature
tube_metal_temperature
temperature
axial
kg
tube_metal_mass
mass
tube_metal_mass_density
mass_density
tube_metal_specific_heat_ca
pacity
no_type_gezero
Cp
2.9
2.10
kg/m
J/kg. K
Selectors
Definition
gPROMS Name
Possible Values
Default value
HTC_coefficient
constant, calculate
constant
Set
21
Copyright 1997-2015 Process Systems Enterprise Limited
axial
axial
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
tube _ no _ components
= tube _ in.components
tube.in.phys _ prop
tube.in.components
tube.phys _ prop
= tube _ in.components
= tube _ in.phys _ prop
tube.components
= tube _ in.components
2.11
shell.in.phys _ prop
shell.in.components
shell.phys _ prop
= shell _ in.components
= shell _ in.phys _ prop
shell.components
= shell _ in.components
Boundary conditions
At tubular heat exchanger inlet (z = 0):
QFlux T (0) = 0
QFlux S (0) = 0
QFlux T (1) = 0
QFluxS (1) = 0
2.12
Topology
Shell side variables:
22
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
shell _ in = shell.in
shell _ out = shell.out
tube _ in = Fm,inlet .inlet
Fm,inlet .outlet = tube.inlet
tube _ out = Fm,outlet .outlet
Fm,outlet .inlet = tube.outlet
2.13
Equations
Control port variables:
signal
TT,in
signal
TT,out
signal
TS,in
signal
S,out
= tube.T ( 0 )
= tube.T (1)
= shell.T ( 0 )
=
shell.T (1)
tube.F = FT,in / NT
in
tube.Pinin = PT,in
tube.xinin,i = xinT,in,i = x T,in,i
tube.hinin =
in
T,in
i = CompT
= hT,in
tube.F = FT,out / NT
in
in
tube.Pout
= PT,out
tube.xinout,i = xinT,out,i = x T,out,i
tube.hinout =
in
T,out
i = Comps
= hT,out
23
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
Fm,inlet .fm = 1/ NT
Fm,outlet .fm = NT
QFlux T
TT
tube.L
tube.
QFlux S
= tube.QFlux
=
tube.T
= shell.QFlux
TS
shell.T
shell.L
shell.
tube.A
shell.A =
2
DI,T
4
2
2
DI,S
NT DO,T
24
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
UT = U0T
constant
Us = U0s
IF tube.F > Fflow THEN
calculate
tube.F
FT0
NT
UT = U0T
ELSE
Flow
FT0
NT
IF shell.F > Fflow THEN
UT = U0T
shell.F
US = U
FS0
0
S
ELSE
F
US = U low
FS0
0
S
Tube side heat flux for a single tube per unit length:
z [0,1]
z [0,1]
25
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
m = L m
2
2
DO,T DI,T
4
dTm (z)
m Cp
= 2 QFlux T (z) DI,T
dt
NT
z (0,1)
IF fD > 0 THEN
TS,c = TS
QFlux S,c = QFlux S
ELSE
TS,c (pos _ norm(i)) = TS (pos _ rev(i))
i = 1,NG + 1
Fluid properties are taken from a physical property package complying with the gPROMS physical property interface.
2.15
Specifications
The user is guided in making the specifications for the model from the specification dialog, shown below:
26
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
Flow configuration: this corresponds to whether if the flow is co-current or counter current.
Heat transfer coefficient function: this corresponds to the options available to keep heat transfer coefficient in the
shell and tube side as constant or calculate them as a function of flowrate.
Connectivity
The Models inlet and outlet material Ports must be correctly connected.
Connections to the control Ports are optional.
Parameters
The values of the following parameters should be specified:
27
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
The specification dialog sets a default value for the numerical discretisation method and the order of approximation for the
shell and tube side.
Variables
The following variables must be specified:
Number of tubes, NT
Tube length, L
FT0
U0T
FS0
U0S
28
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat exchanger tubular
Release 4.2
Initial conditions
The user must provide initial conditions for each of the state variables. The following options are supported from the model
specification dialog:
1.
steady state
Applicable limits
dETube,z
dt
dEShell,z
dt
dTm,z
dt
2.
dynamic: Specify
Counter current
Co-current
=0
z (0,1]
z (0,1]
=0
z [0,1)
z (0,1]
z [0,1]
z [0,1]
=0
Co-current
TT,z = TTinit
z (0,1]
z (0,1]
TS,z = TSinit
z [0,1)
z (0,1]
Tm,z = Tminit
z [0,1]
z [0,1]
29
Copyright 1997-2015 Process Systems Enterprise Limited
Heater
30
Copyright 1997-2015 Process Systems Enterprise Limited
Heater
3.1
Model icon
3.2
Model description
This model calculates the heat input rate to a fluid stream. It can be used as a heater or a cooler.
The model uses the lumped PML heater_pipe model (see Section 5) as a sub model this calculates the fluid flowrate and
the change in fluid temperature.
Model assumptions3
3.3
3.4
The model does not calculate the variation in temperature along the pipe length.
Parameters
Symbol
Definition
Units
gPROMS Name
Default
Value
Comp
List of components
components
PhysProp
phys_prop
Fscale
kg/s
fow_scale
Pscale
Pa
pressure_scale
1E5
Escale
energy_scale
1E3
hscale
J/kg
enthalpy_scale
1E3
31
Copyright 1997-2015 Process Systems Enterprise Limited
3.5
Symbol
Definition
Units
gPROMS Name
Default
Value
Flow
kg/s
low_flow_threshold
1E-3
Units
3.6
Symbol
Sub-models used
Pipe
Heat_pipe
Pipe
Port Type
Port Category
Ports
gPROMS Name
Content
in
Portset
in
Inlet
PMLMaterial
ConnectorPort
outlet
PMLMaterial
ConnectorPort
x out, h out, P
xout, hout
temperature_in_measurement
PMLControl
ControlPort
Tinsignal
temperature_out_measurement
PMLControl
ControlPort
signal
Tout
energy_input
PMLControl
ControlPort
Qsignal
in
3.7
in
in
in
out
, Fout,
in
In
Variables
Symbol
3.8
Definitions
Units
2
gPROMS Name
gPROMS Type
heat_transfer_area
area
W/m .K
heat_transfer_coefficient
no_type_gezero
Th
Heater temperature
heater_temperature
Temperature
Topology
Stream variables:
inlet = Pipe.inlet
outlet = pipe.outlet
32
Copyright 1997-2015 Process Systems Enterprise Limited
3.9
Set
= inlet.phys _ prop
phys _ prop
Equations
Control port variables:
Tinsignal
signal
Tout
Qsignal
= Pipe.Tin
= Pipe.Tout
=
Pipe.Q
Pipe.Q = U A ( Th Pipe.T )
3.11
Fluid properties are taken from a physical property package complying with the gPROMS physical property interface.
3.12
Specifications
The user is guided in making the specifications for the model from the specification dialog, shown below:
33
Copyright 1997-2015 Process Systems Enterprise Limited
Heat input; this corresponds to how heat input to the unit is specified. The following options are available:
o
Connectivity
The Models inlet and outlet material Ports must be correctly connected.
Connections to the control Ports are optional.
Parameter specification
The following parameters must be specified:
Low flow threshold (Advanced): Below this flowrate the heat will not be added to the to prevent very high or low
temperatures.
34
Copyright 1997-2015 Process Systems Enterprise Limited
Variable specification
The following variables must be ASSIGned by the user:
Note these should not be specified if the energy_input control Port is connected to.
Initial conditions
No initial condition is necessary as the model is static.
35
Copyright 1997-2015 Process Systems Enterprise Limited
Heater tubular
36
Copyright 1997-2015 Process Systems Enterprise Limited
Heater tubular
4.1
Model icon
4.2
Model description
This distributed model describes the heat exchange between a fluid (either gas or liquid) flowing inside a tube (or bundle of
tubes) and the tube wall which is itself subjected to an external heat input term. The model can be used as a heater or a
cooler.
The model uses the PML heater_pipe_tubular model (see Section 6) as a sub model this calculates the fluid flowrate and
the change in fluid temperature along the length of the heater/cooler.
Model assumptions4
4.3
The heat transfer within the tube metal is sufficiently fast so that there is negligible temperature variation in the tube
metal and thus the tube metal can be treated as a single lumped mass.
4.4
Parameters
Symbol
Definition
Units
gPROMS Name
Default
Value
Comp
List of components
components
PhysProp
phys_prop
NG
Number of grids
no_grids
Fscale
kg/s
flow_scale
Also see the tubular heat pipe sub model (Section 6).
37
Copyright 1997-2015 Process Systems Enterprise Limited
Array
Size
Definition
Units
gPROMS Name
Default
Value
Pscale
Pa
pressure_scale
1E5
Escale
energy_scale
1E3
hscale
J/kg
enthalpy_scale
1E3
Flow
kg/s
low_flow_threshold
1E-1
flow_correction_power
0.8
Pi
pi
3.141592
pos_nor
m
pos_norm
NG+1
pos_rev
pos_rev
NG+1
TTinit
pipe_fluid_temperature_i
300
Tminit
Tube_metal_temperature_i
300
Heating_protection_small_
hp
4.5
4.6
Array
Symbol
flow
Distribution domains
Symbol
Domain description
Interval
gPROMS
name
[0 : 1]
axial
Units
Symbol
Sub-models used
Pipe
Heat_pipe_tubular
Pipe
38
Copyright 1997-2015 Process Systems Enterprise Limited
1E-3
Size
4.7
Ports
gPROMS Name
Port Type
Port Category
Content
in
Portset
in
Inlet
PMLMaterial
ConnectorPort
outlet
PMLMaterial
ConnectorPort
x out, h out, P
xout, hout
energy_input
PMLControl
ControlPort
Qsignal
temperature_in_measurement
PMLControl
ControlPort
Tinsignal
temperature_out_measurement
PMLControl
ControlPort
signal
Tout
in
4.8
in
in
in
out
, Fout,
In
In
Variables
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
Array Size
NT
Number of tubes
no_tubes
no_type_gezero
Tin
Inlet temperature
in_temperature
temperature
Tout
Outlet temperature
out_temperature
temperature
J/s
heat_input_rate
energy_rate
kg/s
design_mass_flowrate
mass_flowrate
W/m K
design_heat_transfer_coefficient
no_type_gezero
W/m K
heat_transfer_coefficient
no_type_gezero
QFlux
Heat flux
J/m.s
heat_flux
heat_flux
tube_axial
tube_metal_temperature
temperature
kg
tube_metal_mass
mass
tube_metal_mass_density
mass_density
kg/m
J/kg. K
tube_metal_specific_heat_capaci
ty
no_type_gezero
DI
inner_diameter
no_type_gezero
Do
outer_diameter
no_type_gezero
Tube length
length
length
Flow_coeffiecient
Linear_flow_coefficie
nt
Cp
39
Copyright 1997-2015 Process Systems Enterprise Limited
4.9
Selectors
4.10
Definition
gPROMS Name
Possible Values
Default value
HTC_coefficient
constant, calculate
constant
Set
phys _ prop
components
= inlet.phys _ prop
= inlet.components
pipe.in.phys _ prop
pipe.in.components
4.11
= inlet.phys _ prop
= inlet.components
Boundary conditions
At tubular heater inlet (z = 0):
pipe.h(0) = hinin
T(0) = Tin
pipe.h(1) = hout
T(1) = Tout
4.12
Equations
Pipe inlet variables:
40
Copyright 1997-2015 Process Systems Enterprise Limited
= Fin / NT
pipe.F
1
Pscale
pipe.Pinin
pipe.x inin,i
1
hscale
hin
1
= Pscale
Pinin
x inin,i
1
hscale
= x in,i
hinin
pipe.F = Fout / NT
in
in
pipe.Pout
= Pout
pipe.xinout,i = x inout,i = x out,i
pipe.hinout = pipe.hout
signal
in
signal
out
T
T
= Tin
= Tout
QFlux = pipe.QFlux
D
4
L
2
I
i = Comp
Control variable:
Qsignal
i = Comp
pipe.A
pipe.L
pipe.
z ( 0,1)
41
Copyright 1997-2015 Process Systems Enterprise Limited
CASE: HTC_coefficient
constant
U = U0
calculate
U = U0
pipe.F
F0
NT
ELSE
U = U0
QFlux(z) = U Tm T ( z )
z (0,1)
m = L m
Flow
F0
NT
2
Do DI2
4
dTm
Q
m Cp
= L DI QFlux(z) +
dt
NT
m
4.13
z [0,1)
Fluid properties are taken from a physical property package complying with the gPROMS physical property interface.
4.14
Specifications
The user is guided in making the specifications for the model from the specification dialog, shown below:
42
Copyright 1997-2015 Process Systems Enterprise Limited
Heat transfer coefficient function: this corresponds to the option available to keep heat transfer coefficient as either
constant or calculate them as a function of flowrate.
Connectivity
The Models inlet and outlet material Ports must be correctly connected.
Connections to the control Ports are optional.
Parameter specification
The values of the following parameters should be specified:
##
##
43
Copyright 1997-2015 Process Systems Enterprise Limited
Variable specification
In order to satisfy the degrees of freedom for the model the user needs to ASSIGN appropriate number of process variables.
The user is guided in making these specifications for the model from the specification dialog. The following is the list of
process variables involved in the model:
Number of tubes, NT
Tube length, L
Note the External heat input rate should not be specified if the energy_input control Port is connected to.
Flow coefficient,
Initial conditions
The user must provide initial conditions for each of the state variables. The following options are supported from the model
specification dialog:
1.
steady state
44
Copyright 1997-2015 Process Systems Enterprise Limited
dTm
=0
dt
dpipe.E
=0
dt
2.
dynamic
45
Copyright 1997-2015 Process Systems Enterprise Limited
Heat pipe
46
Copyright 1997-2015 Process Systems Enterprise Limited
Heat pipe
5.1
Model icon
5.2
Model description
This model is used as a sub-model in the heater and heat exchanger models - it is not designed to be used separately. It
calculates the change in temperature of a flowing fluid when subjected to an external heat input term.
5.3
5.4
Model assumptions
A linear relationship is assumed between the mass flowrate and the pressure difference across the pipe.
The model does not calculate the variation in temperature along the pipe length.
Parameters
Symbol
Definition
Units
gPROMS Name
Default Value
Comp
List of components
components
PhysProp
phys_prop
Fscale
kg/s
fow_scale
Pscale
Pa
pressure_scale
1E5
Escale
energy_scale
1E3
hscale
J/kg
enthalpy_scale
1E3
Flow
kg/s
low_flow_threshold
1E-3
47
Copyright 1997-2015 Process Systems Enterprise Limited
5.5
Ports
gPROMS Name
Port Type
Port Category
Content
in
in
Inlet
PMLMaterial
ConnectorPort
Outlet
PMLMaterial
ConnectorPort
x out, h out, P
xout, hout
temperature_measurement
PMLControl
ControlPort
T signal
Energy_input
PMLControl
ControlPort
Qsignal
in
5.6
5.7
Portset
in
in
in
out
In
, Fout,
in
Variables
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
kg/s
mass_flowrate
mass_flowrate
Tin
Inlet temperature
in_temperature
temperature
Tout
Outlet temperature
out_temperature
temperature
Tentry
Stream temperature at
pipe entrance
entry_temperature
temperature
Texit
Stream temperature at
pipe exit
exit_temperature
temperature
J/s
heat_input_rate
energy_rate
Flow coefficient
kg/s Pa
flow_coefficient
linear_flow_coefficient
Flow exponent
flow_exponent
no_type
Pressure difference
Pa
differential_pressure
differential_pressure
flow_direction
no_type
Selectors
Definition
gPROMS Name
Possible Values
Default value
Fluid phase
phase
liquid, gas
liquid
48
Copyright 1997-2015 Process Systems Enterprise Limited
5.8
Set
5.9
phys _ prop
= inlet.phys _ prop
components
= inlet.components
Equations
Stream variables:
F = Fin = Fout
Qsignal = Q
49
Copyright 1997-2015 Process Systems Enterprise Limited
IF F > 0 THEN
x in,i = x inin,i
i = Comp
in
x out,i = xin,i
i = Comp
1
hscale
(h
in
hinin = 0
Tout = T signal
Tentry = Tin
Texit = Tout
N =1
ELSE
x in,i = x inout,i
i = Comp
x out,i = x
i = Comp
1
hscale
in
out,i
(h
out
hinout = 0
Tin = T signal
Tentry = Tout
Texit = Tin
N = 1
Energy balance:
(Flow N)
Pressure drop:
in
P = Pinin Pout
50
Copyright 1997-2015 Process Systems Enterprise Limited
Mass flowrate:
1
Fscale
F=
1
Fscale
SGN ( P )
Gas
hscale
1
hscale
Liquid
1
hscale
1
hscale
5.10
hin =
hout =
hin =
hout =
1
hscale
1
hscale
1
hscale
1
hscale
PhysProp.VapourEnthalpy(Tin, Pinin , x in )
in
PhysProp.Vapourenthalpy(Tout, Pout
, x out )
PhysProp.LiquidEnthalpy(Tin, Pinin, x in )
in
PhysProp.Liquidenthalpy(Tout, Pout
, x out )
Fluid properties are taken from a physical property package complying with the gPROMS physical property interface.
5.11
Specifications
The user is guided in making the specifications for the model from the specification dialog, shown below:
51
Copyright 1997-2015 Process Systems Enterprise Limited
Heat input; this corresponds to how heat input to the unit is specified. The following options are available:
o
Connectivity
The Models inlet and outlet material Ports must be correctly connected.
Connections to the control Ports are optional.
Parameter specification
The following parameters must be specified:
Low flow threshold (Advanced): Below this flowrate the heat will not be added to the to prevent very high or low
temperatures.
52
Copyright 1997-2015 Process Systems Enterprise Limited
Variable specification
The following variables must be ASSIGned by the user:
Initial conditions
No initial condition is necessary as the model is static.
53
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
54
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
6.1
Model icon
6.2
Model description
This distributed model is used as a sub-model in the tubular heater and heat exchanger models - it is not designed to be
used separately. It describes the flow of a fluid (liquid or gas) through a pipe with an external heat flux term. This model can
be used to model both forward and backward flow conditions by providing the appropriate value for the flow direction
Selector. However, this is an irreversible flow model, i.e. no change of flow direction is allowed during simulation. This allows
the user to model co-current and counter-current flows in the tubular heat exchanger model.
6.3
Model assumptions
A linear relationship is assumed between the mass flowrate and the pressure difference across the pipe.
There is no change in phase along the pipe and during the simulation.
Plug flow.
6.4
Parameters
Symbol
Definition
Units
gPROMS Name
Default Value
Comp
List of components
components
PhysProp
phys_prop
NG
Number of grids
no_grids
Fscale
kg/s
flow_scale
55
Copyright 1997-2015 Process Systems Enterprise Limited
Array Size
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
Symbol
Definition
Units
gPROMS Name
Default Value
Pscale
Pa
pressure_scale
1E5
Escale
energy_scale
1E3
hscale
J/kg
enthalpy_scale
1E3
Pi
pi
3.141592
pos_norm
m
pos_norm
NG+1
pos_rev
pos_rev
NG+1
temperature_i
300
Tinit
Iinitial temperature
Heating_protection_
hp
6.5
6.6
1E-3
small_flow
Distribution domains
Symbol
Domain description
Interval
gPROMS
name
[0 : 1]
axial
Ports
gPROMS Name
Port Type
Port Category
Content
Inlet
PMLMaterial
ConnectorPort
outlet
PMLMaterial
ConnectorPort
x out, h out, P
xout, hout
in
in
6.7
Array Size
in
in
Porset
in
in
out
, Fout,
In
in
Variables
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
Array Size
kg/s
mass_flowrate
mass_flowrate
Pave
Average pressure
Pa
average_pressure
pressure
Flow coefficient
kg/s Pa
flow_coefficient
no_type_gezero
Flow exponent
flow_exponent
no_type
56
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
Symbol
Definitions
Units
gPROMS Name
gPROMS Type
Array Size
Differential pressure
Pa
differential_pressure
differential_pressure
area
area
Tube area
Tube length
length
length
Tube radius
radius
length
QFlux
Heat flux
J/m.s
heat_flux
heat_flux
axial
mass_density
mass_density
axial
volume_specific_internal_ener
gy
volume_energy
axial
kg/m
Fluid volumetric
specific internal energy
J/m
EI
J/kg
mass_specific_internal_energy
mass_specific_energy
axial
J/kg
mass_specific_enthalpy
mass_specific_enthalpy
axial
Fluid temperature
fluid_temperature
temperature
axial
Energy flowrate
J/s
energy_flowrate
energy_rate
axial
QFlux_calc
Heat flux
J/m.s
heat_flux_calc
heat_flux
axial
mass_density_calc
mass_density
axial
volume_specific_internal_ener
gy_calc
volume_energy
axial
_calc
kg/m
E_calc
Fluid volumetric
specific internal energy
J/m
EI_calc
J/kg
mass_specific_internal_energy
_calc
mass_specific_energy
axial
H_calc
J/kg
mass_specific_enthalpy_calc
mass_specific_enthalpy
axial
T_calc
Fluid temperature
fluid_temperature_calc
temperature
axial
Q_calc
Energy flowrate
J/s
energy_flowrate_calc
energy_rate
axial
6.8
Selectors
Definition
gPROMS Name
Possible Values
Default value
Fluid phase
phase
liquid, gas
liquid
57
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
6.9
Boundary conditions
IF F 0 then
h(0) = hinin
h(1) = hout
1 dE(1)
1
=
hscale dt
hscale
1 Q(1) QFlux(1)
A L z +
ELSE
h(0) = hout
h(1) = hinin
1 dE(0)
1
=
hscale dt
hscale
6.10
1 Q(0) QFlux(0)
A L z +
Equations
Area
A = r2
Stream variables:
58
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
F = Fin = Fout
xin,i = x out,i
IF F 0 then
in
xin,i = xin,i
1
hscale
i = Comp
hin =
1
hscale
hinin
ELSE
x out,i = xinout,i
1
hscale
hout =
i = Comp
1
hscale
hinout
Differential pressure:
in
P = Pinin Pout
Mass flowrate:
1
Fscale
F=
1
Fscale
SGN ( P )
Energy balance:
IF F > hp then
1 dE _ calc(z)
1
=
hscale
dt
hscale
1 Q(z) 2QFlux(z)
A L z +
ELSE
1 dE _ calc(z)
1
=
hscale
dt
hscale
1 Q(z)
A L z
z [0,1)
59
Copyright 1997-2015 Process Systems Enterprise Limited
z [0,1)
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
1
Escale
Q _ calc(z) =
Escale
hscale
E _ calc(z) =
1
Escale
EI _ calc(z) _ calc(z)
z (0,1)
EI _ calc(z) =
Pave
1
h _ calc(z)
hscale
_ calc(z)
Average pressure:
1
Pscale
z (0,1)
F h _ calc(z)
Energy holdup:
Escale
Relationship between volumetric specific internal and mass specific internal energy:
Pave =
1
Pscale
(P
in
in
in
+ Pout
Mapping:
60
Copyright 1997-2015 Process Systems Enterprise Limited
z (0,1)
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
IF F 0 then
Qflux _ calc = Qflux
_ calc =
1
hscale
1
hscale
1
hscale
E _ calc =
EI _ calc =
H _ calc =
1
hscale
1
hscale
1
hscale
E
EI
H
T _ calc = T
1
1
Q _ calc =
Q
Escale
Escale
ELSE
Qflux _ calc(pos _ norm(i)) = Qflux(pos _ rev(i))
_ calc(pos _ norm(i)) = (pos _ rev(i))
1
1
E _ calc(pos _ norm(i)) =
E(pos _ rev(i))
hscale
hscale
1
hscale
1
hscale
EI _ calc(pos _ norm(i)) =
H _ calc(pos _ norm(i)) =
1
hscale
1
hscale
EI (pos _ rev(i))
i=1,NG+1
H(pos _ rev(i))
61
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
CASE: phase
gas
liqui
d
6.11
z (0,1)
z ( 0,1)
z ( 0,1)
z (0,1)
Fluid properties are taken from a physical property package complying with the gPROMS physical property interface.
6.12
Specifications
The user is guided in making the specifications for the model from the specification dialog, shown below:
62
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
Connectivity
The Models inlet and outlet material Ports must be correctly connected.
Connections to the control Ports are optional.
Parameter specification
The values of the following parameters should be specified:
##
##
63
Copyright 1997-2015 Process Systems Enterprise Limited
gPROMS Process Model Library Documentation: PML:Heat Exchange: Heat pipe tubular
Release 4.2
Variable specification
In order to satisfy the degrees of freedom for the model the user needs to ASSIGN appropriate number of process variables.
The user is guided in making these specifications for the model from the specification dialog. The following is the list of
process variables involved in the model:
Tube length, L
Flow exponent
Flow coefficient,
Initial conditions
The user must provide initial conditions for each of the state variables. The following options are supported from the model
specification dialog:
steady state
dT
=0
dt
dynamic
T = T init
64
Copyright 1997-2015 Process Systems Enterprise Limited