Introduction

Energy usage has grown exponentially worldwide over the last few decades. Energy consumption growth has been almost 50% (OECD, 2012). The vast energy demand has put extreme pressure on exploring industries to provide an economical energy source. The government's various environmental regulations on the industrial sectors to minimize greenhouse gas emissions have also expressed the need for a cleaner energy source. These circumstances have led to wider natural gas consumption than other fossil fuels to satisfy the energy hunger economy. International Emergency Agency claims that the planet has enough natural gas supplies that can comfortably last 230 years more (IEA, 2012). Compared to other fossil fuels, natural gas has the advantage that it is environmentally friendly, safer, and easier to store. Natural gas usage is versatile. It has numerous applications as a fuel supply for automobiles and a chemical feedstock to produce plastics and other economically significant organic chemicals (Guo, 2005). Natural gas-fired power plants start and stop much less frequently than those operated by coal. Natural gas is consistent with alternative energy options, such as solar and wind, which only exist during sunlight or wind blows. All these factors have revoked industries to exploit the benefits of natural gas.

The demand for natural gas has been much higher in developing nations like India and China. In the last twenty years, natural gas demand has increased threefold in India and ninefold in China. The gas demand is likely to increase by 37% by 2030 (B.P 2013).

The increase in natural gas utilization in various sectors requires a carefully and intelligently designed gas production infrastructure. Pipelines remain in use for the transportation of oil and gas for decades. Compared to other transportation modes, pipelines have the advantages of low cost, lesser GHG emission, low energy consumption, continuous supply, safer, lesser maintenance, and easiness in transportation under challenging terrains. These factors make pipelines an exceptional mode for transporting oil and gas (Thakur et al. 2020; Thakur & Arya, 2021). Pipelines comprise many short to medium-length pipes, pumps, fittings, compressors, and regulators. Pipelines experience high-pressure changes due to uneven terrain and friction caused by gas molecules interacting with the pipeline walls. Compressor stations help raise the gas pressure in the pipeline. Natural gas, used as fuel in compressors, provides the energy necessary to operate the compressors.

Researchers found that compressors consume three to five percent of gas flowing through the pipeline (Wu S et al. 2000). Since pipelines transport large amounts of gas, a loss of 3–5 percent gas is immense. The loss of gas may account for 25–30% of the total company's operating budget (Demissie and Zhu, 2017). A minimal saving of only 1% of the total fuel consumed may save 5 million dollars per year (Carter, 1996). Improvement in the pipeline grid performance by reducing fuel consumption is critical (Arya AK, 2015). The other big challenge we face is reducing energy consumption in the compressor and improving gas throughput simultaneously—the paper studies the optimum gas distribution to maximize the throughput at minimal fuel consumption.

Review on optimization parameters and optimization techniques

Researchers are trying to find the most profitable optimization methods for pipeline grid operation. There is already an extensive literature review published (Zheng et al. 2010; Hamedi, Farahani, and Esmaeilian, 2011; Rios-Mercado and Borraz-Sanchez, 2015; Demissie and Zhu, 2015). The following section gives an overview of optimization parameters and the techniques used to optimize those pipeline parameters.

Review of gas pipeline optimization parameters

Researchers have made numerous efforts to optimize gas pipeline grids. Several operational parameters are reported in the literature to maximize the pipeline's operational benefits (Ríos-Mercado, 2015). Design and operational parameters are common to optimization decisions (Demissie et al. 2017; Guerra et al. 2016). In the design optimization problems, the research focuses on the pipeline structure such as optimal sizing of pipes (Boyd et al. 1994), the material selection of pipeline, number and position of compressors (Edger and Himmelblau, 2001), the distance between compressors, and future expansion of pipelines (Uster and Dilaveroglu, 2014). The primary objective of design optimization is to maximize the transmission power of the pipeline (Alves, Souza, and Costa, 2016), increase the flexibility in the operation of the pipeline (Fodstad, Midthun, and Tomasgard, 2015), and account for future expansion plan with minimum investment cost (Mikolajková et al. 2017). Pipeline optimization parameters include maximizing the line pack of pipelines (Alinia et al. 2014), maximizing the throughput of gas (Fasihizadeh et al. 2014), minimizing fuel consumption (Arya and Honwad, 2015), and minimizing greenhouse gas emissions (Yang et al. 2017).

