Você está na página 1de 13

JID: EOR

ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

European Journal of Operational Research 0 0 0 (2017) 113

Contents lists available at ScienceDirect

European Journal of Operational Research


journal homepage: www.elsevier.com/locate/ejor

Innovative Applications of O.R.

Planning of multi-product pipelines by economic lot scheduling


models
Thomas Kirschstein
School of Economics and Business, Martin-Luther-University, Gr. Steinstr. 73, Halle 06108, Germany

a r t i c l e i n f o a b s t r a c t

Article history: In chemical and petroleum industry pipelines are one of the most important means of transportation.
Received 4 August 2016 However, exibility of pipeline transport systems is limited by many restrictions. Therefore, the planning
Accepted 5 June 2017
of pipeline operations is a crucial part of logistics management in these industries. A particularly chal-
Available online xxx
lenging problem is the pipeline scheduling which is concerned with nding the sequences, times, and
Keywords: sizes of batch injections in pipeline systems. This paper specically studies the underlying core schedul-
Scheduling ing problem by assuming a simple multi-product pipeline system. It is shown that nding a sequence
Economic lot scheduling problem of batches which minimizes stock holding and setup costs in the long run is an N P -hard scheduling
Pipeline management problem, namely a variant of the economic lot scheduling problem (ELSP) with additional constraints.
Therefore, a powerful heuristic for the sequence-dependent ELSP is adapted and extended to meet the
requirements of the outlined pipeline scheduling problem. The application of the heuristic is illustrated
by case studies from chemical and petroleum industry.
2017 Elsevier B.V. All rights reserved.

1. Introduction to be considered. This includes, for instance, safety stock require-


ments or pipeline inspection routines. In case of multi-product
Pipelines are one of the most ecient modes transport w.r.t. pipelines, restrictions for different products interfere and increase
energy consumption and, hence, variable transportation cost (van the complexity of pipeline operations planning. Important in man-
Essen, Croezen, & Nielsen, 2003). However, building pipelines in- aging pipeline supply systems is to balance stock holding cost and
curs high investment costs. Moreover, origins and destinations are transport costs as the lack of exibility of pipeline systems is typ-
xed once a pipeline is build and pipelines can only be used to ically encountered by keeping (safety) stocks. In case of multi-
transport liqueable products. Hence, pipeline systems are highly product pipeline systems, additionally set-up or product-transition
inexible and mostly used to serve unidirectional transport needs times as well as costs have to be considered when switching from
with high and steady transport demands. Traditionally, pipelines one product to another. Hence, besides traditional trade-offs be-
are designed for one product only, e.g., in the case of crude oil or tween stock holding and transportation costs, managing multi-
natural gas transports. This allows optimizing the pipelines tech- product pipeline systems also has to cope with the sequencing
nological conguration e.g., with respect to the energy consump- of product batches on transport systems with limited capacity.
tion for transport. However, in chemical and petroleum industry In combination, this states a highly challenging planning problem
multi-product pipelines are commonly used if the products in- which is encountered on a daily basis e.g. in petroleum and chem-
tended to be transported are chemically similar. A necessary condi- ical industry.
tion is, for example, that chemicals to be transported do not react In this paper we focus on a comparatively simple problem out-
with each other. This implies an increased exibility, a (potentially) line in order to highlight the basic complexity of managing any
increased pipeline utilization and, hence, increased attractiveness multi-product pipeline system. We assume a unidirectional one-to-
of pipeline transports. one pipeline system for multiple products with constant demands
However, the more products are to be transported the more per time unit is considered as it appears e.g., in chemical indus-
complex planning becomes. Apart from pure technical restrictions try to supply large-scaled production sites (Kirschstein, 2015). It
like storage or pumping capacities, also other restrictions need is shown that the optimal sequencing and scheduling of product
batches w.r.t. to stock holding and setup cost can be obtained by
solving a variant of the economic lot scheduling problem (ELSP,
E-mail addresses: thomas.kirschstein@wiwi.uni-halle.de, Lopez & Kingsman, 1991) which has to be adapted according to the
th_kirschstein@freenet.de product separation technology of the pipeline system under study.

http://dx.doi.org/10.1016/j.ejor.2017.06.014
0377-2217/ 2017 Elsevier B.V. All rights reserved.

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

2 T. Kirschstein / European Journal of Operational Research 000 (2017) 113

Table 1
Classication of literature on pipeline scheduling.

Reference Sys. type Scale Flow Objective Model Solution meth.

Magato, Arruda, and Neves (2004) 1t1 (d, d) bi. (i, c) (l, l) solver
Magato, Arruda, and Neves (2005) 1t1 (d, d) bi. (i, c) (l, l) decomp.
Magato, Arruda, and Neves (2011) 1t1 (c, d) bi. (i, c, h) (l, l, l) decomp.
Relvas, Matos, Barbosa-Pvoa, Fialho, and Pinheiro (2006) 1t1 (c, c) uni. (u) (l) solver
Relvas, Barbosa-Pvoa, and Matos (2009) 1t1 (c, c) uni. Multiple (l) heur.
Relvas et al. (2013) 1t1 (d, d/c) uni. (u, h ) (l, l) solver
Moradi and MirHassani (2015) 1t1 (d, c) uni. (h , u, i, b ) (l, l, l) solver
Moradi and MirHassani (2016) 1t1 (d, c) uni. (p, i) (l, l) solver
Rejowski and Pinto (2003) 1tm (d, d) uni. (p, h, i) (l, l, l) solver
Rejowski et al. (2004) 1tm (d, d) uni. (p, h, i) (l, l, l) B+C
Rejowski and Pinto (2008) 1tm (c, d) uni. (p, h, i) (n, n, l) solver
Cafaro and Cerd (2004) 1tm (c, c) uni. (p, h, i) (l, l, l) solver
Cafaro and Cerd (2008) 1tm (d, c) uni. (p, h , i , u, b ) (l, l, l) solver
MirHassani (2008) 1tm (d, d) uni. (i) (l) solver
MirHassani and Jahromi (2011) 1tm (c, d) uni. (p, h, i) (l, l, l) solver
Mostafaei, Castro, and Ghaffari-Hadigheh (2015) 1tm (c, d) uni. (p, i, b) (l, l, l) solver
Moura, de Souza, Cire, and Lopes (2008) mtm (c, c) bi. CP
Cafaro and Cerd (2009) mtm (c, c) uni. (p, b , u, i ) (l, l, l, l) solver
Cafaro and Cerd (2010) mtm (c, c) uni. (u)/(p, b, i) (l)/(l, l, l) solver
Magato et al. (2015) mtm (c, c) bi. (b) (l) decomp.
Mostafaei et al. (2016) mtm (c, c) uni. (p, i, b) (l, l, l) solver

