A method, device and storage medium for analyzing ship traffic flow in wind farm waters

By analyzing ship trajectories through binary space segmentation and dynamic time warping algorithms, combined with the Gaussian mixture distribution model, the problem of analyzing the impact of offshore wind farms on ship traffic flow is solved, and risk assessment of wind farm waters and objective reflection of route information are achieved.

CN114936332BActive Publication Date: 2024-09-06JIMEI UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210607419.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-09-06
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

Existing technology makes it difficult to effectively analyze the impact of offshore wind farms on ship traffic flow, and lacks objective risk assessment modeling and data support.

Method used

Binary space segmentation algorithm and dynamic time warping algorithm are used to analyze ship trajectories, calculate the minimum passing distance between ships and wind farms, and use clustering and Gaussian mixture distribution models to collect statistics on ship traffic flow characteristics to construct route information and risks in wind farm waters. Feature library.

Benefits of technology

It achieves objective analysis of ship traffic flow in offshore wind power waters, identifies typical scenarios, provides important risk assessment modeling and data support, and improves navigation safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114936332B
    Figure CN114936332B
Patent Text Reader

Abstract

The present invention relates to the field of ship navigation technology. The present invention discloses a method for analyzing ship traffic flow in wind farm waters, the method comprising: obtaining historical AIS data of selected ships within a preset range of wind farm waters; obtaining the trajectory of the selected ship according to the historical AIS data of the ship; for all ship positions of each trajectory in the trajectory of the ship, using a binary space segmentation algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship position, and using the minimum value of the calculated minimum passing distances as the minimum passing distance between the corresponding trajectory and the wind farm, thereby obtaining the minimum passing distance of each trajectory. The method and device for analyzing ship traffic flow in wind farm waters provided by the present invention can objectively reflect the characteristics of ship traffic flow in offshore wind farm waters, and can objectively reflect the impact of offshore wind farms on passing ship traffic flow by identifying typical scenes of passing ships in the waters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ship navigation technology, and in particular to a method, a device and a storage medium for analyzing ship traffic flow in wind farm waters. Background Art

[0002] In the research of the transportation field, there are often moving individuals in groups, such as vehicles, personnel, ships or airplanes, which show a continuous or intermittent flow during the movement process, and have the same movement law as water flow. This phenomenon with obvious group flow characteristics is usually called traffic flow. In the research of ship transportation engineering, ship traffic flow can be defined as the overall movement of a series of continuously passing ships or other water transport vehicles with movement characteristics. Research on ship traffic flow is generally analyzed from two dimensions: macro and micro: macro-scale research mainly discusses the temporal and spatial variation laws of traffic flow, and analyzes the temporal and spatial distribution characteristics of traffic flow formed by the interaction of ships in a specific water environment; micro-ship traffic flow research describes the navigation movement state and navigation behavior characteristics of ships in the water area by studying the characteristic parameters of traffic flow, including the type, number, scale, speed, etc. of ships in the traffic flow.

[0003] AIS data analysis is one of the main means of analyzing the characteristics of ship traffic flow. Related research is mainly carried out from two aspects: qualitative analysis and quantitative analysis. Qualitative analysis generally studies the spatiotemporal distribution characteristics of ship traffic flow in waters from a macro perspective, while quantitative analysis analyzes the changing laws of ship traffic flow characteristic parameters by quantifying and counting traffic flow characteristic parameters, and further understands the typical characteristics of ships in a specific traffic flow. Therefore, comprehensive macro and micro analysis of ship traffic flow in offshore wind power waters can objectively analyze the impact of offshore wind farms on ship traffic flow in surrounding waters, which is the primary link in risk assessment modeling. Summary of the invention

[0004] In order to overcome the above technical problems, the present invention proposes a method for analyzing ship traffic flow in wind farm waters, which is used to analyze the characteristics of ship traffic flow in wind farm waters. The technical solution of the method is as follows:

[0005] S1, obtaining historical AIS data of selected ships within a preset range of the wind farm waters;

[0006] S2, obtaining the track of the selected ship according to the historical AIS data of the ship;

[0007] S3. For all the ship positions on each trajectory of the ship, use the binary space partitioning algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship position, and take the minimum value among the calculated minimum passing distances as the minimum passing distance between the corresponding trajectory and the wind farm, thereby obtaining the minimum passing distance of each trajectory;

[0008] Among them, in the step S3, using the binary space partitioning algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship position includes:

[0009] S31. Obtain a set Q consisting of u wind turbines q included in the water area boundary on the side of the ship of the wind farm, that is, Q = {q1, q2,..., q u}, the wind turbines contained in Q are arranged from left to right or from top to bottom according to the spatial distribution, and u is a positive integer;