Review of gas pipeline optimization techniques

The design and operational pipeline parameters are highly complex, including nonlinear and non-differential functions because of the objective function's non-convex nature. Numerous optimization algorithms have been analyzed extensively in the last few decades. Classical (deterministic) and stochastic (evolutionary) approaches are the two methodologies for pipeline optimization (Arya & Honwad, 2015). Dynamic programming (Wong and Larsen, 1968; Osiadacz, 1994; Carter, 1998), generalized reduced gradient (Adeyuanju and Oyekunle 2004; Tabkhi 2007), and linear programming methods are the most common classical methods extensively used for pipeline optimization. The principle of dynamic programming has proven to be the most effective approach for deriving algorithms. These techniques can ease the ability to handle the nonlinearity of the objective function.

The dynamic programming technique does not get stuck searching for the global optimum. The technique, however, has the drawback of high computational time for complex grids. Most real case pipeline grids are highly complex, having numerous pipes, compressors, supply, and delivery points. In those cases, the technique becomes almost obsolete, as the time required to achieve the optimum solution is almost infeasible. The general gradient technique functions well with complex pipeline grids. However, these techniques depend on gradient search methods and hence have the drawback that they fail if the function is non-differentiable and discontinuous. In these cases, the solution obtained is easily trapped in local optima and cannot further optimize the grid. Linear programming methods can find the global optimum but works only when the objective function is nearly linear. The solution obtained in classical methods essentially depends on the initial value chosen.

Moreover, all the mentioned classical techniques deal only with nonlinear programming (NLP) problems. These methods struggle when dealing with a nonlinear problem (MINLP). Researchers are now focusing on stochastic algorithms or evolutionary algorithms to deal with these kinds of issues. These algorithms have the advantage that they can deal with large-scale problems and are capable of solving MINLP problems (Elbeltagi et al. 2005). Stochastic approaches focus on the creation of or social actions of living organisms. The species in these algorithms search the solution boundary based on individual samples rather than gradient information. Hence, they are not dependent on gradient information. Besides, these methods adapt to discrete variables quickly. Literature reports numerous stochastic techniques. The most popular ones used for pipeline optimization are genetic algorithms (Goldberg and Kuo, 1985; Montoya, 2000; Molaei, 2007; Hawryluk, 2010), particle swarm optimization (Xia et al. 2020), simulated annealing (Wright et al. 1988), differential evolution (Qin et al. 2009), artificial neural grids (Mohamadi Baghmolaei 2014), and ant colony algorithms (Arya and Honwad, 2018a; Arya and Honwad, 2018b). Among all these methods, ACO methods can respond quickly in less time to complex changes.

Previously multi-objective ant colony optimization (ACO) technique has been extended to a barrel grid (Arya and Honwad, 2018a). Some of the work on a similar objective was carried out by Chebouba A, 2015; Demissie and Zhu, 2017; Osiadacz and Isoli, 2020. The technique, however, has not been applied to a typical multi-distribution pipeline grid. The present paper develops a multi-objective gas pipeline model for a multi-distribution grid and further optimizes it using the MOACO method.

Analysis of the gas pipeline grid

The present section first states the various assumptions applied while modeling the pipeline grid. Pipeline and compressor simulation equations are discussed further in the section.

Pipeline grid assumptions

The following assumptions are used while modeling the gas pipeline grid.

Steady state

In the actual scenario, the gas flow is transient (unsteady), which means that the fluid properties of gas change with time. However, consideration of transient conditions leads to increased variables and further complexity in handling the problem. For simplifying the problem and get the results in real time, the paper assumes steady-state conditions. In most cases, considering steady-state conditions in a natural gas pipeline grid leads to acceptable results and deviates very little from the real situations (Osiadacz and Chaczykowski, 2001).

Flow direction

The gas flow has a been pre-specified direction.

Isothermal flow