As the ELSP is known to be hard to solve and available heuristics pipeline as a sequence of slices which are passed successively.
cannot be applied directly to the proposed ELSP variant, a heuris- However, this type of formulation has the disadvantage that model
tic is proposed based on the powerful ELSP heuristic published in complexity increases with increasing number of time periods (i.e.,
Dobson (1992). time horizon). Continuous time formulations are more exible and
In the next section a literature review is provided and the cur- can be solved for large time horizons. Hence, continuous formu-
rent work is categorized. In Section 3 mathematical formulations lations are prevalent in most recent research. Most of the litera-
for objectives and technological constraints in pipeline manage- ture applies the proposed models to real-world case studies and
ment are derived. Afterwards, the derived formulations are used to solve the models with standard solvers like CPLEX. However, there
formulate a ELSP-type optimization model. In Section 5, a heuristic are also some heuristic and decomposition procedures which rely
is described which adapts the approach of Dobson (1992). The ap- mainly on the decomposition into (1) batch allocation, (2) batch
plication of the heuristic is illustrated by means of a case studies sizing and (3) batch scheduling. The objectives pursued also vary
in Section 6. The paper nishes with a conclusion. heavily. In rather short-term models maximizing pipeline utiliza-
tion is a sucient proxy for minimizing pumping cost. The longer
2. Literature review the considered time horizons are, the more cost aspects are taken
into account. Most prominently, this includes stock holding costs
While one-product pipeline systems are comparatively easy to as well as setup or interface processing costs. All papers consider
manage, multi-product supply system typically imply a serious a limited time horizon and a set of products with consumption
level of complexity due to setup costs as well as a commonly used and production data for each product. The nal outcome of the
processing asset with limited capacity. Literature on pipeline plan- reviewed literature is a schedule for the considered time horizon
ning for multi-product systems is primarily focused on specic ap- providing detailed information when and where which product is
plications in chemical or petroleum industry. Table 1 shows the lit- to be injected into and retracted from the pipeline system in which
erature on hand categorized according to certain criteria. quantity. Hence, all papers model pipeline systems from an opera-
The column sys. type categorizes the papers according to the tional perspective.
network structures one-to-one (1t1), one-to-many (1tm), or many- Table 1 shows that a lot of different approaches has been
to-many (mtm), i.e., referring to the number of injection and re- published mostly tackling challenging real-world problems. Most
traction points. Column ow indicates whether a unidirectional models are formulate as MILPs, i.e., all constraints and objectives
or bidirectional material ow is considered. Column scale refers are linearized. To solve even large problem instances mostly
to the modeling of time and pipeline which are either subdivided commercial standard solvers are used. However, particularly when
into a number of discrete slices (d) or handled continuously (c). additional planning parameters like pump rates are variable, tailor-
Objective summarizes the aspects modeled as the planning ob- made solution approaches are required whereby decomposition
jectives whereby p indicates pumping cost, h holding cost, b back- procedure dominate. Thus, improvements of decompositions ap-
logging cost, i costs for interface processing, u pipeline utilization, proaches w.r.t. solution quality and run times are open issues par-
and c product changeovers. Directly related to the objectives is col- ticularly for mtm pipeline system (see Magato, Magato, Neves, &
umn model where entries l and n refer to linearly or non-linearly Arruda, 2015 or Mostafaei, Castro, & Ghaffari-Hadigheh, 2016). An-
modeled objectives, respectively. Finally, the solution methodol- other issue is the incorporation of uncertainty in pipeline schedul-
ogy employed in the papers is reported in the last column where ing. Except for Moradi and MirHassani (2016) considering demand
solver refers to commercial standard solvers, B+C a brach-&-cut uncertainty for a one-to-one pipeline, this aspect has not been ad-
algorithm, heur. a heuristic approach, and decomp. indicates a dressed so far in literature. In the light of highly volatile electricity
decomposition of the planning problem. prices as well as technical and supply risks, is seems reasonable
The literature review shows a heterogeneous set of papers to investigate the effects of stochasticity more closely in order to
on pipeline operations management. Historically, pipeline sup- obtain robust schedules. All references cited in Table 1 focus on
ply planning started with discrete models formulating time and operational scheduling problems with discrete customer orders

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

T. Kirschstein / European Journal of Operational Research 000 (2017) 113 3

and a rather limited time horizon of up to one month are consid- 3.1. Storage cost modeling
ered. Almost all planning models are applied in a rolling horizon
environment in daily operation and focus on operational objec- For accurately calculating the storage costs of the whole
tives like maximizing pipeline utilization or minimizing backlogs. pipeline system, the stock levels at origin, destination, as well as
Although pursuing operational objectives leads to good or even inside the pipeline have to be considered. Therefore, let T de-
optimal schedules in the short run, this does not necessarily imply note the cycle time between two successive batches of a certain
that a repeated application of an short-term optimization models product s. The total consumption/production quantity is then de-
also yields optimal solutions in the long run (Sethi & Sorger, 1991). ned by F = T s . The time span necessary to inject the batch
Thus, particularly economic effects of pipeline scheduling models is T f ill = F = T s . Hence, the stock-up time is Tsstock = T T f ill =
 
in the long run are so far out of the focus in literature. T 1 s and the maximum stock level L obtained in this supply
In contrast to all papers reviewed above, no explicit customer stock
system can be calculated by multiplying the stock-up time  T 
orders and an innite planning horizon are assumed in this pa-
with the demand rate s , thus, L = s T stock = s T 1 s .
per. Instead, a constant transportation demand for each product
Stock levels obtained inside the pipeline and at both locations are
is assumed as it is e.g., encountered in chemical industry where
depicted in Fig. 2. Since production rates equal consumption rates,
multi-product pipelines are used to connect chemical production
it is easy to see that the total stock in the system is constant and
facilities (which are typically operated continuously). All parame-
given by
ters of the pipeline system are considered as static and determinis-   
tic. Thus, a tactical or even strategical perspective is taken in order L(T ) = L + s = s +T 1 s . (1)
to nd a basic pumping sequence with lowest total cost per time
unit. Here, total cost per period including stock holding and setup L(T ) depends only on the cycle length T. Obviously, the holding
costs. Technical details which do not severely affect stock holding cost decrease with decreasing cycle length. That is for T 0 only
and setup cost (like settling periods, inspection turnoffs, or tran- the pipeline stock s is approached as the theoretical minimum
sition times) are excluded from modeling. On the other hand, re- for just-in-time delivery. Hence, the pipeline stock is constant and
strictions affecting stock holding and setup cost (like pumping and independent of the cycle time. Note that the stock level assumed
tank capacities as well as separation technology) are taken into ac- in the classical ELSP is given by 2L , i.e., with a focus on one storage
count explicitly or implicitly. only.
As demand rates are xed and time-invariant, the schedule to
be found matches a particular conguration of production system 3.2. Product changeover handling
which is deemed to be typical (i.e., the systems steady state). That
is a steady-state schedule is to be found which can be repeated in- The costs for product setups depend on the changeover han-
nitely without violating the systems restrictions. Thereby, small dling. Basically, there are two approaches: (a) a technical separa-
variations of the demand and supply rates are expected to be tion of products is applied by injecting a separation device (so-
buffered by holding safety stocks at the head and the bottom of called pipeline injection gauge, PIG) before injecting the successive
the pipeline. If more severe changes of environmental conditions product batch or (b) there is no product separation at all such that
occur (such as asset breakdowns) the steady-state schedule needs products mix inside the pipeline.
to be adjusted by means of an operational scheduling model taking In the rst case, a product setup incurs PIG injection costs
into account operational details like initial stocks, initial pipeline which are negligible in most cases. However, once injected, each
condition, or settling periods. PIG arrives at the destination and must be shipped back to the
origin in order to be reused for separation. That is a product setup
incurs xed PIG repositioning cost cPIG which equals setup cost in
3. Problem description the classic, sequence-independent ESLP.
In the second case, the products of two subsequent batches mix
In the following, a one-to-one pipeline system is assumed inside the pipeline. These product mixtures (or interfaces) have to
where a set of products S is regularly pumped from an origin to a be handled somehow either by reprocessing (in this case the in-
destination. The products are handled at the head and the bottom terface is often called transmix, see e.g., Inkpen & Moffett, 2011)
of pipeline in at least one production facility. For intermediate or by handling them as one of the parental products (typically
storage, tanks are available for each product which are connected called downgrading). In both cases, the quantities of the parental
to the local production facilities and the pipeline. At the pipelines batches are affected and must be corrected accordingly in the
head, there is a (net) surplus of each product whereas at the stock balances. Let ds, t denote the quantity added or subtracted
pipelines bottom there is a (net) demand for each product such to/from product s. Without loss of generality, let ds, t < 0 indicate
that a transport demand for each product exists. The transport a loss of product s and ds, t > 0 a surplus, respectively. Hence, for
demand per period for each product s is a constant and equals downgrading holds sign(ds,t ) = sign(dt,s ) while for interface re-
the minimum of the products demand rate s at the pipelines processing ds, t < 0 for all s, t S. Fig. 3 displays the denition
sink and its production rate s at the head of pipeline. If s < s , graphically.
it makes no sense to transport more than required, i.e., s = s . As Fig. 3 shows, the interface between product t and s is added
Otherwise, it cannot be shipped more than s = s . Remaining to the batch of product s (i.e.,dt, s < 0 and ds, t > 0). In contrast, the
imbalances, i.e., product surpluses at the pipelines head or prod- interface between product s and u is added to the batch of product
uct demands at the pipelines end need to be handled by external u (i.e., du, s > 0 and ds, u < 0).
partners. Furthermore, it is assumed that the pipeline is either No matter how the interfaces are handled, they determine
operated at a constant pump rate for all products or turned off setup costs. Typically, reprocessing costs are proportional to the in-

