Charging pile layout optimization method and device based on graph search optimization and storage medium

By optimizing the charging pile layout based on graph search optimization method, combining geographical information and traffic flow data, it solves the problems of uneven charging pile layout and insufficient effectiveness in the existing technology, and achieves more efficient charging infrastructure construction and user Improved experience.

CN118536644APending Publication Date: 2024-08-23CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410457519.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing technology fails to fully consider geographical information and traffic flow data in the optimization of charging pile layout, resulting in insufficient effectiveness of the charging pile layout plan in practical applications, and the selection of appropriate candidate points for the construction of shared charging in areas with uneven distribution of charging piles. Stake points have limited capabilities.

Method used

Using a method based on graph search optimization, a graph model is constructed by obtaining the geographical information and traffic flow data of the target area, in which the nodes represent charging pile sites and the edges represent the traffic relationships between nodes. The combined target optimization model is defined and the weights are dynamically configured. The iterative search method is used to calculate the minimization optimization objective function to increase candidate charging pile sites until the traversal is completed and select a layout plan that meets the optimization objectives.

Benefits of technology

It improves the effectiveness of the charging pile layout, optimizes the distribution of charging piles, improves the charging convenience and user experience of new energy vehicles, and solves the problems of long charging time, insufficient number of charging piles and uneven layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536644A
    Figure CN118536644A
Patent Text Reader

Abstract

The invention provides a charging pile layout optimization method and device based on graph search optimization and a storage medium. The method comprises the following steps: acquiring geographic information and traffic flow data of a target area, and performing preprocessing operation on the geographic information and the traffic flow data; a graph model is constructed according to the preprocessed data, nodes in the graph model represent charging pile stations, and edges represent the passing relation between the nodes; defining a combined target optimization model, and dynamically configuring a weight for each edge in the graph model according to an optimization target corresponding to the combined target optimization model; according to a predetermined graph search optimization algorithm, calculating and minimizing an optimization objective function by using an iterative search method; and obtaining a layout scheme identified by each round of iteration, comparing the layout schemes generated by each round of iteration after all rounds of iteration are finished, and selecting the layout scheme meeting the optimization target as a final charging pile station layout scheme. The charging pile layout scheme is optimized, and the effectiveness of the layout result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of new energy vehicle technology, and in particular to a charging pile layout optimization method, device and storage medium based on graph search optimization. Background Art

[0002] With the rapid growth of the new energy vehicle market, electric vehicles have become the main force in its development, thanks to the encouragement of government policies, the enhancement of environmental protection awareness and technological progress. Global policy support, such as vehicle purchase subsidies and tax incentives, has greatly promoted the popularization of new energy vehicles.

[0003] However, the widespread use of new energy vehicles faces the challenge of building charging infrastructure. Although building a charging pile network is key to supporting the development of new energy vehicles, the current charging infrastructure has obvious limitations. On the one hand, new energy vehicles take a long time to charge, and the fast charging speed is still not comparable to the refueling speed of traditional fuel vehicles, which may affect users' travel plans. On the other hand, the number of charging piles is insufficient and the layout is uneven, especially in areas where the charging pile coverage is not dense enough. Users may need to spend more time looking for available charging piles, affecting the user experience, especially during peak hours or in specific areas.

[0004] The prior art provides a method for optimizing the layout of electric vehicle charging piles. The method simulates vehicle behavior and optimizes the layout of charging piles by establishing and updating an electric vehicle charging pile information database. However, the method does not fully consider geographic information and traffic flow data, which may lead to insufficient effectiveness of the charging pile layout scheme in practical applications. In addition, the existing methods are also limited in their ability to select suitable candidate points to build shared charging pile points in areas where charging piles are unevenly distributed, and fail to provide a solution that can both consider charging demand and optimize resource distribution. Therefore, an improved method is needed to more accurately optimize the layout of charging piles and solve the problems of insufficient number and uneven layout of charging piles. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a charging pile layout optimization method, device and storage medium based on graph search optimization to solve the problems in the prior art that the charging pile layout solution is not optimized enough and the layout results are of poor effectiveness.

[0006] In a first aspect of an embodiment of the present application, a charging pile layout optimization method based on graph search optimization is provided, comprising: obtaining geographic information and traffic flow data of a target area, performing preprocessing operations on the geographic information and traffic flow data to obtain preprocessed data; constructing a graph model based on the preprocessed data, wherein nodes in the graph model represent charging pile sites, and edges represent the traffic relationships between nodes; defining a combined target optimization model, and dynamically configuring weights for each edge in the graph model according to the optimization target corresponding to the combined target optimization model; according to a predetermined graph search optimization algorithm, using an iterative search method to calculate and minimize the optimization objective function, wherein a candidate charging pile site is added in each round of iteration until all candidate charging pile sites are traversed; obtaining a layout scheme identified in each round of iteration, and after all rounds of iteration are completed, comparing the layout schemes generated in each round of iteration, and selecting a layout scheme that meets the optimization target as the final charging pile site layout scheme.

