Keywords

1 Introduction

1.1 Background

Natural gas, as clean and green energy, has been widely used in various countries around the world [1]. In China, the use of natural gas is gradually increasing [2]. According to the statistical data of national energy administration, the natural gas consumption of China has increased from 245 × 108m3 to 3025 × 108m3, which indicates that China's natural gas market has entered a stage of rapid development. Nowadays, the multi-source pattern consisiting of domestic natural gas, imported LNG, imported pipeline natural gas has been formed in China [3]. Due to the existence of multi-source pattern, the suppliers will compete in the downstream market. To maximize their own interests, each supplier will constantly adjust the strategies and optimize resource allocation. Thus, it is of great significance to consider market competition in the optimization of natural gas supply chain.

As the main transportation mode of natural gas, pipelines are safe and economical, which makes most of the suppliers adopt this mode to transport natural gas [4]. A well-designed supply chain system should be able to resist outside interference and ensure the secure downstream supply [5,6,7], which will increase the profits of energy companies. Therefore, each supplier should not only ensure the stable supply in the downstream market while constructing the supply chain system, but also consider how to obtain the optimal pipeline layout scheme under the market competition, so as to minimize the construction cost and maximize their own profits.

1.2 Related Work

Currently, most of the research on the optimization of the natural gas supply chain focused on the supply security [8,9,10], price mechanism [11, 12] and so on. Among them, the studies on the optimal distribution of single supplier to demand side are the majority [13, 14], while the optimization of natural gas supply chain under market competition is rarely considered. Some scholars have worked out the integrated optimization of natural gas supply chain which mainly includes the pipeline layout scheme and detailed supply scheme [15, 16]. Since the operational optimization of natural gas networks is a complex nonlinear problem, Zhang et al. [17] introduced a multi-period optimization framework for the large scale natural gas network. On this basis, a non-convex MINLP model is established to improve the economic performance of the network. Azadeh et al. [18] considered the impact of greenhouse gas produced during natural gas production and transportation on the environment, and then presented a dual-objective fuzzy linear programming model with minimum economic cost and minimum greenhouse gas emission cost to optimize a natural gas supply chain. Finally, the solution was evaluated. Aiming at a small-scale LNG supply system in coastal area, Jokinen et al. [19] developed a MILP model that minimized the cost of fuel purchase to obtain the optimal distribution scheme. By taking the minimum daily cost including transportation cost, liquefaction cost, purchase cost and construction cost as the objective function, Zhang et al. [20] put forward a three-stage stochastic programming method to optimize infrastructure development and inventory routing of the LNG supply system.

There are also studies on the game between different levels of natural gas supply chain [21,22,23]. According to the link-based flexible network allocation rule, Nagayama et al. [24] developed a network game model to analyze the relative power structure among gas-trading countries. Castillo et al. [25] proposed a framework of LNG supply chain with multiple levels, and established a multi-objective model based on the game theory. Considering the competition among third-party marketers, Steven et al. [26] put forward a linear complementarity model for the North American natural gas market to obtain the demand distribution scheme. Daniel et al. [27] proposed a dynamic upstream gas supply model which could stimulate the investment and operation decision of the upstream gas industry. By imposing an agent-based framework, Guo et al. [28] developed a global-scale model Gas-GAME to analyze the impact of US liquefied natural gas exportation strategies on global gas market. The above research mainly concentrated on policy analysis, but did not optimize the design of supply chain system.

In summary, the previous works on the optimization of natural gas supply chain were relatively mature, with a wide range of research directions and rich achievements. However, at present, few studies account for the optimization of natural gas supply chain under multi-source pattern. Aiming at this issue, a universal MILP model is proposed for the design and operation of the natural gas supply chain under multi-source. Through solving the model, the construction scheme of infrastructure and the detailed seasonal supply and storage scheme can be obtained.

2 Problem Description

2.1 Background

Similar to other fuel supply chains, the structure of natural gas supply chain also can be divided into three parts [29, 30]. The upstream part of natural gas supply chain is the gas production or import, the middle part mainly includes the transportation and storage of natural gas, and the downstream part is the sale of natural gas products [14]. The problem studied in this paper is based on the supply chain system in Fig. 1. It can be seen that there are multiple natural gas suppliers in upstream part. Each supplier relies on its own gas fields to produce natural gas or import natural gas from abroad to supply the downstream market, thus forming the pattern of multi-party competition. The market is the downstream part of natural gas supply chain, and its demand may fluctuate due to the influence of seasonal factors. To satisfy the seasonal demand of the downstream market and reduce the risk caused by demand fluctuation, it is indispensable to construct the underground gas storage near the market [31].