The gas's heat flow to the surrounding environment decreases the gas temperature over the pipeline's length. However, pipelines are long entities that carry oil and gas to very long distances. In these cases, the gas's temperature quickly acquires the surrounding temperature and becomes constant (Menon, 2005). Hence, in the present paper, the gas temperature is assumed constant at 298 K.

Compressor type

Centrifugal compressors relatively require less maintenance and are cheaper than reciprocating.

pumps. The present paper assumes that all the compressors are of a centrifugal type.

Adiabatic compression

The paper assumes an adiabatic compression process.

Pipeline grid description

Figure 1 portrays a multi-distribution natural gas grid captured from a French gas distribution firm 'Gaz De France.' The grid holds thirty pipe arcs that link six supply stations to nineteen distribution stations. The pipeline grid consists of seven compressor stations that raise the gas pressure. Forty-five nodes constitute the entire pipeline grid. It includes six gas supply nodes connected to nineteen distribution nodes through twenty intermediate nodes. There are ten control valves installed in the pipe network to do double or triple controls on the outputs of three or more different stages of the compressor; they are either placed after compressors on one side of the system to break up the outputs or used in two or three parallel pipes to increase the output strain. Table 1 shows the lower bounds for pressure at pipe nodes, Table 2 shows the lower and maximum gas supply, Table 3 shows the least amount of gas delivered, and Table 4 shows the maximum permissible gas flow rate to the individual compressor station.

Fig. 1
figure 1

Multi-distribution gas pipeline network system (Arya 2018)

Table 1 Features of Pipe Arcs (Tabkhi, 2007)
Table 2 Pressure bound on pipeline nodes
Table 3 Values of maximum supply and minimum fixed delivery rate (Tabkhi, 2007)
Table 4 Bounds of compressors

Modeling equations

The following three sections demonstrate the gas pipeline modeling equations. The first section discusses the objective function equations used to reduce fuel expenditure in compressors and maximizes gas delivery at the distribution centers. The second section discusses the equations used to evaluate natural gas properties. Finally, in the third section, the pipeline and compressor modeling equations are presented.

Objective function

The first objective is to reduce fuel expenditure in compressor stations. Equation (1) depicts the fuel consumption in compressors. The second objective given in Eq. (2) is to maximize the gas delivery at the distribution centers (Arya & Honwad, 2018).

$$(O.F)_{1} = \min g(m_{i} ,P_{s} ,P_{d} ) = \min \sum {m_{f} } = \sum\nolimits_{{i,j \in A_{c} }} {\left( {\frac{{m_{j} \times h_{ij} }}{{LHV_{NG} }}} \right) \times \left( {\frac{{10^{6} }}{{\eta_{is} \times \eta_{dr} \times \eta_{me} }}} \right)}$$
(1)
$$(O.F)_{2} = \max (m_{{de_{i\, = \,1 - 19} }} )$$
(2)

Estimation of gas property

Natural gas property is estimated using Eqs. (3) to (7). Equation (3), Eq. (4) and (5), Eq. (6), and Eq. (7) calculate the average molecular weight of the gas mixture, critical temperature and pressure of the gas, heat content of natural gas, and isentropic coefficient of gas, respectively (Mohring, 2004; Pambour et al. 2016).

$$M = \;\sum\limits_{i = 1}^{n} {M_{i} \times y_{i} }$$
(3)
$$T_{C} = \;\sum\limits_{i = 1}^{n} {T_{Ci} \times y_{i} }$$
(4)
$$P_{C} = \;\sum\limits_{i = 1}^{n} {P_{Ci} \times y_{i} }$$
(5)
$$H_{m} = \;\sum\limits_{i = 1}^{n} {H_{i} \times y_{i} \times M_{i} }$$
(6)
$$k = \;\frac{{\sum\limits_{i = 1}^{n} {C_{pi} \times y_{i} } }}{{\sum\limits_{i = 1}^{n} {C_{pi} \times y_{i} - R} }}$$
(7)

Pipeline modeling equations

This section presents the modeling equation developed for a pipeline grid system.

Gas flow equation

Friction and elevation are the two significant factors for pressure loss in pipeline grids. Equation (8) is a general flow equation used for calculating pressure drop in cross-country gas pipelines. The equations consider both the elevation and friction losses occurring in the pipeline (Menon, 2005).