[0007] According to a second aspect of an embodiment of the present application, a charging pile layout optimization device based on graph search optimization is provided, comprising: an acquisition module, configured to acquire geographic information and traffic flow data of a target area, perform preprocessing operations on the geographic information and traffic flow data, and obtain preprocessed data; a construction module, configured to construct a graph model based on the preprocessed data, wherein the nodes in the graph model represent charging pile sites, and the edges represent the traffic relations between the nodes; a definition module, configured to define a combined target optimization model, and dynamically configure weights for each edge in the graph model according to the optimization target corresponding to the combined target optimization model; a search module, configured to calculate and minimize the optimization objective function using an iterative search method according to a predetermined graph search optimization algorithm, wherein a candidate charging pile site is added in each round of iteration until all candidate charging pile sites are traversed; a comparison module, configured to obtain the layout scheme identified in each round of iteration, and after all rounds of iteration are completed, compare the layout schemes generated in each round of iteration, and select the layout scheme that meets the optimization target as the final charging pile site layout scheme.

[0008] According to a third aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the computer program.

[0009] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0010] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0011] By obtaining the geographic information and traffic flow data of the target area, preprocessing operations are performed on the geographic information and traffic flow data to obtain the preprocessed data; a graph model is constructed based on the preprocessed data, wherein the nodes in the graph model represent charging pile sites, and the edges represent the traffic relations between the nodes; a combined target optimization model is defined, and the weights of each edge in the graph model are dynamically configured according to the optimization target corresponding to the combined target optimization model; according to the predetermined graph search optimization algorithm, an iterative search method is used to calculate and minimize the optimization objective function, wherein a candidate charging pile site is added in each round of iteration until all candidate charging pile sites are traversed; the layout scheme identified in each round of iteration is obtained, and after all rounds of iteration are completed, the layout schemes generated in each round of iteration are compared, and the layout scheme that meets the optimization target is selected as the final charging pile site layout scheme. This application optimizes the charging pile layout scheme and improves the effectiveness of the layout results. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 It is a flow chart of a charging pile layout optimization method based on graph search optimization provided in an embodiment of the present application;

[0014] Figure 2 It is a schematic diagram of the structure of a directed weighted graph provided in an embodiment of the present application;

[0015] Figure 3 It is a structural schematic diagram of a charging pile layout optimization device based on graph search optimization provided in an embodiment of the present application;

[0016] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0018] The new energy vehicle market has shown a rapid growth trend in recent years. The support of government policies, the improvement of environmental awareness and the advancement of technology have all provided favorable conditions for the development of new energy vehicles. Electric vehicles are one of the fastest growing types of new energy vehicles. Many automakers have invested a lot of resources in the development of electric vehicle technology and launched a series of competitive electric models. Countries and regions around the world have successively introduced a series of policy measures to support the development of new energy vehicles, including car purchase subsidies, tax exemptions, and relaxation of vehicle purchase restrictions, in order to promote the promotion and popularization of new energy vehicles.

[0019] The construction of charging infrastructure is one of the key factors in promoting the development of new energy vehicles. Local governments and enterprises have invested in the construction of charging pile networks to improve the coverage and charging speed of charging facilities. However, new energy vehicles have some limitations in charging, which are mainly reflected in the following three aspects:

[0020] 1. Long charging time: Compared with traditional fuel vehicles, new energy vehicles usually take longer to charge. Although the technology of charging piles continues to improve, the speed of fast charging is still slower than refueling, which may affect users' travel plans.

[0021] 2. Insufficient charging piles: Insufficient charging piles are a major problem faced by new energy vehicles. Especially in some areas, the coverage of charging piles is not dense enough, which makes it more difficult to charge new energy vehicles. It may take a long time to find available charging piles, affecting the user experience.

[0022] 3. Unbalanced layout of charging piles: In some regions, the layout of new energy charging piles is not balanced, resulting in an oversupply of charging piles in some areas and insufficient supply in other areas. This may affect the charging experience of electric vehicle users, especially during peak hours or in specific areas.

[0023] The key to solving the above three problems, in addition to improving battery capacity and charging efficiency, is to optimize the layout of existing shared charging piles and select suitable candidate points to build shared charging piles in areas where charging piles are unevenly distributed.

[0024] At present, the layout method disclosed in the prior art includes three modules: establishment and update of electric vehicle charging pile information database, calculation of the number and location of electric vehicle charging piles, and optimization of electric vehicle charging pile layout. The electric vehicle charging pile information database establishes the number and location of charging piles and the distribution characteristics of vehicles in the design object area, and updates the information of charging piles and vehicles in the area through simulation of vehicle behavior. Based on the information of charging piles, the number and location of charging piles in the area are calculated, and the total cost of charging piles in the area is calculated and optimized through the total cost objective function and constraints, and finally the optimal configuration of charging piles in the area is given.

[0025] In view of the problems existing in the prior art, the present application provides a method for optimizing the layout of shared charging piles for vehicles based on graph search optimization, with particular emphasis on solving the problem of uneven distribution of charging piles through graph search technology. The core idea of ​​this method is to abstract the potential locations of charging stations in the target area and the relationships between them into a graph model, and then use the graph search optimization algorithm to determine the optimal layout of charging piles. This method can effectively improve the distribution efficiency of charging piles and solve many problems existing in the existing layout of charging piles, such as insufficient number of charging piles, long charging time, and uneven layout.

