Abstract

With the contradiction between supply and demand being intensified, the unreasonable crude oil trade structure has become increasingly prominent. Therefore, optimizing the supply and demand structure of the global crude oil trade is an urgent problem, which has become one of the crucial factors affecting the energy strategy and economic development of each country. This paper builds an optimization model that aims at minimizing crude oil trade costs based on the complex network theory. Meanwhile, an optimal solution generation approach is proposed and developed in this paper. Compared with the preoptimized trade network, the proposed model can effectively reduce the trade cost. By topological analysis of the trade network and its optimal configuration, we obtain that both the preoptimized and optimized crude oil trade networks follow power-law distribution. By using the minimum spanning tree, we find that the major crude oil net exporting countries have the most significant influence and are at the core in the optimized trade structure. This work focuses on the sustainable development of the global crude oil trade and provides a fresh perspective for the optimal crude oil trade system. Moreover, the methodology and model may be applied in the investigation of optimization for other energy system structures.

1. Introduction

Currently, as the primary energy source in the world, crude oil is strategically vital to all countries on the earth. The factor endowment and the difference between supply and demand of crude oil resources are critical driving forces for the development of international crude oil trade. Recently, in order to reveal the interaction between the trade countries of the crude oil trading system from the strategic scope, a growing number of scholars and researchers have studied global crude oil trade from the perspective of complex network theory. The basic view is of the research of complex network where the nodes are the countries, and the edges are the trade relationship as a complex network. The relationship between nodes in the trading system in the form of a network is explained. In the past ten years, complex network has become an essential tool for studying complex systems and has been applied in more and more fields [18].

Complex network method can analyze the world-wide trade system entirely and partly so as to reveal many new features of the crude oil trade topologically and dynamically. Some studies are related to the characteristics and evolution of international crude oil trade relations [911]. Yang et al. [9] examined the geography of global crude oil flows and its evolution based on complex network. Xi et al. [10] studied the impact of crude oil trade pattern changes of the Belt and Road countries on each country’s GDP based on the complex network and econometric theory. Zhang et al. [11] applied social network to investigate structure characteristics and evolution pattern with petroleum trade data of countries along the Belt and Road Initiative. Some studies are related to trade roles and preferences of cooperation partners [1214]. In Ref. [12], the authors explored whether the countries’ local trade pattern can reflect their preferences of selecting trade partners in different commodity’s markets. Du et al. [13] applied the top 1 network model to reflect countries’ preference in choosing oil trade partners. Zhong et al. [14] showed that a better understanding of the roles of trading countries in the international fossil fuel trade is crucial for trade security and policy optimization. Some studies are related to stability and security of crude oil trade network [1520]. The authors of Ji et al. [15] constructed a global oil trade core network to analyze the overall features, regional characteristics, and stability of the oil trade using complex network theory. Sun et al. [16] constructed weighted and unweighted international oil trade networks based on complex network theory to analyze the stability of the international oil trade network from short-term and long-term aspects. An et al. [17] built a trading-based network model of international crude oil to study the evolution of scales, stability, hierarchy structure, and partition over time. Guan et al. [18] introduced the link prediction approach to assessing potential trade links. There also exist some studies about the systemic risk in crude oil trade by studying the interaction patterns among the global crude oil import dependency countries [19, 20].

Previous researches provide important insights into global crude oil trade, but these works often consider the actual crude oil trade system. Few studies have researched the optimization of crude oil supply and demand structure. Practically, influenced by factors such as long-distance transportation, geographical distribution, and political agreement of crude oil trade, there are poorly functioning supply and demand structures in the actual crude oil trading system. For example, strong dependence on specific countries and routes leads to high trade costs and waste of resources. Based on the existing achievements, this paper focuses on the structural optimization of the global crude oil trading system.

In this way, the structural optimization of the crude oil trade should gain particular attention. This paper proposes an optimization model based on minimizing trade costs. On one hand, this model can satisfy each country’s demand for crude oil. On the other hand, it can minimize the cost of crude oil trade. By applying complex network theory and metaheuristic algorithm, the optimal distribution configuration of crude oil between supply and demand countries is obtained, which provides new ideas and perspectives for discussing the optimization of the crude oil trading system.

The paper is organized as follows. Section 2 describes a simplified crude oil trade bipartite network model, the optimization model, and the simulated annealing method. Section 3 empirically analyzes the scenario of crude oil interactions between exporters and importers to obtain a reasonable crude oil trade structure. Section 4 discusses the findings and presents conclusions.

2. Models and Methodology

2.1. Crude Oil Trade Bipartite Network Model