Fig. 1
figure 1

A natural gas supply chain system under multi-source

Transportation is the main part of the midstream of natural gas supply chain, which has large impact on economy [32]. Natural gas can be transported by many different modes, among which pipeline is the most used one [33]. Pipeline has a large transport capacity and requires less space [34]. In particular, it is not affected by any extreme weather conditions and can operate continuously for a long time [35, 36].

2.2 Model Requirement

Given:

  • The seasonal demand of each city.

  • The maximum production and external production of each gas field.

  • Geographical locations of gas fields, cities, existing pipelines, stations, and underground gas storages.

  • Various costs, including station construction cost, pipeline construction cost and maintenance cost, gas storage construction cost and so on.

  • The annual depreciation rate of each equipment.

  • The maximum and minimum capacity of underground gas storages.

Determine:

  • Construction scheme of infrastructure of each supplier.

  • Seasonal supply scheme and purchase scheme of natural gas of each supplier.

  • Seasonal storage and peak shaving volume of each gas storage.

Objective:

The objective function is to maximize the profit of each supplier under market competition. To develop the model effectively, this paper proposes the following assumptions:

  • The gas fields and cities are set as one node.

  • The energy consumption cost is considered to be linearly related to the distance and the flow.

  • The difference of gas quality between different gas sources is not considered.

3 Mathematical Model

3.1 Objective Function

In this paper, the infrastructure investment of each supplier is dynamically depreciated in the way of equivalent payment by installments. The objective function (\(\max F_{i} = f_{i,1} - (f_{i,2} + f_{i,3} + f_{i,4} + f_{i,5} + f_{i,6} + f_{i,7} + f_{i,8} )\)) of the model is to maximize the total profit of each supplier. The total profit includes the annual net profit on sales of natural gas (\(f_{i,1} = \sum\limits_{k \in K} {\sum\limits_{j \in J} {\sum\limits_{i^{\prime} \in I} {VS_{k,i,i^{\prime},j} } (p_{k,i}^{sale} - co_{i}^{production} )} } \, i \in I\)), the annual depreciation cost of station construction (\(f_{i,2} = co^{station} dy^{station} \sum\limits_{j \in J} {C_{i,j}^{station} } \, i \in I\)), the annual depreciation cost of pipeline construction (\(f_{i,3} = co^{pipe} dy^{pipe} \sum\limits_{j \in I \cup J} {\sum\limits_{j^{\prime} \in I \cup J} {B_{i,j,j^{\prime}} l_{j,j^{\prime}} } } \, i \in I\)), the annual maintenance cost of pipeline (\(f_{i,4} = co^{{ma{\text{int}} enace}} \sum\limits_{j \in I \cup J} {\sum\limits_{j^{\prime} \in I \cup J} {(B_{i,j,j^{\prime}} + s_{i,j,j^{\prime}}^{pipe} )l_{j,j^{\prime}} } } \, i \in I\)), the annual cost of energy consumption (\(f_{i,5} = co^{energy} \sum\limits_{k \in K} {\sum\limits_{j \in I \cup J} {\sum\limits_{j \in I \cup J} {Q_{k,j,j^{\prime}} l_{j,j^{\prime}} } } } \, i \in I\)), the annual depreciation cost of storage construction (\(f_{i,6} = co^{storage} dy^{storage} \sum\limits_{j \in J} {C_{i,j}^{storage} \, i \in I}\)), the purchase cost for natural gas (\(f_{i,7} = \sum\limits_{k \in K} {p_{k,i}^{purchase} V_{k,i}^{purchase} } \, i \in I\)) and the transportation cost (\(f_{i,8} = \sum\limits_{k \in K} {\sum\limits_{i^{\prime} \in I} {\sum\limits_{j \in J} {p_{i^{\prime}}^{pipe} VS_{k,i,i^{\prime},j} } } } \, i \in I,i \ne i^{\prime}\)).

3.2 Pipeline Construction Constraints

If there is a pipeline between nodes \(j\) and \(j^{\prime}\), it is not indispensable to construct  a new one, as stated in constraints (12). Equation (3) indicates that no pipeline will be constructed among the gas sources. To avoid the repeated construction, if the supplier \(i\) has already constructed the pipeline between node \(j\) and node \(j^{\prime}\), other suppliers cannot construct more(i.e., (4)). The  topology of pipeline network considered in this paper is branch pipeline network, so the relationship between the number of pipeline segments and  nodes can be expressed by Eq. (5).