completely.

Hence, sS s < must hold for the pipeline and the terface quantity in the transmix case. That is cs,t
setup
are constant

and depend on |ds,t + dt,s |. In the downgrading case, the down-
s
ratio sS is often referred to as the pipeline utilization. Note
that in a classic ELSP, equals the production rate. Additionally, graded material is typically reprocessed in subsequent production
the time span between injecting and receiving a certain product processes. Hence, there are additional processing costs depending
batch is denoted as . Fig. 1 illustrates the outlined pipeline on the downgraded product quantity and the downgraded product.
system schematically. For any product transition s t, either product s or product t is

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

4 T. Kirschstein / European Journal of Operational Research 000 (2017) 113

Fig. 1. Schematic illustration of pipeline system under study.

Fig. 2. Inventory pattern in a batch ow system.

Fig. 3. Illustration of interface and batch size calculation in pipeline systems with downgrading.

setup ing cycle which resembles the so-called sequence-dependent ELSP


downgraded such that cs,t reects the reprocessing cost depend-
ing on ds, t in this case. (sELSP, see e.g., Dobson, 1992 or Wagner & Davis, 2002). Addition-
For both cases of interface handling, the sequence of product ally to the classic sELSP, for pipeline sequencing the stock calcu-
batches typically matters as the interface quantity often depends lations need to be adjusted accordingly. Therefore, let qi
denote
on the products mixed. Hence, setup costs depend on the pump- the total batch size correction of batch i in the pumping schedule

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

T. Kirschstein / European Journal of Operational Research 000 (2017) 113 5

dened by Table 2
Set of parameters and decision variables for the sELSP.



Sets

ys,i ds,t yt,|I | + ds,u yu,(i+1) i=1



sS tS uS S = 1, . . . , S Set of products

t=s u=s
I = 1, . . . , I

Set of batches

Parameters

Pumping time
q
i = ys,i ds,t yt,i1 + ds,u yu,(i+1) i = 2 , . . . , |I | 1 (2)
Pump rate

sS tS uS

t=s u=s s Demand rate of product s S

setup


cs,t Transition cost for a transition from product s S to

tS



ys,i ds,t yt,i1 + ds,u yu,1 i = |I | csstock Holding cost for product s S

sS tS uS ds, t Interface quantity of product s in an interface of
t=s u=s
products s and t (ds, t < 0 indicates a loss, ds, t > 0 a
where ys, i is a binary variable which is 1 if product s is assigned to suplus)
batch i. In case of downgrading, the specic structure of ds, t implies qs Maximum batch size of product s S
 qs Minimum batch size of product s S
that iI q i
= 0, i.e., there is no material loss or surplus in total. In
Variables
case of interface reprocessing, q i
< 0 for all batches i I such that ys, i Binary, 1 if product s S is assigned to batch i I
there is a total loss of material. q0s Starting inventory of product s S
Note that batches often have a minimum size in order to re- ui Idle time for batch i I
qi Production quantity of batch i I
ceive a sucient quantity of the intended material at the con-
T Total cycle time
sumer location. Obviously, qi q i
must hold at minimum, but Ti Cycle time of batch i I
in practice often much larger minimal batch sizes are set (see qi
Batch correction quantity for i I
e.g., Inkpen & Moffett, 2011 or Company, 2015). Therefore, q s in-
dicates the minimum batch size of product s and it holds qs
max (|ds,t | ). Note that also other technical restrictions imply min- T
t S |t =s Hence, Ti L(Ti ) gives the contribution of the average stock level of
imum batch sizes. For instance, let ps denote the settling period of batch i to the overall average stock level. Hence, it holds
product s in the consumption tank (i.e., the minimum time span  
before a new batch can be inserted in the tank). Then, it follows Ti Ti Ti2 1
L(Ti ) = + . (3)
that q s ps s . T T T
Likewise, batches are often also restricted to an upper limit, i.e., For each product s S, the sum of cycle times of its associated
let qs denote the upper limit of batches of product s S. Upper batches must equal the total cycle time for all products. Otherwise,
batch size limits can be used to model storage capacities. For ex- a permanent decit or surplus of material would result. Hence, it
ample, let ls
cap
denote the storage capacity of product s. Then, it  Ti s
cap follows iI T = s for each product s S such that the
has to hold that Ls ls where Ls is the maximum stock level of
rst term in (3) is independent of the batch size.
l cap
product s as dened above. Hence, for qs follows qs ss . In order to ease the batch quantity correction in the interface
case, the second term in (3) is reformulated be replacing Ti with
4. Sequencing and scheduling of batch ow pipelines qi
(i.e., the batch quantity is cycle time times the demand rate of
the product). That is (3) can be reformulated as
Based on the explanations in the previous section, in this sec-    
tion a mixed integer non-linear program is formulated for deter- Ti2 1 q2i 1

= . (4)
mining an optimal recurring pumping schedule. The necessary no- T T
tation is summarized in Table 2.
Equipped with these components the objective function for the
It is assumed that a set of products S is assigned to a set of
pipeline sequencing problem in the PIG case can be formulated as
batches I. Each batch i I is characterized by batch time Ti con-
follows:
sisting of two time periods: the pumping time (i.e., the batch is
inserted) and the idle time ui (i.e., the pipeline is idle and awaits 1 csstock q2i  s 
T C PIG = csstock s + ys,i 1
the next batch injection). The pumping time is the ratio of the
sS
T sS s
iI

corresponding batch quantity qi and the (constant) pump rate . 
 cPIG
The total pumping sequence has total cycle time T = iI Ti . The iI,sS ys,i
+ . (5)
pumping sequence is repeated innitely. That is a cyclic schedule T
approach is assumed which has shown superiority over the funda- Note that the rst term in (5) is a constant and, hence, can be
mental cycle approach (Wagner & Davis, 2002). As a consequence, omitted. The second term calculates average storage cost per time
at the beginning of each cycle product stocks are at hand for all period depending on the batch quantities qi and the assigned prod-
products except the product assigned to the rst batch. These im- ucts. The last term in (5) calculates average repositioning cost per
plicit initial stocks are denoted by q0s . The formulations presented 
time unit by dividing the total repositioning cost cPIG iI,sS ysi
in the following are similar to the ones given by e.g., Wagner and by the total cycle time T.
Davis (2002) and Dobson (1992). However, here an explicit repre- In the interface case, the objective function has to be adjusted
sentation of the product allocation decisions is modeled by intro- for the batch size corrections q and sequence-dependent setup
i
ducing binary variables ys, i . costs. Hence, with ys,0 = ys,I it follows:

4.1. Objective functions 1 stock ( qi + q )2


T C IF = csstock s + cs ys,i i

sS
T sS
iI
s
The objective function calculates total cost per time unit con-  
sisting of stock holding and setup costs. To calculate the average  s  1 setup I

stock holding cost per time unit over the complete pumping cy- 1 + c ys,(i1) yt,i . (6)
T sS tS s,t
i=1
cle, (1) must be weighted with the relative duration of each batch. t=s

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

6 T. Kirschstein / European Journal of Operational Research 000 (2017) 113