[0026] The technical solution of this application specifically includes the following five aspects:

[0027] 1) Data collection and preprocessing: It is mainly divided into two parts, obtaining detailed geographic information of the area and traffic flow data of the target area.

[0028] 2) Build a graph model: The map is abstracted into a graph model, where nodes represent potential charging station locations, such as open-air parking lots or road signs, and edges represent the distance or accessibility between two nodes. This graph can be an undirected graph or a directed graph, depending on the specific application scenario and requirements.

[0029] 3) Define optimization goals: Define optimization goals, which are usually metrics that minimize uneven coverage, such as the average distance between charging piles, overall coverage, etc. Other constraints can also be considered, such as the maximum capacity of the charging pile, charging time, minimum cost, etc.

[0030] 4) Select optimization algorithm: Select a suitable graph optimization algorithm to solve the problem. Common algorithms include greedy algorithm, simulated annealing algorithm, genetic algorithm, etc. These algorithms can be adjusted and optimized according to the optimization objectives and constraints to obtain a better layout solution.

[0031] 5) Solve the optimal solution: Use the selected optimization algorithm to solve the optimal solution or approximate optimal solution to obtain the optimal layout of charging piles. In this process, multiple iterations and parameter adjustments may be required until a satisfactory result is achieved.

[0032] Through the above content, this application aims to solve the problem of uneven layout of charging piles in the prior art, optimize the distribution of charging piles, and thus effectively improve the charging convenience and user experience of new energy vehicles. The content of the technical solution of this application is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] Figure 1 It is a flow chart of a charging pile layout optimization method based on graph search optimization provided in an embodiment of the present application. Figure 1The charging pile layout optimization method based on graph search optimization can be executed by the system server. Figure 1 As shown, the charging pile layout optimization method based on graph search optimization may specifically include:

[0034] S101, obtaining geographic information and traffic flow data of a target area, performing preprocessing operations on the geographic information and traffic flow data, and obtaining preprocessed data;

[0035] S102, constructing a graph model based on the preprocessed data, wherein the nodes in the graph model represent charging pile sites, and the edges represent the traffic relations between the nodes;

[0036] S103, defining a combined target optimization model, and dynamically configuring a weight for each edge in the graph model according to the optimization target corresponding to the combined target optimization model;

[0037] S104, according to a predetermined graph search optimization algorithm, using an iterative search method to calculate and minimize the optimization objective function, wherein a candidate charging pile site is added in each round of iteration until all candidate charging pile sites are traversed;

[0038] S105, obtaining the layout scheme identified in each round of iteration, and after all rounds of iteration are completed, comparing the layout schemes generated in each round of iteration, and selecting the layout scheme that meets the optimization goal as the final charging pile site layout scheme.

[0039] In some embodiments, obtaining geographic information and traffic flow data of a target area, performing preprocessing operations on the geographic information and traffic flow data to obtain preprocessed data includes:

[0040] Using geographic information systems or related map services, collect geographic information of the target area and obtain traffic flow data of the target area;

[0041] Clean the geographic information and traffic flow data, and extract features from the cleaned data to obtain features for optimizing the layout of charging piles;

[0042] The features are uniformly formatted, and the uniformly formatted data are integrated to obtain preprocessed data.

[0043] Specifically, first use a geographic information system (GIS) or other related map service tools to collect detailed geographic information of the target area. For example, the road network in the area can be included, which is one of the important factors in determining the location of the charging pile, because the road network can indicate possible vehicle driving paths and charging demand points. In addition, it is also necessary to collect topographic information, which is critical to determining whether certain charging station locations are feasible. For example, slopes or low-lying areas may not be suitable for building charging stations. Building layout information can also be collected, because the distribution of buildings affects the accessibility and visibility of charging piles, which is important for attracting users and ensuring the utilization rate of charging piles.

[0044] Furthermore, it is possible to work with traffic management departments to collect traffic flow data in the target area. This data includes information such as vehicle flow and peak hours, which is another key factor in determining the layout of charging piles. Vehicle flow data helps predict which areas may have the highest demand for charging, while peak hour information helps understand the time distribution of charging demand.

[0045] Furthermore, data preprocessing is an important step before processing and analyzing data, especially when analyzing geographic information and traffic flow data. The goal of preprocessing is to clean, organize and format data for subsequent analysis and processing. For the preprocessing of geographic information and traffic flow data collected in the above technical solution, the following methods can be used for preprocessing operations, for example:

[0046] 1. Data cleaning

[0047] Remove duplicates: Check for duplicates in geographic information and traffic flow data, delete redundant records, and ensure data uniqueness. Fill missing values: For missing geographic information or traffic data, fill in the missing values ​​reasonably based on the available data or delete the records that cannot be filled in. For example, data from neighboring locations or average values ​​can be used to fill in missing traffic flow data. Correct errors: Correct errors in the data collection process, such as inaccurate geographic coordinates, significant outliers in traffic flow, etc. This may require returning to the original data source or using expert knowledge for correction.

[0048] 2. Data formatting

