Abstract

In order to design an optimized route for ships in line with economic benefits; avoid bad weather; reduce unnecessary detours; shorten the navigation time; and achieve the purpose of safety, fuel saving, and punctual arrival, this paper takes the navigation mark as the node of the tree, takes the connection of the adjacent navigation marks as the tree path, and divides the distance of the adjacent buoys by the ship’s speed as the path cost. The speed calculation collects the current hydrometeorological data such as wind and wave data, uses Aertssen’s deceleration formula to adjust the speed, and improves Dijkstra to find the shortest path. In the experiment, two routes from Dongdu to Xiamen Gang Kou are compared under bad weather conditions. Route 1 is with 5.877 m/s average wind speed, 0.860 m/s wave speed, and total distance 34717 m. Route 2 is with 8.503 m/s average wind speed, 1.429 m/s wave speed, and total distance 30223 m. The calculated ship speed travelling in route 1 is 12.243 km, and its travelling time is 1.53 h. The calculated ship speed travelling in route 2 is 10.523 km, and its travelling time is 1.55 h. Although the total distance of route 1 is longer, it takes less time for ships to travel in route 1. The experimental results verify the effectiveness of the navigation algorithm based on the shortest path tree of uncertain weather maps.

1. Introduction

Ships are often affected by a variety of different marine meteorological factors. The ship route selection is often not satisfactory. Therefore, it is of great significance and economic effect to design an optimized route for ships and avoid bad weather, so as to shorten the voyage time and achieve the purpose of safety, fuel saving, and punctual arrival at the port.

In the research of the shortest path tree, Li proposed a graph-based decomposition dynamic shortest path tree algorithm [1]. An actual network topology was used to calculate the convergence time of static algorithm and various dynamic algorithms when the weight of a single edge changed. Based on the dynamic shortest path tree algorithm, Wang proposed an efficient shortest path tree maintenance algorithm. Through statistical analysis of the network operation in a certain period of time, the algorithm obtained the edges with frequent changes in weights and dealt with the edges with frequent changes in weights [2]. Through the statistical analysis of the operation of the network in a certain period of time, the edge with frequent weight changed, so as to avoid adding it to the shortest path tree and reducing the update times of the shortest path tree. Dai improved the reliability of the shortest path tree by constantly replacing the edges with high probability and then obtained the most reliable shortest path tree [3]. A new calculation method was proposed to calculate the reliability of the shortest path tree. Yang proposed unstable edge and statistical unstable edge [4]. It could make the constructed path tree more stable on the dynamic network and spend less operation to update the shortest path tree.

In the study of meteorological routes, Wen proposed an intelligent hybrid algorithm to design the objective function according to the navigation requirements [5]. The objective function and fitness function were designed according to the navigation requirements and multiple constraints. Li proposed the optimization of ship meteorological route and built a weighted punishment fitness evaluation model based on the influence factors of weather and sea state [6]. By optimizing the route and speed, the weather routes under various user preferences could be obtained. Zhang et al. optimized the dynamic optimal meteorological route according to the medium and short-term forecast [7]. The route according to the medium and short-term forecast data was dynamically selected. Using risk analysis theory and technology, Sun can objectively and quantitatively simulate and evaluate the safety of the routes that may reach the target sea area within two days [8]. The quantitative evaluation of the route where ships will arrive in two days was carried out.

In the navigation research of navigation marks to navigation, Sang obtained the navigation mark in the route obtained from the database [9]. The third-party radar chart data and the route radar map and the third-party radar map were superimposed to form the route radar map. The meteorological data on the route weather radar map is updated in real time [10]. The proposed route weather radar chart showed a visual platform for passengers to query the route weather. Lin and Zhong proposed an intelligent optimization design of ship routes based on the information data of ports, channels, meteorology, and hydrology [11]. The database of intelligent routes was developed to provide ships with instant information of marine environment.

Due to the uncertainty and inaccuracy of environmental data, fuzzy logic is a good tool to deal with environmental data. Cacciola et al. derived a representative model of the multivariate relationships and predicted in order to organize traffic in advance from the estimated parameters [12]. Cacciola et al. provided exhaustive details on how to build a fuzzy system [13]. Postorino and Versaci explained in detail how to easily structure a bank of fuzzy rules [14]. Structuring fuzzy or neuro-fuzzy rule banks was capable of modeling the problem of uncertainty and imprecision present in the data.

In this paper, the navigation mark is taken as the node of the tree, the connecting line of the navigation mark in the channel is taken as the path of the tree, and the distance of the adjacent beacon divided by the speed of the ship is taken as the path cost. The speed calculation collects the current hydrometeorological data such as wind and wave data, uses Aertssen’s deceleration formula to adjust the speed, and improves Dijkstra to find the shortest path.

2. Shortest Path Tree of Uncertain Weather Map

2.1. Aertssen’s Deceleration Method

Aertssen proposed the allowable speed of cargo ship based on propeller idling, deck wave, bottom beating, and cargo moving [15]:where is the allowable speed, Us is the still water velocity, Lpp is the length between the two columns, and m and n are the stall estimation formula coefficients. Table 1 shows the coefficient of ship stall estimation formula.

2.2. Dijkstra Shortest Path