Note that in (6) the expression of setup cost per period (third 5. Heuristical solution approaches
term) is only correct if at all lot positions batches are scheduled.
5.1. Brief literature review on sELSP heuristics
4.2. Constraints
The diculty of solving the sELSP to optimality is basically
The following constraints assure sequence feasibility, i.e., for all caused by the combinatorial complexity of assigning S products to
batches the batch sizes must suce to cover the time span un- I batches. Once an assignment of products to batches is made, the
til the next batch of the same product is scheduled without any remaining problem is a simple NLP which can be solved quickly
scheduling interferences, with standard solvers. Hence, the critical part is to solve the as-
signment problem. Basically, heuristic solution approaches decom-
T = ui + qi / (7) pose the problem. First for each product the number of batches
iI is determined (so-called product frequencies). This denes the total
  number of batches |I |. Afterwards, the product-batch assignment
ysi qi + q
i = s T s S (8) is performed (so-called batch sequencing).
iI In literature, different approaches for determining product fre-
quencies are proposed such as lower-bound based (LB) approx-
 
  imations (Moon, Silver, & Choi, 2002), LB approximations with

ys,i q0s + ys j q j + q j power-of-2 rounding (Dobson, 1987, 1992), structured enumeration
jI: j<i (Wagner & Davis, 2002) or genetic algorithms (Chateld, 2007).
  For batch sequencing, the two cases, sequence-independent

= ys,i s u j + q j / s S, i I (9) setup costs (i.e., the PIG case) and sequence-dependent setup costs
jI | j<i
(i.e., the interface case) must be distinguished. In the PIG case,
setup cost depend only on the total number of batches scheduled
in the cycle. Hence, with given product frequencies, total setup cost
ysi =1 s S (10) is xed and does not depend on the batch sequence. The batch
sS sequence only inuences stock holding cost which eases the eval-
uation of possible batch sequences. Dobson (1987) applies a bin
qi ysi qs i I (11) packing heuristic seeking for a batch sequence spreading batches
sS for each product as evenly as possible over the cycle such that av-
erage stocks for each product are small. Similar heuristics are pre-

qi ysi qs i I (12) viously introduced by e.g., Doll and Whybark (1973) and Maxwell
sS and Singh (1983).
For cases with sequence-dependent setup costs, the batch
sequence affects both, setup and stock holding costs. Dobson
T , q0s , q
i , qi , ui 0 i I (13)
(1992) subdivides the cycle into sub-sequences which are se-
quenced by solving an relaxed 1-tree problem. Afterwards, the op-
timized sub-sequences are iteratively concatenated and remaining
ys,i {0, 1} i I, s S. (14)
product batches are added at their best positions. Wagner and
Constraint (7) assigns the total cycle time as the sum of all Davis (2002) tackle the sequencing problem by repeating 2-opt
pumping and idle times. Constraint set (8) implies that the sum and 3-opt swaps based on an initial random batch sequence un-
of batch quantities for each product s equal the total demand dur- til convergence. Moon et al. (2002) use a genetic algorithm for de-
ing the whole cycle. In order to assure sequence feasibility at all termining the best batch sequence. Similarly, Chateld (2007) ap-
times, (9) force an empty stock of product s before a new batch of plies a genetic algorithm for determining both, product frequencies
product s is scheduled. Note that equality in (9) is too restrictive. and batch sequence in one step utilizing an extended basic pe-
In fact, instances can be constructed where relaxed constraints ( riod approach (see Wagner and Davis, 2002 for a detailed descrip-
instead of = ) yield better solutions. However, such situations are tion of basic period approaches). Obviously, heuristics for problems
rather academic (Wagner & Davis, 2002). Therefore, we stay with with sequence-dependent setup costs can also be applied for the
the zero-inventory rule here, as otherwise the storage cost calcula- sequence-independent case.
tion would be much more complicated. In the PIG case, q i
can be When comparing the above mentioned heuristics, the focus
dropped from (8) and (9). In the interface case, (2) must be con- in literature is typically on the solution quality which is eval-
sidered in order to dene q i
. uated by comparing the solutions of benchmark data sets such
Constraint (10) enforces that exactly one product is assigned to as Bombergers stamp problem (Bomberger, 1966) or by con-
each batch. Constraints (11) and (12) assure that upper and lower ducting comparative computational studies with generated data
batch size limits are met. Note that batch size limits may lead sets (Wagner & Davis, 2002). The running times of the heuristics
to infeasible problem instances in combination with the 0-switch- are not considered by most authors. As a noteworthy exception,
rule. In such a case, either a larger number of batch positions or a Wagner and Davis (2002) showed that the heuristic of Dobson
relaxation of batch size limits is required in order to achieve feasi- (1992) performs quickly and solved all problem instances within
bility. 3 seconds. The solution quality was only slightly inferior compared
Note that in general, it might be possible that not all batches to the heuristic of Wagner and Davis (2002) with an average
are required to obtain the optimal solution. In these cases, in gap of less than 1% and a maximum gap of 4%. The heuristic of
(10) equality should be replaced by . In the PIG case, the out- Wagner and Davis (2002), however, showed an average solution
lined MINLP still remains valid, but in the interface cases, the setup time of 6.3 hours. Likewise, the genetic approaches of Moon et al.
cost assessment is no longer correct. Therefore, additional variables (2002) and Chateld (2007) show slightly superior results for
and an adjustment of (6) would be needed. In Kirschstein (2015) a some complex problem instances, but are likely to be less ecient
similar MINLP is proposed where empty batches are possible but w.r.t. running times than the heuristic of Dobson (1992). Hence,
constant batch quantities per product are assumed.

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

T. Kirschstein / European Journal of Operational Research 000 (2017) 113 7

the approach of Dobson (1992) appears to be the best available problem of (16) turns out to be
heuristic for the problems discussed in this paper.     
1 cstock
s
max min bs f s + d +T . (18)
, R f>0,T >0 T sS sS
fs
5.2. Adapting Dobsons heuristic
As the last step, the batch limit constraints qs qs and qs qs (re-
Basically, Dobsons heuristic consists of three steps: (1) deter-
 fer to (11) and (12)) must be taken into account. With qs = fs T ,
mine the product frequencies fs = iI yi,s for each product, (2) s

build sub-sequence of most-frequent products, (3) iteratively add these constraints can be reformulated as
remaining products. For the sake of brevity in the following bold s fs s
(19)
symbols refer to sets of variables. For example, f refers to the vec- qs T qs
tor of product frequencies, i.e., fs = ( f1 , . . . , f|S | ). In the following
the two basic steps, product frequency and sequencing, are subse- Dualizing (19), for the inner optimization problem of (18) yields
quently described.     
1 cstock s f
min bs f s + d +T s
+ s
f>0,T >0 T sS sS
fs sS
qs T
5.2.1. Determination of product frequencies  
The most important step of Dobsons heuristic is to determine fs f s
in a clever way. Therefore, in Dobson (1992) a series of relaxation
+ s . (20)
sS
T qs
and dualization steps is applied. In a rst step, dropping (9) to
(12) for the moment yields (8) as the only relevant restrictions. It Taking the derivative of (20) for fs and setting to zero then yields
is easy to see that in this case holding cost are minimized if 
s T s T csstock
qs =  = s S. (15) fs =T = T fs . (21)
ys, j fs bs s + s
jI

That is for a given product-batch assignment, holding cost are min- It is easy to see that plugging in fs into (20) let T diminish from all
imized if all batches of a certain product have equal size. Addition- terms except Td . Hence, when dropping Td the inmum of the ob-
ally, it follows that batches are independent of one another. Sub- jective is obtained and T can be eliminated as a decision variable.
stituting (15) in (5) then yields Finally, the outer maximization problem of the inmum reduces
to
C setup (y ) 1 cstock s2 (T )2
 
T C = C pipe + + ys,i s 1
s   
cstock s s
T T sS f s s
iI
2 max fs (bs s + s ) + s + s s .
, R ; , R + fs qs qs
C setup (y ) cstock sS
s
= C pipe + +T , (16) (22)
T sS
fs
   Eq. (22) can be solved quickly by standard constrained non-linear
where C pipe = stock
sS cs s and csstock = csstock 1 s s . optimization routines such as sub-gradient optimization (Dobson,
Csetup (y) represent the sequence-dependent setup cost as dened 1992) or Newton-type algorithms with support of box constraints
in (5). (like Byrd, Lu, Nocedal, & Zhu 1995) and a feasible initial solution.
The same result can be obtained for the interface case
  Hence, solving (22) yields frequency vector f which is in turn used