$$B_{i,j,j^{\prime}} \le 1 - \sum\limits_{i \in I} {s_{i,j,j^{\prime}}^{pipe} } \quad i \in I \, j,j^{\prime} \in I \cup J$$
(1)
$$\sum\limits_{j^{\prime} \in I \cup J} {(B_{i,j,j^{\prime}} + \sum\limits_{i \in I} {s_{i,j,j^{\prime}}^{pipe} } )} \ge 1\quad i \in I \, j,j^{\prime} \in I \cup J$$
(2)
$$B_{i,j,j^{\prime}} = 0\quad i,j,j^{\prime} \in I$$
(3)
$$\sum\limits_{i \in I} {(B_{i,j,j^{\prime}} + B_{i,j^{\prime},j} )} \le 1\quad i \in I \, j,j^{\prime} \in I \cup J,j \ne j^{\prime}$$
(4)
$$\sum\limits_{i \in I} {\sum\limits_{j \in I \cup J} {\sum\limits_{j^{\prime} \in I \cup J} {(B_{i,j,j^{\prime}} + s_{i,j,j^{\prime}}^{pipe} )} } } = |I \cup J| - 1$$
(5)

3.3 Volume Constraints

The variable \(VS_{k,i,i^{\prime},j}\) indicates the volume supplied by the supplier \(i\) to node \(j\) through its own pipeline or other suppliers’ pipeline in the season \(k\). Specially, if \((C_{i,j}^{station} + s_{j}^{station} )\) equals 0, \(VS_{k,i,i^{\prime},j}\) will equal 0 (i.e., (6)). The supplier \(i\) can supply natural gas to node \(j\) through its own pipeline when the supplier \(i\) has constructed the pipeline to node \(j\) (\(\sum\limits_{j^{\prime} \in I \cup J} {B_{i,j,j^{\prime}} } = 1\)). Or else, if the supplier \(i^{\prime}\) has constructed the pipeline to node \(j\), the supplier \(i\) can adopt the pipeline of the supplier \(i^{\prime}\) to supply, as stated in constraint (7).

$$\sum\limits_{k \in K} {VS_{k,i,i^{\prime},j} } \le \left( {C_{i,j}^{station} + s_{j}^{station} } \right)M\quad k \in K,i \in I,i = i^{\prime},j \in J$$
(6)
$$VS_{k,i,i^{\prime},j} \le \sum\limits_{j^{\prime} \in I \cup J} {(B_{i^{\prime},j,j^{\prime}} + s_{i^{\prime},j,j^{\prime}}^{pipe} )} M\quad k \in K,j \in J \, i,i^{\prime} \in I$$
(7)

As stated in constraint (8), the purchased natural gas volume of the supplier \(i\) in the season \(k\) should be less than the maximum purchased volume of the supplier \(i\)(\(vpr_{k,i}^{\max }\)). The summation of the total volume of supplier \(i\) for each node through its own pipeline and the supply through other suppliers’ pipelines (\(\sum\limits_{k \in K} {\sum\limits_{i^{\prime} \in I} {\sum\limits_{j \in J} {VS_{k,i,i^{\prime},j} } } }\)) should not be greater than the maximum supply of supplier \(i\) (i.e., (9)).

$$V_{k,i}^{purchase} \le vpr_{k,i}^{\max } \quad k \in K,i \in I$$
(8)
$$\sum\limits_{k \in K} {\sum\limits_{i^{\prime} \in I} {\sum\limits_{j \in J} {VS_{k,i,i^{\prime},j} } } } \le sv_{i}^{\max } + \sum\limits_{k} {V_{k,i}^{purchase} } \quad i \in I$$
(9)

Only if there is a storage in node \(j\) (\(C_{i,j}^{storage} + s_{j}^{storage} = 1\)) can the storage be operated for injection or export (i.e., (10)). As stated in constraint (11), the peak shaving volume (\(VTF_{k,i,j}\)) should be within the allowable volume of the underground gas storage. The demand of node \(j\) in the season \(k\)(\(d_{k,j}\)) equals to the summation of the volume supplied by each supplier through its own pipeline and other suppliers’ pipelines (\(\sum\limits_{i \in I} {\sum\limits_{i^{\prime} \in I} {VS_{k,i,i^{\prime},j} } }\)) and the peak shaving volume of storage (\(\sum\limits_{i \in I} {VTF_{k,i,j} } n^{season}\)) (i.e., (12)).