$$P_{i}^{2} - e^{s} \times P_{j}^{2} = \left( {\frac{{16 \times m_{i}^{2} \times z_{i} \times R \times T}}{{\pi^{2} \times D_{i}^{4} \times M}}} \right)\left[ {\left( {2 \times \log_{10} \left( {\frac{{P_{i} }}{{P_{j} }}} \right) - \left( {\frac{{f_{i} \times L_{ei} }}{{D_{i} }}} \right)} \right)} \right]$$
(8)

The pipeline is deemed horizontal; hence, Eq. (9) evaluates the gas pipeline pressure drop.

$$P_{i}^{2} - P_{j}^{2} = \left( {\frac{{16 \times m_{i}^{2} \times z_{i} \times R \times T}}{{\pi^{2} \times D_{i}^{4} \times M}}} \right)\left[ {\left( {2 \times \log_{10} \left( {\frac{{P_{i} }}{{P_{j} }}} \right) - \left( {\frac{{f_{i} \times L_{i} }}{{D_{i} }}} \right)} \right)} \right]$$
(9)
Friction factor equation

The friction factor is a dimensionless parameter that accounts for energy losses between the gas and the pipeline wall. The American Gas Association (AGA), Colebrook's–White equation, and modified Colebrook equation calculate the friction factor. Among these equations, the Colebrook–White equation presented in Eq. (10) is the most recommended Equation for a fully rough and high Reynolds number in the pipeline (Menon, 2005).

$$f_{i} = - 2\log_{10} \left( {\frac{e}{{3.71 \times D_{i} }}} \right)^{ - 2}$$
(10)
The average pressure of the gas

The pipeline's pressure varies as the gas moves from one section to another pipeline section. Hence, the average pressure value mentioned in Eq. (11) calculates the average gas pressure between two pipeline segments.

$$P_{ij} = \left( \frac{2}{3} \right) \times \left[ {P_{i} + P_{j} - \frac{{P_{i} \times P_{j} }}{{P_{i} + P_{j} }}} \right]$$
(11)
Compressibility factor

AGA, Standing-Katz, Dranchuk, CNGA methods are widely used to calculate the compressibility factor. The CNGA equation, because of its simplicity, is used in the present paper to calculate the compressibility factor (Menon, 2005; Tabkhi, 2008).

$$z_{i} = 1 + \left( {0.257 - 0.533 \times \frac{{T_{NG,C} }}{{T_{g} }}} \right) \times \frac{{P_{ij} }}{{P_{NG,C} }}$$
(12)
Gas velocity

The pressure of the gas changes as it moves in the pipeline. The pressure is highest at the inlet station, while due to friction and elevation losses, it is lowest at the distribution centers. The gas's velocity is inversely proportional to pressure, and hence the speed is lowest at the inlet of pipe and highest at the outlet. Equation 13 measures the gas velocity in the pipeline (Menon, 2005).

$$v_{i} = 14.7359 \times \left( {\frac{{q_{i} \times 24 \times 3600}}{{\left( {OD \times 10^{3} - 2 \times t_{i} \times 10^{3} } \right)^{2} }}} \right) \times \left( {\frac{{P_{{_{b} }} }}{{T_{b} }}} \right) \times \left( {\frac{{z_{i} \times T_{g} }}{{P_{ij} \times 10^{2} }}} \right)$$
(13)

Compressor modeling equations

Isentropic head

The compressor used in a pipeline receives gas at a specific pressure and then delivers the gas at elevated pressure after compression. The isentropic head, in Eq. 14, is the energy added per unit mass of gas to increase the inlet to outlet pressure (Alinia et al. 2014).

$$h_{ij} = \left( {\frac{{z_{i} \times R \times T_{g} }}{{M_{NG} }}} \right) \times \left( {\frac{k}{k - 1}} \right) \times \left[ {\left( {\frac{{P_{j} }}{{P_{i} }}} \right)^{{\frac{k - 1}{k}}} - 1} \right]$$
(14)
Isentropic efficiency

Isentropic efficiency measures the compressor's current output to its theoretical performance at the identical entrance and outlet conditions. The equation, shown in Eq. (15), measures the overall isentropic performance of compressors (Smith and Van Ness, 1998).