The global crude oil trade can be divided into supply side and demand side so that the global crude oil trade network can be regarded as a bipartite network. Bipartite network is a graph, whose nodes can be divided into two disjoint and independent sets such that every edge connects a node in one set to one in another set [21]. Bipartite networks are widely used in various fields [2227].

For each country , net imports (Unit: kg) are defined aswhere and are the import volume and export volume of country , respectively. In particular, if , the country is a net exporter, and if , the country is a net importer. And if , the node is neither a net importer nor a net exporter.

Figure 1 shows an example of crude oil trade bipartite network model. According to equation (1), the trading countries are divided into two sets: one is net exporters, the other one is net importers, and the links reflect the crude oil flow. The weight of the link reflects the volume of crude oil, ( ), flowing through a directed link connecting from a net exporter to a net importer . Therefore, for and , we have the following balance equations:

where .

The degree of country is defined as the number of countries that trade with . Nodes have two different degrees, the in-degree , which is the number of incoming edges, and the out-degree , which is the number of outgoing edges. The degree distribution is defined aswhere is the number of nodes (countries) with degree .

2.2. Optimization Model

A stable crude oil market requires to be able to design a model of the optimal trade network structure based on the trade demand and the trade relationship of the net importing countries and the net exporting country for reducing the trade costs. Therefore, the problem of reducing the trade costs in crude oil trade is transformed into the topology optimization problem of the bipartite network. In other words, the purpose of the optimization model is to find the optimal configuration for the crude oil trade bipartite network.

Combined with the basic knowledge of economics and gravity model theory in international trade [28, 29], according to the characteristics of the actual crude oil trade, it is deduced that the crude oil trade costs are proportional to trade volume and geographical distance. Therefore, we construct the equation of trade cost:where is the geographical distance between net exporting country and net importing country . In equation (5), the unknown variable represents the amount of crude oil flowing from to .

In order to determine the optimal configuration of the crude oil trade system, equation (5) is formulated as an optimization model, where the objective function is defined as

The constraints of the problem are equations (2) and (3). The feasible solution of the optimization model can help identify which edges are needed to achieve an optimal crude oil trade structure.

2.3. Minimum Spanning Tree

The minimum spanning tree is also called the minimum weight spanning tree. It is a subset that contains all the vertices in the graph and links all the vertices, and the total of these edge weights is minimum in the weighted undirected graph. In this paper, we use Kruskal’s algorithm for the minimum spanning tree [30, 31]. The process of the algorithm is as follows:(i)Step 1. View each node in the graph as an isolated branch, and sort the edges in descending order by the weights.(ii)Step 2. Traverse the graph once, find the edge with the maximum weight, and ensure that this edge does not loop with the edges that have been added to the minimum spanning tree collection. Add this edge to the minimum spanning tree collection if all conditions are met. Otherwise, continue to traverse the graph to find the next edge with the maximum weight.(iii)Step 3. Recursively repeat step 1, until edges are found (if the graph has nodes, the minimum spanning tree should have edges). Then, the algorithm terminates, and the minimum spanning tree of the graph is obtained.

2.4. Simulated Annealing Method

Simulated Annealing is a probabilistic technique for approximating the global optimum of a given function. Specifically, it is a metaheuristic to approximate global optimization in a large search space for an optimization problem [32]. Simulated Annealing can be used to find an approximation of a global minimum for a function with a large number of variables [3335]. Simulated annealing algorithm flow chart is shown in Figure 2 [36, 37].

We used the sensitivity analysis method to analyze the parameters of the optimization algorithm for solving the crude oil supply and demand network design problem. First, when the maximum number of iterations, the cooling rate, and the termination temperature are fixed, and the initial temperature is increased from 40 to 500, the solution result and solving time are shown in Figures 3(a) and 3(b). When the initial temperature, cooling rate and termination temperature are fixed, and the maximum number of iterations is increased from 600 to 1500, the solution result and solving time are as shown in Figures 3(c) and 3(d). The number of iterations of the simulated annealing algorithm needs to be large enough to ensure that the algorithm reaches equilibrium. However, if it is too large, it will greatly increase the time spent. Considering the above results and solving time, the selected parameters , , are appropriate, the number of solutions reaches times, and the termination temperature is .

How to generate the solution is an important part of the simulated annealing method. Here, the way for generating the solution is proposed in the following steps:(i)Step 1. Randomly select a country in the collection of net exporting countries, denoted as .(ii)Step 2. Compare the geographical distance between all net importing countries and , then choose the net importing country (), which has the shortest distance to trade in order from .(iii)Step 3. Determine whether exports all crude oil to . If exports all of its crude oil but still has demand, remove and retain ; if obtains the required crude oil and has remainder, remove and retain .