[0010] S32. Arbitrarily partition the set Q, and divide the set Q into a subset Q 1 = {q1, q2,..., q v} and a subset Q 2 = {q v+1 , q v+2 ,..., q u}, where v is the partition position, satisfying v < u and v ≠ 0;

[0011] S33. Assume that the known longitude and latitude coordinates of any wind turbine are Lon .q and Lat .q , calculate the distance pd between the ship and each wind turbine contained in the set, and calculate the sum of pd contained in the two subsets and

[0012]

[0013] S34. Judge the subset Q min to which the nearest wind turbine q min belongs:

[0014]

[0015] S35. Continue to partition Q min , and repeat steps S33 - S34 until there is only a single element q min in the set Q min , and the wind turbine corresponding to the single element q min is the wind turbine closest to the ship when the ship is at the ship position;

[0016] S36, determining the boundary of the wind farm according to the position of the ship, the position of the wind turbine closest to the ship and the wind turbine set Q on one side of the wind farm, and determining the minimum passing distance MPD between the ship and the wind farm when the ship is at the ship position according to the boundary.

[0017] Furthermore, the step S36 also includes:

[0018] Assume that A and B are two corner points of the wind farm boundary, point P is the position where the ship is closest to the wind farm when passing through the water area, and point C is the projection of the closest passing distance point P on the wind farm boundary AB. According to the distribution of point C on the boundary AB, the minimum passing distance MPD between the ship and the wind farm is obtained as follows:

[0019]

[0020] Among them, parameter K is the determination coefficient, is the vector of point C relative to point A, is the vector of point B relative to point A, For vector Length, For vector Length, For vector Length.

[0021] Furthermore, the method further includes: clustering the trajectories of the ships to obtain route information of the wind farm waters.

[0022] Furthermore, the step of clustering the trajectories of the ships to obtain the route information of the wind farm waters includes:

[0023] According to the starting point, the end point and the track feature points included in the track of the ship, all the ship position information of the track feature points are arranged according to their time sequence characteristics and connected in sequence to obtain a sub-track of the track;

[0024] Deleting abnormal ship position feature points and smoothing the trajectory, and dividing the trajectory of the ship into one or more sub-trajectory segments;

[0025] A spatial clustering algorithm based on dynamic time warping is used to calculate the similarity index of the smoothed ship's trajectory, and a DBSCAN algorithm is used to cluster the similarity index to obtain the route information of the wind farm waters.

[0026] Furthermore, it also includes:

[0027] According to the vector operation rules, use the following formula to calculate

[0028]

[0029] The K is calculated using the following formula:

[0030]

[0031] Furthermore, it also includes: converting the geographic coordinates of each ship position recorded in the historical AIS data according to the wind farm position information using the following formula:

[0032]

[0033]

[0034] Among them, Lon .n , Lat .n are the longitude and latitude of the nth ship position, Lon .A , Lon .B are the longitudes of point A and point B, Lat .A , Lat .B Represents the latitude of point A and point B respectively.

[0035] Furthermore, the method also includes: statistically analyzing the distribution information of the trajectories of the ships included in the route based on a Gaussian mixture distribution model.

[0036] Furthermore, it also includes:

[0037] Confirm the ship type according to the historical AIS data of the ship, the ship type at least includes ordinary cargo ships, oil tankers, fishing vessels and operation and maintenance ships, and collect the distribution information of the minimum passing distance corresponding to the ship type;

[0038] According to the historical AIS data of the ship and the ship type, collecting distribution information of the number of ships corresponding to the ship type;

[0039] According to the historical AIS data of the ship and the ship type, distribution information of the average speed of the ship corresponding to the ship type is collected.

[0040] The present invention also proposes a device for analyzing ship traffic flow in wind farm waters, wherein the device for analyzing ship traffic flow in wind farm waters stores computer instructions; the computer instructions execute the method for analyzing ship traffic flow in wind farm waters as described in any one of the above items in the device for analyzing ship traffic flow in wind farm waters.

[0041] The present invention also proposes a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method for analyzing ship traffic flow in wind farm waters as described in any one of the above items.

[0042] The beneficial effects brought by the technical solution provided by the present invention are:

[0043] The method and device for analyzing ship traffic flow in wind farm waters of the present invention can objectively reflect the characteristics of ship traffic flow in offshore wind farm waters, and can objectively reflect the impact of offshore wind farms on passing ship traffic flow by identifying typical scenes of passing ships in the waters, thereby providing important modeling basis and objective data support for conducting risk assessment of ship navigation in offshore wind farm waters. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A flow chart of ship traffic flow analysis in wind farm waters according to an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of an offshore wind power waters safety area and a ship data collection area according to an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of trajectory smoothing and sub-trajectory segment matching according to an embodiment of the present invention;

[0047] Figure 4 A flow chart of a BSP tree for identifying the nearest wind turbine of a ship according to an embodiment of the present invention;