Dijkstra algorithm is a typical single source shortest path algorithm, which is used to calculate the shortest path from one node to all other nodes [16]. It extends from the starting point to the outer layer until it reaches the end point. In the adjacency matrix of a given graph, the shortest path is recorded by traversing all the paths of the known graph, and then the replacement is continuously judged in the loop. Firstly, the set of all points is divided into two parts: one side has been traversed, and the other side has not been traversed. Firstly, the initial value is given to infinity, and then all nodes are traversed to find the shortest path with the smallest weight in the traversal path. The shortest path can be obtained through constant modification. (Algorithm 1)

Input: graph G = (V, E), edge E, length l, vertex V.
Output: for all node u reachable from s, dist(u) is set to the distance from s to u.
for all u belongs to V
 dist(u) = infinity;
 prev(u) = null;
end
dist(s) = 0;
H = make queue(V); using dist values as keys
while H is not empty
u = delete min(V);
 for all edges(u, ) belongs to E
  if dist() > dist(u) + l(u, )
  dist() = dist(u) + l(u, )
  prev() = u;
  decrease key(H, );
 end
end
end

The computation cost of the algorithm is O(VlogV).

2.3. Proposed Algorithm

In this algorithm, the navigation mark is used as the node of the tree, the connecting line of the navigation mark in the channel is taken as the path of the tree, and the distance of the adjacent navigation mark divided by the ship speed is the path cost. Speed calculation collects current hydrometeorological data such as wind and wave data and adjusts the speed by Aertssen’s deceleration formula.

The specific algorithm is described as follows:Step 1: take the navigation mark as the vertex set V of the tree, and take the connecting line of the adjacent navigation marks of the channel as the path edge set E of the tree. A nonnegative weight simple connected undirected graph G = <V, E> is constructed. D is the adjacency matrix of graph G. The starting point is P0.Step 2: assign initial values D [i] = inf (infinity) and mark [i] = 0.Step 3: read the hydrometeorological data such as wind and wave of the current channel.Step 4: according to formula (1), calculate the speed and time cost of ships passing through each path, where D is the adjacency matrix of graph G.Step 5: if makes d [J] smaller, that is, d [] + L [] [J] < d [J], update d [J], that is, d [J] = D [] + L [] [J] and update path, that is, path [J] = .Step 6: select the nodes with the minimum path value and put them into the set.Step 7: if the remaining node set is empty, end the output structure; otherwise, go to step 3.

3. Experiments

3.1. Instance Introduction

There are two routes from Dongdu to Xiamen Gang Kou. The first route is listed in Table 2 with the navigation marks passed by.

The second route is listed in Table 3 with the navigation marks passed by.

This algorithm is implemented on the cruise ship 16301 as an example. Table 4 shows the basic information of the ship.

3.2. Path Optimization under Good Weather Conditions

Under good weather conditions, the recommended route from Dongdu to Koumen is the second route as shown in Figure 1.

Under good weather conditions, the wind speed curve is shown in Figure 2 and the wave speed curve is shown in Figure 3 [17].

Under good weather conditions, the calculated ship speed is shown in Figure 4.

3.3. Path Optimization under Bad Weather Conditions

Under bad weather conditions, the recommended route from Dongdu to Koumen is the second route as shown in Figure 5.

Under bad weather conditions, the wind speed curve is shown in Figure 6 and the wave speed curve is shown in Figure 7.

Under good weather conditions, the calculated ship speed is shown in Figure 8.

3.4. Comparison of Meteorological Routes

The calculation results under bad weather condition are compared in Table 5.

From Table 5, we can see that, under bad weather condition, the wind and wave speeds in route 1 are slow. The ship navigation in route 1 is fast. The wind and wave speed in route 2 are fast. The ship navigation in route 1 is slow. Although the total distance of route 1 is longer, it takes less time for ships to travel in route 1.

4. Conclusion

In this paper, the navigation mark is taken as the node of the tree, the connecting line of the navigation mark in the channel is taken as the path of the tree, and the distance of the adjacent beacon divided by the speed of the ship is taken as the path cost. The speed calculation collects the current hydrometeorological data such as wind and wave data, uses Aertssen’s deceleration formula to adjust the speed, and improves Dijkstra to find the shortest path. In the experiment, two routes from Dongdu to Xiamen Gang Kou are compared under bad weather conditions. Route 1 is with 5.877 m/s average wind speed, 0.860 m/s wave speed, and total distance 34717 m. Route 2 is with 8.503 m/s average wind speed, 1.429 m/s wave speed, and total distance 30223 m. The calculated ship speed travelling in route 1 is 12.243 km and its travelling time is 1.53 h. The calculated ship speed travelling in route 2 is 10.523 km and its travelling time is 1.55 h. Although the total distance of route 1 is longer, it takes less time for ships to travel in route 1. The experimental results verify the effectiveness of the navigation algorithm based on the shortest path tree of uncertain weather maps.

This paper will continue to optimize the algorithm in the future. Fuzzy logic will be used to model the uncertainty of data. Tide height and foggy weather conditions will be considered. Dijkstra algorithm will be improved.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (51879119), the Natural Science Foundation of Fujian Province (CN) (2018J05085 and 2020J01658), the high level research and cultivation fund of transportation engineering discipline in Jimei University (HHXY2020003), and National Natural Science Foundation Cultivation Project of Jimei University (ZP2020005).