<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AJOR</journal-id><journal-title-group><journal-title>American Journal of Operations Research</journal-title></journal-title-group><issn pub-type="epub">2160-8830</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ajor.2013.31001</article-id><article-id pub-id-type="publisher-id">AJOR-27512</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Computational Tools to Support Ethanol Pipeline Network Design Decisions
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ustavo</surname><given-names>Dias da Silva</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Virgílio</surname><given-names>José Martins Ferreira Filho</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Laura</surname><given-names>Bahiense</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Gustavo Dias da Silva</addr-line></aff><aff id="aff2"><addr-line>Production Engineering Program, Federal University of Rio de Janeiro, Rio de Janeiro, Brazil</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>gustavodias.po@gmail.com(UDDS)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>29</day><month>01</month><year>2013</year></pub-date><volume>03</volume><issue>01</issue><fpage>1</fpage><lpage>16</lpage><history><date date-type="received"><day>November</day>	<month>16,</month>	<year>2012</year></date><date date-type="rev-recd"><day>December</day>	<month>17,</month>	<year>2012</year>	</date><date date-type="accepted"><day>December</day>	<month>30,</month>	<year>2012</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   This paper considers the pipeline network design problem (PND) in ethanol transportation, with a view to providing robust and efficient computational tools to assist decision makers in evaluating the technical and economic feasibility of ethanol pipeline network designs. Such tools must be able to address major design decisions and technical characteristics, and estimate network construction and operation costs to any time horizon. The specific context in which the study was conducted was the ethanol industry in Sao Paulo. Five instances were constructed using pseudo-real data to test the methodologies developed.  
    
 
</p></abstract><kwd-group><kwd>Ethanol; Pipelines; Network Design; Mathematical Programming</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>People use networks daily (sometimes unwittingly) in a wide range of contexts. Telephony networks, logistics networks for freight transportation and distribution networks (water, energy) provide services that are essential to modern life and, therefore, must be properly designed to ensure service quality and meet user demands.</p><p>Brazil is projected to be both a major producer and supplier of biofuels, particularly biodiesel and ethanol. These fuels are gaining importance on the world stage in view of the environmental, technological and economic impacts caused by global dependence on fossil fuels, particularly oil [<xref ref-type="bibr" rid="scirp.27512-ref1">1</xref>].</p><p>However, Brazil’s transport logistics system still rests largely on its highway network, which—although economically competitive—is not safe for transporting fuel, especially in large volumes. A paradigm shift must take place and Operations Research can help in that process.</p><p>This study aims to provide robust and efficient computational tools to assist decision makers in evaluating the technical and economic feasibility of ethanol pipeline network designs. Such tools must be able to address major design decisions and technical characteristics, and estimate network construction and operation costs to any time horizon.</p><p>The paper is organized as follows: Section 2 presents the context that motivated the research; Section 3 describes the problem under study, characterizing it in technical and theoretical terms; Section 4 presents the optimization approaches taken to solving the problem; Section 5 reports the results and conclusions; and Section 6 offers some final remarks on the study.</p></sec><sec id="s2"><title>2. Context</title><p>Current economic growth rates have generated increasing demand for oil. Consequently, market laws exert strong pressure on oil prices, which fluctuate, significantly increasing the cost of living. In parallel with this, the environmental effects of global warming are an issue globally. Pollutant emissions from burning fossil fuels aggravate the phenomenon, drawing criticism and spurring the search for viable alternatives [<xref ref-type="bibr" rid="scirp.27512-ref1">1</xref>]. Technological development has also contributed significantly to this substitution. “Flex-fuel” vehicles have reduced fossil-fuel consumption by offering consumers freedom of choice [<xref ref-type="bibr" rid="scirp.27512-ref2">2</xref>].</p><p>Ethanol will play an important role in this process: firstly, because large-scale production costs have been competitive with those of oil since 2004, and secondly, because it is a cleaner energy source [<xref ref-type="bibr" rid="scirp.27512-ref3">3</xref>]. Brazil has become critical in this process, because it has the experience and natural conditions for producing ethanol from sugarcane, and has invested strongly and achieved technological improvements since the start of the Pro&#225;lcool program [4,5]. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows Brazil’s output by region in crop year 2008/2009 [<xref ref-type="bibr" rid="scirp.27512-ref6">6</xref>].</p><p>Brazil is now the world’s second-largest producer [<xref ref-type="bibr" rid="scirp.27512-ref4">4</xref>]. According to the Sugarcane Industry Union, [<xref ref-type="bibr" rid="scirp.27512-ref6">6</xref>], production reached 27.5 million cubic meters in crop year 2008/ 2009, and is increasing each season. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows the trend [<xref ref-type="bibr" rid="scirp.27512-ref6">6</xref>]. However, studies have found that bottlenecks in Brazil’s infrastructure significantly affect fuel logistics, burdening links in the supply chain and raising endproduct prices [<xref ref-type="bibr" rid="scirp.27512-ref7">7</xref>].</p><p>This result is worrying given that production is not evenly distributed across Brazil. Though concentrated mostly in the southeast [<xref ref-type="bibr" rid="scirp.27512-ref8">8</xref>], due mainly to different production technologies [<xref ref-type="bibr" rid="scirp.27512-ref3">3</xref>], a logistics network is essential to collecting it at lowest possible cost. Pipelines are a particularly appropriate transport mode for such transfers, as they always attain large volumes (<xref ref-type="fig" rid="fig3">Figure 3</xref>). Motivated by this context, this study examines the logistics of fuel. The particular problem addressed is how to design a pipeline network to collect the ethanol produced by a set of regions and route it to a pre-determined destination region. Pipelines were chosen for their high reliability and economic competitiveness [<xref ref-type="bibr" rid="scirp.27512-ref9">9</xref>]. S&#227;o Paulo State was chosen since it is currently Brazil’s largest ethanol producer [<xref ref-type="bibr" rid="scirp.27512-ref6">6</xref>], thus justifying investments in the sector. <xref ref-type="fig" rid="fig2">Figure 2</xref> illustrates its ouptut.</p><p>Designing such networks is a complex task due to the large number of technical and economic requirements to be considered simultaneously. Proper project management is imperative, and projects are commonly divided into conceptual and hierarchically dependent phases that characterize their life cycle [<xref ref-type="bibr" rid="scirp.27512-ref10">10</xref>]. A pipeline project consists of the following stages [<xref ref-type="bibr" rid="scirp.27512-ref9">9</xref>]:</p><p>• Planning: early stage of the potential enterprise, where technical, economic and social data are collected to assist feasibility evaluation.</p><p>• Conceptual Engineering: identifies project technical and economic feasibility, and sets the basic and detail engineering agenda.</p><p>• Basic Engineering: the basic design is developed and detailed to consolidate engineering aspects before any procurement and implementation expenditures are made.</p><p>• Implementation: step execution and control. Activities typical of this stage include construction and assembly, commissioning and conditioning.</p><p>• Operation and Maintenance; Decommissioning: operation of pipeline is terminated because it is obso lescent, supplanted by other systems or no longer of interest to the owner.</p><p>From an Operations Research viewpoint, meanwhile, Minoux [<xref ref-type="bibr" rid="scirp.27512-ref11">11</xref>] points out that, given a set of nodes, designing a network consists of constructing and/or installing better connections between some pairs of these nodes in compliance with certain operational specifications that govern the application’s behavior. That definition covers the planning and conceptual engineering phases mentioned above, where the main concern is to assess the strategy’s competitiveness, and where the level of technical detail is still low. This study intends to develop computational tools to assist in that endeavor. Silva [<xref ref-type="bibr" rid="scirp.27512-ref12">12</xref>] offers a brief literature review on the PND (and correlated problems). Distribution network designs are frequent, and entail deciding pipeline diameters, pump capacities, reservoir elevation profiles and duct flows, satisfying constraints, ensuring hydraulic energy balance and meeting demand. Such decisions and constraints are handled in an integrated or hierarchical manner, frequently taking topology as given. None address the problem examined here. The most similar, offered by Brimberg et al. [<xref ref-type="bibr" rid="scirp.27512-ref13">13</xref>], consists in designing an optimal pipeline network topology to transport output from oil fields in Gabon by connecting oil wells to a port.</p><p>Investment and operating costs tend to be of different orders of magnitude [<xref ref-type="bibr" rid="scirp.27512-ref9">9</xref>]. In the context considered here, however, all information about total project cost is important, since roads historically form the backbone of Brazil’s logistics system [<xref ref-type="bibr" rid="scirp.27512-ref2">2</xref>] and are always an economically competitive alternative. In addition, depending on the time horizon considered, operating costs may influence design decisions. The combinatorial nature of the problem, coupled with the nonlinear equations of fluid dynamics, requires the use of a mixed-integer nonlinear program (MINLP) approach, which is solved via exact and heuristic algorithms.</p></sec><sec id="s3"><title>3. Pipeline Network Design</title><p>This section will give an overview of ethnol pipeline network design, indicating the key theoretical and technical characteristics. The problem is formally stated, presenting the technical decisions that are being addressed and the main assumptions. Next a cost analysis is made of pipeline network projects. Finally, the problem is formulated mathematically.</p><sec id="s3_1"><title>3.1. Fluid Dynamics Considerations</title><sec id="s3_1_1"><title>3.1.1. Flows</title><p>Flows are caused by the action of a shear stress on a fluid initially at rest. Temporal analysis of a flow allows it to be classified into one of two regimes, namely the transitional (early stage) regime, in which flow velocity, density and temperature parameters at any point vary with time, and the steady-state (perennial stage) regime in which these parameters do not vary with time.</p><p>Steady-state flows, in turn, can be classified into two types: laminar, in which fluid particles move along parallel streamlines (paths) without macroscopic interaction between the layers; and turbulent, in which fluid particles move along irregular trajectories with major macroscopic interaction. The dimensionless Reynolds number is used to indicate whether the flow is laminar or turbulent [<xref ref-type="bibr" rid="scirp.27512-ref14">14</xref>].</p><p>In ducts, flow may occur under the predominant, but not exclusive, action of two different mechanisms: gravity or a pressure gradient. The main characteristic of flow under gravity, known as open-channel flow, lies in the fact that the fluid flows without completely filling the duct. In the case of flows promoted by a pressure gradient. The ducts are completely filled by the fluid transfer.</p><p>Finally, it is possible to characterize two regions in flow along a pipeline: the entrance region, where the velocity field profile is not yet fully developed, and the fully-developed flow region, where the velocity field is the same at any cross-section. The fully-developed region may not exist, but generally, for a pipeline length <img src="1-1040180\8dbf9fac-0883-41ba-be7e-72aaef6ba7bc.jpg" /> and diameter<img src="1-1040180\3bc38abf-8146-4e7a-9250-010f67e9cf17.jpg" />, if<img src="1-1040180\5ebe911c-f61f-485d-b693-1808f4085c4e.jpg" />, it can be assumed that the steady state has been reached.</p></sec><sec id="s3_1_2"><title>3.1.2. Energy Issues</title><p>Pipeline networks comprise ducts and other components such as valves, bends, fittings, pumps, turbines and tanks. All these elements contribute to system energy dissipation. There are two types of losses, one due to friction between duct walls and the outer layers of the fluid, and the other due to geometric changes in cross-section profiles along the pipeline route. The D’Arcy-Weisbach Equation enables losses to be calculated for incompressible, permanent and fully-developed flows:</p><disp-formula id="scirp.27512-formula251"><label>(1)</label><graphic position="anchor" xlink:href="1-1040180\f34219f5-8bc7-4896-b099-aed3960960ce.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\daca7fa2-43d1-4268-9926-c37e248bd0ef.jpg" /> is the pressure drop along the pipeline whose transferred flow is <img src="1-1040180\8f23cf27-e817-47b1-8160-7b8d65c04ee9.jpg" /> the parameter pi, <img src="1-1040180\cc27d6c2-b19f-43e7-8c6d-9bfe9e84fe3d.jpg" />the gravity (m/s<sup>2</sup>) and <img src="1-1040180\dee88371-09b8-4da7-a73c-39da5812a565.jpg" /> the friction factor.</p><p>Flow machines are mechanical devices capable of extracting energy from fluids (turbines) or adding energy to them (pumps) by dynamic interactions between the device and the fluid [<xref ref-type="bibr" rid="scirp.27512-ref14">14</xref>]. Pumps, in turn, are described mainly by characteristic curves that relate the load provided and the operation flow. <xref ref-type="fig" rid="fig4">Figure 4</xref> exemplifies this. Another important parameter in describing pump energy behavior is the Net Positive Suction Head (NPSH), which relates to cavitation (vapor bubbles inside the device). Commonly, the pressure in the pump’s power section (input) is low and, when this value reaches the vapor pressure of the fluid, a fraction of the liquid evaporates. This phenomenon leads to loss of efficiency and structural damage.</p><p>In 1738 Bernoulli formulated the basic equation governing mechanical energy conservation in a fluid flow system. Generalized a few years later, the energy balance for an isothermal, confined, steady and turbulent flow of a viscous fluid that receives work from, and performs work on, flow machines is given by:</p><disp-formula id="scirp.27512-formula252"><label>(2)</label><graphic position="anchor" xlink:href="1-1040180\d2b0d151-e949-4cce-aea8-547401cee523.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\49fb7f44-6b32-4d6f-8e41-1d8c8709b139.jpg" /> is the density of the transferred fluid. It represents the sum of pressure (1st term), kinetic (2nd term) and gravitational potential (3rd term) energies in the system, the total power loss<img src="1-1040180\3dde5065-b3ec-429c-8a13-d78aef6d8b02.jpg" />, the work done by the system on its border<img src="1-1040180\9f44455f-c546-4700-bf2b-19743af232dc.jpg" />, and the work performed by device B on the system<img src="1-1040180\3502b454-b517-4483-81b4-539aa7de270c.jpg" />.</p></sec><sec id="s3_1_3"><title>3.1.3. Equipment Selection</title><p>Pumps to ensure flows must be selected appropriately not to overestimate or underestimate the equipment’s capacity, thus avoiding unnecessary expense. The system curve is a curve relating energy flow to the load supplied to the fluid, considering the network’s technical and operational features. Consider the system in <xref ref-type="fig" rid="fig5">Figure 5</xref>. Substituting Equation (1) into (2), between A and C:</p><disp-formula id="scirp.27512-formula253"><label>(3)</label><graphic position="anchor" xlink:href="1-1040180\d5c37497-e3c9-473a-9282-38a3637719b5.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\40c55d37-8a67-4e8f-8eb8-b7d004af6d76.jpg" /> and <img src="1-1040180\c6a0670f-fd10-4f90-8d17-80996326b3a6.jpg" /> are appropriate parameters. The Equation (3) characterizes the system curve, relating the energy supplied and the flow. This is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref> for a generic set of technical parameters.</p><p>System and pump curves are used to choose equipment. Given a system curve and an operating flow<img src="1-1040180\b049b2a0-6732-4621-9055-24e6a31a4d73.jpg" />, the best-suited pump B to provide the required <img src="1-1040180\190b8f8f-9b6c-40ec-966c-482087107248.jpg" /> energy is a pump whose characteristic curve intersects the system curve at the desired flow operating point (<xref ref-type="fig" rid="fig4">Figure 4</xref>). However, the efficiency curve of the pump should also be considered. Ideally, the operating point should be as close as possible to the highest efficiency point [<xref ref-type="bibr" rid="scirp.27512-ref14">14</xref>]. This latter curve will be disregarded for simplicity.</p></sec></sec><sec id="s3_2"><title>3.2. General Characteristcs of the PND</title><p>Ethanol production is a seasonal activity, and the productive capacity of any region is subject to the conditions necessary for crop development. Such issues make production minimally random in terms of constancy and amount to a given time horizon. Also sugar is produced from sugar cane, and high-demand situations impact ethanol production [<xref ref-type="bibr" rid="scirp.27512-ref15">15</xref>]. Proper treatment of these issues calls for stochastic approaches. Here, however, ethanol output is assumed to be known and not to vary to a given time horizon.</p><p>There is no minimum pressure requirement at the end of each section, provided the flow reaches its destination. Hence, pressures will be considered zero at these points. Economic gains also motivate this simplification. Still, assuming that the flows are promoted pressure gradients alone (Section 3.1.1), this hypothesis requires that at least one pumping station be installed at the entrance to each section. This requirement is naturally well conceived, since geographical dimensions require the use of storage tanks, which themselves result in pressure discontinueties.</p><p>In an ideal operating regime, storage tanks would be unnecessary in the producer regions, because flow balance would be automatically guaranteed. In practice, in</p><p>addition to production inconstancy over time, maintenance system halts are usually necessary, requiring a minimum installed storage capacity in each region. Estimates of such capacities should consider both the randomness of the production and the system downtime schedule, leading again to a stochastic approach. Ideal balance is assumed and also that no storage capacity is required.</p><p>The essential nature of services provided by networks requires the system to be able to satisfy design demands even under failure. A redundant network ensures there are at least two distinct paths between any two network nodes. However, this solution requires construction of more pipelines than minimally required to connect all nodes in the network, which in geographically extensive networks, can represent overinvestment. The common solution in such cases is to implement a preventive maintenance policy. It is assumed therefore that the network is designed with no redundance.</p><p>On the other hand, for a given set of technical specifications (diameter, thickness and material output), ducts are certified to withstand a certain maximum operating pressure. That relationship is given by the following equation:</p><disp-formula id="scirp.27512-formula254"><label>(4)</label><graphic position="anchor" xlink:href="1-1040180\f181c00e-4a96-4a0f-93e0-5949e9f68a9e.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\2a634be4-424b-4ab1-b96f-5a334b72a481.jpg" /> is a safety factor [<xref ref-type="bibr" rid="scirp.27512-ref16">16</xref>], <img src="1-1040180\b75b5528-af49-4f48-892c-ee323448e27a.jpg" />the circumferential tension in the pipeline, <img src="1-1040180\0ee3b416-1458-4043-8226-edfc6bc6e860.jpg" />the diameter and <img src="1-1040180\baf1c18a-eaa0-4d9d-89a6-cfc16b81d7dd.jpg" /> the thickness. The operating pressure is a function of the amount of energy supplied to the system through pumping stations. To prevent limits being exceeded, several stations are placed along sections of the network. For simplicity, however, it is assumed that only one station will be installed in each region. As a result, the maximum operating pressure will occur exactly at the entrance to each section. In a duct with constant flow and speed, zero final pressure and no flow machines, it follows from (1), (2) and (4) that:</p><disp-formula id="scirp.27512-formula255"><label>(5)</label><graphic position="anchor" xlink:href="1-1040180\cf682592-8084-4e1a-ac1e-48c42bf390b8.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\d3121bf9-da69-40a7-a8f8-f50b4d1224ad.jpg" /> estimates the maximum value of the flow in the duct.</p><p>Route engineering entails certain difficulties. First, it is impossible to build pipelines in straight lines, since there may be impassable terrain between points of interest. Additionally, many slopes may be present in the altitude profile between two regions and this has considerable impact on pump dimensioning. Such issues are to be addressed at data level: the former, when considering distances among the regions, and the latter, using an “equivalent” altitude difference to reflect effects of slopes along routes.</p><p>Pump dimensioning is an important issue. This is done to avoid cavitation (Section 3.1.2) by estimating these pumps’ NPSH, which is a function of the height of an equivalent liquid column upstream of the pump. Estimating NPSH, however, would entail estimating the maximum capacity of the tanks upstream of the pump, which would make the mathematical model much more complex. Thus, dimensioning will be done by estimating the downstream energy.</p><p>Geographically distributed pipeline networks are subject to temperature variations. This means that fluid property values may change significantly, which may invalidate use of the equations presented in Section 3.1. Thus, flow is assumed to be isothermal. Moreover, it is assumed to occur in a turbulent regime, but in fully developed state, since the distance the flow travels in each network segment is much greater than the pipeline diameter, a necessary condition for such a hypothesis to be true (Section 3.1.1).</p><p>Finally, the flow along the network is not energyconserving (Section 3.1.2). Energy losses are usually offset using pumps in order to ensure system energy balance. Equation (2), used to guarantee this balance in the mathematical model, furnishes an estimate of the energy to be provided to the system at pumps downstream. Losses due to geometric changes will be considered using an estimator for this loss, since there is no way a priori to define the set of components installed. Finally, it is assumed that the flow does not perform work on its surroundings.</p></sec><sec id="s3_3"><title>3.3. The PND Studied</title><p>The problem of designing an ethanol pipeline network, given a set of production regions<img src="1-1040180\cd290f06-bd95-4587-ad42-5ac1156c30f6.jpg" />, a set of associated flows <img src="1-1040180\7b653fca-0bd9-4681-811a-8610be7b3c05.jpg" /> and available diameters<img src="1-1040180\07f4d55c-9a93-44d0-bd6d-4158cffcac2c.jpg" />, consists of selecting a subset of links between pairs of these regions to constitute the topology, an associated diameter for each of these connections and, finally, calculating the energy to be introduced into the system to ensure the flow to destination region<img src="1-1040180\06cb8ee1-3a4e-4c60-a253-b1db7f8c760c.jpg" />, while minimizing total project cost.</p></sec><sec id="s3_4"><title>3.4. Cost Analysis</title><p>Economically, there are many significant costs in a pipeline project [<xref ref-type="bibr" rid="scirp.27512-ref9">9</xref>]. However it is virtually impossible to deal with them simultaneously, considering the technical complexity involved. One has to select those that represent a significant proportion of project cost, those that can be adequately estimated from the decisions being taken, and those directly influenced by such decisions.</p><p>Topology decisions impact on procurement and assembly costs. The same is true of diameters, since different diameters have different prices and are more or less costly to assemble. Pumps are dimensioned (Section 3.1.3) indirectly by calculating from path, length, diameter and flow. Thus, fixed and variable pumping costs are directly influenced by the decisions taken and will be considered in the model.</p><p>The first three costs are associated with the network construction phase and the last one with the operation phase (to a time horizon<img src="1-1040180\cb24bc40-66ba-4491-883f-3415449f1e12.jpg" />). This can be expressed mathematically as:</p><disp-formula id="scirp.27512-formula256"><label>(6)</label><graphic position="anchor" xlink:href="1-1040180\90110e8d-e8ff-4afd-8e9f-57ade7d87091.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\83300802-d066-42f6-bb41-f1e219a03a62.jpg" /> is total network cost; <img src="1-1040180\027f7e89-e387-4ea5-9274-5b88d3f16101.jpg" />total pipeline procurement cost; <img src="1-1040180\3cf752de-6e2b-450e-b6c4-bb588bc56e0f.jpg" />total pipeline installation cost: <img src="1-1040180\a83dd076-7bd4-40f8-81fe-e4fd30999f13.jpg" />the total fixed pumping cost; and <img src="1-1040180\838da681-9eda-4ecc-a39c-c97b302823fc.jpg" /> the variable pumping cost to operating time horizon<img src="1-1040180\fd97612c-2bcf-41eb-affa-8f21bbada302.jpg" />. <img src="1-1040180\3cc33248-024b-4452-96da-d88d6c221f0c.jpg" />accounts for approximately 17% of total cost [<xref ref-type="bibr" rid="scirp.27512-ref9">9</xref>].</p><sec id="s3_4_1"><title>3.4.1. Pipe Procurement</title><p>Acquisition cost <img src="1-1040180\0cf7c899-3254-4a9e-9c5c-6dc3a30c15e8.jpg" /> can be estimated using the cost per unit mass <img src="1-1040180\739afa32-c89a-4897-957f-719d48a85523.jpg" />of the material from which they are manufactured. For this, consider the cross-section of sector <img src="1-1040180\55838fb2-06aa-4098-8099-cb7384ebb183.jpg" />of length<img src="1-1040180\75007e67-2921-4da1-ab87-d7461553aacb.jpg" />. Defining <img src="1-1040180\dcd527b7-80bb-4b5d-859b-2f766d5b0ae8.jpg" />as the cost of procuring a unit length <img src="1-1040180\be39a012-881e-47d2-8777-80498024bf93.jpg" />of pipe with internal diameter<img src="1-1040180\e7bc45c4-f154-4fe1-97af-0d1b3c82d98e.jpg" />, one obtains:</p><disp-formula id="scirp.27512-formula257"><label>(7)</label><graphic position="anchor" xlink:href="1-1040180\8acd133b-64dc-4048-87f9-6bfcdcd8ec5b.jpg"  xlink:type="simple"/></disp-formula><p>That is, the unit procurement cost of length of a pipe with diameter <img src="1-1040180\6f6277fa-4b66-4f08-be7d-7dd2273fa4cc.jpg" /> is a function of the cost per unit mass <img src="1-1040180\ecb262e5-ff1e-4d55-9778-ce9b345a3555.jpg" /> of the material<img src="1-1040180\6fc211f5-1fbc-4a6f-b1d6-5e1b472c4031.jpg" />, the density<img src="1-1040180\05f23e14-d673-467a-b380-f28f4084cd4e.jpg" />, the thickness of the pipe <img src="1-1040180\b5f46a7e-e97b-469a-910d-aeae8f70a72e.jpg" /> and the diameter<img src="1-1040180\4f240051-c367-4442-8666-da3ad82e67b4.jpg" />. Thus:</p><disp-formula id="scirp.27512-formula258"><label>(8)</label><graphic position="anchor" xlink:href="1-1040180\924a0c4f-76c1-4256-97a0-6c5652ed8aa1.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\e197d9aa-3bc9-4345-be0f-d2957410f192.jpg" /> is the set of sectors that constitute the topology. The Equation (8) represents a linear approximation to the total procurement cost.</p></sec><sec id="s3_4_2"><title>3.4.2. Network Construction</title><p>It is unlikely that an analytical expression exists or can be derived (as in Section 3.4.1) to estimate pipeline installation costs, as installation is a practical task that depends on many factors. However, it may be possible, by empirical analysis of historical data (past projects), to determine approximate, probably non-linear, equations for such costs. However, one can assume that the cost of installing a pipeline sector is directly proportional to its length (the longer the sector length, the greater the amount of resources needed to install it) and depends on the chosen diameter of pipe (handling pipes with different diameters can be more or less costly).</p><p>Thus, the cost of installing <img src="1-1040180\889c6e14-45df-40d1-a8cb-c14be676ad50.jpg" /> is given by:</p><disp-formula id="scirp.27512-formula259"><label>(9)</label><graphic position="anchor" xlink:href="1-1040180\f0152fb0-3a0c-49f9-b44b-0cf010a44e7d.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\96b183a3-93d1-4463-ab6a-002216af16d2.jpg" /> is the cost of installing a unit length of pipewith diameter<img src="1-1040180\7a59eb0d-27d5-47c6-ac18-8aa9d49f17fe.jpg" />. More complex and realistic cost functions can be used to replace (9), although this introduces nonlinearities into the total project cost function, which would complicate the solution to the problem.</p></sec><sec id="s3_4_3"><title>3.4.3. Fixed Pumping</title><p><xref ref-type="fig" rid="fig6">Figure 6</xref> represents the system curve for a sector <img src="1-1040180\8f669d5b-9e1f-4917-91cc-41c7fb796e15.jpg" /> of pipeline with diameter<img src="1-1040180\f7edc96a-996d-4c0a-8479-e46d6faa54d1.jpg" />. For each of the intervals constructed by partitioning the feasible flow space, defined by <img src="1-1040180\9b83f0a4-4a8d-42f0-a722-c8da51998edd.jpg" /> and<img src="1-1040180\a74d98d3-44fd-47b9-a26d-f3e92e522265.jpg" />, a pump <img src="1-1040180\d88396ff-4c7a-4ef0-95d4-67f6ec5d740c.jpg" /> with procurement cost <img src="1-1040180\846e74a4-b3c7-4c6e-9607-a87307d5a50e.jpg" /> is selected (Section 3.1.3). This yields the step cost function represented in <xref ref-type="fig" rid="fig7">Figure 7</xref>, for the pressure domain defined by <img src="1-1040180\72673dc1-c732-4951-af22-4b67c9b89ed4.jpg" /> and<img src="1-1040180\28061ca1-7495-42d7-9e2d-2b50550c740e.jpg" />.</p><p>The function obtained takes discrete values that depend on the pressure range sector <img src="1-1040180\c8bdfb65-6569-4d3b-8d87-121f2ff956d5.jpg" /> is operating in. But selecting a reference pressure for each pressure interval, one can apply a linear regression to obtain the linear pumping cost function shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>, defined mathematically by:</p><disp-formula id="scirp.27512-formula260"><label>(10)</label><graphic position="anchor" xlink:href="1-1040180\1f9c572e-9f09-4cb4-bc74-a5c61c42a2a1.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\feeeff85-7e0e-477f-b458-0b8b129df223.jpg" /> is the cost of providing a unit of pressure, <img src="1-1040180\8c9bc953-7cb2-4170-9a05-8918d95cdc1a.jpg" />is the fixed cost associated with operating sector<img src="1-1040180\af66dac7-24a4-420a-836a-82a5655e4752.jpg" />, and <img src="1-1040180\ad8c2555-86c1-42bb-89a4-1dff9e995821.jpg" /> its operating pressure. The regression must satisfy the condition <img src="1-1040180\a4493ecb-5ef1-4196-b8f1-8455f17eae0c.jpg" /> (negative costs</p><p>for viable pressure values are meaningless). Considering all the sectors that constitute<img src="1-1040180\e881330d-8e08-4c5e-8821-f6c4403aabb4.jpg" />:</p><disp-formula id="scirp.27512-formula261"><label>(11)</label><graphic position="anchor" xlink:href="1-1040180\e39bf589-ac2d-45eb-9596-8d2433a383e4.jpg"  xlink:type="simple"/></disp-formula><p>Regressions for higher degree polynomials can be performed, resulting, however, in the inclusion of nonlinearities in the project cost function.</p></sec><sec id="s3_4_4"><title>3.4.4. Variable Pumping</title><p>The procedure for estimating the variable pumping cost is the same, except that the costs <img src="1-1040180\95f82af3-8b49-49bd-b4b6-31d33488c538.jpg" /> associated with the selected pumps represent the cost of operating them to time horizon<img src="1-1040180\3ed284a2-1a16-4aff-9889-6d8313e10771.jpg" />. Thus, the operating cost of <img src="1-1040180\f977e5e0-bc83-41c7-ba93-e0915416d829.jpg" />for <img src="1-1040180\c8ad6abb-af5d-4381-a84d-b0b938537efa.jpg" /> can be estimated by:</p><disp-formula id="scirp.27512-formula262"><label>(12)</label><graphic position="anchor" xlink:href="1-1040180\982a0784-93fa-4bef-a46c-d660ad6c7279.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\60c9431a-9260-4304-b241-35a0fa0bf825.jpg" /> is the cost of providing a unit of pressure in sector<img src="1-1040180\49175452-3d26-4a27-9fc5-7c9b7b7d0ec1.jpg" />, <img src="1-1040180\07b13344-a08a-4cfe-99ca-1ab3a3339b1b.jpg" />is the fixed cost of operating the sector, and <img src="1-1040180\72a4605b-4142-428f-bf06-560191d0a8c5.jpg" /> the operating pressure. The resulting expression is not time-dependent, but is addressed indirectly in (12). The positivity issue also applies here, as do higher-order regressions.</p></sec><sec id="s3_4_5"><title>3.4.5. Total Cost</title><p>Substituting (8), (9), (11) and (12) in (6), the overall cost <img src="1-1040180\c8a72559-5fa8-47a4-9018-4786632e570d.jpg" /> of network <img src="1-1040180\6835c4ef-2073-43fc-a169-460440ef534e.jpg" /> may be estimated by equation:</p><disp-formula id="scirp.27512-formula263"><label>(13)</label><graphic position="anchor" xlink:href="1-1040180\2091c67a-3251-4137-bf04-11c99a57621f.jpg"  xlink:type="simple"/></disp-formula><p>Note that (13) was derived considering only one diameter value<img src="1-1040180\aa75552e-bc2f-4110-86c2-8acf806e17fd.jpg" />, but will be generalized later.</p></sec></sec><sec id="s3_5"><title>3.5. Mathematical Modeling</title><p>The set of producing regions and candidate links can be represented by a complete digraph, where vertices are regions and edges the links between them. Values for distances and inter-region height differences are associated with edges. Similarly, a graph can be associated with the designed network structure. The graph that satisfies the coverage condition for all regions with the fewest connections is a spanning tree (ST) [<xref ref-type="bibr" rid="scirp.27512-ref17">17</xref>], which is adopted as a solution. The formulation by Gavish [<xref ref-type="bibr" rid="scirp.27512-ref18">18</xref>] will be taken as the basis for modeling.</p><sec id="s3_5_1"><title>3.5.1. Sets, Indexes and Nomenclature</title><p>The set of regions is represented by <img src="1-1040180\9781d25e-8295-4da3-8c3d-620df92c97dd.jpg" /> and diameters by<img src="1-1040180\f6fe20e2-8cec-411b-a1a0-cec0fcb6e134.jpg" />. The reduced set of regions is defined by<img src="1-1040180\665864e8-fc2c-4ceb-a811-3b919d19bf5e.jpg" />. The indexes <img src="1-1040180\442877b4-a1d3-490d-8ae2-b777cb3396f0.jpg" /><sub> </sub>and <img src="1-1040180\5dc64ead-6b07-4dfe-992e-e80a95d1a336.jpg" /><sub> </sub>and index <img src="1-1040180\fc3b9d9d-b432-40e3-89c4-b87138d1836c.jpg" /><sub> </sub>represent the regions and the diameters, respectively. An edge or link <img src="1-1040180\cfaac3db-c329-4680-90aa-8081a2de5276.jpg" /> interconnecting any two vertices is called a sector of the network. For a sector<img src="1-1040180\c07c4f47-f1fb-4d72-8735-de6212278d9a.jpg" />, the flow takes place in the direction<img src="1-1040180\acc52ec3-43e1-488e-abb4-f8ab2ca8a84e.jpg" />. Accordingly, <img src="1-1040180\463531f6-b1ff-4d7f-ae3f-9e98a55ef5ae.jpg" />is the initial (input) vertex and <img src="1-1040180\b1e07fc5-577c-4252-bd91-2b236862d7e7.jpg" /> the final (output) vertex of the sector considered.</p></sec><sec id="s3_5_2"><title>3.5.2. Decision Variables</title><p>Define binary variable<img src="1-1040180\fb36ecb1-e971-4162-9bf1-809d531560fd.jpg" />, with value 1 if the sector <img src="1-1040180\48f2176e-2b99-4672-b717-1a7de482dbd8.jpg" /> is selected and 0 otherwise. To quantify the flow associated with each sector, we define the nonnegative continuous variable<img src="1-1040180\2c011a30-b5b3-4ec1-8e1c-a88f90006e05.jpg" />. We define the continuous variable <img src="1-1040180\949450ad-a87c-4a59-8e93-7a35fb4e7185.jpg" /> to quantify the energy supplied in the region <img src="1-1040180\da3d1a7d-8f48-4d52-b241-ed333d7a3c3d.jpg" /> of a sector<img src="1-1040180\6db20c21-e761-412a-a6e4-a185170a6e62.jpg" />.</p></sec><sec id="s3_5_3"><title>3.5.3. Constraints</title><p>Initially, it must be ensured that all regions will be served by the network. Therefore, except for the destination region, each must have at least one sector through which to dispatch its production. Since the desired topology is a ST, the condition that only one flow exit exist per region shall be forced. Mathematically:</p><disp-formula id="scirp.27512-formula264"><label>(14)</label><graphic position="anchor" xlink:href="1-1040180\e7fd63c6-72dc-46dc-9bd0-084c0bb1bcf2.jpg"  xlink:type="simple"/></disp-formula><p>That is, for every region<img src="1-1040180\b150235b-bb7f-4b06-8c81-f51f37c5847f.jpg" />, only one pair <img src="1-1040180\f7abaf6e-e3d5-4817-8867-3a2ae8b4005d.jpg" /> may be selected. It is important to note that the equation does not restrict the number of sectors ending at any region.</p><p>It is necessary to ensure the flow balance in the regions. For every region<img src="1-1040180\e8980fe7-b7b9-42e2-b59b-190ab6d50e6d.jpg" />, the incoming flow from <img src="1-1040180\bff0b41b-53db-4d85-847f-b924442f25ee.jpg" /> at<img src="1-1040180\8eb74e9a-3d35-43fa-8409-6dc119fb63ab.jpg" />, plus its own production, is sent to<img src="1-1040180\f7710871-800e-4daa-b48e-483381828f67.jpg" />, where <img src="1-1040180\d2d4f38a-118e-450f-b75a-ad216347b342.jpg" /> to avoid cycles. Mathematically:</p><disp-formula id="scirp.27512-formula265"><label>(15)</label><graphic position="anchor" xlink:href="1-1040180\c6858d2f-f759-4fca-a954-0773dbe43775.jpg"  xlink:type="simple"/></disp-formula><p>There is flow in sector <img src="1-1040180\4078e7d6-42a3-4716-b6d9-7f1341b5da5b.jpg" /> if it is selected, i.e.,<img src="1-1040180\b7f0ca2a-fc5f-4820-91f2-e09d586caa1c.jpg" />. To ensure that condition, the following constraints can be used:</p><disp-formula id="scirp.27512-formula266"><label>(16)</label><graphic position="anchor" xlink:href="1-1040180\873a42cf-4ce9-4a26-821a-e5170fbac3af.jpg"  xlink:type="simple"/></disp-formula><p>where:</p><disp-formula id="scirp.27512-formula267"><label>(17)</label><graphic position="anchor" xlink:href="1-1040180\06285c9e-2a0c-4068-9c62-fae14e4f7c1a.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.27512-formula268"><label>(18)</label><graphic position="anchor" xlink:href="1-1040180\8d6d8cbe-2637-44a4-8ff7-3d3c5670d503.jpg"  xlink:type="simple"/></disp-formula><p>The lower bound <img src="1-1040180\97056a12-cee6-47d9-9ad5-b003accd0d7c.jpg" /> is defined as the lowest production of all regions. The upper bound <img src="1-1040180\be78f9db-66bf-440e-93bf-ef94c3406bae.jpg" /> is defined as the lesser value of the maximum flow supported by the pipe or the total output being drained along the network. That is, at no time can any flow traversing the sector <img src="1-1040180\cd68011d-c8c0-4400-b384-0c2884e7e067.jpg" /> be below <img src="1-1040180\fc158bbe-610e-4033-8e98-86e8b702b170.jpg" /> or above<img src="1-1040180\c4b7ad72-562e-45a1-898c-a2cc32e05b32.jpg" />, and flow is zero if the sector is not chosen.</p><p>No explicit constraint was introduced to ensure that the solution topology is an ST, or even to ensure flow to destination<img src="1-1040180\5b215408-8713-4952-9430-5e0295cc33bd.jpg" />; nonetheless, restrictions (14), (15) and (16) together, ensure both conditions [<xref ref-type="bibr" rid="scirp.27512-ref18">18</xref>]. Basically, if the topology has cycles, the balance equations are satisfied only if there is more than one flow exit sector at some of the nodes of the cycle or if there is consumption at any of them.</p><p>Finally, to ensure energy balance, the amount of energy that must be provided to compensate for system losses must be estimated. In energy terms, each sector of the network can be viewed as an independent system with its own characteristics (flow, diameter, length, altitude difference etc.). Applying the assumptions of Section 3.2 to (2), it follows for every sector that:</p><disp-formula id="scirp.27512-formula269"><label>(19)</label><graphic position="anchor" xlink:href="1-1040180\bc921a6f-5d6c-4def-85db-361b220e6a3f.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="1-1040180\297df156-530f-4c44-889a-29913d85e3a8.jpg" /> is the estimated losses due to geometry changes for the sector<img src="1-1040180\cd4c724b-1dfe-409a-a2ca-2479b178835c.jpg" />. By hypothesis,</p><p><img src="1-1040180\52b12543-db31-4e55-844a-6c8948cc17a4.jpg" />.</p><p>So <img src="1-1040180\000f90c4-5f70-415a-b418-4b6f221c86a7.jpg" /> represents the energy to be provided at <img src="1-1040180\4b921ecf-436c-49f7-be9a-854437190a99.jpg" /> and not a pressure gradient within<img src="1-1040180\e77c779c-5f2a-4cbe-b156-ec968a2a2127.jpg" />. Finally, the variable domain constraints:</p><disp-formula id="scirp.27512-formula270"><label>(20)</label><graphic position="anchor" xlink:href="1-1040180\715e73e4-6310-4c3e-9659-7b94732a4384.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.27512-formula271"><label>(21)</label><graphic position="anchor" xlink:href="1-1040180\cd4eb831-c78c-43b6-bdbc-107e5245fa18.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.27512-formula272"><label>(22)</label><graphic position="anchor" xlink:href="1-1040180\39d17a08-d32c-4977-8134-328d9c33b30e.jpg"  xlink:type="simple"/></disp-formula></sec><sec id="s3_5_4"><title>3.5.4. Objective Function</title><p>The Equation (13) will be taken as the objective function. Using the decision variables defined in Section 3.5.2, gives:</p><disp-formula id="scirp.27512-formula273"><label>(23)</label><graphic position="anchor" xlink:href="1-1040180\77b54c7b-4f6c-48cc-8a35-b4c2e62bc538.jpg"  xlink:type="simple"/></disp-formula><p>which was generalized to consider all diameters in<img src="1-1040180\95860436-812a-40a2-a6b1-67710ba495c5.jpg" />. Note that when <img src="1-1040180\2c52af25-1441-4df1-9304-44c19bc85c21.jpg" /> no contribution by any cost related to <img src="1-1040180\ab61cd40-5f79-4b83-9545-8510b009f1bd.jpg" /> is added to the project total cost.</p></sec><sec id="s3_5_5"><title>3.5.5. General</title><p>The mathematical programming formulation (MF) of the problem is as follows:</p><p>MF: Minimize (23) subject to (14)-(16), (19)-(22).</p></sec></sec></sec><sec id="s4"><title>4. Sollution Approaches</title><sec id="s4_1"><title>4.1. General Considerations</title><p>MF can be manipulated. The <img src="1-1040180\f6aeb87f-cc4b-4720-8a5c-1629a010651c.jpg" /> variables appear only in the energy balance constraint (19), domain constraints (22) and objective function (23). The constraint (19) is an equality and, therefore, may be incorporated into the objective function. The variables <img src="1-1040180\573e4519-cbf8-4174-a56c-f6143b99ef66.jpg" /> can, in turn, be deleted from the formulation, together with constraints (22). Substituting (19) in (23), gives the new objective function of MF, where <img src="1-1040180\a7331655-a366-47fa-8d01-82ab06c15c00.jpg" />and <img src="1-1040180\cb5b9582-f5f8-4c9c-a401-fe560c20ed3c.jpg" />are appropriate parameters:</p><disp-formula id="scirp.27512-formula274"><label>(24)</label><graphic position="anchor" xlink:href="1-1040180\a31ba887-49fc-4d2f-9348-970740f643c4.jpg"  xlink:type="simple"/></disp-formula></sec><sec id="s4_2"><title>4.2. Heuristic</title><p>We consider (24) to develop the algorithm. By evaluating its parameters, three characterizations of a good solution to the problem can be inferred. First, consider the total length in a feasible solution<img src="1-1040180\54ed966d-3483-4c36-9e59-e9d555c465c9.jpg" />:</p><disp-formula id="scirp.27512-formula275"><label>(25)</label><graphic position="anchor" xlink:href="1-1040180\652cf6ff-f196-4d62-af78-c3a2cc8f4a42.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="1-1040180\9523ce6e-b105-4778-941b-88792fd27b23.jpg" />. Both portions of cost in (24) are, in some sense, directly proportional to<img src="1-1040180\a900a691-a42b-4e96-8d92-dd4b5952c4b9.jpg" />. The smaller the total length of the solution network, the lower the cost associated with it. Second, consider <img src="1-1040180\2f03e25a-5faa-4452-9740-f825a7739d80.jpg" /> (<xref ref-type="fig" rid="fig8">Figure 8</xref>), where <img src="1-1040180\2f942826-9142-42f7-a0ca-708d469e57c9.jpg" /> is the destination vertex.</p><p>Additionally, suppose that <img src="1-1040180\c102a46b-8e2a-4cc9-b699-9968fef6f7c4.jpg" /> is one of the vertices with highest output among producing regions and that<img src="1-1040180\b3b6d563-ada9-407a-a1d0-e7c8b0d1f0ca.jpg" />, where <img src="1-1040180\96e2b845-8768-45dc-ab79-a2a99e5b0782.jpg" /> represents the total length of the path connecting vertices <img src="1-1040180\66df5f8f-db48-4205-9f7b-5e612156388b.jpg" /> and<img src="1-1040180\ef3fb8ee-dc7d-47ee-85c7-3716ae4a37ca.jpg" />, and <img src="1-1040180\48cb96f4-ecfe-4bc0-abe9-a5b3e7ecdd50.jpg" /> represents the direct connection between <img src="1-1040180\65d1950e-0308-4728-a02d-e660f22ff1b1.jpg" /> and<img src="1-1040180\a2eb0b68-a1b8-4092-b5d5-0cdb03c190e3.jpg" />. The following expression is computed for <img src="1-1040180\aa9ebd8a-2a64-419d-a631-db927357ee07.jpg" /> in (24):</p><disp-formula id="scirp.27512-formula276"><label>(26)</label><graphic position="anchor" xlink:href="1-1040180\b09815d9-5f8b-4e2c-a07d-1c268ab7ecd3.jpg"  xlink:type="simple"/></disp-formula><p>That is, the cost is proportional to the square of the flow in <img src="1-1040180\ae90fd28-851a-4e48-b053-491dee5b8c5b.jpg" /> and the length of the sector. In addition, once flows increase in the direction of the destination, it</p><p>can be advantageous to connect <img src="1-1040180\528063c1-eaa6-4d4c-a87a-6d077cc67aa2.jpg" /> to <img src="1-1040180\f2e4dcb1-4a4a-4722-bbcd-b539cdbeb352.jpg" /> through the path that minimizes the distance between them (directly, for example) in order to reduce the cost of transportation (operation) between <img src="1-1040180\7ad06a2c-341a-4462-b7a1-5daca9a13014.jpg" /> and<img src="1-1040180\02c70e5b-d1d5-46ef-8b7e-8d543ff81a37.jpg" />, in exchange for building <img src="1-1040180\0d971db7-eb3a-4239-ba96-2cb8c1ec1845.jpg" /> additional units of pipe length. The <xref ref-type="fig" rid="fig9">Figure 9</xref> shows the new solution<img src="1-1040180\50969572-02c9-497d-933a-4fc768c0dc9d.jpg" />.</p><p>Finally, the cost of <img src="1-1040180\6b2ec6f7-9087-4493-9705-92a4a463522b.jpg" /> is inversely proportional to the fifth power of the selected diameters and directly proportional to the flows transferred. Since flows increase in the direction of the destination, this increase can be offset by forcing the diameters at least not to decrease in the direction of flow. On the other hand, pipes of larger diameter are more expensive. Thus, it may be beneficial to increase the diameter of sectors with large flows, providing they are as short as possible.</p><sec id="s4_2_1"><title>Algorithm Description</title><p>Initially, the heuristic PND<sub>H</sub> calculates the minimum spanning (MST) tree for the case being solved. This is because the MST is the best estimate in terms of total network length and may be used as initial search point for problems of this nature [<xref ref-type="bibr" rid="scirp.27512-ref19">19</xref>]. The algorithm then defines the flow direction and its value in each sector<img src="1-1040180\044a706f-a4af-46a9-8a14-b79cefc8792b.jpg" />. The smallest available diameter capable of carrying the flow calculated for each sector is selected. The cost of the initial solution is stored. The algorithm attempts to decrease the distance traveled by large flows and increase the diameter of some sectors, one at a time—in both cases, a predefined number of times. At each trial (path reduction and diameter increase), the new solution is stored if it improves cost.</p></sec></sec><sec id="s4_3"><title>4.3. Exact</title><p>The MF is solved via an exact Outer Approximation algorithm proposed by Duran and Grossmann [<xref ref-type="bibr" rid="scirp.27512-ref20">20</xref>] for MINLP. Although the proposed model does not take into account all the necessary assumptions (linearity of the discrete variables, convexity of the nonlinear functions involving continuous variables and separability on the decision variables) to ensure the convergence of the algorithm to global optima, these global optima were obtained [<xref ref-type="bibr" rid="scirp.27512-ref12">12</xref>].</p></sec></sec><sec id="s5"><title>5. Computational Experiments</title><p>Computational experiments were conducted to test the efficiency and robustness of the model and algorithms. Because it is an original application to the PND problem, the literature on the subject contains no instances; these had first to be built. This section presents the cases constructed, the results obtained with the algorithms and the main conclusions from the analysis of these results.</p><sec id="s5_1"><title>5.1. Instances</title><p>To build instances, the sugar industry of S&#227;o Paulo was taken as context. In particular, <xref ref-type="fig" rid="fig1">Figure 1</xref>0 shows the production capacity (millions of cubic meters) and its geographic distribution in 2006 [<xref ref-type="bibr" rid="scirp.27512-ref21">21</xref>]. The regions were named after the largest city in each region.</p><p>It can be readily seen how decentralized production is and how essential it is to use an appropriately designed and economically competitive logistics network to collect and concentrate production. <xref ref-type="table" rid="table1">Table 1</xref> shows numerical values for output from each of the regions in 2006 [<xref ref-type="bibr" rid="scirp.27512-ref21">21</xref>].</p><p>Five instances were built, respectively with 4, 8, 12, 16 and 20 producing regions selected from among those listed in <xref ref-type="table" rid="table1">Table 1</xref>. Only five were built because, technically, a pipeline network designed to connect 20 producing regions can already be considered large. Besides, there was no access to real data.</p><p>The distances between regions were determined using the geographic coordinates of the main town. The height differences were calculated directly via the towns’ altitudes. The outputs to be dispatched are listed in <xref ref-type="table" rid="table1">Table 1</xref>. To determine the associated flow of ethanol, the system was considered to operate three hundred days a year, twenty-four hours a day. The resulting flow rates are listed in <xref ref-type="table" rid="table1">Table 1</xref>. The idea is to consider network downtime indirectly.</p><p>To compose the instances, a set of six possible values for the pair “pipe diameter and thickness” was considered. Four of these pairs were associated with the smallest instance and all of them with the largest one. <xref ref-type="table" rid="table2">Table 2</xref> shows the nominal values of the diameters and thicknesses:</p><p>Classical empirical equations were used to calculate the friction factors. There are three parameters to be considered in this calculation: diameter, relative roughness [<xref ref-type="bibr" rid="scirp.27512-ref14">14</xref>] and Reynolds Number. The diameters are listed in <xref ref-type="table" rid="table2">Table 2</xref>. The relative roughness is a characteristic of the pipeline construction material, and the material selected was carbon steel [<xref ref-type="bibr" rid="scirp.27512-ref9">9</xref>]. Reynolds Numbers cannot be calculated as a priori every pipe flow is unkown. Accordingly, an average flow traversing the network was considered for each available diameter.</p><p>In all cases, the loss estimator was considered similar</p><p><xref ref-type="table" rid="table1">Table 1</xref>. Producer regions and associated output in S&#227;o Paulo—2006.</p><p><img src="1-1040180\cd784848-8aa9-43ae-8e0b-e5452341a757.jpg" /></p><p>for every<img src="1-1040180\41bec0bf-b8a6-44dd-a89f-a3b74f12d006.jpg" />, i.e.,<img src="1-1040180\9eafac88-a611-458f-b676-1d3286a5ab92.jpg" />. Construction unit costs were determined using Equation (7). The unit cost of carbon steel was obtained in [<xref ref-type="bibr" rid="scirp.27512-ref22">22</xref>]. Since pump commercial prices and real consumption data (<img src="1-1040180\8ff89311-b941-4260-a516-1291957f89ad.jpg" />costs) were not obtained, the methodologies proposed in 3.4.3 and 3.4.4 were not used. Thus, the coefficients of the second portion of (23) were sorted so as at least to respect the percentage given in Section 3.4. <xref ref-type="table" rid="table3">Table 3</xref> summarizes the values of technical parameters used in constructing the instances. <xref ref-type="table" rid="table4">Table 4</xref> summarizes the characteristics of the instances.</p><p><xref ref-type="table" rid="table2">Table 2</xref>. Pipe diameter and thickness values considered.</p><p><img src="1-1040180\733c4054-f865-4b6d-955f-5468293df594.jpg" /></p><p><xref ref-type="table" rid="table3">Table 3</xref>. Adopted values to technical parameters.</p><p><img src="1-1040180\af37a208-e6f5-4540-9018-70ae1eb29bf6.jpg" /></p><p><xref ref-type="table" rid="table4">Table 4</xref>. Basic description of instances. <img src="1-1040180\c7071392-9949-4352-b57c-2d1aff680a0b.jpg" /></p></sec><sec id="s5_2"><title>5.2. Results</title><p>The experiments were performed on an Intel Core 2 Duo 2.66 GHz with 8 GB of RAM. The PND<sub>H</sub> heuristic was coded in ANSI C++. The MF was programmed in the commercial software AIMMS [<xref ref-type="bibr" rid="scirp.27512-ref23">23</xref>] and solved with the AOA package available in AIMMS. The OA algorithm problem solvers used were CPLEX 12.1 and CONOPT 3.14 M. The destination region is Campinas.</p><p><xref ref-type="table" rid="table5">Table 5</xref> shows the objective function values, PND<sub>H</sub> and MF execution times, and a comparative analysis of results in terms of economic gains offered by the solutions. PND<sub>H</sub> runtimes were null in all cases. MF produced the best solution for each case, which was obtained in low runtimes, as shown. By comparison, PND<sub>H</sub> was able to find two optimal solutions (~0%). The others solutions entail small economic losses ranging from 2% to 6.7%.</p><p>We now analyze solutions in non-financial technical terms. <xref ref-type="fig" rid="fig1">Figure 1</xref>1 represents the optimal design for the case PND_SP_04_04. It is topologically trivial. An interesting fact, however, is the reduction in diameter observed when passing through Limeira. We would expect the same diameter, since flow between Limeira and Campinas is larger. However, (5) suggests that a pipeline’s maximum operating flow is inversely proportional to its length, which is shorter in sector Limeira-Campinas.</p><p>The PND<sub>H</sub> solution to PND_SP_08_05 is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>2. The network is 943.0 km in length and basically concentrates small outputs at Catanduva to be sent to Campinas via Jau. Only Ourinhos pipes directly to Jau, given their proximity. The production routed through Catanduva requires increased diameters on main sectors D12 and D14, successively. <xref ref-type="fig" rid="fig1">Figure 1</xref>3 shows the MF solution. The network is 984.0 km length (41.0 km longer). Despite the increase, transferring output from Presidente Prudente to Jau via Ourinhos apparently reduces the transport cost (131.0 km shorter) and the construction cost of the Catanduva-Jau sector (from D12 to D10), since flow is decreased. The changes represent a</p><p><xref ref-type="table" rid="table5">Table 5</xref>. Upper bounds generated by PNDH, optimal solutions obtained by MF, and percentage economic gains. <img src="1-1040180\9c2387a1-dd2c-43e6-a9ea-7c9ca06d591b.jpg" /></p><p>1.72% saving in project cost (<xref ref-type="table" rid="table5">Table 5</xref>).</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>4 represents the optimal solution obtained to PND_SP_12_05, with 973.0 km total pipeline length. Interestingly, output from Nhandeara is initially transported to the west, away from Campinas, probably because the output is so small that it is not worthwhile connecting it to Ribeirao Preto or Bauru, 239.0 and 207.0 km away, respectively, even if the segment Adamantina-Assis (128.0 km) were removed, for example, in order to increase Nhandeara’s throughput. Pipe diameter increases significantly at Jau, because it concentrates almost all output even before it arrives at Campinas. At Bauru, on the contrary, pipeline diameter is reduced, probably for reasons of geography.</p><p>PND<sub>H</sub> built the 1040.0 km solution to PND_SP_16_06, as sketched in <xref ref-type="fig" rid="fig1">Figure 1</xref>5. Prioritizing the shortest possible pipeline length, Ribeir&#227;o Preto was connected to Jaboticabal (54.0 km northwest). Since Ribeir&#227;o Preto has the highest output (<xref ref-type="table" rid="table1">Table 1</xref>), pipeline diameter from Jaboticabal increased significantly (from D12 to D16). There is a diameter reduction at Limeira.</p><p>As compared with the optimal design (<xref ref-type="fig" rid="fig1">Figure 1</xref>6), there is little change when leaving Ribeir&#227;o Preto, from which flow now travels 75.0 kilometers to Araraquara. This adds 21.0 km to the network (1061.0 km), reduces the construction costs of the Jaboticabal-Araraquara sector (from D16 to D12) and transport costs of output from Ribeir&#227;o Preto. The change represents a 1.17% project cost saving (<xref ref-type="table" rid="table5">Table 5</xref>). Finally, it is advantageous to transport output from Assis to Araraquara via Presidente Prudente (582.0 km) rather than connecting them directly. Increased production could justify a direct connection.</p><p>Finally, <xref ref-type="fig" rid="fig1">Figure 1</xref>7 represents the PND<sub>H</sub> solution to PND_SP_20_06 (1361.0 km). Interestingly, Ribeir&#227;o Preto was connected to Campinas and not to a closer region (Araraquara or Limeira). This is because connecting it to Araraquara entails increasing diameters all the way to Campinas, thus also increasing the solution cost. Nevertheless, the Ribeir&#227;o Preto-Campinas connection does not form part of the optimal solution (<xref ref-type="fig" rid="fig1">Figure 1</xref>8), since dispatching from Ribeir&#227;o Preto to Araraquara is economically favorable. This modification undermines the heuristic topology (Araraquara-Jau), making it necessary to detour flow from Araraquara to Limeira. This modifies pipe diameters in the final portion of the network, reduces the network length to 1282.0 km and represents a 6.7% saving in project cost (<xref ref-type="table" rid="table5">Table 5</xref>). Pipeline diameter is reduced at Piracicaba.</p></sec><sec id="s5_3"><title>5.3. Conclusions</title><p>These findings emphasize the quality of the solutions built by PND<sub>H</sub> (economic losses of less than 6.7% at null computational time cost). This result confirms the potential of the set of characterizations of a good solution. However, the most encouraging results were those generated by the exact algorithm. All except the largest case were solved in very low computational times. Improvement may possible be achieved by inputting information from the heuristic solution to the OA algorithm.</p><p>The tools developed to solve the PND addressed here met the expectations of robustness and efficiency and can be used as decision support tools for projects of this nature. Indeed, as the PND relates to a pipeline network whose purpose is to channel fluids to some central location,</p><p>and where the main characteristic of the required solution is a topology without cycles and with pressure discontinuities at vertexes, these tools can be used.</p></sec></sec><sec id="s6"><title>6. Final Remarks</title><sec id="s6_1"><title>6.1. General</title><p>In this study, the problem of designing pipeline networks to transport fuel was addressed with a view to developing robust and efficient computational tools able to consider and assess the main design-related technical characteristics and decisions, as well as to estimate the construction cost and the operating cost (to any time horizon), in order to assist decision makers when evaluating the technical and economic feasibility of such projects.</p><p>Technical decisions are interdependent. For example: for a given flow rate, the larger the diameter of the duct, the lower the power dissipation. Thus pumps can be smaller and cheaper. However, the larger the diameter, the more expensive the pipe becomes. Conversely, if pipe diameter is diminished in order to reduce construction cost for the same flow rate, power dissipation is higher and thus higher-capacity (and more costly) pumps have to be installed. The larger the network, the harder it is to address these issues.</p><p>Accordingly, the combinatorial nature of the problem coupled with non-linear equations governing the flow energy balance, recommended the use of MINL mathematical programming models. To solve the problem, a heuristic algorithm that traces the main features of a technically feasible solution was developed to search for the best possible solutions in terms of cost. The mathematical program was coded in the AIMMS development environment, which provided the necessary optimization tools.</p><p>The particular context adopted was the ethanol industry in S&#227;o Paulo State. The tools developed were tested on five cases built on the basis of output data from around the state. The computational results were extremely satisfactory, since all cases were solved efficiently by the heuristics, and also to global optimality by the exact algorithm, with low execution times, thus confirming the robustness of the approaches adopted.</p></sec><sec id="s6_2"><title>6.2. Future Work</title><p>The most radical paradigm that can be broken is the deterministic approach. The assumption that the supply of ethanol is uncertain to the operating time horizon would probably lead to addressing the time variable directly, in order to design a network that best suits many different possible supply scenarios, as well as to using stochastic mathematical programs.</p><p>Technically, there are many options. Allocation of more than one diameter per sector of pipeline in the network may be considered. Pressure loss will be calculated as the sum of the losses in each of the sub-sections with different diameters. The energy balance equation should consider the different kinetic energy in the sectors, since different cross-sections produce different flow velocities for the same flow rate.</p><p>Another variant might consider finite storage capacities in the regions, to be decided in view of the related cost. This capacity is influenced by the stochasticity of production and the NPSH<sub>R</sub> pump parameter. If only the latter is considered, a stochastic approach to the problem can be avoided by estimating the minimum storage capacity of each region.</p><p>Finally, it would be useful to determine the number and location of pumps needed to power the system. Motivations to treat this decision are that it may not be possible to provide all the power necessary in each region by using one single station (technical limitation) and that, since pipes have maximum pressure tolerances, it may be necessary to distribute the energy supplied so that theses limits are observed.</p></sec></sec><sec id="s7"><title>7. Ackowledgements</title><p>The authors would like to thank the Ag&#234;ncia Nacional do Petr&#243;leo, G&#225;s Natural e Biocombust&#237;veis (ANP) for financial support provided under grant PRH-ANP-21.</p></sec><sec id="s8"><title>REFERENCES</title></sec><sec id="s9"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.27512-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">J. Goldemberg, “Ethanol for a Sustainable Energy Future,” Science, Vol. 315, No. 5813, 2007, pp. 808-810.  
doi:10.1126/science.1137013</mixed-citation></ref><ref id="scirp.27512-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">H. Pacini and S. Silveira, “Consumer Choice between Ethanol and Gasoline: Lessons from Brazil and Sweden,” Energy Policy, Vol. 39, No. 11, 2010, pp. 6936-6942.  
doi:10.1016/j.enpol.2010.09.024</mixed-citation></ref><ref id="scirp.27512-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">R. G. Compeán and K. R. Polenske, “Antagonistic Bioenergies: Technological Divergence of the Ethanol Industry in Brazil,” Energy Policy, Vol. 39, No. 11, 2011, pp. 6951-6961. doi:10.1016/j.enpol.2010.11.017</mixed-citation></ref><ref id="scirp.27512-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">A. Hira and L. G. Oliveira, “No Substitute for Oil? How Brazil Developed Its Ethanol Industry,” Energy Policy, Vol. 37, No. 6, 2009, pp. 2450-2456.  
doi:10.1016/j.enpol.2009.02.037</mixed-citation></ref><ref id="scirp.27512-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">A. T. Furtado, M. I. G. Scandiffio and L. A. B. Cortez, “The Brazilian Sugarcane Innovation System,” Energy Policy, Vol. 39, No. 1, 2010, pp. 156-166.  
doi:10.1016/j.enpol.2010.09.023</mixed-citation></ref><ref id="scirp.27512-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Uniao da Indústria de Cana de Acucar, “Dados e Cotacoes-Estatísticas,” 2009. 
http://www.unica.com.br/dadosCotacao/estatistica</mixed-citation></ref><ref id="scirp.27512-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Centro de Estudos Logísticos e Instituto Brasileiro de Petróleo, Gás e Biocombstíveis, “Planejamento Integrado do Sistema Logístico de Distribuicao de Combustíveis,” 2008. www.ibp.org.br</mixed-citation></ref><ref id="scirp.27512-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">L. C. Freitas and S. Kaneko, “Ethanol Demand in Brazil: Regional Approach,” Energy Policy, Vol. 39, No. 5, 2011, pp. 2289-2298. doi:10.1016/j.enpol.2011.01.039</mixed-citation></ref><ref id="scirp.27512-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">J. L. F. Freire, “Engenharia de Dutos,” ABCM, Rio de Janeiro, 2009.</mixed-citation></ref><ref id="scirp.27512-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Project Management Institute,” Um Guia do Conjunto de Conhecimentos em Gerenciamento de Projetos (Guia PMBOK),” 3th Edition, Newtown Square, PMI Publications, 2004.</mixed-citation></ref><ref id="scirp.27512-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">M. Minoux, “Network Synthesis and Optimum Network Design Problems: Models, Solution Methods and Applications,” Networks, Vol. 19, No. 3, 1989, pp. 313-360.  
doi:10.1002/net.3230190305</mixed-citation></ref><ref id="scirp.27512-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">G. D. Silva, “Abordagens Heurísticas e Exatas para o Problema de Projeto de Redes de Dutos,” M.Sc. Thesis, COPPE/UFRJ, Rio de Janeiro, 2009.</mixed-citation></ref><ref id="scirp.27512-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">J. Brimberg, P. Hansen and K. Lih, “An Oil Pipeline Design Problem,” Operations Research, Vol. 51, No. 2, 2003, pp. 228-239. doi:10.1287/opre.51.2.228.12786</mixed-citation></ref><ref id="scirp.27512-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">B. Munson, D. F. Young and T. H. Okiishi, “Fundamentos da Mecanica dos Fluidos,” 4th Edition, Edgard Blücher, Sao Paulo, 2004.</mixed-citation></ref><ref id="scirp.27512-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">J. R. Moreira and J. Goldemberg, “The Alcohol Program,” Energy Policy, Vol. 27, No. 4, 1999, pp. 229-245.  
doi:10.1016/S0301-4215(99)00005-1</mixed-citation></ref><ref id="scirp.27512-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">B. C. Forlano and R. Maclain, “Facilities Piping,” Paragon Engineering Services, Houston, 1991.</mixed-citation></ref><ref id="scirp.27512-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">F. Harary, “Graphs Theory,” Addison-Wesley, Reading, 1969.</mixed-citation></ref><ref id="scirp.27512-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">B. Gavish, “Topological Design of Centralized Computer Networks—Formulations and Algorithms,” Networks, Vol. 12, No. 4, 1982, pp. 355-377.  
doi:10.1002/net.3230120402</mixed-citation></ref><ref id="scirp.27512-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">F. Rothlauf, “On Optimal Solutions for the Optimal Communication Spanning Tree Problem,” Operations Research, Vol. 57, No. 2, 2009, pp. 413-425.  
doi:10.1287/opre.1080.0592</mixed-citation></ref><ref id="scirp.27512-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">M. A. Duran and I. E. Grossmann, “An Outer-Approximation Algorithm for a Class of Mixed-Integer Nonlinear Programs,” Mathematical Programming, Vol. 36, No. 3, 1986, pp. 307-339. doi:10.1007/BF02592064</mixed-citation></ref><ref id="scirp.27512-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">L. N. S. M. Dória, “Construcao e Entendimento dos Cenários dos Mercados Interno e Externo do álcool no Brasil (2006-2015),” Final paper on course in Operation Management in Oil Exploration and Production, Polytechnic School, Rio de Janeiro, 2007.</mixed-citation></ref><ref id="scirp.27512-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">MEPS LTD, “MEPS—World Carbon Steel Prices—With Individual Product Forecasts,” 2009. 
http://www.meps.co.uk/World%20Carbon%20Price.htm</mixed-citation></ref><ref id="scirp.27512-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">M. Roelofs and J. Bisschop, “AIMMS User’s Guide,” Paragon Decision Technology B.V., 2011.  
http://www.aimms.com/downloads/manuals/user-s-guide</mixed-citation></ref></ref-list></back></article>