[0048] Figure 5 Three different situations of a ship passing through an offshore wind farm according to an embodiment of the present invention;

[0049] Figure 6 The present invention is a schematic diagram of the structure of a device for analyzing ship traffic flow in wind farm waters according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0051] Embodiment 1:

[0052] like Figure 1 The flowchart of a ship traffic flow analysis in a wind farm water area according to an embodiment of the present invention is shown, which shows the specific implementation steps of the method, including:

[0053] S1, obtaining historical AIS data of selected ships within a preset range of the wind farm waters;

[0054] S2, obtaining the track of the selected ship according to the historical AIS data of the ship;

[0055] S3. For all the ship positions on each trajectory of the ship, use the binary space partitioning algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship position, and take the minimum value among the calculated minimum passing distances as the minimum passing distance between the corresponding trajectory and the wind farm, thereby obtaining the minimum passing distance of each trajectory.

[0056] Among them, in the step S3, using the binary space partitioning algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship position includes:

[0057] S31. Obtain a set Q consisting of u wind turbines q included in the water area boundary on the side of the ship of the wind farm, that is, Q = {q1, q2,..., q u}, the wind turbines contained in Q are arranged from left to right or from top to bottom according to the spatial distribution, and u is a positive integer;

[0058] S32. Arbitrarily partition the set Q, and divide the set Q into a subset Q 1 = {q1, q2,..., q v} and a subset Q 2 = {q v+1 , q v+2 ,..., q u}, where v is the partition position, satisfying v < u and v ≠ 0;

[0059] S33. Assume that the known longitude and latitude coordinates of any wind turbine are Lon .q and Lat .q , calculate the distance pd between the ship and each wind turbine contained in the set, and calculate the sum of pd contained in the two subsets and

[0060]

[0061] S34. Judge the subset Q min to which the nearest wind turbine q min belongs:

[0062]

[0063] S35. Continue to partition Q min , and repeat steps S33 - S34 until there is only a unique element q min in the set Q min , and the wind turbine corresponding to the unique element q min is the wind turbine closest to the ship when the ship is at the ship position;

[0064] S36, determining the boundary of the wind farm according to the position of the ship, the position of the wind turbine closest to the ship and the wind turbine set Q on one side of the wind farm, and determining the minimum passing distance MPD between the ship and the wind farm when the ship is at the ship position according to the boundary.

[0065] Specifically, the step S36 further includes:

[0066] Assume that A and B are two corner points of the wind farm boundary, point P is the position where the ship is closest to the wind farm when passing through the water area, and point C is the projection of the closest passing distance point P on the wind farm boundary AB. According to the distribution of point C on the boundary AB, the minimum passing distance MPD between the ship and the wind farm is obtained as follows:

[0067]

[0068] Among them, parameter K is the determination coefficient, is the vector of point C relative to point A, is the vector of point B relative to point A, For vector Length, For vector Length, For vector Length.

[0069] Specifically, the method further includes: clustering the tracks of the ships to obtain the route information of the wind farm waters.

[0070] Specifically, the step of clustering the trajectories of the ships to obtain the route information of the wind farm waters includes:

[0071] According to the starting point, the end point and the track feature points included in the track of the ship, all the ship position information of the track feature points are arranged according to their time sequence characteristics and connected in sequence to obtain a sub-track of the track;

[0072] Deleting abnormal ship position feature points and smoothing the trajectory, and dividing the trajectory of the ship into one or more sub-trajectory segments;

[0073] A spatial clustering algorithm based on dynamic time warping is used to calculate the similarity index of the smoothed ship's trajectory, and a DBSCAN algorithm is used to cluster the similarity index to obtain the route information of the wind farm waters.

[0074] Specifically, it also includes:

[0075] According to the vector operation rules, use the following formula to calculate

[0076]

[0077] The K is calculated using the following formula:

[0078]

[0079] Specifically, it also includes: converting the geographic coordinates of each ship position recorded in the historical AIS data according to the wind farm position information using the following formula:

[0080]

[0081] Among them, Lon. n 、Lat. n are the longitude and latitude of the nth ship position, Lon. A 、Lon. B are the longitudes of point A and point B, Lat. A 、Lat. B Represents the latitude of point A and point B respectively.

[0082] Specifically, it also includes: statistically analyzing the distribution information of the tracks of the ships included in the route based on a Gaussian mixture distribution model.

[0083] Specifically, it also includes:

[0084] Confirm the ship type according to the historical AIS data of the ship, the ship type at least includes ordinary cargo ships, oil tankers, fishing vessels and operation and maintenance ships, and collect the distribution information of the minimum passing distance corresponding to the ship type;

[0085] According to the historical AIS data of the ship and the ship type, collecting distribution information of the number of ships corresponding to the ship type;