when q
setup
i
is neglected and with C setup (y ) = sS tS cs,t to compose a scheduling cycle.
   t=s

ys,I yt,1 + I1
i=1 ys,i yt, (i+1 ) which is assumed in the following.
In order to approximate Csetup (y) depending on f, the results 5.2.2. Batch sequencing
of Dobson (1992) are adapted with only minor changes. The ba- The batch sequencing follows the description of Dobson
sic idea is outlined briey for the sake of completeness. Given the (1992) almost entirely. Therefore, it is only repeated briey. For
frequencies for each product fs , minimizing total setup cost equals details the reader is referred to Dobson (1992). The procedure
 starts with ordering the products for decreasing frequencies. Start-
solving a traveling salesman problem (TSP) with sS fs nodes to
optimality. Each node represents a product and for each product ing with a subset consisting of the products with maximum fre-
there are fs corresponding nodes. The graph Gf is complete and the quency fmax . This subset is sequenced by solving an TSP based on
edge weights are denoted by wi, j . To approximate the TSP solution, the setup costs. Products with fmax /2 are added iteratively to the
the 1-tree of Gf can be calculated. The special case of fs = 1 for all subsequence at the best possible position. To determine the best
s S is denoted by G1 . The weights connecting the nodes in G1 can position, the change in total cost is calculated consisting of the
setup
be interpreted as the changeover cost cs,t . Dobson (1992) showed change in setup and holding cost. The change in setup cost can
that the value of the 1-tree of Gf can be calculated using the 1-tree be calculated easily for any insertion position. The change in hold-
of G1 by ing is approximated by dropping batch size constraints (11) and
(12). Hence, the holding cost are determined by (9) constituting a
v ( Gf ) = ( f s 1 ) w es + v ( G 1 ) (17) simple system of linear equations.
sS Therefore, let L denote the indicator matrix of size |I | |I |
with li, j = 1 if batch i covers the demand of batch j. Note that
where wes is the least weighted edge incident to node s and v(G1 )
L can be easily
 deduced  from a given batch sequence. Further-
is the value of the 1-tree of G1 . When dualizing the 1-tree con-
 more, q = q1 , . . . , q|I | denotes the vector of batch sizes, q =
straints it follows that wi, j = min ci, j
setup
+ i + j , c j,i
setup
+ j + i    
q 
1 , . . . , q |I | the batch size corrections, u = u1 , . . . , u|I | the vec-
where i and i are Lagrange multipliers of the dualized 1-tree q
constraints. More details on the TSP approximation procedure can tor of idle times, t the vector of pumping time (whereby ti = i ),
  
be found in Dobson (1992). and = sS ys,1 s , . . . , sS ys,|I | s the vector of demand

With d = v(G1 ) sS wes and bs = wes s s , omitting rates. Then, constraint set (9) can be reformulated in matrix no-
Cpipe , and relaxing the integrality condition on fs , the optimization tation as

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

8 T. Kirschstein / European Journal of Operational Research 000 (2017) 113

q + q = diag ( ) L (u + t ) Table 3
Net demand rate s , holding cost rates cshold , and batch limits for the rst case
  1   study.
q = I diag L diag ( ) L u q . (23)
Chemical s Stock cost cshold Net demand rates s Batch size limits
From (5.2.2), qi can be substituted in the holding cost part of [ per day] [tons per day] Lower Upper
(5) or (6). Furthermore, (7) can be substituted in the objective,
Naphtha 0.10 30 0 0 30 0 0 70 0 0
too. Hence, the resulting (unconstrained) holding cost function de- Pygas 0.15 20 0 0 20 0 0 10,0 0 0
pends on u only and, thus, can be optimized easily e.g., by stan- Benzene 0.20 10 0 0 10 0 0 50 0 0
dard Newton-type optimization algorithms.
Afterwards, the previous steps are repeated until all products
are scheduled. This way a batch sequence p is constructed whereby
 For any s S + S , it is checked whether (23) or (24) is vi-
pi S and |p| = sS fs . Note that rounding to powers of two en-
olated with ft , t = s kept xed and fs + 1 or fs 1 if s S + or
ables concatenation of subsequences and, hence, simplies the se-
s S , respectively. If (23) or (24) is violated, s can be discarded
quencing procedure. Algorithm 1 describes the sequencing proce-
from set S + or S .
dure briey in pseudocode and can be found in the appendix.
Once the sets S + and S are determined, successively alter-
ations of the sequence p are tested. For all products s S + , an
5.3. Repair procedure
additional batch of product s is added to sequence p. Again, all rea-
sonable insertion options are checked for feasibility, i.e., a batch of
After batch sequencing, the resulting sequence p must be
product s is added at position i {1, . . . , I} in sequence p if pi1 = s
checked for batch size feasibility w.r.t. (11) and (12). Therefore,
and pi+1 = s. The resulting sequence p has I + 1 batches and is
standard solvers for constraint NLPs can be used, e.g., IPOPT
checked for feasibility. The described procedure is subsumed in
(Wchter & Biegler, 2006). Unfortunately, the constructed sequence
pseudocode as Add(p, s ) and returns a set of sequences with I + 1
may turn out to be infeasible. In order to nd a feasible sequence,
batches. If Add(p, s ) produces feasible sequences, the sequence
rst pertubations of p are constructed and checked for feasibility.
with minimum total cost is returned and the procedure stops. Oth-
Therefore, reasonable swaps of pairs of batches are conducted. A
erwise, the sequences are kept in set P. Similarly, the procedure
swap of sequence p exchanges the batches i and j. A swap is rea-
Del(p, s ) evaluates all reasonable deletions of batches of product s
sonable if (a) the assigned products differ (i.e., pi = pj ), and (b)
from sequence p. Again, Del(p, s ) returns a set of sequences (now
the exchange does not lead to a sequence where the same product
with I 1 batches) which are checked for feasibility. In case, no
is assigned to two successive batches. If a reasonable swap leads
feasible sequence is found, all evaluated sequences are stored in
to a feasible solution, the corresponding sequence is returned and
set P.
the procedure stops. Otherwise, the product frequencies have to be
If no feasible solution was found by adding ad deleting batches,
changed in a second step.
the whole repair procedure is repeated with a new starting se-
Therefore, let i (p ) and i (p) denote the violation of the lower
quence p P. Sequence p is the sequence which minimizes
and upper batch size limits of batch i, i.e., i (p ) = max{0, qi q pi } 
the total batch size violation, i.e., p = arg min (p ) = iIp i (p ) +
and i (p ) = max{0, q p qi }. All products assigned to batches ex- pP
i
ceeding the maximum batch size (i.e., i (p ) > 0) are candidates i (p ). This criterion tries to identify a solution close to feasibility.
for an increase of their corresponding product frequencies and are If the procedure does not stop with a feasible solution, some stop-
summarized in set S + . ping criterion, such as the number of iterations, is checked. Fur-
Likewise, products associated with batches showing a shortfall thermore, it may happen that the same sequence appears again
below minimum batch sizes (i.e., i (p) > 0) are candidates for a during the search. This can be interpreted as a sign for an infea-
product frequency reduction summarized in set S . Moreover, sup- sible problem or a tabu list can be maintained in order to avoid
pose a product s with i (p) > 0 for some batch and fs = 1. In cycles. Algorithm 2 in the appendix describes the outlined proce-
this case, a frequency reduction is clearly impossible. But a similar dure in pseudocode.
effect can be realized by increasing the frequencies of the com-
plementary products S \{s}. Hence, in such a case subset S \{s} is
added to S + . 6. Computational experiments
In order to reduce the number of frequency adaptations to be
tested, increases and reductions leading to clearly infeasible fre- 6.1. Case study from chemical industry
quency combinations can be discarded. Upper and lower bounds
for fs based on lower and upper batch size limits are given by In the following a serial one-to-one pipeline connecting two
fs T q s and fs T q s where T can be substituted by T = chemical production sites is assumed. The provider site produces
s
  s
 the raw and intermediate materials for the consumer site. Sup-