By repeating the above steps, combined with the Simulated Annealing method, any possible trade process can be simulated. Thus, the solution obtained must be optimal, and the resulting structure is the optimal configuration.

3. Empirical Analysis

3.1. Data

We choose the global crude oil trade volume (unit: billion tons) as the sample data. The data cover the period from 2010 to 2016. All the data are obtained from the website of the United Nations Commodity Trade Database [38]. The used code is HS 270900: crude petroleum oils. Geographic distance data (unit: kilometers) is obtained from the website of the CEPII [39]. Table 1 shows the numbers of global crude oil trading countries from 2010 to 2016.

3.2. Topological Structure Analysis

This section represents the application of the model and method described in Section 2 to actual crude oil trade. The optimization model has been run for the global crude oil trade during 2010 and 2016 to yield the optimal bipartite network structure.

Table 2 compares the costs of preoptimized and optimized crude oil trade. The results show that the cost of the crude oil trade after optimization is greatly reduced. This confirms the effectiveness of our proposed optimization method.

We take the optimization results of 2010 and 2016 as examples, and the optimized crude oil trade structure for 2010 and 2016 is shown in Figure 4. The dots in Figure 4 represent the countries trading in crude oil. The size and color of the dots reflect the size of the country’s in-degree or out-degree. For example, if a node with in-degree (out-degree) = 2, in Figure 4, it is represented by a circle with the second smallest radius, and the color is green. The links with arrows indicate the flow of crude oil.

Figures 5 and 6 compare the in-degree, out-degree, and degree distributions of the global crude oil trading network before and after optimization. We find that all the figures reveal “long tail” effect, which is a characteristic of scale-free networks, and the degree distribution follows power-law distribution. It indicates that there are a small number of “hub” trading countries with a high degree of nodes and a large number of “peripheral” trading countries with a low degree of nodes. These high-degree nodes play an important supporting role in the network. In other words, removing these nodes will cause devastating damage to the system. In the trade network, although the number of nodes in the network has changed, the optimal selection mechanism in the scale-free network cannot be fully reflected, which weakens this feature to a certain extent [40].

3.3. The Minimum Spanning Tree Analysis

The minimum spanning tree of the global crude oil trading network reflects the central relationship between the trading countries.

Figures 7 and 8 show the minimum spanning tree for the preoptimized and optimized crude oil trade network. In the minimum spanning tree, the greater the degree of the node (trading country), the stronger its influence in the global crude oil trade. Tables 3 and 4, respectively, show the variance of the top 10 countries with node degrees in the minimum spanning trees of crude oil trade before and after optimization during 2010 and 2016. The countries for Tables 3 and 4 in our selected sample are shown in Table 5. We find that, for the preoptimized crude oil trade, among the top 10 countries, there are both major net exporters (light gray area of the table) and major net importers (white area of the table). And their numbers are almost the same. However, in terms of the optimized crude oil trade, most of the top 10 countries are major net exporters (light gray area of the table). It indicates that, in the crude oil trade before optimization, the major net importers and the major net exporters have an equally important influence. In contrast, in the optimized crude oil trade, the major net exporting countries are at the core.

4. Conclusions

In this paper, based on the yearly crude oil trade volume data from 2010 to 2016 and geographic distance data, we propose an optimization methodology based on the complex network approach. This approach allows oil trading countries to be represented as nodes and oil flows as links. The optimal crude oil trade structure has been obtained by fixing the trade volume of each country and minimizing the total trade cost. The resulting feasible solution helps exploit reasonable trade relationships.

Compared with the preoptimized trade network, the proposed model can effectively reduce the trade cost. Meanwhile, we find that both the preoptimized and optimized crude oil trade networks follow power-law distribution, which means that most countries have fewer trading partners, while fewer countries have established trade relations with a large number of countries.

Additionally, in order to identify countries with significant influence, the minimum spanning tree analysis has yielded some promising results, which show that, in the crude oil trade before optimization, the major net importers and major net exporters have an equally important influence. However, in the crude oil trade after optimization, the major net exporters have the greatest influences. In other words, they are at the core.

The research results provide a fresh perspective for the optimization of the crude oil trade network structure. In addition, the methodology and findings can help policymakers formulate reasonable and effective trade strategies. Further work will focus on the impact of trade preference factor on optimizing the structure of crude oil trade, thus establishing a more realistic and comprehensive optimization model.

Data Availability

The data are available upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This research was supported by grants from the National Natural Science Foundation of China (Grant nos. 61973143 and 71974080), the Major Program of National Natural Science Foundation of China (Grant no. 71690242), the National Natural Science Foundation of China (Grant no. 11731014), National Key R&D Program of China (Grant no. 2020YFA0608601), and young backbone teachers of Jiangsu Province.