[0086] According to the historical AIS data of the ship and the ship type, distribution information of the average speed of the ship corresponding to the ship type is collected.

[0087] Embodiment 2:

[0088] In order to study the impact of offshore wind power construction on ship navigation risks and extract risk factors related to ship dynamic behavior characteristics, this paper will collect historical ship AIS data before and after the construction of wind power waters, carry out ship traffic flow characteristics and ship individual navigation behavior characteristics extraction in wind power waters, so as to identify risk factors related to ship navigation, and on this basis, build a ship navigation risk feature library in wind power waters. To this end, the study will first build a ship trajectory data analysis platform based on real AIS data using the IWRAP system and mine the spatiotemporal distribution characteristics of ship trajectories; on this basis, use the trajectory clustering method based on dynamic time regularization to identify water route, and use the Gaussian mixture distribution modeling method to extract risk characteristics related to the traffic environment; for single ship navigation scenarios, combined with the extracted ship trajectory time series characteristics, a method for calculating the minimum passing distance of ships in wind power waters based on a binary space segmentation algorithm is proposed. The differences in the safe distances of different types of ships passing through wind power waters are studied, and finally a ship navigation risk feature library in wind power waters is constructed, so as to provide objective data support for the modeling of ship-engine collision risks in offshore wind power waters and the assessment of ship navigation risks in waters.

[0089] AIS equipment is a navigation assistance system widely used for shipboard navigation positioning and ship identification. The system is mainly composed of AIS shipborne equipment and AIS shore-based equipment. AIS equipment can automatically broadcast, receive and forward static and dynamic information of ships through VHF equipment, assisting ship drivers to understand the information of other ships in nearby waters. With the development of satellite communication technology and its application in the maritime field, some ships have been installed with satellite AIS equipment systems to realize the global broadcast of ship dynamic information. According to the requirements of the International Convention for Safety of Life at Sea (SOLAS) issued by the International Maritime Organization (International Maritime Organization), international ships with a gross tonnage of more than 300 tons and non-international ships with a gross tonnage of more than 500 tons must be compulsorily installed with AIS equipment.

[0090] AIS original messages are generally transmitted in compressed ASCII format. During the data broadcasting and receiving process, they will be disturbed by the transmission environment, resulting in missing information in the data and affecting the data quality. In order to ensure the quality of the data information source used in this study, the research relied on the Maritime Administration information platform to collect AIS data in specific wind power waters, and designed AIS data filtering and regional data screening programs based on Python language to realize the preprocessing of collected AIS data.

[0091] Designing a reasonable data collection area is one of the key considerations to ensure the rationality of the collected data. In order to reduce the scale of collected data and avoid interference from irrelevant data, this invention will refer to similar research conclusions and set the ship monitoring distance in offshore wind power waters to 4 nautical miles. Ship information within 4 nautical miles of the wind farm will be tracked and recorded. At the same time, offshore wind farms need to demarcate safety protection areas to ensure the safety of on-site facilities and passing ships. The choice of the distance of this area is usually related to parameters such as the distribution location of wind turbines at the wind farm boundary and the density of ship traffic flow. Figure 2 Shown is a schematic diagram of an offshore wind power water safety area and a ship data collection area according to an embodiment of the present invention.

[0092] In the process of analyzing the characteristics of ship traffic flow in wind power waters, due to the complex distribution of ship traffic flow near the waters, it is necessary to identify the ship routes first. Therefore, it is necessary to cluster the complex ship AIS trajectories accordingly before conducting feature analysis to extract the main routes in the waters.

[0093] The core idea of ​​trajectory clustering is to measure the similarity between different ship trajectories and cluster the trajectories that meet the similarity requirements into the same category, so as to find out the ship trajectory clusters with similar ship movement trends, and on this basis, identify the main routes in the waters, and further carry out ship traffic characteristics and individual ship behavior analysis. According to the differences in their data processing methods and application scenarios, common clustering methods are divided into hierarchical clustering, density clustering, grid clustering and model clustering. Among them, the spatial clustering algorithm has the advantages of not needing to specify the number of clusters, no cluster shape requirements, and can perform outlier detection. Therefore, it is widely used in AIS trajectory data processing and cluster analysis. However, since the traditional spatial clustering method cannot consider the temporal problem of ship trajectories, it is not suitable for dynamic ship trajectories. Therefore, the present invention draws on the traditional method and adopts a set of dynamic time warping algorithms suitable for time series trajectory clustering to improve the traditional spatial clustering method and use it for water trajectory data processing.