[0049] Unified data format: Convert geographic information and traffic flow data into a unified format for easy processing and analysis. For example, unify all geographic coordinates into latitude and longitude format, and unify time data into a specific date and time format. Data encoding: For categorical data, such as road type, building type, etc., use appropriate encoding methods (such as one-hot encoding) to convert non-numeric data into digital format for easy computer processing.

[0050] 3. Data Integration

[0051] Integrate data sources: Combine geographic information and traffic flow data from different data sources into a unified database or data framework. Ensure that the same indicators in different data sources can be correctly mapped. Associate geographic information with traffic flow: Associate traffic flow data with corresponding geographic information based on location for use in graph models.

[0052] 4. Data Transformation

[0053] Feature extraction: Extract features useful for optimizing the layout of charging piles from the original geographic information and traffic flow data. For example, extract road density, traffic nodes, potential charging demand points, etc. from geographic information. Data standardization or normalization: Standardize or normalize the data to ensure that data of different magnitudes can be compared fairly, especially when calculating distance or similarity.

[0054] 5. Data Regulations

[0055] Dimensionality reduction: If the data dimension is too high, you can consider using dimensionality reduction techniques such as principal component analysis (PCA) to reduce the complexity of the data while retaining the most important information. Select relevant data: Based on the goal (such as the need for charging pile layout optimization), select the data subset that is most relevant to the problem to reduce the computational burden and improve processing efficiency.

[0056] Through the above preprocessing steps, it can be ensured that geographic information and traffic flow data provide accurate, clear and easy-to-process input for subsequent graph model construction and optimization algorithm application, thereby effectively supporting the optimization decision of charging pile layout.

[0057] Through the data collection and preprocessing of these two steps, accurate basic data can be provided for the layout optimization of charging piles. Further, through the establishment of graph models and the application of optimization algorithms, the layout of charging piles can be optimized. This not only improves the efficiency and availability of charging infrastructure, but also improves the charging experience of users, thereby promoting the popularization and use of new energy vehicles.

[0058] In some embodiments, constructing a graph model based on the preprocessed data includes:

[0059] The charging pile sites in the target area are taken as nodes in the graph model, the roads between the charging pile sites are taken as edges, and the travel direction of the roads is taken as the direction of the edges. A directed weighted graph is constructed according to the nodes, the edges between the nodes, and the directions of the edges; wherein the charging pile sites in the target area include existing charging pile sites and candidate charging pile sites.

[0060] Specifically, this embodiment provides a charging pile layout optimization method based on graph search optimization, which aims to effectively solve the shortcomings of the existing charging pile layout, especially the problems of long charging time, insufficient number of charging piles and unbalanced layout. The graph model constructed by the embodiment of this application is described in detail below in conjunction with the accompanying drawings and specific embodiments. Figure 2 is a schematic diagram of the structure of a directed weighted graph provided in an embodiment of the present application. Figure 2 As shown, the method for constructing a graph model based on preprocessed data in the embodiment of the present application may include the following contents:

[0061] like Figure 2 As shown, the accompanying figure shows an exemplary layout of charging pile sites in the form of a directed weighted graph. The graph model represents a charging pile network in a local area, which can be a county or a city. In the graph model, points represent charging pile sites, including existing charging pile sites (i.e., points corresponding to blank circles) and candidate charging pile sites (i.e., points corresponding to diagonally filled circles). Edges represent roads connecting these charging pile sites, with arrows indicating the direction of travel. In the case of a two-way road, the road is represented in the graph model as two directional edges with the same weight.

[0062] By establishing such a graph model, this embodiment can conduct an in-depth analysis of existing and potential charging pile networks to find the optimal layout solution. For example, it can identify which candidate sites are most likely to reduce the distance or time cost of the overall charging network, or provide sufficient service capacity during high traffic flow periods. This model can help decision makers to reasonably layout charging piles, improve the charging efficiency of new energy vehicles, and ultimately promote the use and development of new energy vehicles.

[0063] In some embodiments, defining a combined objective optimization model includes:

[0064] Define the optimization variables and parameters corresponding to the optimization objectives, set constraints, use parameters to adjust the weights of the optimization variables, and establish a combined objective optimization model based on the optimization variables, parameters, weights of the optimization variables, and constraints;

[0065] Among them, the optimization variables include the driving distance from the vehicle to the charging station, the charging time and the coverage of the charging station. The optimization objective function corresponding to the combined objective optimization model is used to minimize the weighted sum of the driving distance and the charging time, and maximize the coverage of the charging station. The constraints include the value range corresponding to the optimization variables.

[0066] Specifically, the embodiment of the present application defines a combined objective optimization strategy to combine the minimum distance traveled by vehicles, the minimum time spent, and the maximum coverage of charging piles to form an optimization problem. The purpose of this problem is to find a charging pile layout solution that can minimize the distance and time traveled by vehicles while maximizing the coverage of charging piles, ensuring the efficiency and rationality of the charging pile network and reducing resource waste while meeting the charging needs of all vehicles.

[0067] In one example, the embodiment of the present application adopts a combined target optimization strategy (i.e., a combined target optimization model), which requires that the vehicle travels a minimum distance to charge, takes a minimum time to complete the charging demand, and has a maximum coverage range of the selected charging pile. This ensures that it can be done more reasonably without causing waste. The formula of the combined target optimization model is as follows:

[0068]

[0069]

[0070] Where i represents the vehicle, j represents the charging station, L(i) and T(i) represent the driving distance and time required for vehicle i to complete charging, respectively, and S(j) represents the area covered by the jth charging station. represents the area where the coverage of the jth charging station overlaps with the coverage of other stations, that is, the intersection of the two. S is the total coverage area after removing the overlapping area. α, β, and γ are three target coefficients, which are used to dynamically adjust the focus of the strategy. L max ,T max ,S max They are the maximum thresholds set manually to avoid the situation where some vehicles cannot be charged at all and the situation where one charging station covers the entire area.

[0071] Furthermore, a mathematical optimization model is constructed using the above variables and parameters, which can quantify the performance of each charging station and vehicle. The objective function is min i,j αL+βT-γS, that is, the objective function attempts to minimize the weighted sum of driving distance (L) and charging time (T) while maximizing the charging station coverage (S). Considering that the coverage of different charging piles may overlap, these overlapping parts need to be subtracted from the total coverage S to reflect the actual effective coverage.

[0072] Furthermore, constraints are set to determine the range of L(i), T(i), and S(j) to meet actual conditions. For example, the values ​​of L(i) and T(i) cannot exceed the set maximum value, which ensures the availability of the charging network for all vehicles. Ensure that the value of S does not exceed the maximum coverage range Smax , avoiding excessive concentration between charging stations.

[0073] Furthermore, the distance, time or coverage can be prioritized by adjusting the values ​​of α, β and γ according to different actual needs. For example, if the α value increases, the optimization model will be more inclined to reduce the driving distance; if the γ value increases, the model will be more inclined to increase the coverage of the charging pile.

[0074] Furthermore, each edge is assigned a weight according to the optimization goal. If the goal is the shortest distance, the weight is the distance between the two nodes. If the goal is the minimum time spent, the weight is the travel time plus the waiting time. If traffic flow is taken into account, the weight of the edge will be dynamically adjusted according to the traffic volume. The larger the traffic volume, the larger the weight. This dynamic adjustment can be achieved through pre-collected traffic flow data.

[0075] Furthermore, mathematical optimization algorithms (such as linear programming, nonlinear programming, etc.) are used to solve the above model and find the best charging pile layout solution. This may require iterative calculations to continuously adjust the location and number of charging piles until the optimal solution or an acceptable approximate solution is found.

[0076] Through the combined objective optimization strategy of the above-mentioned embodiments, the embodiments of the present application aim to balance charging efficiency and coverage to optimize the design of the entire charging network, thereby improving the charging convenience of users and reducing waiting time, while ensuring that resources are effectively utilized and not wasted due to excessive concentration or dispersion.

[0077] In some embodiments, according to a predetermined graph search optimization algorithm, an iterative search method is used to calculate and minimize the optimization objective function, wherein a candidate charging pile site is added in each iteration until all candidate charging pile sites are traversed, including:

[0078] Initialize the charging pile sites in the graph model and perform iterative search using a fixed random seed method;

[0079] Randomly select a candidate charging pile site and set it to a chargeable state, calculate the optimization objective function value under the current combination state, record the candidate charging pile site combination when the optimization objective function value is minimized in this round of iteration, and use the candidate charging pile site combination as the layout solution identified in this round of iteration;

[0080] In each subsequent iteration, a candidate charging pile site is added, the optimization objective function value after the addition of the candidate charging pile site is calculated, and the candidate charging pile site combination when the optimization objective function value is minimized is recorded until all candidate charging pile sites are traversed.

[0081] Specifically, this embodiment proposes an iterative graph search optimization algorithm to determine the optimal layout of charging pile sites. This method takes into account the existing charging pile sites, and on this basis, optimizes the layout of the charging network by adding new candidate sites. The process includes initializing with a fixed random seed method and iteratively selecting candidate sites, adding one candidate site in each round until all candidate sites are considered. In each round, the algorithm calculates the objective function value of each possible layout and selects the layout that minimizes the objective function. This embodiment uses the A* algorithm for graph search, which is suitable for finding the optimal path in a graph with a clear starting point and end point.

[0082] In one example, the process of calculating and minimizing the optimization objective function using an iterative search method may include the following steps:

[0083] 1. Initialization:

[0084] Identify existing charging pile sites and all candidate sites. Set a fixed random seed to ensure experimental repeatability.

[0085] 2. Iteration process:

[0086] First round of iteration: randomly select a candidate station and set it to a charging state, and calculate the objective function value in this state. Traverse all single candidate points and record the station position that minimizes the objective function.

[0087] Second round of iteration: Randomly select two candidate sites and set them to a charging state, traverse every possible site combination, calculate the objective function value, and record the minimum value and the corresponding site combination.

[0088] And so on, one candidate site is added in each round, and the above process is repeated until all candidate sites are considered.

[0089] 3. Using A* algorithm:

[0090] In each iteration, for each candidate site combination, the A* algorithm is used to calculate the minimum total cost (driving distance, time cost, coverage). The heuristic function evaluates the contribution of each candidate site to the overall optimization goal after joining the network to guide the search process.