$$\eta_{is} = \frac{{\left( {\frac{{P_{d} }}{{P_{s} }}} \right)^{{\frac{\gamma - 1}{\gamma }}} - 1}}{{\left( {\frac{{P_{d} }}{{P_{s} }}} \right)^{{\frac{{n_{p} - 1}}{{n_{p} }}}} - 1}}$$
(15)

Constraints on Gas pipeline grid and compressors

The objective functions reported in Eqs. 1 and 2 involve a multi-objective function, which requires different inequalities and equality restrictions to be satisfied. Equations 1628 are the inequality and equality constraints imposed on the gas pipeline grid.

Erosional velocity

In the pipeline, the gas velocity should be kept as high as possible but not above the value obtained from the erosional velocity given in Eq. (16). Keeping the velocity higher than the erosional velocity leads to erosion, vibration, and noise in the pipeline (Menon, 2005).

$$v_{ei} \le 122\sqrt {\frac{{z_{i} \times R \times T_{g} }}{{P_{ij} \times M_{NG} }}}$$
(16)
Maximum allowable operating pressure (MAOP)

The pressure should be kept as high as possible in the pipeline (Menon, 2005). However, the pressure should not go beyond the pressure value obtained from Eq. (17) for safety consideration (Table 5).

$$\left( {MAOP} \right)\, = \frac{{2*t_{i} *S*E*F*T}}{{(OD)_{i} }}$$
(17)
Table 5 Gas consumed(kg/s) at compressor station using Tabkhi (2008) and Arya (2018) Model
Choking of pipeline

Equation (18) limits the flow rate of gas to avoid choking in compressors (Gorla and Khan, 2003)

$$q_{i\max } \prec \left( {\frac{\pi }{4} \times D_{i}^{2} } \right) \times \left( {\sqrt {\frac{{\gamma \times z_{i} \times R \times T_{g} }}{{M_{NG} }}} } \right) \times \left( {\frac{2}{\gamma + 1}} \right)^{{\frac{\gamma + 1}{{2 \times \left( {\gamma - 1} \right)}}}}$$
(18)
Mass balance equations

The mass conservation principle states that 'mass is neither created nor destroyed.' The same principle governs each pipe node. Equation (19) is the general mass balance equation further simplified to Eq. (20).

$$\mathop {\lim }\limits_{\Delta t \to 0} \left( {\frac{{\left( \begin{gathered} mass\,at \hfill \\ t + \Delta t \hfill \\ \end{gathered} \right) - \left( \begin{gathered} mass\,at \hfill \\ time\,t \hfill \\ \end{gathered} \right)}}{\Delta t}} \right) = \mathop {\lim }\limits_{\Delta t \to 0} \left( {\frac{\begin{gathered} Mass\,entering\,to\,node\, \hfill \\ from\,time\,t\,to\,t + \Delta t \hfill \\ \end{gathered} }{\Delta t} - \frac{{\left( \begin{gathered} Mass\,exiting\,from \hfill \\ node\,time\,t + \Delta t \hfill \\ \end{gathered} \right)}}{\Delta t}} \right) + \mathop {\lim }\limits_{\Delta t \to 0} \left( {\frac{{\left( \begin{gathered} net\,chemical\,production \hfill \\ \,between\,t\,and\,t + \Delta t \hfill \\ \end{gathered} \right)}}{\Delta t}} \right)$$
(19)
$$\left( \begin{gathered} mass\,accumulation \hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,rate \hfill \\ \end{gathered} \right) = \left( \begin{gathered} mass\,flux \hfill \\ \,\,\,\,\,\,\,in \hfill \\ \end{gathered} \right) - \left( \begin{gathered} mass\,flux \hfill \\ \,\,\,\,\,\,\,out \hfill \\ \end{gathered} \right) + \left( \begin{gathered} \,\,\,\,\,net\,rate \hfill \\ of\,production \hfill \\ \end{gathered} \right)$$
$$\frac{dm}{{dt}} = m_{in} - m_{out}$$
(20)

Equations 2128 are the mass balance equations applied to various nodes of the pipeline grid. Table 6 reports these mass balance equations.