[0094] Compared with traditional clustering methods, the spatial clustering algorithm based on the Dynamic Time Warping (DTW) algorithm is more focused on processing data with obvious time series characteristics, such as vehicle and ship trajectory information. Its core is to align such data in time through a specific algorithm when calculating data similarity, so as to ensure that data with different time spans can be compared at the same relative time as much as possible, thereby avoiding clustering calculation errors caused by different time spans. This method mainly includes two key points: time warping and similarity calculation. The trajectory calculation is performed in the following four steps, which are described in detail as follows:

[0095] 1) Trajectory feature point extraction

[0096] Before clustering the trajectories, it is necessary to construct the sub-trajectories of the ship according to the ship's motion rules and the time series characteristics of the ship's position information. Then, it is necessary to filter the acquired trajectory data, extract the starting point, end point and trajectory feature points of each trajectory, and use them as unique labels to define a specific set of ship trajectories in the acquired data.

[0097] 2) Ship track correlation cutting

[0098] According to the ship sub-trajectory set composed of the extracted specific ship trajectory feature points, all the ship position information in the feature point set is arranged according to its time series characteristics, and the sub-trajectory of the trajectory is obtained by connecting them in sequence, where the line segment between two adjacent feature points is called the sub-trajectory segment in the sub-trajectory, such as Figure 3 FIG. 1 is a schematic diagram of trajectory smoothing and sub-trajectory segment matching according to an embodiment of the present invention.

[0099] Figure 3 The figure shows a ship trajectory A. After time series arrangement, the set of feature points of the trajectory is A = {a1, a2, …, a 10 Among them, points a7 and a8 are abnormal ship positions, so they are deleted in the trajectory association process. The trajectory of the ship can be obtained by arranging the other points in time sequence. Figure 3 However, due to the error and uncertainty of the ship position information, the obtained trajectory is not ideal and cannot be directly used for trajectory clustering. In addition, too much ship position information will greatly increase the cost of trajectory clustering. Therefore, before performing trajectory clustering, each ship trajectory needs to be smoothed. For example, Figure 3 The middle trajectory is divided into four sub-trajectory segments, namely (a1, a2), (a2, a4), (a4, a6) and (a6, a 10 ).

[0100] 3) Trajectory time regularization and similarity calculation

[0101] Assume that the time-space trajectory sequence of the two ships is A = {a1, a2, ..., a m}, B={b1,b2,…,b n}, where a m ,b n are the longitude and latitude coordinates of the two trajectories at time m and n respectively, m>n. Calculating the Euclidean distance of each coordinate point of the two trajectories, we can get the Euclidean distance d(a i ,b j )i∈m,j∈b:

[0102]

[0103] Then the Euclidean distance matrix of the two trajectories can be obtained as follows:

[0104]

[0105] According to dynamic programming theory, the algorithm needs to select the shortest path in the matrix as the shortest path length required for matching. To this end, it is necessary to first calculate and set the shortest path search rule of the Euclidean distance matrix D(A, B). Since the present invention performs similarity matching on ship trajectories, there must be a starting point a1, b1 and a trajectory end point a for each trajectory. m , b n Therefore, the shortest path search logic can be defined as follows: Assume that the matrix upper left initial point d(a1,b1) reaches the lower right end point along any path, and define all paths to meet the requirement that a point can only move one unit to the next point, and can only move to the right, down, or lower right, that is, d(a i ,b j )→{d(a i+1 ,b j )or d(a i ,b j+1 )or d(a i+1 ,b j+1 )}. After no less than n displacements, a specific path can be obtained. Then, the Euclidean distances of all the coordinate points on the path are accumulated as the path length. There are h possible paths, among which the length of the kth path is:

[0106] D h =∑d(a1,b1)→d(a m ,b n ),k∈h (3)

[0107] After calculating the length of all paths, we can select d(a1,b1) to d(a m ,b n ) The shortest path distance is used as the path required in the DTW algorithm. The length of the path is D min , and use this as the similarity indicator between the two paths.

[0108] 4) Ship trajectory clustering

[0109] Based on the DTW algorithm, after calculating the similarity of two paths, it can be further extended to the similarity calculation of all ship trajectories in the water area. And after obtaining the DTW lengths between all trajectories, the spatial clustering method can be used to cluster each sub-trajectory segment. The present invention selects the DBSCAN method for trajectory clustering calculation, the core of which is to select any sub-trajectory segment as the starting clustering sample, given the neighborhood range Ψ and the minimum segment parameter τ, and compare the DTW lengths of all other sub-trajectory segments with the trajectory segment one by one. When the selected cluster sample satisfies the specific neighborhood Ψ, the number of sub-trajectory segments contained is greater than the set minimum segment parameter τ, then it is considered that the selected starting cluster sample meets the core trajectory requirements, and the other sub-trajectory segments contained in the neighborhood Ψ constitute a cluster, and the clustering of all sub-trajectory segments is completed by analogy.

[0110] At this point, the ship routes in the waters can be objectively and quantitatively identified.