iI qi
 I qi
= i
with
= sS s . Furthermore, for the to-
sS s    pose that the consumer site produces Styrene-based chemicals,
tal batch size holds tS ft qt iI qi tS ft qt . In combina- such as Polystyrene and StyreneButadiene rubber. Raw materials
tion, it follows: for Styrene production are Benzene and Ethylene. Among others,
 
iI qi s ( tS ft qt ) s a steam cracker consuming Naphtha provides Ethylene and Pygas
fs which is subsequently rened to Benzene. Pygas and Naphtha are

qs
qs
  mixtures of hydrocarbons, whereby Pygas can be interpreted as a
qs

fs qs ft qt (24) sub-mixture primarily consisting of aromatic chemicals with main
s t S |t =s
component Benzene. However, the local production of Benzene and
   Pygas does not suce to fully supply downstream assets such that
iI qi s tS ft qt s
fs decits of Pygas and Benzene have to be imported via pipeline.

qs
qs Besides, the cracker feed, Naphtha, has to be imported from the
 
qs
provider site, too.
fs qs ft qt . (25) The net demand rates provided in tons per day for Naphtha, Py-
s t S |t =s gas, and Benzene under normal processing conditions can be found

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

T. Kirschstein / European Journal of Operational Research 000 (2017) 113 9

Table 4 6.2. Case study from petroleum industry


Interface quantities q setup
s,t and transition cost cs,t for the rst case study.

Chemical Interface quantities q


s,t [tons]
setup
Transition cost cs,t [ ] In this section the case study presented in Relvas, Boschetto
s Naphtha Pygas Benzene Naphtha Pygas Benzene Magato, Barbosa-Pvoa, and Neves (2013) is reviewed. As the pre-
sented scheduling problem is a operational, nite-horizon planning
Naphtha 0 20 50 0 250 1500
problem, the problem data are slightly altered to t the require-
Pygas 20 0 30 250 0 450
Benzene 50 30 0 1500 450 0 ments of the planning framework proposed here. There are three
notable aspects which differ structurally between the both plan-
ning models. First, no cost rates for product transition or stock
holding are assumed. Second, instead of transition cost, precedence
constraints are used in Relvas et al. (2013), i.e., there are forbidden
in Table 3 accompanied by stock holding cost rates in per ton and and allowed product transitions. Third, storage capacities and set-
day as well as lower and upper batch size limits. tling periods as well as typical lot sizes are given in Relvas et al.
Typically, it can be assumed that the market value of (basic) (2013).
chemicals increases with increasing purity. Hence, stock holding Storage capacities and settling periods implicitly limit the batch
cost can be assumed to increase with corresponding market value. sizes. Therefore, these can be transformed into batch size limits for
Lower batch size limits are set to daily demand values of each each product. Hence, storage capacities are used to calculate upper
chemical in order to avoid too erratic schedules. Upper batch size l cap
batch size limits by qs = ss as outlined above. Similarly, lower
limits reect operational stock capacities differing for the various
batch sizes are calculated as qs = ps s (scenario S1). As an alter-
products.
native scenario (S2), the maximal typical lot sizes given in Table 1
The pipelines pumping capacity is assumed to be =
of Relvas et al. (2013) are used.
70 0 0 tons per day. The pipeline capacity suces to supply the
As no transition cost, but precedence constraints are given,
consumer site with all three raw and intermediate chemicals. The setup setup
cs,t is set to 0 if a transition s t is possible. Otherwise, cs,t
pipeline is assumed to be operated at maximum capacity (as oper-
ating cost are optimized for this pump rate) or is completely inac- is set to a large number M. Likewise, holding costs csstock are as-
tive. The pipeline length is assumed to be 600 kilometres. With an sumed to be 0, too. Note that this implies that only a feasible so-
average transport speed of 5 kilometres per hour, a transport time lution is to be found. Hence, total costs have no reasonable inter-
of = 5 days results. pretation and are, therefore, not reported. However, the proposed
The three considered chemicals are mixable, chemically re- heuristic is not designed to cope with hard precedence constraints,
lated liquids and can be transported via the same pipeline. At the i.e., it is not guaranteed that a precedence-feasible solution is ob-
provider site these three chemicals are surplus and transported via tained. Therefore, the repair routing needs to be adapted to check
a commonly used pipeline. Ordering these chemicals to increasing for precedence violations of a given sequence. The necessary al-
purity leads to (1) Naphtha, (2) Pygas, and (3) Benzene. For ex- terations, however, are minor and, therefore, omitted here. For the
ample, an interface consisting of Pygas and Naphtha is handled as sake of readability, the case study data are summarized in Table 7.
Naphtha and stored in the Naphtha tanks where the concentration The products demand rates are calculated as averages from Table
of aromatics increases due to the Pygas inow. The cracking pro- 5 of Relvas et al. (2013). All ow-related values represent volume
cess separates these components again. Consequently, downgraded units (VU). Demand rates are given per day. Settling periods are
ingredients are re-processed implying additional processing cost. given in days, too. To complete the data, pumping capacity is as-
That is an interface of Benzene and Naphtha has to be downgraded sumed to be 15,600 VU per day and is calculated as 1.225 days.
to Naphtha and the Benzene part is re-processed twice. Table 4 Equipped with these data, for scenario 1 a feasible sequence
shows the interface quantities q s,t and associated transition cost
w.r.t. batch size as well as precedence constraints could be found
setup after the repair routine. The sequence has 11 batches with fre-
cs,t . With these data, the rst part of the proposed heuristic de-
quencies fsc1 = (3, 2, 1, 2, 2, 1 ). The total cycle time is about 20
livers product frequencies of f = (1.44, 2.10, 1.0 ). For the sequenc-
days which is fairly similar to case study CS2 from Relvas et al.
ing step, the frequency vector is rounded to the nearest power-
(2013) where 16 batches are scheduled for a time horizon of 15
of-two such that f0 = (1, 2, 1 ). The sequencing procedure produces
days. The details of the sequence are displayed in Table 8.
the sequence p0 = (P ygas, Benzene, P ygas, Naphta ) with total cost
The results in Table 8 show that the batches scheduled are in
of 5669.13 per day. Unfortunately, the corresponding batch sizes
tendency larger than the batches calculated by Relvas et al. (2013).
violate the batch size constraints as Table 5 shows.
As the upper batch size limits are comparatively high and there are
Applying the repair routine to nd feasible sequence, rst tries
no cost information considered, this is not surprising. For example,
to rearrange
  the originally found sequence. In this particular case, for batches 2 and 9 the maximum possible batch size is assigned.
there are 42 = 6 possible swaps of which only the swap of batches
For many other batches, however, batch sizes are similar to the
2 and 4 is reasonable. This permutation does not yield a feasible
typical values reported in Relvas et al. (2013).
sequence. Hence, changing product frequencies is necessary. From
Nonetheless, for scenario 2 the upper batch size limits are set
Table 5 it can be observed that at the size of batch 1 falls below
to the maximal typical values. Of course, setting tighter batch size
the lower limit. Hence, the frequency of Pygas might be reduced
limits complicates nding a feasible solution. Therefore, the re-
and, hence, Pygas is added to S . In contrast, the size of batch
pair routine requires some more iterations for nding a sequence
4 exceeds the upper limit. The corresponding product Naphtha is
and precedence feasible solution for scenario 2. Here, a feasible
added to set S + .
sequence with 12 batches and frequencies fsc2 = (4, 2, 1, 2, 2, 1 ) is
Next, additional batches of the products in set S + are plugged
found. The total cycle time is halved to about 10.3 days compared
into p0 . Hence, a batch of Naphtha can be added to p0 between
to scenario 1 which is to be expected as batch sizes have to be re-
batches 1 and 2 or batches 2 and 3. Both insertions lead to a fea-
duced considerably for some products. Table 9 shows the details of
sible solution with total cost of 5983.52 . Table 6 displays pump-
the found solution.
ing and idle times as well as batch sizes for the feasible sequence
For scenario 2, most batches are typically sized, whereby
p1 = (P ygas, Naphta, Benzene, P ygas, Naphta ).
batches 1, 5, 8, 9, and 11 are smaller than the smallest typical
Fig. 4 visualizes the batch size corrections q
i
corresponding to
1 batch size reported in Relvas et al. (2013). However, the deviations
p .

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