$$|VTF_{k,i,j} n^{season} | \le (C_{i,j}^{storage} + s_{j}^{storage} )M\quad k \in K,i \in I,j \in J$$
(10)
$$vos_{j}^{\min } (C_{i,j}^{storage} + s_{j}^{storage} ) \le vtf_{j}^{initial} - \sum\limits_{k \in K} {VTF_{k,i,j} n^{season} } \le vos_{j}^{\max } \quad i \in I,j \in J$$
(11)
$$d_{k,j} = \sum\limits_{i \in I} {VTF_{k,i,j} } n^{season} + \sum\limits_{i \in I} {\sum\limits_{i^{\prime} \in I} {VS_{k,i,i^{\prime},j} } } \quad k \in K,j \in J$$
(12)

3.4 Flowrate Constraints

The transportation of natural gas considered in the model is unidirectional transportation. If there is no pipeline between the two nodes, the pipeline flowrate will equal to 0(i.e., (13)). Or else, the flowrate must have boundaries for economic concerns (i.e., (14)). The flowrate out of the gas source is calculated through Eq. (15). Equation (16) indicates that the volume into node \(j\) minus the delivery volume is equal to the volume out of node \(j\).

$$Q_{k,j,j^{\prime}} \le fl_{j,j^{\prime}} M\quad k \in K \, j,j^{\prime} \in I \cup J$$
(13)
$$(fl_{j,j^{\prime}} - 1)M + q_{j,j^{\prime}}^{\min } \le Q_{k,j,j^{\prime}} \le (1 - fl_{j,j^{\prime}} )M + q_{j,j^{\prime}}^{\max } \quad k \in K \, j,j^{\prime} \in I \cup J$$
(14)
$$\sum\limits_{j^{\prime} \in I \cup J} {Q_{k,i,j^{\prime}} } = \sum\limits_{i^{\prime} \in I} {\sum\limits_{j^{\prime} \in I \cup J} {VS_{k,i,i^{\prime},j} } } /24n^{season} \quad k \in K,i \in I,j \in J$$
(15)
$$\sum\limits_{j^{\prime} \in I \cup J} {Q_{k,j^{\prime},j} } - (\sum\limits_{i \in I} {V_{k,i,j} } + \sum\limits_{i \in I} {\sum\limits_{i^{\prime} \in I} {VS_{k,i,i^{\prime},j} } } )/24n^{season} = \sum\limits_{j^{\prime} \in I \cup J} {Q_{k,j,j^{\prime}} } \quad k \in K,j \in J$$
(16)

3.5 Station and Storage Construction Constraints

If the station has been constructed at node \(j\), the supplier \(i\) cannot construct more. To avoid the repeated construction, only one supplier can construct station at node \(j\)(i.e., (17)–(18)). Only the city that satisfies special geological conditions can construct the storage (i.e., (19)). Similar to the station construction, constraints (20)–(21) limit the storage construction of supplier \(i\).

$$C_{i,j}^{station} \le 1 - s_{j}^{station} \quad i \in I,j \in J$$
(17)
$$\sum\limits_{i \in I} {C_{i,j}^{station} } \le 1\quad j \in J$$
(18)
$$C_{i,j}^{storage} \le sc_{j}^{storage} \quad i \in I,j \in J$$
(19)
$$C_{i,j}^{storage} \le 1 - s_{j}^{storage} \quad i \in I,j \in J$$
(20)
$$\sum\limits_{i \in I} {C_{i,j}^{storage} } \le 1\quad j \in J$$
(21)

4 Methodology

This paper imposes particle swarm optimization (PSO) algorithm to solve the model. PSO method is one of the intelligent algorithms, which has been widely applied to many engineering optimization problems since it was proposed [37, 38]. The calculation process of the method is shown as follow. Firstly, the number of suppliers should be determined, that is, the number of elements in set \(I\). For different suppliers, we can divide the universal MILP model into several MILP models. Each MILP model corresponds to one supplier, and the model can be decomposed into a pipeline layout model and a gas allocation model. Finally, PSO algorithm is utilized to randomly generate the initial supply of each supplier (\(i = 2, \ldots \ldots ,i_{\max }\)) for demand cities, and the objective function of MILP model of supplier \(i_{\max }\) is set as the fitness function (\(\max F_{{i_{\max } }} = f_{{i_{\max } ,1}} - (f_{{i_{\max } ,2}} + f_{{i_{\max } ,3}} + f_{{i_{\max } ,4}} + f_{{i_{\max } ,5}} + f_{{i_{\max } ,6}} + f_{{i_{\max } ,7}} + f_{{i_{\max } ,8}} )\)). Through the iterative solution, the optimal infrastructure construction scheme and gas supply scheme can be obtained. The overall structure of the proposed method is shown as Fig. 2.

Fig. 2
figure 2

Framework of the proposed method

5 Results and Discussion

5.1 Basic Data