[0091] 4. Choose the best solution:

[0092] At the end of each round of iteration, the candidate site set with the smallest objective function value is considered the best solution for that round. The best solutions in each round are compared and the final optimal charging pile layout solution is selected.

[0093] 5. Optimization and verification:

[0094] The optimal solution is verified to ensure that it satisfies all pre-set constraints. If necessary, the algorithm parameters are adjusted and the iteration process is rerun to verify the stability and reliability of the solution.

[0095] Through the steps of the above embodiments, the technical solution of the present application can systematically explore different charging pile site layout configurations and find the layout solution that best meets the optimization objectives and constraints, thereby improving the efficiency of the charging network and the user's charging experience.

[0096] In some embodiments, the graph search optimization algorithm includes:

[0097] Select a heuristic search algorithm. During the execution of the algorithm, the path that is most likely to reach the final node and the known minimum cost from the starting point to the current node are comprehensively considered; the heuristic function is used to evaluate the priority of each node according to the predefined optimization objective function value, where the heuristic function reflects the estimated minimum cost from the current node to the target node; based on the score of the heuristic function, the node with the smallest total cost is selected for path expansion until the optimal layout plan for the current round is determined.

[0098] Specifically, the graph search optimization algorithm of the embodiment of the present application can select the A* algorithm. The specific implementation principle of the algorithm is as follows: The A* algorithm is a heuristic search algorithm, which is often used to solve graph search and path planning problems. It combines the ideas of the greedy algorithm and the Dijkstra algorithm. During the search process, a heuristic function is used to evaluate the priority of the node, so as to select the node with the smallest total cost for expansion. The A* algorithm can usually find the optimal solution within a reasonable time, and is particularly suitable for single-source shortest path problems with clear starting and ending points. The pseudo code of the algorithm is as follows:

[0099]

[0100] In some embodiments, the layout solutions generated in each round of iteration are compared, and the layout solution that meets the optimization goal is selected as the final charging pile site layout solution, including:

[0101] Determine the optimization objective function value corresponding to the layout plan generated after each round of iteration, compare the optimization objective function values, and select the layout plan with the smallest optimization objective function value as the final charging pile site layout plan.

[0102] Specifically, the process of solving the optimal solution is a collection of a series of iterative searches, and the best charging pile layout solution is identified through each round of traversal. In each round, the algorithm will try different combinations of candidate sites and calculate the optimization objective function value of each combination. The combination with the smallest objective function value in each round is recorded as the optimal layout solution for that round. As the iterative process proceeds, these local optimal solutions will be compared to determine which solution best meets the set multiple optimization goals. The final output of this process is the final vehicle charging pile site layout solution.

[0103] In one example, the process of finding the optimal solution may include the following steps:

[0104] 1. Initialize the recorder: Before starting the iteration, prepare a recorder to store the optimal solution in each round of iteration.

[0105] 2. Perform iterative search: According to the graph search optimization algorithm in step 4, all possible candidate site combinations are traversed in each round. For each combination, the objective function value is calculated (i.e., minimizing driving distance, time spent, and maximizing coverage).

[0106] 3. Record the optimal layout plan: In each round of iteration, determine and record the candidate site combination with the smallest objective function value. This is the optimal layout plan for that round.

[0107] 4. Compare local optimal solutions: Compare the optimal solutions of each iteration. According to the objective function value, evaluate which round provides the best charging station layout solution.

[0108] 5. Determine the final solution: Select the solution with the smallest overall objective function value from the comparison, which will be the final vehicle charging station layout solution that meets all optimization goals.

[0109] 6. Output the final result: The determined optimal layout solution is output as the final result, which is the charging pile layout applied to the actual charging pile network design.

[0110] 7. Verification and adjustment: Verify whether the final solution meets all practical constraints, such as geographical location feasibility, charging pile capacity, etc. If necessary, make necessary adjustments to the final solution based on the actual situation and re-evaluate its optimization objective function value to ensure the actual feasibility and optimization effect of the solution.

[0111] Through the steps of the above embodiments, the technical solution of the present application can gradually approach and ultimately determine the optimal charging pile site layout plan in multiple rounds of iterative searches, provide efficient and convenient charging services for electric vehicle users, and provide scientific decision-making support for the construction and layout of charging infrastructure.

[0112] According to the technical solution provided by the embodiment of the present application, the embodiment of the present application realizes the vehicle charging pile layout optimization strategy by applying graph optimization theory to the field of automobile path planning. A multi-objective optimization function and constraint conditions are designed, and the layout result of dynamic strategy adjustment can be obtained by adjusting the weight coefficient. A traversal strategy is designed to obtain the optimal layout result under different conditions.

[0113] The embodiment of the present application proposes a vehicle charging pile layout method based on graph search optimization, which applies graph optimization theory to the optimization of vehicle charging pile layout, thereby improving accuracy. By accessing traffic data and regional map data, a more accurate directed weighted graph can be constructed. By designing a combinatorial optimization objective function to obtain the optimal layout solution, and by dynamically adjusting the weight coefficient, layout results with different strategic emphases can be obtained to meet different needs, thereby improving the fault tolerance and stability of the method. A traversal calculation mechanism is designed to obtain the optimal layout solution under different budgets, that is, the layout result when the number of charging pile candidate stations is limited.