10 T. Kirschstein / European Journal of Operational Research 000 (2017) 113

Table 5
Batch sequence of rst case study before repair routine.

Batch pos. Product Lower batch size Batch size Upper batch size Pumping time Idle time
qi
i scheduled qi qi qi ui

1 Pygas 20 0 0 1900 10,0 0 0 0.27 0.17


2 Benzene 10 0 0 2440 50 0 0 0.35 0.17
3 Pygas 20 0 0 2839 10,0 0 0 0.41 0.00
4 Naphta 30 0 0 7100 70 0 0 1.01 0.00
Total 2.04 0.34

Table 6
Batch sequence of rst case study after repair routine.

Batch pos. Product Lower batch size Batch size Upper batch size Pumping time Idle time
qi
i scheduled qi qi qi ui

1 Pygas 20 0 0 2778 10,0 0 0 0.40 0.00


2 Naphta 30 0 0 4002 70 0 0 0.57 0.00
3 Benzene 10 0 0 2802 50 0 0 0.40 0.00
4 Pygas 20 0 0 2697 10,0 0 0 0.39 0.00
5 Naphta 30 0 0 4055 70 0 0 0.58 0.39
Total 2.34 0.39

Fig. 4. Illustration of interface calculation in batch pipeline systems.

Table 7
Case study data extracted from Relvas et al. (2013) containing storage capacities (in VU), settling
periods (in days), demand (in VU), batch size limits (in VU) and allowed product transitions.

s lscap ps ds q s qS1
s qS2
s Transition allowed

P1 P2 P3 P4 P5 P6

P1 81,500 1 5968 5968 131,998 21,800   


P2 32,0 0 0 2 2429 4858 37,901 16,0 0 0 
P3 24,0 0 0 1 598 598 24,957 16,0 0 0   
P4 27,800 1 2153 2153 32,251 11,800   
P5 10,320 1 322 322 10,537 3200   
P6 13,120 1 607 607 13,651 6200 

Table 8
Final batch sequence of second case study (scenario 1).

Batch pos. Own Lower batch size Batch size Upper batch size Pumping time Idle time
qi
i solution qi qi qi ui

1 P1 5968.00 36733.46 131997.51 2.35 1.37


2 P2 4858.00 37901.45 37901.45 2.43 0.00
3 P1 5968.00 76082.72 131997.51 4.88 0.00
4 P3 598.00 11969.73 24956.67 0.77 0.00
5 P4 2153.00 10843.98 32251.06 0.70 0.00
6 P5 322.00 1291.60 10537.50 0.08 1.45
7 P6 607.00 12149.88 13651.17 0.78 1.70
8 P5 322.00 5153.64 10537.50 0.33 0.00
9 P4 2153.00 32251.06 32251.06 2.07 0.00
10 P1 5968.00 6640.93 131997.51 0.43 0.00
11 P2 4858.00 10718.08 37901.45 0.69 0.00
Total 15.50 4.52

are comparatively small. Nonetheless, further narrowing the batch in (9). When relaxing the 0-switch rule and optimizing for a mini-
size limits by increasing lower limits to the smallest typical values mal deviation from typical batch sizes, the number of untypically-
complicates the problem instance to an extent that prohibits nd- sized batches can be further minimized as shown in 4th column in
ing a feasible solution (at least in a reasonable amount of time). Table 9.
Nonetheless, quite similar results compared to the solutions re-
ported in Relvas et al. (2013) could be found although a more re- 7. Conclusion
stricted problem is addressed here as the 0-switch rule is applied.
As in this particular case study stock holding cost are assumed to This paper formulates a scheduling model for serial one-to-one
be zero, calculating stock levels correctly does not matter. Hence, pipelines with multiple products. Given a static parameter set-
the 0-switch rule can be relaxed, i.e., equality is no longer required ting, determining an optimal sequence minimizing stock holding

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

T. Kirschstein / European Journal of Operational Research 000 (2017) 113 11

Table 9
Final batch sequence of second case study (scenario 2), batches with unusual batch sizes are set bold.

Batch pos. Product Batch size (0-switch) Batch size (relaxed) Typical lower Typical upper
i scheduled qi qi batch size batch size

1 P1 15189.93 9058.154 17,300 2180 0.0 0


2 P2 12450.63 11433.512 80 0 0 160 0 0.0 0
3 P1 2180 0.0 0 17300 17,300 2180 0.0 0
4 P4 10508.88 11800 3800 1180 0.0 0
5 P5 322.00 2488.96 800 320 0.0 0
6 P6 620 0.0 0 6200 3100 620 0.0 0
7 P5 2966.96 800 800 320 0.0 0
8 P3 6108.07 6108.07 80 0 0 160 0 0.0 0
9 P1 10528.32 17300 17,300 2180 0.0 0
10 P2 12359.59 13376.70 80 0 0 160 0 0.0 0
11 P1 13439.91 17300 17,300 2180 0.0 0
12 P4 11482.22 10191.1 3800 1180 0.0 0

and setup costs can be modeled as a variant of the economic lot Appendix. Pseudocodes
scheduling model. Depending on the batch separation technology
applied, the ELSP has to cope with sequence-independent (physi-
cal batch separation) or sequence-dependent setup costs (interface Algorithm 1 Procedure for sequencing batches with given fre-
separation). Additionally, side constraints on the minimal and max- quencies.
imal batch size are added to the model. As the derived ELSP, par- 1: procedure Sequencing(f)
ticularly the sequence-dependent version, is hard to solve to op- 2: normalize product frequencies fs fs / minsS fs
timality, the heuristic of Dobson (1992) is adapted and enhanced 3: round fs to nearest power-of-two
to meet the specic requirements of proposed scheduling problem. 4: S p arg max fs  determine most frequent
In particular, a repair routine is presented in order to nd a fea- sS
sible solution w.r.t. the batch size constraints. Case studies from products
chemical and petroleum industry illustrate the applicability of the 5: build sub-sequence p by solving TSP with s S p
proposed heuristic. 6: S rest S /S p  determine products to be
Further research might be devoted to incorporate more tech- sequenced
nical details into the planning framework such as settling times, 7: repeat
switch-over times or inspection periods. Furthermore, an exten- 8: determine frest max fs and S p arg max fs
sS rest sS rest
sion to pipeline networks with multiple injection and retraction min fs min fs
points or systems allowing reverse product ows might be of sS p sS p
9: concatenate p with itself times  frest
is a
frest
interest.
multiple of two
10: for s S p do
Acknowldgement
11: add s at its best position in p
12: end for
I thank the former colleagues of the Dow Olenverbund GmbH
13: S rest S rest /S p
for their support and help as well as the reviewers for their
14: until S rest =
valuable comments which helped to improve the quality of the
15: return p
paper.
16: end procedure

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

12 T. Kirschstein / European Journal of Operational Research 000 (2017) 113

Algorithm 2 Repair procedure for nding a feasible batch sequence.


1: procedure Repair(p)
2: repeat
//try swaps of current sequence p to nd feasible solution
3: set f f  retain product frequencies of p
4: for (i, j ) p do
5: if pi = p j pi1 = p j pi+1 = p j p j1 = pi p j+1 = pi then
6: p Swap(p, i, j )  exchange batches i and j
7: if p is a feasible sequence then
8: return p
9: end if
10: end if
11: end for
//change frequencies  
 
12: i (p ) max 0, qi q pi and i (p ) max 0, q p qi  calculate batch size violations
i