Table 6 Mass balance on pipe nodes

Multi-objective Ant colony optimization

The technique has its roots that mimic the foraging behavior of 'natural ants.' Ant communities such as 'Linepithema Humile' have a natural ability to lay down chemical pheromones when they move from the origin to their hives. Pheromones attract more ants to the same food supply. The pheromelia laid by the ants continue to dissipate; thus, the easier and quicker pathway has a stylistic fixation over the longer routes. The stigmergy attracts numerous ants to pick up the more straightforward path. This conduct of ants has been a critical source for ant colony algorithm's development initially by Dorigo, 1992. Different specialists later investigated the essential idea of insect state streamlining method to make counterfeit ants that likewise take care of the genuine enhancement issues (Schlueter, 2012; Socha and Blum, 2006; Maniezzo et al. 1994, Iredi et al. 2001; Stutzle and Hoos, 2000). The current practice revolves around one of these techniques (Schlueter, 2012). We've explored the method's crucial steps further in greater detail.

Step I Transform the bi-objective issue into a single factual issue.

Step II Develop the framework for the solution matrix.

Step III Matrix initialization with random solutions.

Step IV Stochastically search for a refined solution.

Step V Solution update.

Step I Transform the bi-objective issue into a single factual issue A dilemma with many objectives is resolved using an adaptive strategy. Equation (21) shows the methodology of converting a multi-objective goal to a single objective one.

$$F_{MO} = (w_{f - 1} ) \times F_{MO}^{f - 1} + (1 - w_{f - 1} ) \times F_{f}$$
(21)

Here \(F_{MO}^{1} = F_{1}\).

In our case, it was a bi-objective problem; hence Eq. (22) was used:

$$F_{MO} = (w_{1} ) \times F_{1} + (1 - w_{1} ) \times F_{2}$$
(22)

Step II Develop the framework for solution matrix

While hunting for food, ants carefully record the routes they have explored to return to their hive. In the process, they lay pheromone that serves as a guideline for other ants to find the same food. The solution matrix is generated similarly. Initially, the solution is found and stored in the matrix at random. This solution 'm' matrix serves as a guideline to further improve the solution. Figure 2 illustrates a general MOACO matrix. The matrix considers the 'n' number of variables in the 'k's number of objectives.

Fig. 2
figure 2

Solution Matrix created by MOACO. The solutions are to be kept in the order of their Weights (\(\omega_{1} \ge \omega_{2} \ge ...\omega_{i} \ge ....\omega_{i}\)), from top to bottom

Step III Matrix initialization with random solutions

In the MOACO method, an initial guess for the 'n' variables and the 'k's number of objectives initializes the solution matrix. In each step, MOACO gives rise to the 'l' number of goals. After which 'k' options are retained from 'k + 1'in the search space, the remaining rejected.

Step IV Stochastically search for a refined solution

To initialize the matrix, it must create a random set of variables that result in many possible solutions. A probabilistic function P(x), referred to as Gaussian probability distribution, given in Eq. (23), is used to find the set of solutions from the second step onwards.

$$P^{i} (x) = \sum\limits_{l = 1}^{k} {w_{l} } p_{l}^{i} (x) = \sum\limits_{l = 1}^{k} {w_{l} } \left( {\frac{1}{{\sigma_{l}^{i} \sqrt {2\pi } }}} \right)\exp \left( {\frac{{ - \left( {x - \mu_{l}^{i} } \right)^{2} }}{{2\sigma_{l}^{{i^{2} }} }}} \right)$$
(23)

The solution weight (w), means of solution (µ) and the standard deviation (σ) are the three parameters used in Eq. (23) that help the MOACO to generate new solutions.

Equation (24) calculates the solution weight. It corresponds to the solution's attractiveness based on minimizing or maximizing the solution to be carried in the next iteration.

$$w_{j} = \frac{1}{{qk\sqrt {2\pi } }}\exp \left( {\frac{{ - (rank(j) - 1)^{2} }}{{2q^{2} k^{2} }}} \right)$$
(24)