[0111] When ships are sailing in the waters near wind farms, they should keep a certain distance from the wind turbines in the field to avoid potential collision risks. The distance between ships and wind farms is one of the important parameters that can accurately measure whether ships can pass through the wind farm waters, thereby providing strong support for the extraction of ship traffic characteristics in wind farm waters and the risk assessment of single ship navigation. However, due to the irregular distribution of offshore wind farms, when calculating the distance between ships and wind farms, it is necessary to first search for the wind turbine closest to the ship in the wind power waters based on the ship's position information at a certain moment provided by the AIS data, and calculate the minimum distance. The essence of this problem is to solve the problem of automatically solving the minimum distance between a particle at any position and another irregular spatial shape. However, there is currently no reasonable solution in this field at home and abroad, and this problem has also become one of the technical bottlenecks restricting the quantification of ship risks in wind power waters.

[0112] To this end, this study refers to the binary space partition (BSP) idea used in computer graphics theory, and further combines the ship collision geometric parameter quantification method to propose a minimum passing distance algorithm (BSP-Based Minimum Passing Distance Approach, MPDA) suitable for ships sailing in offshore wind power waters. This method obtains the real-time ship position information, and dynamically loops through the spatial graphics to identify the wind turbine closest to the ship and construct a corresponding binary space partition tree (BSP tree). Next, the study discusses three potential situations of ship passing through wind power waters, and gives the calculation method of the distance between ships and wind turbines in various scenarios, so as to realize the real-time calculation of the minimum distance of passing ships in wind power waters. The specific introduction is as follows.

[0113] According to the idea of binary space partitioning, any irregular plane can be divided by a straight line to form two sub-planes. By continuously dividing the plane, all planes can be cut into the smallest units. Referring to this idea, setting a single wind turbine as the smallest plane unit, any wind turbine can be searched by circularly cutting the shape formed in the wind power water area, and the distance between the ship and any wind turbine can be calculated on the premise of knowing the ship's position. However, in actual operation, due to the large number of wind turbines, circularly calculating the distance between the ship and all wind turbines will increase the computing cost and cannot meet the requirements of ship spacing calculation. In addition, when calculating the minimum distance between passing ships, usually only the minimum passing distance between the ship and the peripheral wind turbines needs to be considered, and the distance between the ship and the in-field equipment does not need to be considered. Therefore, when calculating the ship spacing in the wind power water area, the above binary space partitioning method can be simplified.

[0114] Define that at a certain moment, there are u wind turbines q on the water area boundary of the wind farm on the side close to the ship, that is, Q = {q1, q2, …, q u}, and the wind turbines contained in Q need to be arranged from left to right or from top to bottom according to the spatial distribution. Arbitrarily divide Q, and divide the set Q into two subsets Q 1 = {q1, q2, …, q v} and the set Q 2 = {q v+1 , q v+2 , …, q u}, where v is the division position and needs to satisfy v < u and v ≠ 0.

[0115] Assume that the longitude and latitude coordinates Lon .q and Lat .q of any known wind turbine are given, calculate the respective distances pd between the target ship and the wind turbines contained in the set, and calculate the sum of the PDs contained in the two subsets and

[0116]

[0117] Judge the subset Q min to which the wind turbine q min with the closest distance belongs:

[0118]

[0119] Continue to divide Q min and repeat steps 3 - 4 until there is only a single element q min in the set Q min .

[0120] At this point, the number of the wind turbine closest to the ship and the distance between the ship and the wind turbine can be obtained at the current ship position. For example Figure 4The present invention is a flowchart of a BSP tree for identifying the nearest wind turbine of a ship according to an embodiment of the present invention.

[0121] On this basis, the processing of historical trajectory data needs to consider the relative position relationship between the ship trajectory and the wind farm, calculate the interval distance between the ship trajectory and the graphics formed after segmentation, and according to different scenarios of ships passing through offshore wind power waters, in MPDA, such as Figure 5 Three different situations of a ship passing through an offshore wind farm according to an embodiment of the present invention are shown:

[0122] exist Figure 5 In the figure, A and B are two corner points along the wind farm boundary on the coast, point P is the position where the ship is closest to the wind farm when passing through the waters, and point C is the projection of the closest passing distance point P on the wind farm boundary AB. The calculation method of the minimum passing distance (MPD) in different situations is as follows:

[0123]

[0124] In formula 6, parameter K is the determination coefficient, When K ≥ 1, it means that the ship passes through the waters on the right side of the offshore wind farm, which is scenario (b); when K < 1 and and Different directions indicate that the ship passes through the waters on the left side of the offshore wind farm, i.e., scenario (c); when K<1 and and If the two directions are the same, it means that the ship is passing through the offshore wind farm waters in parallel, which is scenario (a). According to the vector operation rules, the formula Using formula 7, we can calculate:

[0125]

[0126] K can be calculated using Formula 8:

[0127]

[0128] Since the ship position in AIS data is recorded in longitude and latitude, when using the MPDA algorithm, the ship's longitude and latitude coordinates need to be converted into corresponding position variables. Therefore, each ship position (latitude and longitude) recorded in the AIS data will be converted into geographic coordinates according to the wind farm location information using the following formula:

[0129]

[0130] Among them, Lon. n 、Lat. n are the longitude and latitude of the nth ship position, Lon. A 、Lon. Bare the longitudes of point A and point B, Lat. A 、Lat. B Represent the latitude of point A and point B respectively, and the angle θ is calculated based on the longitude and latitude of the location of the ship and the wind farm. After using the above formula to calculate all the position points of the ship, the real-time change of the distance between the ship and the wind farm when sailing through the offshore wind power area can be obtained. Further calculate the interval distance between all the ship positions of the historical trajectory and the wind farm, and select the minimum value and its position as the minimum passing distance and minimum passing distance position of the trajectory, which can be expressed by the following formula:

[0131]

[0132] By using the above algorithm to process each ship trajectory in the collected AIS data and calculating the minimum safe distance between each ship passing through the wind farm waters and the wind farm, it can objectively reflect the difference in passing distances of different ships based on experience under the influence of the wind farm, thereby providing a reference for the setting of safety distance parameters in collision risk quantification. In addition, this method can also calculate the minimum distance parameters between a single ship and the wind farm boundary in real time, objectively reflecting the collision threat between a single ship and a wind farm when sailing, thereby providing support for risk quantification.

[0133] In reality, the navigation behavior of ships will be affected by many factors such as ship performance, driver habits and water environment. Drivers need to consider many factors comprehensively to choose the appropriate navigation route. There are great differences in the navigation routes used by different ships when passing through offshore wind farms. Therefore, it is difficult to accurately reflect the actual situation of traffic flow in the waters by using normal distribution to fit the distribution of ships in the route. To this end, this study refers to relevant results in the field of road research and uses the Gaussian Mixture Model to fit and model the distribution of ships in the route. The Gaussian mixture distribution model uses multiple weighted normal distributions to describe the distribution of objects. The number of Gaussian distributions used in the model is generally not less than 3. A certain traffic flow distribution P(x) can be expressed using the Gaussian mixture distribution model as follows:

[0134]

[0135] Where x is the distance between the wind farm and a single ship, p k (x) is the neutron distribution in the model, and w k is the corresponding sub-distribution weight. k (x) can be calculated by formula 15:

[0136]

[0137] where σ 2is the variance in the sub-distribution. In a Gaussian mixture distribution, all sub-distributions p k The sum of the weights is 1, that is:

[0138]

[0139] Next, the study will use the KS test method to test the constructed traffic flow distribution model. This method mainly compares the difference between the distribution prediction results and the actual data. If the cumulative difference of the verified distribution is less than the acceptable value P (usually 0.05), the distribution test is considered to have passed, otherwise it will fail.

[0140] The traffic flow distribution model obtained can objectively describe the distribution of ships in specific routes in the waters, identify the distribution of marginal zones and route widths of specific routes, and reflect the actual impact of wind farms on ship traffic flow before and after the construction of offshore wind farms, thereby providing data support for the comprehensive evaluation of ship traffic flow in offshore wind power waters.

[0141] Embodiment three:

[0142] The present invention also provides a device for analyzing ship traffic flow in wind farm waters, such as Figure 6 As shown, the device includes a processor 2101, a memory 2102, a bus 2103, and a computer program stored in the memory 2102 and executable on the processor 2101. The processor 2101 includes one or more processing cores. The memory 2102 is connected to the processor 2101 via the bus 2103. The memory 2102 is used to store program instructions. When the processor executes the computer program, the steps in the above-mentioned method embodiment of the present invention are implemented.

[0143] Furthermore, as an executable solution, the device for analyzing ship traffic flow in the waters of a wind farm may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The system / electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the composition structure of the above-mentioned system / electronic device is merely an example of the system / electronic device and does not constitute a limitation on the system / electronic device, and may include more or fewer components than the above-mentioned, or a combination of certain components, or different components. For example, the system / electronic device may also include input / output devices, network access devices, buses, etc., which are not limited in the embodiments of the present invention.

[0144] Further, as an executable solution, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the system / electronic device, and uses various interfaces and lines to connect various parts of the entire system / electronic device.

[0145] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the system / electronic device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0146] Embodiment 4:

[0147] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.