13: (p ) iI i (p ) + i (p )  assign total slack
14: S + {s | s = pi i > 0}  subset for which frequencies are increased
15: if i with i < 0 f pi = 1 then
16: S + S + S \{s | s = pi i < 0 f pi = 1}  subset with counterincrease
17: end if
18: S {s | s = pi i > 0 f pi > 1}  subset for which frequencies are reduced
19: apply (25) or (24) to reduce S and S +
20: P  initialize set of new sequences
// try frequency increase
21: for s S + do
22: Ps+ Add(p, s )  add batch of product s at all reasonable positions
23: if any p Ps+ is feasible then
24: return p  return feasible sequence with minimal cost
25: else
26: P P Ps+  retain Ps+
27: end if
28: end for
// try frequency reductions
29: for s S do
30: Ps Del(p, s )  delete batch of product s from all reasonable positions
31: if any p Ps is feasible then
32: return p  return feasible sequence with minimal cost
33: else
34: P P Ps  retain Ps
35: end if
36: end for
37: p arg min (p )  select sequence with minimal total violation
p P
38: until stopping criterion met or cycle appears
39: end procedure

References Dobson, G. (1987). The economic lot-scheduling problem: achieving feasibility using
time-varying lot sizes. Operations Research, 35(5), 764771.
Bomberger, E. E. (1966). A dynamic programming approach to a lot size scheduling Dobson, G. (1992). The cyclic lot scheduling problem with sequence-dependent se-
problem. Management Science, 12(11), 778784. tups. Operations Research, 40(4), 736749.
Byrd, R. H., Lu, P., Nocedal, J., & Zhu, C. (1995). A limited memory algorithm for Doll, C. L., & Whybark, D. C. (1973). An iterative procedure for the single-machine
bound constrained optimization. SIAM Journal on Scientic Computing, 16(5), multi-product lot scheduling problem. Management Science, 20(1), 5055.
11901208. Inkpen, A. C., & Moffett, M. H. (2011). The global oil and gas industry: Management,
Cafaro, D., & Cerd, J. (2004). Optimal scheduling of multiproduct pipeline sys- strategy and nance. PennWell Books.
tems using a non-discrete MILP formulation. Computers and Chemical Engineer- Kirschstein, T. (2015). Integrated supply chain planning in chemical industry: Potentials
ing, 28(10), 20532068. ISSN 0098-1354. of simulation in network planning. Springer.
Cafaro, D., & Cerd, J. (2008). Dynamic scheduling of multiproduct pipelines with Lopez, M. N., & Kingsman, B. (1991). The economic lot scheduling problem: Theory
multiple delivery due dates. Computers and Chemical Engineering, 32, 728753. and practice. International Journal of Production Economics, 23(13), 147164.
Cafaro, D., & Cerd, J. (2009). Optimal scheduling of rened products pipelines Maxwell, W. L., & Singh, H. (1983). The effect of restricting cycle times in the eco-
with multiple sources. Industrial and Engineering Chemistry Research, 48(14), nomic lot scheduling problem. AIIE Transactions, 15(3), 235241.
66756689. MirHassani, S. (2008). An operational planning model for petroleum products logis-
Cafaro, D., & Cerd, J. (2010). Operational scheduling of rened products pipeline tics under uncertainty. Applied Mathematics and Computation, 197, 744751.
networks with simultaneous batch injections. Computers and Chemical Engineer- MirHassani, S., & Jahromi, H. F. (2011). Scheduling multi-product tree-structure
ing, 34(10), 16871704. pipelines. Computers and chemical engineering, 35(1), 165176.
Chateld, D. (2007). The economic lot scheduling problem: A pure genetic search Moon, I., Silver, E. A., & Choi, S. (2002). Hybrid genetic algorithm for the eco-
approach. Computers and Operations Research, 34(10), 28652881. nomic lot-scheduling problem. International Journal of Production Research, 40(4),
Company, C. P. (2015). Informational topics. http://www.colpipe.com/docs/ 809824.
default-source/tarrifs/informational-topics.pdf

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014
JID: EOR
ARTICLE IN PRESS [m5G;June 22, 2017;7:37]

T. Kirschstein / European Journal of Operational Research 000 (2017) 113 13

Moradi, S., & MirHassani, S. (2015). Transportation planning for petroleum products Rejowski R., et al. (2004). Ecient MILP formulations and valid cuts for multiprod-
and integrated inventory management. Applied Mathematical Modelling, 39(23), uct pipeline scheduling. Computers and Chemical Engineering, 28(8), 15111528.
76307642. ISSN 0098-1354.
Moradi, S., & MirHassani, S. (2016). Robust scheduling for multi-product pipelines Rejowski, R., & Pinto, J. (2008). A novel continuous time representation for the
under demand uncertainty. The International Journal of Advanced Manufacturing scheduling of pipeline systems with pumping yield rate constraints. Computers
Technology, 87(9), 25412549. and Chemical Engineering, 32(4), 10421066.
Mostafaei, H., Castro, P. M., & Ghaffari-Hadigheh, A. (2015). A novel monolithic MILP Relvas, S., Boschetto Magato, S., Barbosa-Pvoa, A. P., & Neves, F. , (2013). Integrated
framework for lot-sizing and scheduling of multiproduct treelike pipeline net- scheduling and inventory management of an oil products distribution system.
works. Industrial and Engineering Chemistry Research, 54(37), 92029221. Omega, 41(6), 955968.
Mostafaei, H., Castro, P. M., & Ghaffari-Hadigheh, A. (2016). Short-term scheduling Relvas, S., Barbosa-Pvoa, A., & Matos, H. (2009). Heuristic batch sequencing on a
of multiple source pipelines with simultaneous injections and deliveries. Com- multiproduct oil distribution system. Computers and Chemical Engineering, 33(3),
puters and Operations Research, 73, 2742. 712730.
Moura, A., de Souza, C., Cire, A., & Lopes, T. (2008). Planning and scheduling the Relvas, S., Matos, H., Barbosa-Pvoa, A., Fialho, J., & Pinheiro, A. (2006). Pipeline
operation of a very large oil pipeline network. In Principles and practice of con- scheduling and inventory management of a multiproduct distribution oil sys-
straint programming (pp. 3651). Springer. tem. Industrial and Engineering Chemistry Research, 45(23), 78417855.
Magato, L., Arruda, L., & Neves, F. , (2004). A mixed integer programming approach Sethi, S., & Sorger, G. (1991). A theory of rolling horizon decision making. Annals of
for scheduling commodities in a pipeline. Computers and Chemical Engineering, Operations Research, 29(1), 387415.
28(12), 171185. van Essen, H., Croezen, H., & Nielsen, J. (2003). Emissions of pipeline transport com-
Magato, L., Arruda, L., & Neves, F. , (2005). Using CLP and MILP for scheduling pared with those of competing modes. Delft: Association of Petrochemicals Pro-
commodities in a pipeline. Computer Aided Chemical Engineering, 20, 10271032. ducers in Europe.
Magato, L. M., Arruda, L., & Neves, F. , (2011). A combined CLPMILP approach for Wchter, A., & Biegler, L. T. (2006). On the implementation of an interior-point l-
scheduling commodities in a pipeline. Journal of Scheduling, 14(1), 5787. ter line-search algorithm for large-scale nonlinear programming. Mathematical
Magato, S., Magato, L. M., & Neves, F. , (2015). Novel MILP decomposition ap- Programming, 106(1), 2557.
proach for scheduling product distribution through a pipeline network. Indus- Wagner, B. J., & Davis, D. J. (2002). A search heuristic for the sequence-depen-
trial and Engineering Chemistry Research, 54(18), 50775095. dent economic lot scheduling problem. European Journal of Operational Research,
Rejowski, R., & Pinto, J. (2003). Scheduling of a multiproduct pipeline system. Com- 141(1), 133146.
puters and Chemical Engineering, 27, 12291268.

Please cite this article as: T. Kirschstein, Planning of multi-product pipelines by economic lot scheduling models, European Journal of
Operational Research (2017), http://dx.doi.org/10.1016/j.ejor.2017.06.014

Você também pode gostar