The mean \(rank(j)\) is derived by setting the Gaussian probability function equal to 1. \(q\) and k are the parameters used in MOACO. The weight 'w' facilitates finding the appropriateness of the procedure. Equation (25) utilizes the weight w to find the probability of a solution being carried forward in the next generation.

$$p_{j} = \frac{{w_{j} }}{{\sum\limits_{l = 1}^{k} {w_{l} } }}$$
(25)

The mean of the solution \(\mu\) and the standard deviation \(\sigma\) is calculated from Eqs. (26) and (27).

$$\mu_{l}^{i} = c_{l}^{i}$$
(26)
$$\sigma = \xi \sum\limits_{l = 1}^{k} {\frac{{\left| {d_{l}^{i} - d_{j}^{i} } \right|}}{k - 1}}$$
(27)

The term \(d_{l}^{i}\) and \(d_{j}^{i}\) are the two solutions in the solution matrix. '\(\xi\)' Is a factor that allocates the convergence speed to the solution. A lower value \(\xi\) is given for a higher rate of convergence.

Step V Solution update

The three parameters, weight, mean, and standard deviation, update each iteration's solution matrix.

Model and optimization technique Validation

Previously the model was validated for the multi-distribution pipeline grid (Arya, 2018a). Table 5 highlights the key findings. The MOACO technique was validated for gun barrel paper (Arya, 2018b). Despite having several advantages, the technique has not been used in a multi-distribution pipeline. The paper explores the benefit of implementing the MOACO technique in a multi-distribution pipeline grid system. Two stopping criteria are applied to the MOACO optimization program. The first stopping criterion chosen is the stopping time of the optimization process, which was kept as 2000s. The second stopping criterion used was the maximum number of evaluations that are kept as 10 million. The second stopping criterion ensures that the optimization search is carried out until 10 million function evaluations do not improve the current solution.

Result and discussion

The pipeline grid considered for the study is depicted in Fig. 1. “Pipeline grid description” section discusses the network in depth. Ninety-nine variables comprise the pipeline grid. These include forty-five pressure variables, thirty gas flow rate variables, seven fuel consumption in compressors, six gas supply, and ten valve flow rate variables. The network consists of nineteen delivery points. One gas delivery parameter is retained as a variable to determine the maximum amount of gas supplied at that particular distribution node. These calculations are performed on an individual basis for each distribution node. The multi-objective optimization applied to each distribution node facilitates the pipeline operator to deal the situations such as forecast error in gas requirement at delivery stations, inconsistent gas consumption in compressors and change in ambient temperature. The conditions lead to variations in gas requirements at different delivery nodes. The multi-objective plot will help the operators analyze the gas delivered at different delivery stations and the corresponding fuel consumption. Running the optimizer at the various nodes also informs the optimum gas amount delivered at the delivery stations. Table 2 details the bare minimum amount of gas distribution that must be guaranteed. The multi-objective ant colony technique is applied to the nineteen gas distribution points, and the Pareto points are generated for each delivery point. The delivery station (02) is the first delivery point chosen on which the MOACO is implemented. The Pareto front was created to keep fuel usage to a minimum and obtain the greatest possible throughput at the distribution station(02). The Pareto front generated gives a set of twenty-eight Pareto points. The Pareto front gives critical information that one objective on a Pareto front cannot be improved without worsening the second objective function. A similar scenario is seen in the Pareto front, shown in Fig. 3. As we progress on the Pareto front, fuel usage increases (worsening the second objective function). The criterion satisfies the Pareto front's characteristics and shows that the Pareto front obtained for the distribution station is correct. The figure also shows that the maximum amount of gas delivered at this station is 77.18 kg/sec. The corresponding fuel consumed is 0.96 kg per second. The amount of gas consumed in individual gas compressors corresponding to the delivery station (02) is discussed in Table 7.

Fig. 3
figure 3

Pareto front for fuel consumption versus throughput at delivery station—02

Table 7 Best throughput and corresponding fuel consumption obtained using MOACO