[0114] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0115] Figure 3 Schematic diagram of the structure of the charging pile layout optimization device based on graph search optimization provided by the embodiment of the present application. Figure 3 As shown, the charging pile layout optimization device based on graph search optimization includes:

[0116] The acquisition module 301 is configured to acquire geographic information and traffic flow data of a target area, and perform preprocessing operations on the geographic information and traffic flow data to obtain preprocessed data;

[0117] A construction module 302 is configured to construct a graph model according to the preprocessed data, wherein the nodes in the graph model represent charging pile sites, and the edges represent the traffic relations between the nodes;

[0118] A definition module 303 is configured to define a combined objective optimization model, and dynamically configure a weight for each edge in the graph model according to an optimization objective corresponding to the combined objective optimization model;

[0119] The search module 304 is configured to calculate and minimize the optimization objective function using an iterative search method according to a predetermined graph search optimization algorithm, wherein a candidate charging pile site is added in each iteration until all candidate charging pile sites are traversed;

[0120] The comparison module 305 is configured to obtain the layout scheme identified in each round of iteration, and after all rounds of iteration are completed, compare the layout schemes generated in each round of iteration, and select the layout scheme that meets the optimization goal as the final charging pile site layout scheme.

[0121] In some embodiments, Figure 3 The acquisition module 301 uses a geographic information system or related map services to collect geographic information of a target area and obtain traffic flow data of the target area; performs data cleaning on the geographic information and traffic flow data, and performs feature extraction on the cleaned data to obtain features for optimizing the layout of charging piles; performs unified formatting on the features, and integrates the unified formatted data to obtain pre-processed data.

[0122] In some embodiments, Figure 3 The construction module 302 takes the charging pile sites in the target area as nodes in the graph model, the roads between the charging pile sites as edges, and the travel directions of the roads as the directions of the edges, and constructs a directed weighted graph according to the nodes, the edges between the nodes, and the directions of the edges; wherein the charging pile sites in the target area include existing charging pile sites and candidate charging pile sites.

[0123] In some embodiments, Figure 3 The definition module 303 defines the optimization variables and parameters corresponding to the optimization objectives, sets constraints, uses parameters to adjust the weights of the optimization variables, and establishes a combined objective optimization model based on the optimization variables, parameters, weights of the optimization variables and constraints; wherein the optimization variables include the driving distance from the vehicle to the charging pile station, the charging time and the coverage of the charging pile station, and the optimization objective function corresponding to the combined objective optimization model is used to minimize the weighted sum of the driving distance and the charging time, and maximize the coverage of the charging pile station; the constraints include the value range corresponding to the optimization variables.

[0124] In some embodiments, Figure 3 The search module 304 initializes the charging pile sites in the graph model and performs iterative search using a fixed random seed method; randomly selects a candidate charging pile site and sets it to a chargeable state, calculates the optimization objective function value under the current combination state, records the candidate charging pile site combination when the optimization objective function value is minimized in this round of iteration, and uses the candidate charging pile site combination as the layout solution identified in this round of iteration; in each subsequent round of iteration, adds a candidate charging pile site, calculates the optimization objective function value after adding the candidate charging pile site, and records the candidate charging pile site combination when the optimization objective function value is minimized, until all candidate charging pile sites are traversed.

[0125] In some embodiments, Figure 3The search module 304 selects a heuristic search algorithm. During the execution of the algorithm, the path most likely to reach the final node and the known minimum cost from the starting point to the current node are comprehensively considered; the heuristic function is used to evaluate the priority of each node according to the predefined optimization objective function value, wherein the heuristic function reflects the estimated minimum cost from the current node to the target node; based on the score of the heuristic function, the node with the smallest total cost is selected for path expansion until the optimal layout plan for the current round is determined.

[0126] In some embodiments, Figure 3 The comparison module 305 determines the optimization objective function value corresponding to the layout scheme generated after each round of iteration, compares the optimization objective function values, and selects the layout scheme with the smallest optimization objective function value as the final charging pile site layout scheme.

[0127] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0128] Figure 4 Schematic diagram of the structure of the electronic device 4 provided in the embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0129] Exemplarily, the computer program 403 may be divided into one or more modules / units, which are stored in the memory 402 and executed by the processor 401 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 403 in the electronic device 4.

[0130] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0131] The processor 401 may be a central processing unit (CPU), or 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 the processor may be any conventional processor, etc.

[0132] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device. The memory 402 may also be used to temporarily store data that has been output or is to be output.

[0133] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0134] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0135] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0136] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0138] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0139] If the integrated module / unit 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 application 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. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable media 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), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0140] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A charging pile layout optimization method based on graph search optimization, characterized in that: include: Acquire geographic information and traffic flow data of a target area, and perform preprocessing operations on the geographic information and traffic flow data to obtain preprocessed data; Constructing a graph model according to the preprocessed data, wherein the nodes in the graph model represent charging pile sites, and the edges represent the traffic relations between the nodes; Defining a combined objective optimization model, and dynamically configuring a weight for each edge in the graph model according to an optimization objective corresponding to the combined objective optimization model; According to a predetermined graph search optimization algorithm, an iterative search method is used to calculate and minimize the optimization objective function, wherein a candidate charging pile site is added in each iteration until all the candidate charging pile sites are traversed; The layout scheme identified in each round of iteration is obtained. After all rounds of iteration are completed, the layout schemes generated in each round of iteration are compared, and the layout scheme that meets the optimization goal is selected as the final charging pile site layout scheme.