[0148] If the module / unit integrated in the system / electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0149] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A method for analyzing ship traffic flow in wind farm waters, used to analyze ship traffic flow characteristics in wind farm waters, characterized in that: include: S1, obtaining historical AIS data of selected ships within a preset range of the wind farm waters; S2, obtaining the track of the selected ship according to the historical AIS data of the ship; S3, for all ship positions of each track in the track of the ship, using a binary space segmentation algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship position, and taking the minimum value of the calculated minimum passing distances as the minimum passing distance between the corresponding track and the wind farm, thereby obtaining the minimum passing distance of each track; Wherein, in step S3, using a binary space segmentation algorithm to calculate the minimum passing distance between the ship and the wind farm when the ship is at the ship site includes: S31, obtaining a set Q consisting of u wind turbines q included in the water boundary of the wind farm on the ship side, that is, Q = {q1, q2, ..., q u }, the fans contained in Q are arranged from left to right or from top to bottom according to the spatial distribution, and u is a positive integer; S32. Arbitrarily partition the set Q into subsets Q 1 ={q1, q2, …, q v} and subset Q 2 ={q v+1 , q v+2 , …, q u}, where v is the partition position, satisfying v < u and v ≠ 0; S33, assuming that the longitude and latitude coordinates of any wind turbine are known to be Lon. q and Lat. q , calculate the distance pd between the ship and each wind turbine contained in the set, and calculate the sum of the pd contained in the two subsets and S34, determine the nearest distance to the fan q min The subset Q min : S35, to Q min Continue segmenting and repeat steps S33 to S34 until the set Q min There is only one element q in min , the unique element q min The corresponding wind turbine is the wind turbine closest to the ship when the ship is at the ship position; S36, determining a boundary of the wind farm according to the position of the ship, the position of the wind turbine closest to the ship, and a set Q of wind turbines on one side of the wind farm, and determining a minimum passing distance MPD between the ship and the wind farm when the ship is at the position according to the boundary; Wherein, the step S36 further includes: Assume that A and B are two corner points of the wind farm boundary, point P is the position where the ship is closest to the wind farm when passing through the water area, and point C is the projection of the closest passing distance point P on the wind farm boundary AB. According to the distribution of point C on the boundary AB, the minimum passing distance MPD between the ship and the wind farm is obtained as follows: Among them, parameter K is the determination coefficient, is the vector of point C relative to point A, is the vector of point B relative to point A, For vector Length, For vector Length, For vector Length; According to the vector operation rules, use the following formula to calculate The K is calculated using the following formula: The method further includes: converting the geographic coordinates of each ship position recorded in the historical AIS data according to the wind farm position information using the following formula: Among them, Lon. n 、Lat. n are the longitude and latitude of the nth ship position, Lon. A 、Lon. B are the longitudes of point A and point B, Lat. A 、Lat. B Represents the latitude of point A and point B respectively.

2. The method according to claim 1, characterized in that Also includes: The step of clustering the trajectories of the ships to obtain route information of the wind farm waters.

3. The method according to claim 2, characterized in that The step of clustering the trajectories of the ships to obtain the route information of the wind farm waters includes: According to the starting point, the end point and the track feature points included in the track of the ship, all the ship position information of the track feature points are arranged according to their time sequence characteristics and connected in sequence to obtain a sub-track of the track; Deleting abnormal ship position feature points and smoothing the trajectory, and dividing the trajectory of the ship into one or more sub-trajectory segments; A spatial clustering algorithm based on dynamic time warping is used to calculate the similarity index of the smoothed ship's trajectory, and a DBSCAN algorithm is used to cluster the similarity index to obtain the route information of the wind farm waters.

4. The method according to claim 3, characterized in that Also includes: The distribution information of the trajectories of the ships included in the route is statistically analyzed based on a Gaussian mixture distribution model.

5. The method according to claim 1, characterized in that: Also includes: Confirm the ship type according to the historical AIS data of the ship, the ship type at least includes ordinary cargo ships, oil tankers, fishing vessels and operation and maintenance ships, and collect the distribution information of the minimum passing distance corresponding to the ship type; According to the historical AIS data of the ship and the ship type, collecting distribution information of the number of ships corresponding to the ship type; According to the historical AIS data of the ship and the ship type, distribution information of the average speed of the ship corresponding to the ship type is collected.

6. A device for analyzing ship traffic flow in wind farm waters, characterized in that: It comprises a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the method for analyzing ship traffic flow in wind farm waters as claimed in any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is executed by a processor to implement the method for analyzing ship traffic flow in wind farm waters according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Coastal-water-traffic safety risk monitoring and early-warning system and method

    CN109243205A

  • Recommendation method and device for operation and maintenance traffic scheme of offshore wind farm

    CN111144604A

  • Ship-shore collaborative simulation system for intelligent navigation and safety of ship

    CN111913406A

  • Method for processing data at ship end based on regional ship data

    CN111932944A

  • Apparatus of vessel management within offshore wind farm and method thereof

    KR1020170034254A