Data processing method and system for charging management platform
By acquiring and integrating multi-dimensional data in the charging management platform, establishing a stochastic programming model and performing optimization solutions, it solves the problems of low charging resource utilization efficiency and grid stability in the existing technology, and achieves intelligent charging scheduling and cost optimization.
Patent Information
- Application Number
- CN202410731249.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Existing charging management platforms rely on static dispatch models and simplified decision-making processes, which cannot fully consider the complexity and dynamic changes of the power grid and market, resulting in inefficient use of charging resources, increased charging costs, and affecting grid stability.
By obtaining multi-dimensional status data of charging stations, performing data cleaning and integration, a multi-level stochastic programming model is established, and solved using the branch-and-bound strategy, Pontryakin's maximum principle and the interior point method, combined with load transfer analysis and charging costs. Optimize and develop the optimal charging scheduling plan.
It improves the accuracy and efficiency of charging scheduling, optimizes charging resource allocation, reduces charging congestion and waiting time, reduces charging costs, and better adapts to changes in user charging needs to ensure stable operation of the power grid.
Smart Images

Figure CN118333338B
Abstract
Description
Technical Field
[0001] The present application relates to the field of charging management technology, and in particular to a data processing method and system for a charging management platform. Background Art
[0002] With the rapid growth of the electric vehicle market and the development of renewable energy technologies, charging management platforms are playing an increasingly important role in achieving efficient energy utilization and ensuring stable grid operation. Such platforms need to process and analyze a large amount of dynamically changing data, including charging demand, grid power supply conditions, and renewable energy supply, in order to optimize the charging scheduling strategy of charging stations. However, the multi-dimensional characteristics and uncertainty of these data have brought significant challenges to charging management.
[0003] Currently, many charging management platforms still rely on traditional static scheduling models and simplified decision-making processes, which often fail to fully consider the complexity of the power grid and market and their dynamic changes. The limitations of this approach may lead to inefficient use of charging resources, increase charging costs, and even affect the stability of the power grid. Especially during peak load periods, the lack of flexibility and adaptability of charging scheduling strategies may lead to insufficient or overloaded power supply at charging stations, thus affecting the charging experience and satisfaction of electric vehicle users. Summary of the invention
[0004] The present application provides a data processing method and system for a charging management platform, which are used to realize intelligent charging scheduling analysis through the charging management platform and improve the efficiency and accuracy of charging scheduling.
[0005] In a first aspect, the present application provides a data processing method for a charging management platform, the data processing method for the charging management platform comprising:
[0006] Acquire multi-dimensional status data of the target charging station from the charging management platform, wherein the multi-dimensional status data includes charging station status data, power grid status data, and charging pile usage data;
[0007] Predicting charging demand for the target charging station according to the multi-dimensional status data to obtain charging demand time distribution data and charging demand scale data;
[0008] Establishing a multi-level stochastic programming model according to the charging demand time distribution data and the charging demand scale data;
[0009] The multi-level stochastic programming model is solved based on the branch and bound strategy, the Pontryagin maximum principle and the interior point method to obtain an initial charging scheduling plan;
[0010] According to the initial charging scheduling plan, load transfer analysis and charging cost optimization are performed on the target charging station to obtain a target charging scheduling plan.
[0011] In a second aspect, the present application provides a data processing system for a charging management platform, the data processing system for the charging management platform comprising:
[0012] An acquisition module, used to acquire multi-dimensional status data of a target charging station from a charging management platform, wherein the multi-dimensional status data includes charging station status data, power grid status data, and charging pile usage data;
[0013] A prediction module, configured to predict charging demand of the target charging station according to the multi-dimensional status data, and obtain charging demand time distribution data and charging demand scale data;
[0014] An establishment module is used to establish a multi-level stochastic programming model according to the charging demand time distribution data and the charging demand scale data;
[0015] A solution module, used for solving the multi-level stochastic programming model based on a branch and bound strategy, Pontryagin's maximum principle and an interior point method to obtain an initial charging scheduling plan;
[0016] The optimization module is used to perform load transfer analysis and charging cost optimization on the target charging station according to the initial charging scheduling plan to obtain a target charging scheduling plan.
[0017] The third aspect of the present application provides a data processing device for a charging management platform, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the data processing device of the charging management platform executes the above-mentioned data processing method of the charging management platform.
[0018] A fourth aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the data processing method of the charging management platform.
[0019] In the technical solution provided by the present application, by obtaining the multi-dimensional status data of the charging station, including the status of the charging station, the status of the power grid, and the usage data of the charging pile, and performing data cleaning, scale normalization, and time series correlation synchronization, the data from different sources are effectively integrated. This efficient data integration and processing capability enables the charging management platform to make decisions based on an accurate understanding of the operating status of the charging station, thereby improving the accuracy and response speed of charging scheduling. Through the charging demand influencing factor model, including the self-attention layer and the multi-head attention mechanism, the multi-dimensional status data is deeply analyzed, and the method can accurately predict the time distribution and scale of charging demand. This not only helps to optimize the allocation of charging resources, reduce charging congestion and waiting time, but also better adapt to changes in user charging needs and improve user satisfaction. By establishing and solving a multi-level stochastic programming model, the method can formulate an optimal charging scheduling plan based on the uncertainty of charging demand and the volatility of power grid supply. Combined with load transfer analysis and charging cost optimization, the platform can effectively reduce the charging operation cost while ensuring that the charging demand is met, thereby realizing intelligent charging scheduling analysis and improving the efficiency and accuracy of charging scheduling. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0021] Figure 1 This is a schematic diagram of an embodiment of a data processing method of a charging management platform in an embodiment of the present application;
[0022] Figure 2 This is a schematic diagram of an embodiment of a data processing system of a charging management platform in an embodiment of the present application. DETAILED DESCRIPTION
[0023] Embodiments of the present application provide a data processing method and system for a charging management platform. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the data processing method of the charging management platform in the embodiment of the present application includes:
[0025] Step S101: Acquire multi-dimensional status data of a target charging station from a charging management platform, where the multi-dimensional status data includes charging station status data, power grid status data, and charging pile usage data;
[0026] It is understandable that the execution subject of the present application may be a data processing system of a charging management platform, or a terminal or a server, which is not specifically limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0027] Specifically, the initial state data of multiple different dimensions of the target charging station are obtained from the charging management platform, including the operating status of the charging station itself, the power supply of the power grid, and the usage status of each charging pile. The data collection is based on the real-time data interface between the charging management platform and the charging station, the power grid operator and the charging equipment to ensure that the information obtained is real-time and accurate. The initial state data of multiple different dimensions are cleaned to eliminate the noise, outliers and inconsistent data records generated during the data collection process. The data is scaled and normalized to eliminate the differences between different data sources and measurement standards. Through standardized processing, all data are converted to a unified scale. The charging station status data, the power grid status data and the charging pile usage data are synchronized in time series. By aligning each data point according to the timestamp, it is ensured that the data at the same time point is analyzed. Synchronization ensures the consistency of the data in time, so that data analysis and prediction can be based on complete and accurate information. The multi-dimensional status data of the target charging station obtained reflects the actual operating status of the charging station, and takes into account the power supply capacity of the power grid and the actual usage of the charging pile.
[0028] Step S102: predicting charging demand for the target charging station based on the multi-dimensional status data to obtain charging demand time distribution data and charging demand scale data;
[0029] Specifically, the multi-dimensional state data is input into the preset charging demand influencing factor model. The model includes an input layer, an embedding layer, a self-attention layer, a multi-head attention mechanism, a feedforward network, and a multi-task output layer. The multi-dimensional state data is input into the input layer, and the original data is converted into a format that can be processed by the model through the data encoding process to obtain multiple data encoding vectors. The data encoding vectors are input into the embedding layer, and in the embedding layer, the vector conversion operation converts these encoding vectors into target embedding vectors that are more suitable for model processing. Multiple target embedding vectors are input into the self-attention layer for data point dependency analysis, enhance the correlation between vectors, and generate self-attention enhancement vectors. Multiple self-attention enhancement vectors are input into the multi-head attention mechanism for vector splicing and linear transformation to obtain an attention splicing vector that captures the important connections and interactions between data of different dimensions. The attention splicing vector is input into the feedforward network for high-dimensional feature mapping, and the vector is converted into a target high-dimensional feature vector containing richer information. The target high-dimensional feature vector is input into the multi-task output layer, and the charging demand time distribution is predicted for the target high-dimensional feature vector through the first fully connected layer in the multi-task output layer to obtain the charging demand time distribution data. At the same time, the same feature vector is processed through the second fully connected layer to predict the charging demand scale and obtain the charging demand scale data.
[0030] Step S103: establishing a multi-level stochastic programming model according to the charging demand time distribution data and the charging demand scale data;
[0031] Specifically, the time distribution characteristics of the charging demand time distribution data are extracted. By analyzing the charging demand time distribution data, the changing rules of the charging demand in different time periods are identified, and these changing rules are divided into multiple time distribution feature segments. At the same time, the charging demand scale data is analyzed, and the demand characteristics of different scales are identified and extracted, and these characteristics are also divided into multiple scale feature segments. Multiple decision stages are defined according to multiple time distribution feature segments and multiple scale feature segments. In each decision stage, random events that may affect the charging demand are identified, such as weather changes, holiday impacts, etc. In order to effectively handle these decision stages and random events, a time tree is constructed. In this time tree, each node represents a decision point, and each branch represents a possible random event. The probability distribution of random events is calculated, and an initial random programming model is constructed based on these probability distributions and the time tree. The model can reflect the decision-making situation when facing different random events at different time points. On the basis of constructing the initial random programming model, the decision variables of the model are defined, and multiple constraints are set, including the physical capacity constraints of the charging station, the power supply capacity constraints of the power grid, and the charging demand satisfaction constraints. These constraints ensure that the solution of the model is not only feasible but also practical. By recursively optimizing the initial stochastic programming model according to the decision variables and constraints, a multi-level stochastic programming model is obtained. Under the premise of satisfying all constraints, the optimal charging scheduling scheme is found. The multi-level stochastic programming model takes into account the uncertainty and variability of charging demand, and can provide a systematic decision support tool to help the charging management platform effectively plan and schedule charging resources, thereby improving charging efficiency, reducing charging costs, and ensuring the stable operation of the power grid.
[0032] Specifically, the decision variables and constraints are parameterized. The actual problem is converted into a mathematical model to obtain an initial model parameter set. An objective function with the goal of minimizing the charging cost is constructed. The objective function comprehensively considers the factors of electricity price impact, basic charging cost, and charging power cost growth. By setting the nonlinear impact index of charging power, the influence of total charging power on cost is reflected. The initial random programming model is updated with the initial model parameter set, and the model is adjusted to ensure that the model is more in line with the actual situation. The updated random programming model can more accurately describe the randomness and uncertainty in the charging management process. The updated random programming model is generated based on the probability distribution of random events. By considering various possible random events and their probabilities of occurrence, multiple target optimization scenarios are generated, which represent different possibilities. The time tree is expanded for each target optimization scenario, and each node is recursively optimized starting from the end of the time tree through a recursive optimization algorithm. By optimizing step by step from the end node forward, each decision is based on the best prediction of future situations, ensuring the globality and foresight of the entire optimization process, and generating a set of target model parameters, which represents the optimal decision after considering all possible scenarios and the probability of random events. The updated stochastic programming model is optimized according to the target model parameter set to obtain a multi-level stochastic programming model. The multi-level model takes into account the charging needs of multiple time periods and different charging stations, and can dynamically adjust the charging strategy to cope with future uncertainties and randomness, ensuring that the charging needs are met while minimizing the charging cost.
[0033] Step S104, solving the multi-level stochastic programming model based on the branch and bound strategy, Pontryagin's maximum principle and interior point method to obtain an initial charging scheduling plan;
[0034] Specifically, the search space of the multi-level stochastic programming model is initialized based on the branch and bound strategy, and the initial solution space range is defined, providing a clear starting point for the subsequent optimization algorithm. The determination of the initial search space is based on the decision variables and constraints of the model to ensure the effectiveness and efficiency of the search. Based on the initial search space, the Pontryagin maximum principle and the interior point method are used to perform nonlinear control optimization and search space reduction on each decision point in the model. Considering the optimization principle of the problem, and using the efficiency of the interior point method in dealing with nonlinear constrained optimization problems, the search space is gradually reduced to improve the efficiency and accuracy of the solution. In this process, the representation and update formula of the state provide a mathematical expression for the state transfer, and guide the search direction through the cost boundary and heuristic cost estimation to ensure that the solution process moves towards the goal of minimizing the cost. In the process of iterative solution based on the target search space, each iteration aims to optimize the function value of the objective function and update the feasible solution set. Through continuous iterative optimization, the optimal solution of the problem is gradually approached. In each iteration, the pros and cons of different decision points are evaluated based on the current search space and objective function, and the path with the lowest cost is selected to move forward. At the same time, the cost boundary of the known optimal solution is updated to ensure the continuous optimization of the solution. When the iterative solution reaches a certain condition or the search space can no longer be further reduced, the current feasible solution set is optimized. A comprehensive evaluation is conducted on all potential charging scheduling schemes to screen out the scheduling scheme that can minimize the charging cost while meeting all constraints.
[0035] Step S105: Perform load transfer analysis and charging cost optimization on the target charging station according to the initial charging scheduling plan to obtain a target charging scheduling plan.
[0036] Specifically, the load of the target charging station is identified according to the initial charging scheduling plan, including analyzing and determining the peak load period and the load valley period. By identifying these periods, the pertinence and effectiveness of the load transfer strategy are ensured. Through the load transfer algorithm, the potential cost savings of transferring the charging load in different periods are calculated according to the peak load period and the load valley period. The calculation not only involves the change of charging electricity price, but also needs to consider the impact that the transferred load may have on the overall charging efficiency and grid stability. Based on the potential cost savings, multiple first load transfer strategies of the target charging station are initialized. These strategies are preliminary ideas for different possible action plans for load transfer from a macro perspective. Each strategy aims to utilize low-cost electricity during the load valley period while avoiding or reducing high-cost charging during peak hours. Among these strategies, a second load transfer strategy that optimizes cost savings is selected through comparison and evaluation. This process requires comprehensive consideration of the feasibility, efficiency and impact of each strategy on the operation of the grid and the charging station to ensure that the selected strategy is both practical and efficient. The charging cost of the initial charging scheduling plan of the target charging station is optimized according to the second load transfer strategy. The distribution of the charging load is adjusted according to the second load transfer strategy, and how to maximize the cost reduction without reducing the quality of user service is considered. This includes optimizing charging schedules, adjusting charging power allocation, and possible charging route adjustments, etc. Ultimately, a target charging scheduling solution is obtained that takes into account charging efficiency and minimizes charging costs, ensuring that the charging management platform achieves optimal economic benefits while meeting user charging needs.
[0037] In the embodiment of the present application, by acquiring the multi-dimensional status data of the charging station, including the status of the charging station, the status of the power grid, and the usage data of the charging pile, and performing data cleaning, scale normalization, and time series correlation synchronization, the data from different sources are effectively integrated. This efficient data integration and processing capability enables the charging management platform to make decisions based on an accurate understanding of the operating status of the charging station, thereby improving the accuracy and response speed of charging scheduling. Through the charging demand influencing factor model, including the self-attention layer and the multi-head attention mechanism, the multi-dimensional status data is deeply analyzed, and the method can accurately predict the time distribution and scale of charging demand. This not only helps to optimize the allocation of charging resources, reduce charging congestion and waiting time, but also better adapt to changes in user charging needs and improve user satisfaction. By establishing and solving a multi-level stochastic programming model, the method can formulate an optimal charging scheduling plan based on the uncertainty of charging demand and the volatility of power grid supply. Combined with load transfer analysis and charging cost optimization, the platform can effectively reduce the charging operation cost while ensuring that the charging demand is met, thereby realizing intelligent charging scheduling analysis and improving the efficiency and accuracy of charging scheduling.
[0038] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0039] (1) Obtaining initial status data of multiple dimensions of the target charging station from the charging management platform, where the multiple dimensions include the charging station, the power grid, and the charging pile;
[0040] (2) Perform data cleaning on the initial state data of multiple different dimensions to obtain multiple standard state data;
[0041] (3) Normalize the scale of multiple standard status data to obtain charging station status data, power grid status data, and charging pile usage data;
[0042] (4) The charging station status data, power grid status data, and charging pile usage data are synchronized in time series to obtain multi-dimensional status data of the target charging station.
[0043] Specifically, extract multi-dimensional initial state data about charging stations, power grids, and charging piles from the charging management platform. These data are collected from different sources, such as the operating data of charging stations, the power supply status of power grids, and the real-time usage of charging piles. For example, charging station data may include the total number of charging piles, current usage status, maintenance status, etc.; power grid data may include current power supply status, electricity price information, etc.; and charging pile data involves the usage frequency, charging efficiency, fault records, etc. of each charging pile. Perform data cleaning on the initial state data of multiple different dimensions to obtain multiple standard state data. Identify and correct errors or inconsistencies from the data, including removing duplicate records, correcting data format errors, filling missing values, etc. Perform data scale normalization. Data from different sources may have great differences in dimensions and scopes, and directly using these data for comparison or calculation may lead to erroneous analysis results. Through scale normalization, all data are adjusted to a unified scale, such as normalizing all numerical data to between 0 and 1. Perform time-series correlation synchronization on charging station status data, power grid status data, and charging pile usage data. Align these data in chronological order to ensure that data at the same time point can be correctly associated for analysis. For example, if you want to analyze the impact of the power supply capacity of the power grid on the efficiency of charging piles in a certain period of time, you need to ensure that the analyzed power grid data and charging pile data are in the same time period. Time-series correlation synchronization can not only reveal the relationship between different data, but also help identify possible cause-and-effect relationships, such as whether an increase in charging demand will lead to increased pressure on the power grid, and how to adjust the use strategy of charging piles to optimize overall charging efficiency and cost.
[0044] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0045] (1) Input the multi-dimensional state data into the preset charging demand influencing factor model, which includes: input layer, embedding layer, self-attention layer, multi-head attention mechanism, feedforward network and multi-task output layer;
[0046] (2) inputting the multi-dimensional state data into an input layer, and encoding the multi-dimensional state data in the input layer according to a preset length to obtain a plurality of data encoding vectors;
[0047] (3) Inputting multiple data encoding vectors into the embedding layer, performing vector conversion on the multiple data encoding vectors through the embedding layer to obtain multiple target embedding vectors;
[0048] (4) Input multiple target embedding vectors into the self-attention layer to perform data point dependency analysis to obtain multiple self-attention enhancement vectors;
[0049] (5) Input multiple self-attention enhancement vectors into the multi-head attention mechanism for vector splicing and linear transformation to obtain the attention splicing vector;
[0050] (6) Input the attention concatenation vector into the feedforward network for high-dimensional feature mapping to obtain the target high-dimensional feature vector;
[0051] (7) The target high-dimensional feature vector is input into the multi-task output layer, and the charging demand time distribution of the target high-dimensional feature vector is predicted through the first fully connected layer in the multi-task output layer to obtain the charging demand time distribution data, and the charging demand scale is predicted through the second fully connected layer in the multi-task output layer to obtain the charging demand scale data.
[0052] Specifically, the multi-dimensional status data of charging stations, power grids and charging piles are input into the input layer of the model. The data is encoded according to the preset length and converted into a series of data encoding vectors, and the original data is preliminarily digitized and standardized for subsequent deep learning processing. The data encoding vector is input into the embedding layer, and the encoding vector is converted into a target embedding vector. By learning the deep features in the data, the data encoding vector is mapped into a high-dimensional space to obtain a richer vector representation. For example, for the usage data of charging piles, the embedding layer can help the model learn the deep connection between different charging pile usage patterns. The model inputs the target embedding vector into the self-attention layer. In the self-attention layer, by analyzing the dependencies between data points, the model can learn which data points are more important to the prediction results, generate self-attention enhancement vectors, so that the model can automatically focus on more important features when processing data, and improve the accuracy of prediction. For example, through the self-attention mechanism, the model may identify a pattern in which the charging demand of some charging stations increases significantly under certain weather conditions. The model processes the self-attention enhancement vector through a multi-head attention mechanism. The multi-head attention mechanism can learn information from different subspaces at the same time, and obtain a more comprehensive data representation - the attention splicing vector through vector splicing and linear transformation. The self-attention mechanism enhances the model's ability to capture data features by paying attention to different parts of the data in parallel. The attention splicing vector is input into the feedforward network for high-dimensional feature mapping, and the feature representation is refined and optimized to obtain the target high-dimensional feature vector. The target high-dimensional feature vector is input into the multi-task output layer, which predicts the time distribution and scale of charging demand through two fully connected layers respectively. The first fully connected layer focuses on predicting the time distribution of charging demand, for example, predicting the peak charging demand period every day in the next week; while the second fully connected layer focuses on predicting the scale of charging demand, for example, the total charging amount that needs to be met during the peak demand period. In this way, the model can not only accurately predict the time distribution of charging demand, but also predict the scale of charging demand in different time periods, ensuring that charging resources can be efficiently allocated according to actual needs and achieving cost optimization.
[0053] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0054] (1) Extracting time distribution features from the charging demand time distribution data to obtain multiple time distribution feature segments, and extracting scale features from the charging demand scale data to obtain multiple scale feature segments;
[0055] (2) Define multiple decision stages based on multiple time distribution feature segments and multiple scale feature segments, and identify random events in each decision stage;
[0056] (3) Based on multiple decision stages and random events, a time tree is constructed. Each node in the time tree represents a decision point, and each branch represents the occurrence of a random event.
[0057] (4) Calculate the probability distribution of random events and construct an initial stochastic programming model based on the probability distribution and time tree;
[0058] (5) Based on the charging demand time distribution data and the charging demand scale data, the decision variables of the initial stochastic programming model are defined, and multiple constraints of the initial stochastic programming model are set. The multiple constraints include: the physical capacity constraint of the charging station, the power supply capacity constraint of the power grid, and the charging demand satisfaction constraint;
[0059] (6) The initial stochastic programming model is recursively optimized according to the decision variables and multiple constraints to obtain a multi-level stochastic programming model.
[0060] Specifically, the time distribution feature of the charging demand time distribution data is extracted to identify the changing rules of the charging demand in different time periods of a day, and multiple time distribution feature segments are obtained. Similarly, the scale feature of the charging demand scale data is extracted, including identifying the total amount of charging demand in different time periods, and multiple scale feature segments are obtained. Based on the time distribution feature segments and scale feature segments, multiple decision stages are defined. Each decision stage is associated with multiple possible random events, such as sudden large-scale power supply interruptions or surges in charging demand caused by certain special holidays. A time tree is constructed based on decision stages and random events. In the time tree, each node represents a specific decision point, and each branch represents a possible path taken from the current decision point to a specific random event. The probability distribution of random events is calculated, and an initial random programming model is constructed based on this. The model takes into account the uncertainty of charging demand and the flexibility of charging resource allocation. Decision variables are defined in the model, including the charging amount allocation and charging time arrangement of the charging station, and multiple constraints are set. These constraints include the physical capacity of the charging station, the power supply capacity of the power grid, and the charging demand that must be met. The initial stochastic programming model is recursively optimized, and the decision variables are constantly adjusted during this process to find the optimal solution that meets all constraints. In each round of optimization, the costs and benefits of different decision options are evaluated according to the current state of the model, and adjustments are made. The recursive optimization process will continue until a charging scheduling scheme that can meet all charging needs and minimize the total cost is found. For example, suppose a charging management platform faces a sharp increase in charging demand during the morning peak period. The platform can identify this time distribution feature segment in advance and predict the corresponding charging demand scale. A time tree is constructed based on random events (such as weather changes) that may affect the allocation of charging resources during this period, and the probability distribution of these events is calculated. Through recursive optimization of the initial stochastic programming model, a charging scheduling scheme that can effectively cope with the morning peak charging demand while taking into account the grid load and cost minimization is finally obtained.
[0061] In a specific embodiment, the execution step recursively optimizes the initial stochastic programming model according to the decision variables and multiple constraints to obtain a multi-level stochastic programming model, which may specifically include the following steps:
[0062] (1) Parameterize the decision variables and multiple constraints to obtain the initial model parameter set, and construct an objective function to minimize the charging cost. The objective function includes: , represents the objective function, Represents the time index, is the total time period of the investigation, Indicates the charging station index, is the total number of charging stations, Indicates at time Charging Station The charging power, Respectively indicate the adjustment time The impact of electricity prices, basic charging costs and the coefficient of charging power cost growth, A nonlinear influence index representing the sum of charging powers;
[0063] (2) Update the model parameters of the initial stochastic programming model through the initial model parameter set to obtain an updated stochastic programming model;
[0064] (3) Generate scenarios for updating the stochastic programming model based on the probability distribution of random events to obtain multiple objective optimization scenarios;
[0065] (4) Expand the time tree for each target optimization scenario, and recursively optimize each node from the end of the time tree using a recursive optimization algorithm to generate a set of target model parameters;
[0066] (5) The updated stochastic programming model is optimized according to the target model parameter set to obtain a multi-level stochastic programming model.
[0067] Specifically, the decision variables and constraints are parameterized, and the charging demand and its cost factors are abstracted into a mathematical model to ensure that the model is easy to calculate and optimize. At the same time, an objective function with the goal of minimizing the charging cost is constructed, which comprehensively considers the changes in electricity prices in different time periods, the basic charging cost, and the cost that increases with the increase in charging power. The model parameters are updated based on the initial model parameter set to reflect the latest power grid status, charging station operation status and charging demand forecast. The parameter update is based on the analysis of past data and the prediction of future trends, making the model closer to the actual situation, improving the accuracy of prediction and the effectiveness of optimization. Considering the uncertainty of charging demand and power grid supply, multiple target optimization scenarios are generated based on the probability distribution of random events. These scenarios cover various possible situations, such as unstable power supply of the power grid and surge in charging demand caused by emergencies. The time tree is expanded for each target optimization scenario, and a recursive optimization algorithm is used to optimize each node from the end of the time tree to ensure that the lowest cost choice can be made at each decision point. In this way, the optimal solution can be found in a single scenario, and the best decision path in different scenarios can also be considered. The updated stochastic programming model is optimized according to the target model parameter set to obtain a multi-level stochastic programming model. The model can dynamically adjust the charging strategy to cope with different operating and market conditions, while meeting all charging needs and minimizing the charging cost. For example, consider a charging station that increases the charging amount when the electricity price is lower at night and reduces the charging amount when the electricity price is higher during the day. Through the recursive optimization of the model, the optimal charging period distribution and the charging power setting for the corresponding period are identified. At the same time, considering that high temperatures in summer may lead to a decrease in charging efficiency, the model calculates the optimal charging strategy under different temperature conditions to ensure that the charging cost can remain at a minimum under the influence of these random factors.
[0068] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0069] (1) Initialize the search space of the multi-level stochastic programming model based on the branch and bound strategy to obtain the initial search space;
[0070] (2) Based on the initial search space, the Pontryagin maximum principle and interior point method are used to perform nonlinear control optimization and search space reduction on each decision point in the multi-level stochastic programming model to obtain the target search space, where the search space state representation and update formula are: , represents the search space of the next stage, s represents the current state or solution, Indicates from the state Execute an action The cost, Indicates in status The next possible Actions, Indicates status The heuristic cost estimate to the target state, B represents the cost boundary of the currently known optimal solution, Represents the tolerance parameter used to control the search accuracy. Represents the union operator of sets;
[0071] (3) Iteratively solving the multi-level stochastic programming model based on the target search space, wherein each iteration optimizes the function value of the objective function and updates the feasible solution set;
[0072] (4) Optimize the feasible solution set and obtain the initial charging scheduling plan.
[0073] Specifically, the search space of the multi-level stochastic programming model is initialized based on the branch and bound strategy, the initial decision variable range and constraints are defined, and an initial solution space is determined. The initial search space provides a starting point for the model to ensure the pertinence and efficiency of the optimization process. The Pontryagin maximum principle and the interior point method are used to optimize the nonlinear control and reduce the search space for each decision point in the model. As a tool for optimizing random dynamic systems, the Pontryagin maximum principle can determine the optimal control strategy; while the interior point rule provides an algorithmic framework for solving nonlinear optimization problems in the model. By combining these two methods, the decision variables are adjusted in order to minimize the charging cost on the basis of satisfying all constraints. In this process, the representation and update formula of the search space state provides a method to measure the cost of different decision-making schemes, and by introducing heuristic cost estimation and tolerance parameters, the search process is made more flexible and efficient. The multi-level stochastic programming model is iteratively solved based on the target search space. In each round of iteration, the function value of the objective function is optimized, and the feasible solution set is updated according to the new optimization results. The iterative process is dynamic and can gradually narrow the search range and approach the optimal solution. The key to the iterative process is how to effectively reduce the total cost while ensuring the feasibility of the solution (meeting all constraints). For example, when considering the physical capacity constraints of the charging station, it is necessary to ensure that the charging demand at any time does not exceed the maximum power supply capacity of the charging station; at the same time, under the power supply capacity constraints of the power grid, the real-time power supply status of the power grid must also be considered to avoid increasing the charging load during the peak load period of the power grid. By optimizing the feasible solution set, the initial charging scheduling scheme is obtained. This scheme takes into account the time distribution and scale of charging demand while minimizing the charging cost.
[0074] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0075] (1) Identify the load of the target charging station according to the initial charging scheduling plan to obtain the peak load period and the valley load period;
[0076] (2) Using a load shifting algorithm, the potential cost savings of shifting charging loads at different times are calculated based on peak load periods and low load periods.
[0077] (3) initializing a plurality of first load transfer strategies of the target charging station according to potential cost savings, and selecting a second load transfer strategy that maximizes cost savings from the plurality of first load transfer strategies;
[0078] (4) According to the second load transfer strategy, the charging cost of the initial charging scheduling plan of the target charging station is optimized to obtain the target charging scheduling plan.
[0079] Specifically, the load of the target charging station is identified according to the initial charging scheduling plan to obtain the peak load period and the valley load period. The potential cost savings of transferring the charging load in different time periods are evaluated by the load transfer algorithm. The algorithm calculates the savings that can be brought by transferring part of the charging demand from the peak period to the valley period based on factors such as electricity price changes, charging demand elasticity, and the operating cost of the charging station. For example, by advancing the charging capacity of the low-price period at night to the peak period during the day, the charging station can use the low-cost electricity at night, thereby reducing the overall charging cost. Initialize multiple first load transfer strategies for the target charging station based on potential cost savings. These strategies may include adjusting the output power of the charging pile, changing the operating time of the charging pile, or using an energy storage system to store energy during the valley period for use during the peak period. By evaluating the cost saving potential of the first load transfer strategy, a second load transfer strategy with maximum cost savings is selected. According to the second load transfer strategy with maximum cost savings, the charging cost of the initial charging scheduling plan of the target charging station is optimized to obtain the target charging scheduling plan. The charging scheduling plan is fully adjusted, including modifying the charging schedule, optimizing the charging power distribution, and possibly adjusting the energy supply strategy of the charging station.
[0080] The above describes the data processing method of the charging management platform in the embodiment of the present application. The following describes the data processing system of the charging management platform in the embodiment of the present application. Figure 2 , an embodiment of the data processing system of the charging management platform in the embodiment of the present application includes:
[0081] An acquisition module 201 is used to acquire multi-dimensional status data of a target charging station from a charging management platform, where the multi-dimensional status data includes charging station status data, power grid status data, and charging pile usage data;
[0082] Prediction module 202, used to predict the charging demand of the target charging station according to the multi-dimensional status data, and obtain the charging demand time distribution data and the charging demand scale data;
[0083] Establishing module 203, for establishing a multi-level stochastic programming model according to the charging demand time distribution data and the charging demand scale data;
[0084] A solution module 204 is used to solve the multi-level stochastic programming model based on the branch and bound strategy, the Pontryagin maximum principle and the interior point method to obtain an initial charging scheduling plan;
[0085] The optimization module 205 is used to perform load transfer analysis and charging cost optimization on the target charging station according to the initial charging scheduling plan to obtain a target charging scheduling plan.
[0086] Through the collaborative cooperation of the above components, the multi-dimensional status data of the charging station, including the status of the charging station, the status of the power grid, and the usage data of the charging pile, is obtained, and data cleaning, scale normalization, and time series correlation synchronization are performed to effectively integrate data from different sources. This efficient data integration and processing capability enables the charging management platform to make decisions based on an accurate understanding of the operating status of the charging station, thereby improving the accuracy and response speed of charging scheduling. Through the charging demand influencing factor model, including the self-attention layer and the multi-head attention mechanism, the multi-dimensional status data is deeply analyzed, and the method can accurately predict the time distribution and scale of charging demand. This not only helps to optimize the allocation of charging resources, reduce charging congestion and waiting time, but also better adapt to the changes in user charging demand and improve user satisfaction. By establishing and solving a multi-level stochastic programming model, the method can formulate the optimal charging scheduling plan based on the uncertainty of charging demand and the volatility of power grid supply. Combined with load transfer analysis and charging cost optimization, the platform can effectively reduce the charging operation cost while ensuring that the charging demand is met, thereby realizing intelligent charging scheduling analysis and improving the efficiency and accuracy of charging scheduling.
[0087] The present application also provides a data processing device for a charging management platform, the data processing device for the charging management platform comprising a memory and a processor, the memory storing computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the data processing method for the charging management platform in the above-mentioned embodiments.
[0088] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the data processing method of the charging management platform.
[0089] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0090] If the integrated 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 technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0091] As described above, 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. However, 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.
Claims
1. A data processing method for a charging management platform, characterized in that: The data processing method of the charging management platform includes: Acquire multi-dimensional status data of the target charging station from the charging management platform, wherein the multi-dimensional status data includes charging station status data, power grid status data, and charging pile usage data; Predicting charging demand for the target charging station according to the multi-dimensional status data to obtain charging demand time distribution data and charging demand scale data; A multi-level random programming model is established according to the charging demand time distribution data and the charging demand scale data; specifically comprising: extracting time distribution features from the charging demand time distribution data to obtain multiple time distribution feature segments, and extracting scale features from the charging demand scale data to obtain multiple scale feature segments; defining multiple decision stages according to the multiple time distribution feature segments and the multiple scale feature segments, and identifying random events in each decision stage; constructing a time tree according to the multiple decision stages and the random events, wherein each node in the time tree represents a decision point, and each branch represents the occurrence of a random event; calculating the probability distribution of the random events, and constructing an initial random programming model according to the probability distribution and the time tree; defining decision variables of the initial random programming model based on the charging demand time distribution data and the charging demand scale data, and setting multiple constraints of the initial random programming model, wherein the multiple constraints include: physical capacity constraints of charging stations, power supply capacity constraints of power grids, and charging demand satisfaction constraints; performing model parameterization processing on the decision variables and the multiple constraints to obtain an initial model parameter set, and constructing an objective function with the goal of minimizing charging costs, wherein the objective function includes: , represents the objective function, Represents the time index, is the total time period of the investigation, Indicates the charging station index, is the total number of charging stations, Indicates at time Charging Station The charging power, Respectively indicate the adjustment time The impact of electricity prices, basic charging costs and the coefficient of charging power cost growth, A nonlinear influence index representing the sum of charging powers; updating the model parameters of the initial stochastic programming model by using the initial model parameter set to obtain an updated stochastic programming model; generating scenarios for the updated stochastic programming model based on the probability distribution of the random events to obtain multiple target optimization scenarios; performing time tree expansion on each target optimization scenario respectively, and recursively optimizing each node from the end of the time tree by using a recursive optimization algorithm to generate a target model parameter set; performing model optimization on the updated stochastic programming model according to the target model parameter set to obtain a multi-level stochastic programming model; The multi-level stochastic programming model is solved based on the branch and bound strategy, the Pontryagin maximum principle and the interior point method to obtain an initial charging scheduling plan; According to the initial charging scheduling plan, load transfer analysis and charging cost optimization are performed on the target charging station to obtain a target charging scheduling plan.
2. The data processing method of the charging management platform according to claim 1, characterized in that: The multi-dimensional status data of the target charging station is obtained from the charging management platform, and the multi-dimensional status data includes charging station status data, power grid status data and charging pile usage data, including: Acquire initial status data of a target charging station in multiple different dimensions from a charging management platform, where the multiple different dimensions include a charging station, a power grid, and a charging pile; Performing data cleaning on the initial state data of the multiple different dimensions to obtain multiple standard state data; Normalizing the multiple standard status data to obtain charging station status data, power grid status data, and charging pile usage data; The charging station status data, the power grid status data and the charging pile usage data are synchronized in time series to obtain multi-dimensional status data of the target charging station.
3. The data processing method of the charging management platform according to claim 2, characterized in that: The method of predicting the charging demand of the target charging station according to the multi-dimensional status data to obtain the charging demand time distribution data and the charging demand scale data includes: Inputting the multi-dimensional state data into a preset charging demand influencing factor model, wherein the charging demand influencing factor model includes: an input layer, an embedding layer, a self-attention layer, a multi-head attention mechanism, a feedforward network, and a multi-task output layer; Inputting the multi-dimensional state data into the input layer, and performing data encoding on the multi-dimensional state data in the input layer according to a preset length to obtain a plurality of data encoding vectors; Inputting the multiple data encoding vectors into the embedding layer, performing vector conversion on the multiple data encoding vectors through the embedding layer to obtain multiple target embedding vectors; Inputting the multiple target embedding vectors into the self-attention layer to perform data point dependency analysis to obtain multiple self-attention enhancement vectors; Inputting the multiple self-attention enhancement vectors into the multi-head attention mechanism for vector splicing and linear transformation to obtain an attention splicing vector; Inputting the attention concatenated vector into the feedforward network for high-dimensional feature mapping to obtain a target high-dimensional feature vector; The target high-dimensional feature vector is input into the multi-task output layer, and the charging demand time distribution of the target high-dimensional feature vector is predicted through the first fully connected layer in the multi-task output layer to obtain the charging demand time distribution data, and the charging demand scale is predicted through the second fully connected layer in the multi-task output layer to obtain the charging demand scale data.
4. The data processing method of the charging management platform according to claim 1, characterized in that: The multi-level stochastic programming model is solved based on the branch and bound strategy, the Pontryagin maximum principle and the interior point method to obtain an initial charging scheduling plan, including: Initializing the search space of the multi-level stochastic programming model based on a branch and bound strategy to obtain an initial search space; Based on the initial search space, the Pontryagin maximum principle and the interior point method are used to perform nonlinear control optimization and search space reduction on each decision point in the multi-level stochastic programming model to obtain the target search space, wherein the search space state representation and update formula are: , represents the search space of the next stage, s represents the current state or solution, Indicates from the state Execute an action The cost, Indicates in status The next possible Actions, Indicates status The heuristic cost estimate to the target state, B represents the cost boundary of the currently known optimal solution, Represents the tolerance parameter used to control the search accuracy. Represents the union operator of sets; Iteratively solving the multi-level stochastic programming model based on the target search space, wherein each iteration optimizes the function value of the target function and updates a set of feasible solutions; The feasible solution set is optimized to obtain an initial charging scheduling plan.
5. The data processing method of the charging management platform according to claim 1, characterized in that: The performing load transfer analysis and charging cost optimization on the target charging station according to the initial charging scheduling plan to obtain a target charging scheduling plan includes: According to the initial charging scheduling scheme, load identification is performed on the target charging station to obtain a load peak period and a load valley period; By means of a load transfer algorithm, the potential cost savings of transferring charging loads at different time periods are calculated according to the load peak time period and the load valley time period; initializing a plurality of first load transfer strategies for the target charging station based on the potential cost savings, and selecting a second load transfer strategy that maximizes cost savings from the plurality of first load transfer strategies; The charging cost of the initial charging scheduling plan of the target charging station is optimized according to the second load transfer strategy to obtain a target charging scheduling plan.
6. A data processing system for a charging management platform, characterized in that: The data processing system of the charging management platform includes: An acquisition module, used to acquire multi-dimensional status data of a target charging station from a charging management platform, wherein the multi-dimensional status data includes charging station status data, power grid status data, and charging pile usage data; A prediction module, configured to predict charging demand of the target charging station according to the multi-dimensional status data, and obtain charging demand time distribution data and charging demand scale data; Establish a module, which is used to establish a multi-level random programming model according to the charging demand time distribution data and the charging demand scale data; specifically includes: extracting the time distribution characteristics of the charging demand time distribution data to obtain multiple time distribution characteristic segments, and extracting the scale characteristics of the charging demand scale data to obtain multiple scale characteristic segments; defining multiple decision stages according to the multiple time distribution characteristic segments and the multiple scale characteristic segments, and identifying random events in each decision stage; constructing a time tree according to the multiple decision stages and the random events, each node in the time tree represents a decision point, and each branch represents a random event occurrence; calculating the probability distribution of the random events, and constructing an initial random programming model according to the probability distribution and the time tree; defining the decision variables of the initial random programming model based on the charging demand time distribution data and the charging demand scale data, and setting multiple constraints of the initial random programming model, the multiple constraints include: physical capacity constraints of charging stations, power supply capacity constraints of power grids, and charging demand satisfaction constraints; performing model parameterization processing on the decision variables and the multiple constraints to obtain an initial model parameter set, and constructing an objective function with the goal of minimizing charging costs, the objective function includes: , represents the objective function, Represents the time index, is the total time period of the investigation, Indicates the charging station index, is the total number of charging stations, Indicates at time Charging Station The charging power, Respectively indicate the adjustment time The impact of electricity prices, basic charging costs and the coefficient of charging power cost growth, A nonlinear influence index representing the sum of charging powers; updating the model parameters of the initial stochastic programming model by using the initial model parameter set to obtain an updated stochastic programming model; generating scenarios for the updated stochastic programming model based on the probability distribution of the random events to obtain multiple target optimization scenarios; performing time tree expansion on each target optimization scenario respectively, and recursively optimizing each node from the end of the time tree by using a recursive optimization algorithm to generate a target model parameter set; performing model optimization on the updated stochastic programming model according to the target model parameter set to obtain a multi-level stochastic programming model; A solution module, used for solving the multi-level stochastic programming model based on a branch and bound strategy, Pontryagin's maximum principle and an interior point method to obtain an initial charging scheduling plan; The optimization module is used to perform load transfer analysis and charging cost optimization on the target charging station according to the initial charging scheduling plan to obtain a target charging scheduling plan.
7. A data processing device for a charging management platform, characterized in that: The data processing device of the charging management platform includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory so that the data processing device of the charging management platform executes the data processing method of the charging management platform according to any one of claims 1-5.
8. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the data processing method of the charging management platform according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Electric vehicle charging scheduling and charging station configuration joint optimization method considering charging randomness
CN116579475A
Electric vehicle charging scheduling method and system based on cloud-edge collaboration
US20220024338A1
