Transshipment LP Model For Minimizing PDF
Transshipment LP Model For Minimizing PDF
1. Problem Statement
Given is a process that involves the following set of hot and cold streams:
Stream Fcp(kW/K) Tin(K) Tout(K)
H1 20 700 420
H2 40 600 310
H3 70 460 310
H4 94 360 310
C1 50 350 650
C2 180 300 400
The following utilities are available for satisfying heating and cooling requirements:
Utility Temperature(K) Cost($/KW-yr) Maximum available(kW)
Fuel 750 120
HP steam 510 90 1000
LP steam 410 70 500
Cooling water 300-325 15
The goal is to predict the minimum utility cost for a heat exchanger network that has a
minimum temperature approach of 10K. Stream H1 is not to be allowed to exchange any heat
with stream C1.
2. Formulation
We are asked to find a way of exchanging heat among the process streams and the utilities
so that the target temperatures are met for the process streams and the total utility cost is
minimized. The data of the problem are displayed in Table 1, where heat contents of the hot
and cold processing streams are shown at each of the temperature intervals which are based
on the inlet, and highest and lowest temperatures given.
1
The flows of the heat contents can be represented in the heat cascade diagram of Fig. 1. Here
the heat contents of the hot streams are introduced in the corresponding intervals, while the
heat contents of the cold streams are extracted also from their corresponding intervals. The
variables R1 to R5 represent heat residuals, while QFuel, QHP, QLP, QW represent the heating and
cooling loads respectively.
The usefulness of the heat cascade diagram in Fig. 1 is that it can be modeled as a
transshipment problem which we can formulate as a linear programming problem. In terms of
the transshipment model hot streams are treated as source nodes, and cold streams as
destination nodes. Heat can then be regarded as a commodity that must be transferred from the
sources to the destinations through some intermediate “warehouses” which correspond to the
temperature intervals which guarantee feasible heat exchange. When not all of the heat can be
allocated to the destinations (cold streams) at a given temperature interval, the excess is
cascaded down to lower temperature intervals through the heat residuals.
The transshipment model for predicting the minimum utility cost given an arbitrary number of
hot and cold utilities, and hot and cold streams, can be formulated as follows. First, we
consider that we have K temperature intervals that are based on the inlet temperatures of the
process streams and of the intermediate utilities whose inlet temperatures fall within the range
of the temperatures of the process streams. We assume that the intervals are numbered from the
top to the bottom. We can then define the following index sets:
When we consider a given temperature interval k, we will have the following known
parameters and variables (see Fig. 2):
Known parameters:
QikH , Q Cjk heat contents of hot streams i and cold stream j in interval k
Variables:
Qms , QnW heat loads of hot utility m and cold utility n
Rk heat residual exiting interval k
2
Fig. 1: Transshipment model for heat flows
Q
iH k
H
ik Q C
jk
jC k
Q
mS k
S
m Q W
n
nWk
3
The minimum utility cost for a given set of hot and cold processing streams can then be
formulated as the following LP (Papoulias and Grossmann, 1983):
s.t.
Rk Rk 1 Q
mW
S
m Q
nWk
W
n Q
iHk
H
ik Q
jCk
C
jk k 1,2,3...K (8)
Q Sm 0, QnW 0 (9)
Rk 0 k 1,2,3...K (10)
R0 R K 0 (11)
The above model is known in the literature as the condensed transshipment model. Its objective
function represents the total utility cost, while the K equations are heat balances around each
temperature interval k. If Rk=0 at the optimal solution, then the temperature interval k
corresponds to a pinch point.
In the above formulation it is easy to impose upper limits on the heat loads that are available
from some of the utilities (eg. Maximum heat from high pressure steam). On the other hand, it
is not possible to use it as it is in order to enforce constraints that exclude matches between any
given pair of hot and cold streams. This could be due to the fact that the streams are too far
apart, or because of other operational considerations such as control, safety or start-up. For this
reason, Papoulias and Grossmann (1983) have formulated an expanded transshipment model
which we present next.
The condensed LP transshipment model in (7) to (11) implicitly assumes that any given pair of
hot and cold streams can exchange heat since there is no information as to which pairs of
streams actually exchange heat. In order to develop an LP formulation where we do have that
information, we can consider within each temperature interval, alink for the heat exchange
between a given pair of hot and cold streams, where the cold stream is present at that interval,
and the hot stream is either also present, or else it is present in a higher temperature interval.
For this reason, within an interval k we will define the variable Qijk to denote the heat exchange
between hot stream i and a cold stream j. Likewise, we can define similar variables for the
exchange between process streams and utilities. Whereas in the condensed LP transshipment
model we assigned a single overall heat residual Rk exiting at each temperature interval, in the
expanded transshipment model we will assign individual heat residuals Rik, Rml for each hot
stream i and each hot utility m that are present at or above the temperature interval k. Fig. 3
illustrates that above ideas for an interval k where we consider a hot stream i and a cold stream
j.
4
Ri,k1
Ri ,k
Fig. 3: Heat exchange between hot and cold stream for expanded transshipment model.
Note that using this representation, we allow to a cold stream j to exchange heat in interval k
not only with a hot stream which is available in that interval, but also with a hot stream i which
is available at a higher interval simply because hot stream i is transferring heat to interval k
through its residual Rik. Let us now define some notation:
H k' = {i | hot stream i supplies heat to interval k or at a higher interval} (12)
S k' = {m | hot utility m supplies heat to interval k or at a higher interval} (13)
The index sets Ck, Wk are defined as in (2) and (4), respectively.
We also have the following new variables (see Fig. 4):
Qijk exchange of heat of hot stream i and cold stream j at interval k (14)
Qmjk exchange of heat of hot utility m and cold stream j at interval k (15)
Qink exchange of heat of hot stream i and cold utility n at interval k (16)
Rik heat residual of hot stream i exiting interval k (17)
Rmk heat residual of hot utility m exiting interval k (18)
QikH Q Cjk
QnW
Q mS
s.t.
Rik Ri ,k 1 Q
jCk
ijk Qink QikH
jWk
k 1,2,3...K i H k' (20)
Rmk Rm,k 1 Q
jCk
mjk QmS k 1,2,3...K m S k' (21)
Q
iH 'k
ijk Q
mS 'k
mjk Q Cjk k 1,2,3...K j Ck (22)
Q
iH 'k
ink QnW k 1,2,3...K n Wk (23)
The size of this LP is obviously larger than the one in (7) to (11). The importance of the
expanded formulation is however the fact that we can easily specify constraints on the
matches:
a) In order to forbid a match between hot i and cold j we need to set Qijk=0 for all intervals k.
Alternatively, we simply delete these variables from the formulation.
b) In order to impose a match between hot stream i and cold stream j, we specify that the total
heat exchange, which is the sum of Qijk over all intervals, lies within some specified lower
and upper bounds:
K
QijL Qijk QijU (26)
k 1
We can also simply specify a fixed value for the sum in (26).
The expanded transshipment model (19) to (26) can be extended to an MILP transshipment
model which, for a given utility consumption, can rigorously predict the number of fewest
units in the network, as well as the stream matches that are involved in each unit, and the
amount of heat that they must exchange. This is simply done by introducing 0-1 variables for
each potential match as discussed in Papoulias and Grossmann (1983). Finally, the design of
heat exchanger networks with several factors (utility cost, number of units, heat exchanger area)
being considered simultaneously has also been addressed in the literature. An MINLP model
addressing this problem is presented in another study (Yee and Crossmann, 1991)
6
3. Result
The input file for GAMS consist of three parts. The data are entered in the first section of the
program. Notice that the temperature intervals need not be entered since they are calculated in
the second part of the program along with the heat contents of the streams. Here we make use
of the LOOP statement of GAMS in order to repeatedly execute a set of commands. Finally,
the third part of the program defines and solves the model.
The optimal solution shown in the GAMS output file indicates that by disallowing the match
between stream H1 and stream C1 the minimum utility cost of 570,000 $ per year can be
achieved with the following loads for the utilities:
fuel 3900 kW
high pressure stream 500 kW
cold utility 3800 kW
Also, from the solution we can see that there is no pinch point for this problem since there are
nonzero residuals for all the temperature intervals.
4. Suggested exercises
(1) It is interesting that by imposing constraints on matches the minimum utility cost may or
may not change. Consider the following (un)restricted cases for the given problem:
(a) No restrictions for heat matches.
(b) Stream H1 is not allowed to exchange heat with stream C2.
(c) Stream H1 is not allowed to exchange heat with either stream C1 or stream C2.
(2) Show that the expanded LP transshipment model in (19)-(25) reduces to the LP model
(7)-(11) if no constraints on matches are imposed.
5. References
Papoulias, S.A., and I.E. Grossmann, “A Structural Optimization Approach in Process
Synthesis – Part II: Heat Recovery Networks”, Computers and Chemical Engineering, 7(6),
707-721(1983).
Yee, T.F., and I.E. Grossmann, “Simultaneous Optimization Model for Heat Exchanger
Network Synthesis”, this Volume (1991).