This paper optimizes a real natural gas supply chain system in China. The Positions and numberings of all nodes are shown in Fig. 3. This system includes two gas fields S1 and S2, ten demand cities from D1 to D10. In this system, the demand of each city mainly is supplied by the two gas fields S1 and S2 that belong to supplier 1 and supplier 2 respectively. The seasonal demand of each city is shown in Fig. 4. Currently, pipelines from S1 to D1 and from D1 to D2 have already existed, and stations of these nodes have been constructed. Considering the geological conditions of each city, D2, D3, D8, and D9 are chosen to build underground natural gas storages. The maximum of underground gas storage capacity is 10 × 108 m3 of which the base load is 20%. A year is divided into four seasons with equal duration. In the paper, the depreciation rate of each equipment is considered as 7.1%. The construction cost of infrastructure is shown in Table 1. The maximum annual production and purchased volume of each supplier are shown in Table 2. The case is programmed by Matlab R2014a and solved by Gurobi 7.5.1 MILP solver.

Fig. 3
figure 3

Positions and numberings of nodes

Fig. 4
figure 4

Demands of cities

Table 1 Construction cost of infrastructure
Table 2 Basic parameters of each source

5.2 Case Study

The convergence curve of PSO algorithm is shown in Fig. 5. As can be seen from the figure, the algorithm basically starts to converge at the 12th iteration, and then reaches the minimum value. Table 3 shows the calculation results of model.

Fig. 5
figure 5

Convergence curve of PSO method

Table 3 Calculation results

The optimized structure of studied supply chain is shown in Fig. 6. It can be seen that supplier 1 constructs pipelines from D2 to D8, D6 to D3, D3 to D4. Pipelines from S2 to D7, D7 to D8, D8 to D6, D6 to D5, D6 to D10, D10 to D9 are constructed by supplier 2. Pipelines constructed by each supplier can connect into a network, improving the flexibility of the integral transportation system. The detailed construction scheme of each supplier is shown in Table 4. As shown in table, supplier 1 constructs stations at D3 and D4, underground gas storages at D2 and D3, and supplier 2 constructs stations at D5-D10.

Fig. 6
figure 6

Construction scheme of each supplier

Table 4 Construction scheme of each supplier

Figure 7 shows the purchased schemes of supplier 1 and supplier 2 at different seasons. Due to the limitation of gas field production, each supplier also needs to import natural gas from abroad or purchase gas from other land fields, so as to satisfy downstream demand. It can be seen that each city has high demand for natural gas in the winter. To meet downstream demand, supplier 1 purchases natural gas with volume of 150 × 106m3 and 200 × 106m3 in the autumn and the winter respectively, while supplier 2 purchases natural gas with volume of 300 × 106m3 in each season. The gas supply schemes of supplier 1 and supplier 2 are shown in Fig. 8. As can be seen from Fig. 6, supplier 1 transports gas to D1-D4 through its own pipelines and supplies gas to D6 and D8 through the pipelines constructed by supplier 2, while supplier 2 only supplies gas to D5-D10 by its own pipelines. The total volume supplied by each supplier can satisfy the demand of the downstream cities.

Fig. 7
figure 7

Purchase schemes of suppliers

Fig. 8
figure 8

Supply schemes of suppliers

The optimization result indicates that supplier 1 builds underground gas storages at D2 and D3 for peak shaving in winter. The storage schemes of underground gas storages D2 and D3 are shown in Fig. 9, where the negative value represents the injection scheme and the positive value represents the production scheme. It can be seen that there will be shifts of storage plans in different seasons. In the summer, amounts of natural gas will be injected into storage and stored for use in the winter or next spring. As can be seen from Fig. 8 and Fig. 9, part of the supply of D2 and D3 from supplier 1 is injected into the storage in the summer, with the volume being 10.41 × 106m3/d and 6.46 × 106m3/d, respectively. During the spring and the winter, the storages at D2 and D3 export natural gas with the volume being 3.72 × 106m3/d and 3.12 × 106m3/d, respectively, to meet the demand of D2 and D3 in these two seasons.

Fig. 9
figure 9

Storage schemes of underground gas storages

6 Conclusion

This paper puts forward a universal MILP model for the design and operation of natural gas supply chain under multi-source. Infrastructure construction cost and transportation cost are considered in the model. Based on the above cost, this model takes the maximum profit of each supplier as the objective function, and considers the constraints of balance between supply and demand, pipeline construction, station construction, underground reservoir construction and so on. In the paper, PSO algorithm is imposed to solve the model. Finally, a real case is presented to illustrate the applicability of the proposed model. The result shows that the solution can converge to a better value in an acceptable time. For the future works, the authors intend to take the uncertainties of supply chain into consideration.