Further, the Pareto front obtained in Fig. 4 for gas distribution at the delivery station (03) shows that the maximum amount of gas sent at the delivery station (03) is 141.32 kg per second. The corresponding gas consumed at the seven compressors is 0.980 kg per second. A similar Pareto is obtained for each of the nineteen gas distribution stations. The Pareto front drawn Pareto front for each distribution point is shown in Fig. 321. Figure 5 shows the maximum gas delivery at distribution point (05) is 36.89 kg per second, and the corresponding fuel consumption is 1.078 kg per second. A total of 13 Pareto points are obtained. Figure 6 shows the Pareto front for the gas delivery at the delivery station (06) and the corresponding fuel consumption. The maximum delivery achieved is 44.13 kg per second, and the corresponding fuel consumption is 1.123 kg per second. Figure 7 shows the Pareto front at the distribution center (09). Figure 8 shows the Pareto front for the delivery station (10), Fig. 9 for the delivery station (12), Fig. 10 for the delivery station (14), Fig. 11 for the delivery station (16), Fig. 12 for the delivery station (19), Fig. 13 for the delivery station (22), Fig. 14 for the delivery station (23), Fig. 15 for the delivery station (25), Fig. 16 for the delivery station (31), Fig. 17 for the delivery station (33), Fig. 18 for the delivery station (35), Fig. 19 for the delivery station (37), Fig. 20 for the delivery station (40), and Fig. 21 for the delivery station (44). It is crucial to note that improving one objective worsens the second objective function for each Pareo front obtained for the corresponding distribution station. Figures 321 show that all the Pareto points obtained for individual distribution stations are equally good. In figures like Figs. 4, 6 and 9, not much variation is seen in gas throughput along the Pareto point curve. The effect shows that the best operating points are obtained when the pipeline is run at almost full capacity. Table 7 shows the best solutions for the highest delivery at each distribution station and the corresponding fuel consumption in compressors.

Fig. 4
figure 4

Pareto front for fuel consumption versus throughput at delivery station—03

Fig. 5
figure 5

Pareto front for fuel consumption versus throughput at delivery station—05

Fig. 6
figure 6

Pareto front for fuel consumption versus throughput at delivery station—06

Fig. 7
figure 7

Pareto front for fuel consumption versus throughput at delivery station—09

Fig. 8
figure 8

Pareto front for fuel consumption versus throughput at delivery station—10

Fig. 9
figure 9

Pareto front for fuel consumption versus throughput at delivery station—12

Fig. 10
figure 10

Pareto front for fuel consumption versus throughput at delivery station—14

Fig. 11
figure 11

Pareto front for fuel consumption versus throughput at delivery station—16

Fig. 12
figure 12

Pareto front for fuel consumption versus throughput at delivery station—19

Fig. 13
figure 13

Pareto front for fuel consumption versus throughput at delivery station—22

Fig. 14
figure 14

Pareto front for fuel consumption versus throughput at delivery station—23

Fig. 15
figure 15

Pareto front for fuel consumption versus throughput at delivery station—25

Fig. 16
figure 16

Pareto front for fuel consumption versus throughput at delivery station—31

Fig. 17
figure 17

Pareto front for fuel consumption versus throughput at delivery station—33

Fig. 18
figure 18

Pareto front for fuel consumption versus throughput at delivery station—35

Fig. 19
figure 19

Pareto front for fuel consumption versus throughput at delivery station—37

Fig. 20
figure 20

Pareto front for fuel consumption versus throughput at delivery station—40

Fig. 21
figure 21

Pareto front for fuel consumption versus throughput at delivery station—44

Conclusion

The article provides a statistical model for multi-distribution gas grids. Ant colony optimization technique is implemented on the proposed model. The optimization strategy optimizes the multi-objective role of limiting the fuel consumption in compressors and maximizing the gas pipeline grid's throughput at nineteen distribution stations. Both the goals are balanced by choosing optimal pressure at forty-five pipe nodes and gas flow rate in thirty pipe legs. MOACO was implemented to a 30-pipe arc pipeline grid to build Pareto optimal multi-objective solutions. A multi-objective approach to the gas pipeline grid issue tends to achieve numerous solutions, from which decision-makers can select the most suitable one based on a conversation with a manager. The optimal results produced for multi-objective optimization advocate the industrial method of reducing fuel usage at the cost of the low performance of the gas throughput of the system. The methodology may develop techniques for enhancing a gas pipeline grid's operational conditions and performance.