2. The method according to claim 1, characterized in that The step of acquiring geographic information and traffic flow data of the target area and performing preprocessing operations on the geographic information and traffic flow data to obtain preprocessed data includes: Using a geographic information system or related map services, the geographic information of the target area is collected, and traffic flow data of the target area is obtained; Performing data cleaning on the geographic information and the traffic flow data, and performing feature extraction on the cleaned data to obtain features for optimizing the layout of charging piles; The features are uniformly formatted, and the uniformly formatted data are integrated to obtain the pre-processed data.

3. The method according to claim 1, characterized in that The step of constructing a graph model according to the preprocessed data includes: The charging pile sites in the target area are taken as nodes in the graph model, the roads between the charging pile sites are taken as edges, the travel directions of the roads are taken as the directions of the edges, and a directed weighted graph is constructed according to the nodes, the edges between the nodes, and the directions of the edges; wherein the charging pile sites in the target area include existing charging pile sites and candidate charging pile sites.

4. The method according to claim 1, characterized in that The definition of the combined objective optimization model includes: Defining optimization variables and parameters corresponding to the optimization objective, and setting constraints, using the parameters to adjust the weights of the optimization variables, and establishing the combined objective optimization model according to the optimization variables, the parameters, the weights of the optimization variables and the constraints; Among them, the optimization variables include the driving distance from the vehicle to the charging pile site, the charging time and the coverage of the charging pile site. The optimization objective function corresponding to the combined objective optimization model is used to minimize the weighted sum of the driving distance and the charging time, and maximize the coverage of the charging pile site; the constraint conditions include the value range corresponding to the optimization variables.

5. The method according to claim 1, characterized in that The method of calculating and minimizing the optimization objective function by using an iterative search method according to a predetermined graph search optimization algorithm, wherein a candidate charging pile site is added in each round of iteration until all the candidate charging pile sites are traversed, includes: Initializing the charging pile sites in the graph model and performing iterative search using a fixed random seed method; Randomly select a candidate charging pile site and set it to a chargeable state, calculate the optimization objective function value under the current combination state, record the candidate charging pile site combination when the optimization objective function value is minimized in this round of iteration, and use the candidate charging pile site combination as the layout solution identified in this round of iteration; In each subsequent iteration, a candidate charging pile site is added, the optimization objective function value after adding the candidate charging pile site is calculated, and the candidate charging pile site combination when the optimization objective function value is minimized is recorded until all candidate charging pile sites are traversed.

6. The method according to claim 5, characterized in that The graph search optimization algorithm includes: A heuristic search algorithm is selected. During the execution of the algorithm, the path most likely to reach the final node and the known minimum cost from the starting point to the current node are comprehensively considered; a heuristic function is used to evaluate the priority of each node according to a predefined optimization objective function value, wherein the heuristic function reflects the estimated minimum cost from the current node to the target node; based on the score of the heuristic function, the node with the smallest total cost is selected for path expansion until the optimal layout plan for the current round is determined.

7. The method according to claim 1, characterized in that The layout schemes generated in each round of iteration are compared, and a layout scheme that meets the optimization goal is selected as the final charging pile site layout scheme, including: Determine the optimization objective function value corresponding to the layout scheme generated after each round of iteration, compare the optimization objective function values, and select the layout scheme with the smallest optimization objective function value as the final charging pile site layout scheme.

8. A charging pile layout optimization device based on graph search optimization, characterized in that: include: An acquisition module is configured to acquire geographic information and traffic flow data of a target area, and perform a preprocessing operation on the geographic information and traffic flow data to obtain preprocessed data; A construction module is configured to construct a graph model according to the preprocessed data, wherein the nodes in the graph model represent charging pile sites, and the edges represent the traffic relations between the nodes; A definition module is configured to define a combined objective optimization model, and dynamically configure a weight for each edge in the graph model according to an optimization objective corresponding to the combined objective optimization model; A search module is configured to calculate and minimize an optimization objective function using an iterative search method according to a predetermined graph search optimization algorithm, wherein a candidate charging pile site is added in each iteration until all the candidate charging pile sites are traversed; The comparison module is configured to obtain the layout scheme identified in each round of iteration, and after all rounds of iteration are completed, compare the layout schemes generated in each round of iteration, and select the layout scheme that meets the optimization goal as the final charging pile site layout scheme.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Harbor-approaching industry layout system and method based on big data

    CN119313090A

  • Charging pile information determination method and system based on artificial intelligence

    CN120562820A

  • Automatic wiring method for charging piles in complex basement environment

    CN122333695A

  • Urban electricity-heat-gas-hydrogen network coupled energy station layout optimization method and system

    CN122347060A

  • New energy automobile charging pile intelligent scheduling management method and system

    CN122491854A