Electric vehicle charging and discharging price decision method and device
By constructing a three-layer collaborative optimization model and decomposing and coordinating iterative solutions, the problems of multi-stakeholder interest conflicts and user uncertainty in electric vehicle charging and discharging pricing decisions were solved, realizing intelligent pricing decisions and improving user travel reliability and the feasibility of aggregated capacity.
Patent Information
- Application Number
- CN202611211483.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-11-20
AI Technical Summary
Existing pricing methods for electric vehicle charging and discharging fail to effectively coordinate the conflict of interests among power grid operators, aggregators, and users, and do not fully consider the uncertainty of user travel, resulting in the inability to implement reported capacity and insufficient user participation.
A three-layer collaborative optimization model is constructed, including the distribution network operator layer, the vehicle aggregator layer, and the vehicle user layer. The model is solved through decomposition, coordination, and iteration. Combined with the state-of-charge penalty term and the intersection of multiple scenario envelopes, dynamic response and robust aggregation are achieved.
It has improved the intelligence level of electric vehicle charging and discharging price decision-making, ensured the reliability of user travel and the feasibility of aggregated capacity, and achieved the coordination of the interests of multiple stakeholders and the enthusiasm of user participation.
Smart Images

Figure CN123140992A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charging infrastructure optimization, and to a method and apparatus for determining the charging and discharging prices of electric vehicles. Background Technology
[0002] With the explosive growth of the electric vehicle industry, charging load continues to climb. Electric vehicles possess the dual attributes of flexible load and mobile energy storage, exacerbating the pressure on the power system's supply-demand balance while also providing crucial flexibility resources. However, optimizing electric vehicle charging and discharging is not a single-entity decision-making problem, but involves multi-level interactions among distribution network operators, electric vehicle aggregators, and end users. Furthermore, it involves multiple heterogeneous behavioral patterns such as delayed charging, flexible charging, and V2G (vehicle-to-grid) communication, with varying interests among stakeholders. Without a reasonable coordination mechanism, conflicts can easily arise between system regulation needs, aggregator revenue, and user travel reliability.
[0003] In existing technologies, scholars both domestically and internationally have conducted in-depth research on price optimization and interactive response under multi-stakeholder collaboration. Currently, commonly used technical solutions mainly fall into two categories: First, electric vehicle schedulable capacity assessment methods based on individual behavior modeling and aggregation extrapolation. This approach first models the behavior of users based on uncertain factors such as travel habits and travel demands, classifying interactive modes into three categories: delayed charging, flexible charging, and V2G interaction. It then constructs a set of individual SOC trajectories and quantifies and extrapolates the schedulable boundary of the entire cluster through Monte Carlo random sampling or superposition summation. Second, electric vehicle charging and discharging scheduling strategies based on electricity price game theory and single / dual-layer collaboration. This approach guides user charging and discharging behavior through time-of-use pricing or economic incentives. Based on this, game theory is introduced, treating grid operators, microgrids, and aggregators as stakeholders at different levels. A Stackelberg game-based upper and lower-layer collaborative scheduling model is established to achieve multi-stakeholder interest equilibrium.
[0004] However, the aforementioned existing technologies have the following shortcomings: Firstly, existing single-unit modeling methods often rely primarily on statistical probability or macroscopic paths, failing to fully consider the rigid constraints of SOC (State of Charge) such as a user's fixed commuting time window and minimum departure charge, leading to significant deviations between the fitted charging / discharging model and actual travel behavior. Furthermore, these solutions simply sum the adjustable capabilities of individual units or perform a static aggregation based solely on a baseline scenario. If user arrival delays, early departures, or initial SOC fluctuations occur during actual operation, the reported capacity cannot be fulfilled, and the aggregator cannot guarantee the traceability of the aggregation results at the single-vehicle execution layer. Secondly, the objective functions of existing lower-level user response models generally only focus on charging / discharging economics, lacking a subjective penalty mechanism for the risk of range anxiety due to insufficient SOC preventing users from completing basic travel tasks, severely weakening users' enthusiasm for participating in scheduling. Meanwhile, although some solutions construct two- or multi-layer game theory, there is a lack of direct closed-loop feedback mechanism between each layer. Existing solutions do not consider the robustness and feasibility of aggregators' reported capacity when setting retail electricity prices and discharge compensation in the face of uncertainties in the access of various users. They cannot guarantee that subsidy and pricing strategies can both incentivize users and ensure that the aggregation and scheduling strategies are truly executable in various scenarios.
[0005] Therefore, there is an urgent need for an intelligent charging and discharging price decision-making method that can take into account the coupled perspectives of distribution network operators, aggregators, and users, and achieve multi-stakeholder interest coordination, dynamic response to heterogeneous user behavior and travel uncertainty, and take into account both user travel reliability and the feasibility of aggregating capacity through three-layer collaborative optimization and robust aggregation technology. Summary of the Invention
[0006] In view of the above problems, the present invention is proposed to provide a method and apparatus for determining the charging and discharging price of electric vehicles that overcomes or at least partially solves the above problems.
[0007] According to one aspect of the present invention, a method for determining the charging and discharging price of electric vehicles is provided, executed in a computing device. The method includes: determining a set of state-of-charge trajectories for each vehicle under the corresponding charging and discharging mode in the current scheduling cycle based on user travel parameters and vehicle battery parameters, wherein the charging and discharging modes include at least a delayed charging mode, a flexible charging mode, and a V2G bidirectional interaction mode; obtaining a cluster aggregation feasible region for vehicle aggregators by performing aggregation calculations on each set of state-of-charge trajectories; constructing a three-layer collaborative optimization model including a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer, based at least on the cluster aggregation feasible region and each set of state-of-charge trajectories; and solving the three-layer collaborative optimization model using a decomposition, coordination, and iteration method to obtain the final charging and discharging price decision.
[0008] Optionally, in the method according to the present invention, at least based on the cluster aggregation feasible region and the set of each state-of-charge trajectory, a three-layer collaborative optimization model including a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer is constructed. This includes: constructing an upper-layer optimization model for the distribution network operator layer with the objective function of minimizing the peak-to-valley difference of the system net load and with constraints of the upper limit of subsidy intensity and the total subsidy budget, to determine the subsidy signal issued to the vehicle aggregator layer; constructing a middle-layer optimization model for the vehicle aggregator layer with the objective function of maximizing operating revenue and with constraints of retail electricity price, discharge compensation, and the intersection of multiple scenarios within the cluster aggregation feasible region, to determine the retail electricity price and discharge compensation issued to the vehicle user layer based on the subsidy signal; and constructing a lower-layer optimization model for the vehicle user layer with the objective function of minimizing the comprehensive energy cost including the state-of-charge gap penalty term and with constraints of the set of state-of-charge trajectories, to respond to the retail electricity price and discharge compensation and make charging and discharging decisions.
[0009] Optionally, in the method according to the present invention, determining the set of state-of-charge trajectories for each vehicle under the corresponding charging and discharging mode within the current scheduling period based on the user's travel parameters and vehicle battery parameters includes: determining the access time window and departure time window for each vehicle within the current scheduling period based on the travel parameters; determining the battery capacity, maximum charging and discharging power, and charging and discharging efficiency of each vehicle based on the battery parameters; and constructing a dynamic equation for the state of charge based on the access time window, departure time window, battery capacity, maximum charging and discharging power, and charging and discharging efficiency. The dynamic equation for the state of charge is used to characterize the state of charge of the vehicle between the access time window and the departure time window. The system analyzes the changes in vehicle charging and discharging power and time; it sets safety boundaries to limit the vehicle's state of charge (SBC) from exceeding a preset range within the current scheduling period, and sets mutual exclusion constraints for charging and discharging that restrict a vehicle to only be in either charging or discharging state at the same time using binary variables; it uses the SBC dynamic equation, safety boundaries, and mutual exclusion constraints as unified physical constraints for each vehicle; it updates the unified physical constraints to differentiated physical constraints corresponding to each charging and discharging mode based on the charging and discharging mode of each vehicle; and it uses the differentiated physical constraints as the solution boundary to obtain the set of SBC trajectories for each vehicle within the current scheduling period.
[0010] Optionally, in the method according to the present invention, the unified physical constraints are updated to differentiated physical constraints corresponding to the charging and discharging modes of each vehicle, including: for the delayed charging mode, the differentiated physical constraints include the charging power being fixed at the rated power and shifted with the charging start time as a binary decision variable, and discharging is prohibited; for the flexible charging mode, the differentiated physical constraints include the charging power being continuously adjustable within a preset range, and discharging is prohibited; for the V2G bidirectional interaction mode, the differentiated physical constraints include allowing bidirectional charging and discharging, and a minimum state of charge constraint value for discharging is set.
[0011] Optionally, in the method according to the present invention, a decomposition-coordination-iteration approach is adopted to solve the three-layer collaborative optimization model, including: in the current iteration, using the retail electricity price and discharge compensation output in the previous iteration as input, and the set of state-of-charge trajectories as constraints, solving the charging and discharging response of the vehicle user layer to obtain the actual charging and discharging power of each vehicle; based on each actual charging and discharging power and the cluster aggregation feasible region, solving the retail electricity price, discharge compensation, and reported adjustable capacity of the vehicle aggregator layer; performing a de-aggregation check on the reported adjustable capacity, and determining whether the preset convergence condition is met when the check result indicates that the check has passed; if it is met, the final charging and discharging price decision is output; if the preset convergence condition is not met, the distribution network operator layer updates the subsidy signal issued to the vehicle aggregator layer according to the actual charging and discharging power, and uses the updated subsidy signal as the input of the vehicle aggregator layer in the next iteration, and uses the solved retail electricity price and discharge compensation as the input of the vehicle user layer in the next iteration, and continues to execute the next iteration.
[0012] Optionally, in the method according to the present invention, a decoupling test is performed on the reported adjustable capacity, including: checking whether there is a feasible solution that satisfies the single-vehicle behavior constraints for the aggregated power boundary corresponding to the reported adjustable capacity under a given candidate uncertainty scenario. The feasible solution represents a feasible combination of the charging and discharging power variables and the state of charge variables of each vehicle unit under the candidate uncertainty scenario, and the feasible combination must simultaneously satisfy the aggregated power summation constraint and the state of charge trajectory set constraint of each vehicle unit itself; if there is a feasible solution for the reported adjustable capacity under each candidate uncertainty scenario, the decoupling test is determined to pass; if there is no feasible solution for the reported adjustable capacity under any candidate uncertainty scenario, the decoupling test is determined to fail.
[0013] Optionally, in the method according to the present invention, when the disaggregability test fails, the method further includes: marking the candidate uncertain scenario as an infeasible scenario and adding it to the active scenario set; taking the intersection of the cluster aggregation feasible domains corresponding to each candidate uncertain scenario in the active scenario set as a new constraint, and re-executing the steps of solving the retail electricity price, discharge compensation and reported adjustable capacity of the vehicle aggregation business layer based on each actual charging and discharging power and the cluster aggregation feasible domain, so as to redetermine the reported adjustable capacity based on the updated active scenario set.
[0014] Optionally, in the method according to the invention, the candidate uncertainty scenarios include at least one or more of the following types: vehicle arrival delay, vehicle early departure, and initial state of charge deviation when the vehicle connects.
[0015] Optionally, in the method according to the present invention, the preset convergence conditions include: the change in the peak-to-valley difference of the system net load is less than a first preset threshold; the change in the operating revenue of the vehicle aggregation layer is less than a second preset threshold; and the change in the subsidy signal is less than a third preset threshold.
[0016] Optionally, in the method according to the present invention, the distribution network operator layer updates the subsidy signal issued to the vehicle aggregator layer based on the actual charging and discharging power, including: calculating the normalized load deviation of the system net load; multiplying the normalized load deviation by a preset step size to obtain the subsidy signal update amount; superimposing the subsidy signal update amount onto the subsidy signal in the current iteration round to obtain a candidate subsidy signal; projecting the candidate subsidy signal onto a preset subsidy intensity range, and truncating the portion exceeding the preset subsidy intensity range to obtain a range-corrected subsidy signal; calculating the expected subsidy expenditure corresponding to the range-corrected subsidy signal, and when the expected subsidy expenditure is greater than the preset total subsidy budget, scaling the range-corrected subsidy signal proportionally according to the budget ratio to obtain the final updated subsidy signal.
[0017] According to another aspect of the present invention, an electric vehicle charging and discharging price decision device is provided, which resides in a computing device and is executed thereon. The device includes: a determination module, adapted to determine a set of state-of-charge trajectories for each vehicle in the current scheduling cycle under the corresponding charging and discharging modes based on user travel parameters and vehicle battery parameters, wherein the charging and discharging modes include at least a delayed charging mode, a flexible charging mode, and a V2G bidirectional interaction mode; a calculation module, adapted to obtain a cluster aggregation feasible region for vehicle aggregators by performing aggregation calculations on each set of state-of-charge trajectories; a construction module, adapted to construct a three-layer collaborative optimization model including a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer, based at least on the cluster aggregation feasible region and each set of state-of-charge trajectories; and a solution module, adapted to solve the three-layer collaborative optimization model using a decomposition, coordination, and iteration method to obtain the final charging and discharging price decision.
[0018] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0019] Existing pricing methods for electric vehicle charging and discharging mainly rely on single-layer or two-layer optimization models and static aggregation methods, which have the following drawbacks: First, they do not fully consider the multi-level conflicts of interest and game relationships among distribution network operators, electric vehicle aggregators, and electric vehicle users, leading to overall efficiency losses due to unilateral optimization. Second, they often assume that vehicle travel behavior and access status are fixed or follow a deterministic distribution, resulting in insufficient response to uncertainties such as arrival delays, early departures, and initial SOC deviations in actual operation. Third, they focus primarily on macro-scheduling strategies and fail to coordinate the optimization of dynamic pricing strategies with the feasibility of aggregated capacity, leading to overestimation of reported capacity and its inability to be implemented. Fourth, they lack a coordinated trade-off mechanism between user range anxiety and electricity economy, resulting in the sacrifice of user travel reliability in pursuit of peak shaving effects.
[0020] This disclosed solution constructs a three-layer collaborative optimization model comprising a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer. This model characterizes the hierarchical decision-making relationships and interest coupling mechanisms among the three parties, avoiding overall efficiency losses caused by unilateral optimization. By constructing a robust aggregation mechanism based on multi-scenario envelope intersection and unaggregation verification, it effectively addresses vehicle travel uncertainty, ensuring the feasibility of reported capacity under any candidate uncertainty scenario. Furthermore, by introducing a state-of-charge (SOC) gap penalty term, it quantifies users' subjective mileage anxiety as part of the overall energy cost, reducing user energy costs while ensuring off-site SOC requirements, thus providing a synergistic trade-off between operational revenue and user travel reliability. The entire method, from user physical parameter modeling to three-layer game optimization and robust iterative solution, is automatically completed in the computing device, improving the intelligence level, collaborative efficiency, and user participation in electric vehicle charging and discharging price decisions.
[0021] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0022] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0023] Figure 1 A block diagram of the physical components (i.e., hardware) of the computing device 100 is shown;
[0024] Figure 2A flowchart of an electric vehicle charging and discharging price decision method 200 according to an embodiment of the present invention is shown;
[0025] Figure 3 A schematic diagram of a three-tiered collaborative interaction framework of power distribution network operator, vehicle aggregator, and vehicle user according to an embodiment of the present invention is shown.
[0026] Figure 4 A comparison chart of system net load and robust aggregation range according to an embodiment of the present invention is shown;
[0027] Figure 5 A graph showing market electricity price, retail electricity price, discharge compensation, and distribution network operator subsidy signals according to an embodiment of the present invention is provided.
[0028] Figure 6 A comparative graph of the aggregated charge and discharge responses of three types of heterogeneous users according to an embodiment of the present invention is shown;
[0029] Figure 7 A comparative diagram showing the impact of state-of-charge gap penalty on user off-site state of charge according to an embodiment of the present invention is shown.
[0030] Figure 8 A graph showing the relationship between the user risk sensitivity coefficient and the state of charge gap reduction amount according to an embodiment of the present invention is shown.
[0031] Figure 9 A comparison diagram of system net load envelope under different user access scenarios according to an embodiment of the present invention is shown;
[0032] Figure 10 A comparison diagram of the adjustable envelope of electric vehicles under different candidate scenarios according to an embodiment of the present invention is shown;
[0033] Figure 11 A comparison chart of key performance indicators of each subject under different optimization strategies according to an embodiment of the present invention is shown. Detailed Implementation
[0034] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0035] In existing technologies, the pricing decision-making problem for electric vehicle charging and discharging is typically modeled as a single-level or two-level optimization problem. Pricing strategies are often determined independently by the power grid or aggregators, while the demand response of electric vehicle users is treated as a given condition or follows a certain statistical distribution. The fundamental flaw in this modeling approach is its failure to consider the inherent conflicts of interest and hierarchical decision-making relationships among distribution network operators, aggregators, and users. Distribution network operators aim for a smooth system net load curve and tend to provide subsidies to suppress charging during high-load periods; aggregators aim to maximize operating profits and tend to profit from the difference between retail electricity prices and discharge compensation; users seek a balance between energy costs and travel reliability and tend to reduce electricity prices while meeting off-site state of charge (SOC) requirements. These three objectives conflict with each other, and unilateral optimization schemes cannot accommodate the interests of all parties, resulting in overall low operational efficiency.
[0036] Furthermore, existing aggregated capacity assessment methods are mostly based on simple power superposition in ideal baseline scenarios, failing to consider stochastic uncertainties such as vehicle arrival delays, early departures, and initial SOC deviations in actual operation. This leads to a significant overestimation of reported capacity and makes them unfeasible for practical implementation. Meanwhile, existing user-side objective functions often focus only on the economics of charging and discharging, ignoring the SOC gap caused by over-discharging or delayed charging, and lacking effective quantification of user range anxiety. In terms of solution strategies, existing methods often use KKT conditions to transform multi-layered problems into single-layered problems, making it difficult to handle the coupling between discrete variables and robust constraints across multiple scenarios.
[0037] To overcome the aforementioned shortcomings, this invention proposes a pricing decision-making method for electric vehicle charging and discharging. This method constructs a DNO-EVA-EVU model based on three-layer collaborative optimization to characterize the hierarchical decision-making relationships and interest coupling mechanisms among distribution network operators, aggregators, and users. By constructing a robust aggregation mechanism based on multi-scenario envelope intersection and unaggregation verification, it effectively addresses the impact of travel uncertainty on aggregation capacity. Furthermore, by introducing a state-of-charge (SOC) gap penalty term, it achieves quantitative modeling of range anxiety, effectively ensuring user travel reliability while reducing energy costs. The entire process, from user physical modeling to three-layer collaborative optimization and robust iterative solution, is automatically completed in the computing device, improving the intelligence level and collaborative efficiency of electric vehicle charging and discharging pricing decisions.
[0038] The electric vehicle charging and discharging price decision method can be executed in the computing device 100. The computing device 100 can be implemented as a server, such as an application server or a web server; it can also be implemented as a desktop computer, a laptop computer, a processor chip, a tablet computer, etc., but is not limited to these. Figure 1A block diagram of the physical components (i.e., hardware) of a computing device 100 is shown. In a basic configuration, the computing device 100 includes at least one processing unit 102 and system memory 104. According to one aspect, depending on the configuration and type of the computing device, the system memory 104 includes, but is not limited to, volatile memory (e.g., random access memory), non-volatile memory (e.g., read-only memory), flash memory, or any combination of such memories.
[0039] According to one aspect, system memory 104 includes operating system 105. System memory 104 also includes program module 150. According to one aspect, operating system 105, for example, is adapted to control the operation of computing device 100. Furthermore, examples are practiced in conjunction with graphics libraries, other operating systems, or any other applications, and are not limited to any particular application or system. Figure 1 The basic configuration is illustrated by the components within the dashed lines 108. According to one aspect, the computing device 100 has additional features or functions. For example, according to one aspect, the computing device 100 includes additional data storage devices (removable and / or non-removable), such as disks, optical discs, or magnetic tapes. This additional storage... Figure 1 The image is shown by removable storage device 109 and non-removable storage device 110.
[0040] As stated above, according to one aspect, a program module 150 is stored in system memory 104. According to one aspect, the program module 150 can be implemented as one or more computer program products. This application does not limit the type of computer program product, and may include, for example, email, word processing applications, spreadsheet applications, database applications, slideshow applications, drawing or computer-aided applications, web browsers, etc. In some embodiments according to this application, computer programs / instructions related to the electric vehicle charging / discharging price decision method 200 are encapsulated as a computer program product. When these computer programs / instructions are executed by a processor (i.e., processing unit 102), the electric vehicle charging / discharging price decision method 200 according to this application is implemented.
[0041] According to one aspect, examples can be practiced on circuits including discrete electronic components, packaged or integrated electronic chips containing logic gates, circuits utilizing microprocessors, or on a single chip containing electronic components or a microprocessor. For example, it can be practiced via wherein... Figure 1Each or many of the components shown can be implemented as an example by integrating a System-on-a-Chip (SOC) on a single integrated circuit. According to one aspect, such an SOC device may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all integrated (or “burned in”) as a single integrated circuit onto a chip substrate. When operating via the SOC, the functions described herein can be operated via dedicated logic integrated on a single integrated circuit (chip) with other components of the computing device 100. Embodiments of the invention can also be implemented using other techniques capable of performing logical operations (e.g., AND, OR, and NOT), including but not limited to mechanical, optical, fluid, and quantum technologies. Additionally, embodiments of the invention can be implemented within a general-purpose computer or in any other circuit or system.
[0042] According to one aspect, the computing device 100 may also have one or more input devices 112, such as a keyboard, mouse, pen, voice input device, touch input device, etc. It may also include output devices 114, such as a monitor, speaker, printer, etc. The foregoing devices are examples and other devices may also be used. The computing device 100 may include one or more communication connections 116 that allow communication with other computing devices 118, such as printing devices, like printers. Examples of suitable communication connections 116 include, but are not limited to: RF transmitters, receivers, and / or transceiver circuitry; Universal Serial Bus (USB); parallel and / or serial ports.
[0043] As used herein, the term computer-readable medium includes computer storage medium. Computer storage medium can include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information (e.g., computer-readable instructions, data structures, or program modules). System memory 104, removable storage device 109, and non-removable storage device 110 are examples of computer storage media (i.e., memory storage). Computer storage media can include random access memory (RAM), read-only memory (ROM), electrically erasable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital universal disc (DVD) or other optical storage, magnetic tape, magnetic tape, disk storage or other magnetic storage devices, or any other article of manufacture that can be used to store information and is accessible by computer device 100. According to one aspect, any such computer storage medium can be part of computing device 100. Computer storage media does not include carrier waves or other transmitted data signals.
[0044] According to one aspect, a communication medium is implemented by computer-readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., a carrier wave or other transmission mechanism), and includes any information transmission medium. According to one aspect, the term "modulated data signal" describes a signal having one or more sets of characteristics or altered in a manner that encodes information in the signal. By way of example and not limitation, a communication medium includes wired media such as wired networks or direct wired connections, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
[0045] In an embodiment of the invention, a computing device 100 is configured to execute an electric vehicle charging / discharging price decision method 200 according to the invention. The computing device 100 includes one or more processors and one or more readable storage media storing program instructions that, when configured to be executed by the one or more processors, cause the computing device to execute the electric vehicle charging / discharging price decision method 200 of the present invention.
[0046] Figure 2 A flowchart of an electric vehicle charging and discharging price decision method 200 according to an embodiment of the present invention is shown. Method 200 is adapted to be executed in a computing device (e.g., the aforementioned computing device 100).
[0047] Method 200 includes:
[0048] Step 202: Based on the user's travel parameters and vehicle battery parameters, determine the set of charge state trajectories of each vehicle in the current scheduling cycle under the corresponding charging and discharging modes. The charging and discharging modes include at least delayed charging mode, flexible charging mode and V2G two-way interaction mode.
[0049] Step 204: By performing aggregation calculations on each set of charged state trajectories, the cluster aggregation feasible region of the vehicle aggregator is obtained;
[0050] Step 206: Based at least on the cluster aggregation feasible domain and the set of each charge state trajectory, construct a three-layer collaborative optimization model including the distribution network operator layer, the vehicle aggregator layer, and the vehicle user layer;
[0051] Step 208: Use the decomposition, coordination, and iteration method to solve the three-layer collaborative optimization model and obtain the final charging and discharging price decision.
[0052] This disclosed method for electric vehicle charging and discharging pricing decision-making achieves a refined characterization of the differences in user behavior among three types: delayed charging, flexible charging, and V2G, by constructing a multi-mode charging and discharging model for heterogeneous users; it realizes multi-stakeholder interest coordination by constructing a three-layer collaborative optimization model of DNO-EVA-EVU; it achieves reliable aggregation capacity reporting considering access uncertainty by introducing a robust iterative mechanism with de-aggregation verification and scenario augmentation; and it balances user travel reliability and price response enthusiasm by introducing a state-of-charge gap penalty term. The entire process, from user physical parameter input to collaborative pricing decision output, is fully automated, significantly improving the intelligence level, collaborative efficiency, and user participation willingness in electric vehicle charging and discharging pricing decision-making.
[0053] Compared to existing technologies that rely on heuristic algorithms for single-agent optimization and static pricing, this disclosure fully utilizes three-layer game theory and robust optimization techniques to achieve multi-agent interest coordination, multi-scenario robust response, and adaptive reliability of user travel, filling the gap in the entire intelligent technology chain from multi-mode physical modeling to unpackable robust collaborative optimization.
[0054] The steps of the electric vehicle charging and discharging price decision method of this disclosure will now be described in detail using an exemplary process.
[0055] Step 202: Based on the user's travel parameters and vehicle battery parameters, determine the set of charge state trajectories of each vehicle in the current scheduling cycle under the corresponding charging and discharging modes.
[0056] The charging and discharging modes include at least delayed charging mode, flexible charging mode, and V2G two-way interaction mode.
[0057] Delayed charging mode (DLY): This mode mainly reflects time-transfer flexibility, meaning that users can postpone the start time of charging while meeting the off-site SOC requirements, but the charging power remains basically fixed.
[0058] Flexible charging mode (FLEX): This mode is characterized by power regulation flexibility. It allows users to adjust the charging period and charging power within the access window, but does not participate in discharging.
[0059] V2G bidirectional interaction mode (V2G): mainly reflects the flexibility of energy interaction. Based on FLEX, it allows vehicles to charge and discharge bidirectionally within the access window, and has stronger peak shaving adjustment capabilities.
[0060] This step first requires obtaining the user's travel parameters and the vehicle's battery parameters. Specifically, based on the travel parameters, the access time window and departure time window for each vehicle within the current scheduling cycle can be determined. For example, based on the user's historical travel patterns or planned schedule, the time point when the vehicle accesses the charging facility and the time point when it leaves the charging facility can be determined; the interval between these two time points is the access time window and the departure time window. Simultaneously, based on the battery parameters, the battery capacity, maximum charging / discharging power, and charging / discharging efficiency of each vehicle can be determined. These parameters are inherent physical properties of the vehicle and directly determine the physical boundaries of its charging / discharging capabilities.
[0061] Based on the aforementioned access time window, departure time window, battery capacity, maximum charge / discharge power, and charge / discharge efficiency, a dynamic equation for the state of charge is constructed. This dynamic equation is used to characterize the change in the state of charge of the vehicle with charge / discharge power and time between the access time window and the departure time window.
[0062] In a specific example, assume the scheduling period is... The scheduling time interval is The electric vehicle user group is ,user The access time and departure time are respectively , The battery capacity is The user participation pattern set is as follows: For any user Its pattern The dynamic equations of the state of charge (SOC trajectory ensemble localization) are as follows:
[0063] (1)
[0064] In the formula, This represents the total number of time periods within the scheduling cycle. DLY indicates delayed charging mode, FLEX indicates flexible charging mode, and V2G indicates bidirectional charging and discharging mode. For vehicles During the period SOC. Electric vehicles The charging power and discharging power, These represent charging and discharging efficiencies, respectively. For accessing the SOC, To meet the minimum SOC requirement for off-grid travel, These refer to the times of connecting to and leaving the charging facility. For vehicle i at the access time SOC, Indicates electric vehicles The power feasible region under mode m is used to characterize the charge and discharge capability.
[0065] In addition, it is necessary to set safety boundaries to limit the vehicle's state of charge (SOC) from exceeding a preset range within the current scheduling cycle. Simultaneously, binary variables are introduced to restrict the vehicle to only one of two states—charging or discharging—at any given time, i.e., a charge-discharge mutual exclusion constraint. The aforementioned dynamic equations for the SOC, safety boundaries, and charge-discharge mutual exclusion constraints together constitute the unified physical constraints that each vehicle must satisfy.
[0066] Continuing with the previous example, to avoid overcharging, over-discharging, and simultaneous charging and discharging within the same time period, binary variables are introduced. The unified power mutual exclusion constraint is:
[0067] (2)
[0068] In the formula, Indicates electric vehicles During the period The charge / discharge state variables are usually binary variables. When, it indicates the vehicle's charging status; when When the time is specified, it indicates that the vehicle is not charging. They represent electric vehicles. Maximum charging and discharging power.
[0069] Based on this, the unified physical constraints need to be updated to differentiated physical constraints corresponding to the charging and discharging modes of each vehicle.
[0070] For delayed charging mode, this mode mainly exhibits the flexible characteristics of time transfer. Its differentiated physical constraints require that the charging power be fixed at the rated power, and that the charging start time be used as a binary decision variable for translation, and that discharging is prohibited. For example, in the case of a vehicle in delayed charging mode, its charging power always remains constant at the rated power. The model only needs to determine the start time of this fixed-power charging process, and the vehicle is not allowed to participate in reverse discharge.
[0071] For the flexible charging mode, this mode mainly reflects the flexibility of power adjustment. Its differentiated physical constraints include that the charging power is continuously adjustable within a preset range and that discharge is prohibited. Such vehicles can adjust the charging power according to price or demand signals within the access window, but do not participate in reverse discharge.
[0072] For the V2G bidirectional interaction mode, this mode mainly embodies energy interaction flexibility. Its differentiated physical constraints include allowing bidirectional charging and discharging, and setting a minimum state of charge constraint value for discharge. For example, a vehicle in V2G bidirectional interaction mode can both absorb electrical energy and discharge back to the grid. To ensure that the discharge operation does not excessively deplete the battery and affect the vehicle's travel after leaving the station, the model must forcibly set a minimum state of charge constraint value for discharge in the V2G differentiated constraints as a safe discharge baseline.
[0073] Continuing with the previous example, the three charging modes are explained as follows:
[0074] 1. Delayed charging mode (DLY):
[0075] In DLY mode, the vehicle It does not participate in discharging; the charging power is fixed at the rated power; only the charging start time is allowed to shift. Let... For vehicles Is it during the time period? The binary variable that begins charging is then:
[0076] (3)
[0077] In the formula, This indicates that vehicle d starts continuous charging during time period s. This represents the number of consecutive charging periods.
[0078] The number of continuous charging periods is calculated according to formula (4):
[0079]
[0080] In the formula, This represents the minimum SOC requirement for departure; if the SOC already meets the requirement at the time of access, then... .
[0081] 2. Flexible charging mode FLEX:
[0082] In FLEX mode, the vehicle It does not discharge, but both the charging power and charging time are adjustable.
[0083] (5)
[0084] 3. V2G two-way interaction mode:
[0085] In V2G mode, the vehicle Bidirectional charging and discharging is possible within the access window, but charging and discharging power boundaries, mutual exclusion constraints, SOC safety boundaries, and off-grid travel requirements must be met:
[0086] (6)
[0087] In the formula, This represents the lowest SOC threshold for V2G discharge.
[0088] Finally, by using the differentiated physical constraints corresponding to the vehicle charging and discharging modes as the solution boundary, the set of charge state trajectories of each vehicle in the current scheduling cycle can be obtained.
[0089] Continuing with the example above, thus, the vehicle In mode The set of feasible trajectories for a single bicycle is defined as follows:
[0090] (7)
[0091] This set covers all feasible paths for the evolution of a single vehicle's SOC over time, satisfying the physical rules and pattern characteristics constraints.
[0092] Step 204: By performing aggregation calculations on each set of charged state trajectories, the cluster aggregation feasible region of the car aggregator is obtained.
[0093] After determining the set of charge state trajectories of each vehicle in the current scheduling cycle through step 202, in order to achieve unified scheduling and capacity reporting at the aggregator level, it is necessary to further perform aggregation calculations on each set of charge state trajectories to obtain the cluster aggregation feasible domain of the vehicle aggregator.
[0094] Specifically, aggregation calculations at the aggregator level first require defining aggregated power. For any given scheduling period, aggregated charging power equals the sum of the charging power of all vehicles, aggregated discharging power equals the sum of the discharging power of all vehicles, and net aggregated power equals aggregated charging power minus aggregated discharging power. It should be noted that when net aggregated power is positive, it indicates that the aggregator as a whole is absorbing power from the distribution network; when net aggregated power is negative, it indicates that the aggregator as a whole is discharging power back into the distribution network.
[0095] After defining the aggregated power, it is necessary to determine the adjustment boundaries that the aggregator can provide to the distribution network. Specifically, this can be achieved by solving for the minimum and maximum values of the aggregated net power for each time period, while satisfying the constraints of the charge state trajectory sets of each vehicle. The optimization objective for the lower bound of the aggregated power is to minimize the aggregated net power, while the optimization objective for the upper bound is to maximize the aggregated net power. During this process, each individual vehicle must strictly adhere to the constraints within its corresponding charge state trajectory set to ensure that the aggregated calculation results are traceable for each vehicle.
[0096] The upper and lower bounds of the aggregated power obtained through the above optimization process constitute the specific boundaries of the aggregated feasible region of the aggregator cluster. Furthermore, the range of aggregated power that the aggregator can report to the distribution network at any given time within the scheduling cycle can be determined by these upper and lower bounds. It can be understood that this cluster aggregated feasible region represents the range of power regulation that the aggregator can provide to the grid, provided that all vehicles meet their own physical constraints; essentially, it is the set boundary formed by superimposing the individual feasible regions.
[0097] In this embodiment, by aggregating and calculating the individual charge state trajectories of multiple vehicles, the adjustment capability at the aggregator level can be accurately reflected, providing a solid physical boundary basis for mid-level pricing and reporting capacity decisions in the subsequent three-layer collaborative optimization model.
[0098] Continuing the previous example, at the aggregator level, a cluster aggregation feasible region needs to be constructed based on the individual SOC trajectory set to ensure that the aggregation scheduling result can be traced back to the single-vehicle execution layer. Let the aggregator... The managed electric vehicle set is as follows:
[0099] (8)
[0100] In the formula, They represent aggregators The managed user sets include delayed charging, flexible charging, and V2G users, and these three sets do not overlap.
[0101] For any user Its participation mode is denoted as Then the charging and discharging trajectory of a single vehicle must meet the following requirements:
[0102] (9)
[0103] Aggregator During the period The aggregate charging power, aggregate discharging power, and net aggregate power are defined as follows:
[0104] (10)
[0105] in, This indicates that the aggregator as a whole absorbs power from the distribution network. This indicates that the aggregator as a whole is discharging in the reverse direction to the power distribution network.
[0106] The aggregator is obtained by superimposing the set of feasible trajectories of electric vehicles. Cluster aggregation feasible domain:
[0107] (11)
[0108] To characterize the aggregation regulation boundary that aggregators can provide to the distribution network in different time periods, time periods are defined. The upper and lower bounds of polymerization power:
[0109] (12)
[0110] Therefore, aggregators During the period The reportable polymerization power range is as follows:
[0111] (13)
[0112] Step 206: Based at least on the cluster aggregation feasible domain and the set of each charge state trajectory, construct a three-layer collaborative optimization model including the distribution network operator layer, the vehicle aggregator layer, and the vehicle user layer.
[0113] When electric vehicles (EVs) participate in distribution network interaction, a typical three-tiered collaborative interaction structure is formed between the Distribution Network Operator (DNO), the Electric Vehicle Aggregator (EVA), and the Electric Vehicle User (EVU). The DNO, located at the system scheduling layer, is responsible for issuing demand response subsidy incentive signals to guide EV load curve optimization. The EVA, located at the aggregation and coordination layer, is responsible for organizing lower-level EV user resources, setting time-of-use retail electricity prices, and reporting adjustable capacity based on upper-level subsidy signals. The EVU, located at the terminal response layer, makes specific charging and discharging decisions based on individual travel needs and upper-level price incentive signals. The three parties form a vehicle-network interaction mechanism through a chain transmission of "subsidy—pricing—response—feedback." The specific model framework is as follows: Figure 3 As shown. By Figure 3 As shown, in the three-layer collaborative interaction framework of DNO-EVA-EVU, DNO is located at the upper layer, mainly issuing electricity prices and incentive subsidies to EVA, and receiving adjustable capacity feedback from EVA; EVA is located at the middle layer, issuing charging prices and discharging compensation to EVU, and receiving charging and discharging plan adjustments reported by EVU; EVU is located at the lower layer. The data flow is as follows: the subsidy signal from DNO is transmitted downwards to EVA, which then converts it into a retail electricity price and transmits it to EVU; simultaneously, the charging and discharging responses from the bottom-level EVU are fed back upwards to EVA, which aggregates them to form adjustable capacity and feeds it back to DNO, forming a closed-loop interaction.
[0114] Specifically, for the upper-level model, the distribution network operator uses the minimum peak-to-valley difference of the system net load as the objective function to determine the subsidy signal to be issued to the vehicle aggregator layer. The system net load is composed of the base load and the net aggregated power of each aggregator, and its specific calculation can be expressed as formula (14) below.
[0115] Regarding the objective function, the upper-level model aims to minimize the peak-to-valley difference in the system's net load, that is, to minimize the difference between the highest and lowest loads throughout the entire period, thereby smoothing the system load curve. The objective function expression for minimizing the peak-to-valley difference is shown in formula (15) below. To achieve this goal, distribution network operators guide electric vehicle clusters to participate in regulation by adjusting the subsidy signals issued to various aggregators.
[0116] Regarding constraints, the upper-level model is mainly limited by two constraints: first, the subsidy intensity constraint, that is, the unit adjustment subsidy issued by the distribution network operator in each time period cannot exceed the preset subsidy intensity upper limit, and the specific subsidy intensity constraint is shown in formula (17) below; second, the subsidy budget constraint, that is, the total subsidy expenditure issued to each aggregator in all time periods cannot exceed the total subsidy budget that the distribution network operator can bear, and the corresponding budget constraint is shown in formula (18) below. Through the joint optimization of the above objective function and constraints, the upper-level optimization model can generate a reasonable subsidy signal according to the system load status and issue it to the aggregator layer.
[0117] In a specific example, the formulas in the upper-level model are explained in detail as follows:
[0118] Let the distribution network operator be DNO, and the electric vehicle aggregator set be . Aggregator The managed electric vehicle collection is The goal of DNO is to guide electric vehicle clusters to participate in regulation through time-sharing subsidies, thereby smoothing the system's net load curve. Let the base load be... Aggregator During the period The net polymerization power is The actual net load of the system is:
[0119] (14)
[0120] DNO aims to minimize the peak-to-valley difference in system net load.
[0121] (15) (16)
[0122] In the formula, For DNO in the time period to aggregator The unit adjustment subsidy was issued.
[0123] The subsidy intensity constraint is:
[0124] (17)
[0125] The subsidy budget constraint is:
[0126] (18)
[0127] In the formula, Indicates aggregator During the period The actual adjustment capacity provided or reported This is the total subsidy budget for DNO.
[0128] For the mid-level model, the automotive aggregator uses maximizing operating revenue as the objective function, and constructs an optimization model under the constraints of retail electricity price, discharge compensation, and the intersection of multiple scenarios within the feasible domain of cluster aggregation. After receiving subsidy signals from the upper layer, this layer formulates retail electricity prices and discharge compensation for automotive users, and also reports adjustable capacity to the distribution network operator.
[0129] Regarding the objective function, the aggregator's operating revenue is determined by multiple revenue items and multiple cost items. Specifically, revenue items include retail electricity sales revenue from users, regulation subsidy revenue from subsidy signals, and service fee revenue; cost items include electricity purchase costs from the market, discharge compensation costs paid to users, degradation compensation costs due to battery charging and discharging, and equipment operation and maintenance costs. The quantitative relationships between the above revenue and cost items together constitute the objective function of the aggregator's operating revenue, as detailed in formula (19) below, where the specific composition of each item can be further seen in formula (20) below.
[0130] Regarding constraints, the mid-level model needs to simultaneously satisfy retail electricity price constraints, discharge compensation price constraints, and multi-scenario intersection constraints. The retail electricity price constraint is mainly used to limit the retail electricity price published by aggregators to users to be within a reasonable upper and lower limit of the electricity price. The specific constraint method can be seen in formula (21) below. The discharge compensation price constraint also specifies the upper limit range of the discharge compensation price for users, as shown in formula (22) below.
[0131] Besides the aforementioned price constraints, the most distinctive feature of the mid-level model is the multi-scenario intersection constraint. Due to uncertainties in the actual access process of car users (such as vehicle arrival delays, early departures, and initial SOC deviations from predicted values), aggregators cannot rely solely on the baseline scenario when reporting adjustable capacity to the distribution network. Instead, they must ensure that the reported capacity is feasible under all possible uncertain scenarios. Specifically, the adjustable capacity reported by the aggregator must fall within the intersection of the cluster aggregation feasible domains under each candidate uncertain scenario. This robust unaggregation constraint can be defined as formula (24) below. This constraint ensures that the aggregator will not fail to fulfill its scheduling commitments due to capacity overestimation, thereby improving the credibility and actual executability of the reported capacity.
[0132] In a specific example, the aggregator After receiving DNO subsidy signals, time-of-use retail electricity pricing, V2G discharge compensation, and aggregation dispatch strategies are formulated for users. The goal is to maximize operational revenue while ensuring the feasibility of aggregated capacity.
[0133] Let aggregator Retail electricity price for users is The market purchase price of electricity is The user's discharge compensation price is The unit service fee is The unit operation and maintenance cost is The battery degradation compensation coefficient is Aggregator Operating revenue is expressed as follows:
[0134] (19)
[0135] The specific benefits and costs are as follows:
[0136] (20)
[0137] In the formula, Revenue from electricity purchases by users To adjust subsidy income for DNO, For service fee income, For market-purchased electricity costs, To compensate users for discharge costs, To compensate for the cost of battery degradation, For operation and maintenance costs.
[0138] At the same time, the model must meet the following constraints:
[0139] Retail electricity price constraints:
[0140] (twenty one)
[0141] Discharge compensation price constraints:
[0142] (twenty two)
[0143] Aggregator-reported aggregation adjustment capacity range constraints:
[0144] (twenty three)
[0145] Considering uncertainties such as user arrival and departure times, initial SOC, and response deviation, let the uncertain variables be denoted as . Then the robust unaggregation constraint can be written as:
[0146] (twenty four)
[0147] For the lower-level model, the objective function for car users is to minimize the overall energy cost, including the state-of-charge (SOC) gap penalty term, and the lower-level optimization model is constructed using the set of SOC trajectories as constraints. After receiving the retail electricity price and discharge compensation published by the aggregator, this layer makes the optimal charging and discharging response based on its own travel needs and current SOC, while satisfying physical constraints.
[0148] In terms of the objective function, the user's overall energy cost consists of multiple dimensions: including the charging cost of paying the aggregator for charging electricity, the discharge benefit obtained from discharging back to the grid, the degradation cost corresponding to the loss of the battery during charging and discharging, and the penalty cost corresponding to the range anxiety that may be caused by insufficient state of charge.
[0149] Among them, the charging cost is calculated as the product of the actual charging amount and the retail electricity price, the discharge revenue is calculated as the product of the actual discharge amount and the discharge compensation price, the battery degradation cost is obtained based on the product of the charging and discharging capacity and the unit degradation cost, and the range anxiety cost is realized through the state of charge gap penalty term. The objective function of the above comprehensive energy cost can be found in formula (25) below, and the specific quantification method of each cost is found in formula (26) below.
[0150] It's worth noting that the state of charge (SOC) gap penalty term is a key mechanism in the lower-level model. In practice, different users have different requirements for off-station battery power; some users need to ensure sufficient battery power when leaving the station to guarantee normal commuting the next day. Therefore, the lower-level model divides users' off-station SOC requirements into two levels: minimum safe SOC and desired target SOC. The minimum safe SOC acts as a rigid constraint, requiring that the vehicle's SOC at departure not be lower than this value. The desired target SOC acts as a flexible constraint; when the actual SOC at departure fails to reach the desired target value, a positive SOC slack variable is generated. The value of this slack variable is the difference between the desired target value and the actual value. Multiplying this by the user's preset risk sensitivity coefficient yields the SOC gap penalty term. This penalty term is added as part of the cost to the overall energy cost objective function. It should be noted that users with rigid commuting typically have a larger risk sensitivity coefficient to prevent the model from over-discharging or delaying charging to reduce electricity costs; users with flexible commuting have a relatively smaller risk sensitivity coefficient, thus allowing for greater price response space. The specific modeling method for this hierarchical constraint and penalty mechanism is shown in Formula (27) below.
[0151] Regarding constraints, the core constraint of the lower-level model is that each vehicle must perform charging and discharging operations within the set of state-of-charge trajectories of its respective charging and discharging mode. In other words, the charging, discharging, or idle decisions made by a vehicle at any time must satisfy all conditions, including its corresponding access time window, departure time window, charging and discharging power boundary, SOC safety boundary, and mode-differentiation constraints, to ensure that the optimization results are physically feasible. This constraint can be expressed as formula (28) below.
[0152] In a specific example, for any electric vehicle user At a given aggregator's published retail electricity price and discharge compensation Afterwards, users optimize their individual charging and discharging behavior based on their own travel needs, SOC status, and mode constraints.
[0153] user The objective function is to minimize the overall energy cost:
[0154] (25)
[0155] The specific cost items are as follows:
[0156] (26)
[0157] In the formula, Electricity costs for charging users, For discharge benefits, For battery degradation costs, Costs related to range anxiety The SOC gap penalty coefficient for users. This is the SOC gap variable. For users Mileage anxiety penalty coefficient for users with rigid commutes Typically larger, flexible travel users Relatively small.
[0158] To avoid logical conflicts between the SOC gap penalty term and the departure SOC constraint, this paper divides the user's departure SOC requirement into two categories: minimum safe travel SOC and expected target SOC. The minimum safe travel SOC represents the minimum battery level required for a user to complete a basic trip and is treated as a rigid constraint. The expected target SOC represents the ideal battery level that the user hopes to achieve upon departure; considering the different tolerance levels for insufficient battery among different users, this is treated as a soft constraint, and a SOC gap relaxation variable is introduced. .
[0159] (27)
[0160] In the formula, The minimum safe operating temperature (SOC) for travel.
[0161] The user-side charging and discharging trajectory must meet the SOC trajectory set constraints of its respective mode:
[0162] (28)
[0163] In the formula, As given by formulas (1)-(6), the specific constraints include SOC dynamic constraints, SOC security boundaries, access time window constraints, off-site SOC demand constraints, and the power feasible domains corresponding to the three modes of DLY, FLEX, and V2G.
[0164] By constructing the aforementioned three-tiered optimization model, the entire three-tiered collaborative optimization framework organically couples subsidy signals, retail electricity prices and discharge compensation, and user response, forming a complete price decision-making closed loop. Specifically, the upper-level distribution network operator provides subsidies with the goal of system peak shaving; the middle-level aggregator sets prices with the goal of revenue and ensures capacity feasibility; and the lower-level user responds by comprehensively considering economic efficiency, battery life, and travel reliability. The decisions at each level influence and constrain each other, collectively forming a multi-entity collaborative optimization architecture.
[0165] Step 208: Use the decomposition, coordination, and iteration method to solve the three-layer collaborative optimization model and obtain the final charging and discharging price decision.
[0166] After constructing the three-layer collaborative optimization model, it is necessary to solve the model using a reasonable solution method. Due to the strong coupling relationship between the three layers, the objective functions of each layer influence each other and contain discrete variables and robust constraints for multiple scenarios, making it difficult to solve directly in one go. Therefore, this embodiment adopts a decomposition and coordination iterative approach, gradually approaching the optimal solution through rolling iteration of "subsidy signal - price strategy - user response - load feedback". The overall solution framework can be summarized as the logical chain shown in formula (29) below.
[0167] The specific process of this iterative solution is as follows.
[0168] In the current iteration, the retail electricity price and discharge compensation output from the previous iteration are used as inputs, and the set of state-of-charge trajectories is used as constraints to solve the charging and discharging response of the vehicle user layer, thereby obtaining the actual charging and discharging power of each vehicle. Specifically, given the retail electricity price and discharge compensation, each vehicle user will optimize charging and discharging based on their own travel needs, current state of charge, and mode constraints, with the goal of minimizing the overall energy cost. Since the charging and discharging behaviors of each user are relatively independent, the solution can be performed in parallel for all users. The specific expression of the solution for the user layer response is shown in formula (30) below, and its optimization result can be expressed as formula (31) below. After the solution for each vehicle is completed, the actual charging and discharging power obtained is aggregated to obtain the aggregated net power of the aggregator in the current iteration, as specifically expressed in formula (32) below.
[0169] After obtaining the actual charging and discharging power of each vehicle, the retail electricity price, discharge compensation, and reported adjustable capacity of the vehicle aggregator layer are solved based on the actual charging and discharging power and the cluster aggregation feasible region. The aggregator aims to maximize operating revenue. Under the condition of the upper-level subsidy signal, it optimizes its retail electricity price and discharge compensation for users by combining the actual response of each vehicle and the multi-scenario intersection constraints of the cluster aggregation feasible region. The specific manifestation of this mid-level optimization process is to solve the problem described by the formula (33) below, where the calculation method of each revenue and cost refers to the formula (20) above, and the retail electricity price and discharge compensation price constraints correspond to the formulas (21) and (22) above, respectively. It is particularly important to emphasize that the adjustable capacity reported by the aggregator must satisfy the intersection constraints of the aggregation feasible region in all candidate uncertain scenarios, that is, the robust solvable cluster constraint. The mathematical expression of this constraint is shown in the formula (24) above.
[0170] After the aggregator obtains the retail electricity price, discharge compensation, and reported adjustable capacity, a deaggregation test needs to be performed on the reported adjustable capacity. This test aims to verify whether the aggregator's reported aggregation regulation capability to the distribution network can be decomposed into specific charging and discharging strategies for each individual vehicle under various candidate uncertain scenarios, that is, to ensure that the reported capacity is feasible under any possible actual operating scenario.
[0171] The specific method of the disaggregation test is as follows: It checks whether the aggregate power boundary corresponding to the reported adjustable capacity has a feasible solution that satisfies the single-vehicle behavior constraints under a given candidate uncertainty scenario. Here, a feasible solution represents a feasible combination of the charging / discharging power variables and the state-of-charge variables of each vehicle unit under the candidate uncertainty scenario, and this feasible combination must simultaneously satisfy the aggregate power summation constraint and the state-of-charge trajectory set constraint of each vehicle unit itself. This test process corresponds to the feasibility verification problem shown in formula (40) below. If a feasible solution exists for the reported adjustable capacity under each candidate uncertainty scenario, the disaggregation test is deemed to have passed; if no feasible solution exists for the reported adjustable capacity under any candidate uncertainty scenario, the disaggregation test is deemed to have failed.
[0172] When the decolumnability test fails, it indicates that the currently reported adjustable capacity cannot be implemented under certain uncertain scenarios. At this time, the scenario augmentation mechanism needs to be triggered. Specifically, the candidate uncertain scenarios that cause the test to fail are marked as infeasible scenarios and added to the active scenario set; at the same time, the intersection of the cluster aggregation feasible domains corresponding to each candidate uncertain scenario in the active scenario set is used as a new constraint condition, and the steps of solving the retail electricity price, discharge compensation and reported adjustable capacity of the automotive aggregation layer based on each actual charging and discharging power and the cluster aggregation feasible domain are returned to be re-executed, so as to redetermine the reported adjustable capacity based on the updated active scenario set. The specific implementation of this scenario augmentation and rollback mechanism is shown in Formula (41) below. Its core logic is: when the decolumnability test determines that a certain uncertain scenario is infeasible, the scenario is added to the active scenario set as a new constraint condition, and the mid-level optimization model is forced to be returned to be solved again. By continuously compressing the intersection of feasible domains, the reported capacity with robust executability is gradually approached until all candidate scenarios can pass the decolumnability test.
[0173] It should be noted that the candidate uncertain scenarios include at least vehicle arrival delays, early vehicle departures, and initial state of charge deviations when vehicles connect. These types of disturbances are quite common in actual operation and will significantly affect the aggregator's adjustment capabilities. When the upper bound of the aggregation power is less than the lower bound of the aggregation power at a certain moment, it indicates that the current reporting interval is not feasible under the scenario set, and it is necessary to reduce the capacity interval or adjust the pricing strategy. The feasibility judgment condition is shown in formula (38) below.
[0174] When the disaggregability test passes, it indicates that the currently reported adjustable capacity is feasible under all candidate uncertainty scenarios. At this point, it is further determined whether the preset convergence condition is met.
[0175] The preset convergence criteria include three independent judgment indicators: the change in the peak-to-valley difference of the system net load is less than the first preset threshold, the change in the operating revenue of the automobile aggregator layer is less than the second preset threshold, and the change in the subsidy signal is less than the third preset threshold. These three indicators measure the stability of the system's operating state, the convergence of the aggregator's revenue, and the stability of the upper-level subsidy signal, respectively. When all three indicators meet their respective threshold requirements, the iterative process is deemed to have met the convergence criteria, the algorithm terminates, and the final charging and discharging price decision is output. The specific expression of the above convergence criteria is shown in formula (49) below.
[0176] If the deaggregation test passes but the preset convergence condition is not met, it indicates that the system's various indicators have not yet reached a stable state and further iteration is required. At this point, the subsidy signal issued by the distribution network operator to the automotive aggregator layer is updated based on the actual charging and discharging power.
[0177] Specifically, after obtaining the aggregation responses from each aggregator, the system net load is first recalculated, as shown in formula (42) below. Based on the updated system net load, the peak-to-valley difference of the system net load is recalculated, as shown in formula (43) below. Subsequently, the distribution network operator adjusts the subsidy signal according to the latest net load level. In order to make the subsidy more effective during peak hours, a normalized load deviation is first constructed. This deviation is calculated based on the relative position between the current net load and the average net load, as defined in formula (44) below, where the calculation method for the average net load is shown in formula (45) below. Based on the above normalized load deviation, the subsidy signal is updated according to the following rule: the current subsidy signal is added to the update amount obtained by multiplying the normalized load deviation by a preset step size, and the result is projected into a preset subsidy intensity range, that is, the part exceeding the preset range is truncated to obtain the interval-corrected subsidy signal. The specific expression of this update rule is shown in formula (46) below.
[0178] After updating the subsidy signal, it is necessary to check whether the updated subsidy signal meets the constraints of the total subsidy budget. Specifically, the expected subsidy expenditure corresponding to the interval-corrected subsidy signal is calculated. When the expected subsidy expenditure is greater than the preset total subsidy budget, it indicates that the current subsidy plan exceeds the budget limit. The interval-corrected subsidy signal needs to be scaled proportionally according to the budget ratio to ensure that the total subsidy expenditure does not exceed the budget limit. The specific calculation of the budget correction and scaling is shown in formulas (47) and (48) below. After the above subsidy signal update and budget correction, the updated subsidy signal is used as the input of the car aggregator layer in the next iteration, and the retail electricity price and discharge compensation obtained in this round are used as the input of the car user layer in the next iteration. The next iteration round is then executed. By repeatedly performing the above iteration process, the decisions of each layer of the three-layer collaborative optimization model will gradually converge, and finally the optimal charging and discharging price decision that meets the system peak shaving requirements, aggregator revenue targets and user travel needs will be obtained.
[0179] In a specific example, the DNO-EVA-EV model constructed in this embodiment exhibits typical hierarchical coupling characteristics: the EVA's revenue function depends on the charging and discharging responses of EV users under a given retail electricity price and discharge compensation, while the EV user responses are determined by the EVA pricing strategy; simultaneously, the DNO subsidy signal further influences EVA pricing and aggregated reported capacity. Therefore, the original problem is not a single-layer optimization problem that can be solved directly in one go. Considering that the lower-layer EV user response model includes discrete charging initiation variables and charging-discharging mutually exclusive variables, and that the middle-layer EVA involves robust aggregation and uncoordinated aggregation verification across multiple scenarios, this paper does not use methods such as KKT to strictly transform the three-layer problem into an equivalent solution, but instead employs a decomposition-coordination-iteration method to solve for a multi-agent collaborative feasible solution.
[0180] First, given the EVA retail electricity price and discharge compensation, the charging and discharging responses of lower-level EV users are solved. Second, based on the user response results and the set of uncertain scenarios, EVA optimizes the retail electricity price, discharge compensation, and robust adjustable capacity. Finally, DNO updates the subsidy signal according to the peak-valley difference of the system net load. The three layers are iteratively coordinated through "subsidy signal - pricing strategy - user response - load feedback".
[0181] The overall solution framework can be summarized as follows:
[0182] (29)
[0183] In the formula, This is a signal of DNO subsidies. For EVA retail electricity price, For discharge compensation price, For aggregators Reported robust adjustable sets This represents the net load of the system.
[0184] The specific solution process is as follows:
[0185] 1. Specific steps for solving the lower-level user response:
[0186] In the In the next outer iteration, given and ,user Solving the self-charge and discharge optimization problem:
[0187] (30)
[0188] In the formula, ,
[0189] The user-side constraints are shown in formula (28) above. Since different users are independent of each other in the lower-level problem, the solution can be applied to all users in parallel:
[0190] (31)
[0191] After the solution is completed, the aggregator The net power of polymerization is:
[0192] (32)
[0193] 2. Specific steps for solving the price of mid-layer EVA and robust aggregation:
[0194] Given DNO subsidy signal Subsequently, EVA needs to optimize retail electricity pricing, discharge compensation, and robust adjustability. (Aggregator) The optimization objective is:
[0195] (33)
[0196] The revenue and cost items are given by formula (20) above. The price constraint of EVA is given by formulas (21)-(22) above, and the polymerization power constraint is given by formula (23) above.
[0197] To account for uncertainties such as user arrival and departure times, initial SOC, and response deviation, the candidate uncertainty scenario set is defined as follows:
[0198] (34)
[0199] In the formula, Indicates the first Uncertain scenarios include disturbances such as user arrival delays, early departures, low initial SOC, and response deviations.
[0200] In the scene Below, aggregator The aggregate feasible region is denoted as The robust executable aggregate regulation set is then:
[0201] (35)
[0202] Furthermore, by using the upper and lower envelope approximation to represent the robust adjustable interval, we have:
[0203] (36)
[0204] Robust adjustment width is:
[0205] (37)
[0206] And it must meet the following conditions:
[0207] (38)
[0208] If it occurs during a certain period of time If the current reporting range is not feasible within the scenario set, it indicates that the capacity range needs to be reduced or the pricing strategy needs to be adjusted.
[0209] Specific steps for robust depolymerization testing and scenario augmentation:
[0210] To prevent the aggregation adjustment capabilities reported by aggregators from failing to be implemented at the vehicle execution layer, a disaggregability check is introduced. For candidate adjustment command trajectories:
[0211] (39)
[0212] It is necessary to verify whether a single-vehicle charging and discharging strategy satisfies the following:
[0213] (40)
[0214] If for all scenarios If all solutions satisfy equation (40), then the current robust adjustment set is executable. If a certain scenario exists... If a solvable problem becomes infeasible, then the scenario is added to the set of active scenarios:
[0215] (41)
[0216] Then, the mid-level EVA model is resolved. This process is essentially a scene-augmented robust solution, which avoids the computational burden of enumerating all scenes at once.
[0217] The specific steps for iterative updates of upper-level DNO subsidies are as follows:
[0218] After receiving aggregation responses from each aggregator, the system net load is:
[0219] (42)
[0220] The peak-to-valley difference of the system is:
[0221] (43)
[0222] DNO adjusts the subsidy signal based on the net load level. To ensure the subsidy has a greater impact during peak hours, a normalized load deviation is further constructed:
[0223] (44)
[0224] in:
[0225] (45)
[0226] The subsidy signal can then be updated according to the following rules:
[0227] (46)
[0228] In the formula, For the first The step size of the next iteration. This indicates that the subsidy signal will be projected onto the interval. Inside.
[0229] To meet subsidy budget constraints, if the updated subsidy expenditure exceeds the budget:
[0230] (47)
[0231] Then scale proportionally:
[0232] (48)
[0233] Convergence Criterion:
[0234] The algorithm terminates when the changes in system peak-to-valley difference, EVA return, and subsidy signal all meet a given threshold.
[0235] (49)
[0236] In the formula, These are the convergence thresholds for peak-to-valley difference, aggregator revenue, and subsidy signal, respectively.
[0237] Through steps 202 to 208 above, this invention realizes a complete technical chain from multi-mode physical modeling to three-layer collaborative game theory, and then to robust iterative solution. During offline training or online execution, by decomposing and coordinating the iterative framework, a closed-loop interaction of "subsidy-pricing-response-feedback" is formed among the power grid operator, vehicle aggregator, and vehicle user, gradually approaching the Pareto optimal charging and discharging price decision scheme. The entire process is automatically completed in the computing device, effectively achieving coordinated optimization of system peak shaving, aggregator revenue, and user travel reliability.
[0238] To further verify the effectiveness of the method proposed in this application, a simulation verification was conducted using 20 electric vehicles connected to the same aggregator in a residential community. The simulation period was a single day, with a time interval of 1 hour, and specific scenario parameters were set spatially. The arrival times of the vehicles were distributed between 16:00 and 22:00, and the departure times were distributed between 6:00 and 9:00 the following day. The battery capacities ranged from 45 to 70 kWh, the initial state of charge ranged from 0.25 to 0.65%, and the target state of charge ranged from 0.78 to 0.92%. In terms of participation modes, the proportions of vehicles in delayed charging, flexible charging, and V2G bidirectional interaction modes were 45%, 35%, and 20%, respectively. In the simulation, the retail electricity price offered by the aggregator to users ranged from RMB 0.35 to 1.60 / kWh, the discharge compensation ranged from RMB 0.10 to 2.00 / kWh, the service fee coefficient was RMB 0.05 / kWh, and the operation and maintenance cost coefficient was RMB 0.03 / kWh.
[0239] (1) Overall Results Analysis
[0240] Figure 4The comparison results between the system net load and the robust aggregation range are shown. The results of the example show that the final operating revenue of the electric vehicle aggregator in this embodiment is 84.58 yuan, indicating that under the combined effect of distribution network operator subsidies, retail electricity prices, discharge compensation, and service fee mechanisms, the aggregator can obtain positive revenue while organizing electric vehicles to participate in system regulation. Regarding system operation, the peak-to-valley difference of the base load curve is 379.24 kW. After electric vehicles participate in optimized scheduling, the peak-to-valley difference of the system net load is reduced to 169.83 kW, a reduction of 209.41 kW compared to the base load curve without considering electric vehicle optimization, a decrease of approximately 55.22%. This indicates that the method in this embodiment can effectively guide electric vehicles to charge during off-peak hours and reduce net load during peak hours. Meanwhile, the total robust adjustable capacity is 1213.60 kWh, indicating that the aggregator can still report a certain scale of executable adjustment capacity to the distribution network operator after considering scenario disturbances. On the user side, the average energy costs for users in delayed charging, flexible charging, and V2G two-way interaction modes are RMB 13.50, RMB 10.46, and RMB 9.54, respectively. Among them, V2G users have the lowest overall energy cost because they can obtain additional benefits through discharge compensation; flexible charging users reduce energy costs by adjusting charging times; delayed charging users have less flexibility, so their average cost is relatively higher. The above results show that the model in this embodiment can achieve a good balance between ensuring aggregator revenue, reducing system peak-valley differences, and improving user energy economy.
[0241] (2) Analysis of price and subsidy signal transmission
[0242] Figure 5The diagram shows a comparison curve of the optimized retail electricity price, V2G discharge compensation, and distribution network operator subsidy signals with the market electricity price. It can be seen that the optimized retail electricity price is generally lower than the market price. This indicates that aggregators do not profit by raising charging prices, but rather by providing electric vehicle users with charging prices lower than the market price, supported by distribution network operator subsidies, V2G response revenue, and aggregation service revenue. This enhances the economic attractiveness for users to participate in aggregation dispatch. Looking at the retail electricity price curve, during the off-peak period from 0:00 to 5:00, the retail electricity price is approximately 0.35 yuan / kWh, slightly lower than the market price of 0.38 yuan / kWh, which is conducive to guiding electric vehicles to complete their basic charging needs during low-price periods. From 6:00 to 12:00, the market electricity price rises to approximately RMB 0.58 / kWh, while the retail electricity price is approximately RMB 0.52 / kWh, still maintaining a certain discount. From 12:00 to 14:00, the market electricity price falls back to approximately RMB 0.50 / kWh, and the retail electricity price decreases accordingly to approximately RMB 0.43 to 0.44 / kWh. During the evening peak period from 17:00 to 20:00, the market electricity price rises to approximately RMB 0.95 / kWh, while the retail electricity price is approximately RMB 0.91 to 0.92 / kWh. Although this is at a relatively high level throughout the day, it is still lower than the market electricity price, indicating that aggregators use higher retail electricity prices during peak hours to suppress unnecessary charging, while still ensuring that users have a cost advantage compared to charging directly at the market electricity price.
[0243] The discharge compensation curve shows that from 0:00 to 5:00, the compensation price remained at a low level of approximately 0.18 yuan / kWh, indicating that during off-peak hours, the system primarily aimed to absorb charging load rather than incentivize vehicles to discharge in reverse. After 6:00, as the system load gradually increased, the discharge compensation began to rise; from 9:00 to 12:00, the compensation increased from approximately 0.39 yuan / kWh to approximately 0.52 yuan / kWh, corresponding to the localized peak-shaving demand during the daytime load increase phase. During the evening peak period from 17:00 to 20:00, the discharge compensation further increased to approximately 0.66 to 0.68 yuan / kWh, reaching a relatively high level throughout the day, indicating that aggregators guided V2G users to release electricity to the grid during peak load periods by increasing the discharge compensation, directly supporting the system's peak shaving. After 20:00, as the peak load gradually decreased, the discharge compensation rapidly declined. The subsidy signals from distribution network operators also show a strong consistency with system regulation needs. From 0:00 to 7:00, subsidies are essentially zero. From 9:00 to 12:00, subsidies gradually rise to approximately 0.24 to 0.27 yuan / kWh, corresponding to the period of increased daytime load and enhanced regulation demand. From 17:00 to 20:00, subsidies rise again, reaching approximately 0.32 to 0.33 yuan / kWh from 18:00 to 20:00, reflecting that distribution network operators are supporting aggregators to improve V2G discharge compensation and enhance peak-shaving response capabilities during the evening peak hours through subsidies.
[0244] (3) Analysis of multi-mode response characteristics of heterogeneous users
[0245] This embodiment further decomposes and analyzes the aggregated responses of the three types of heterogeneous users throughout the day. Figure 6 The data presents the typical intraday aggregated charging and discharging power variations for three user types: delayed charging, flexible charging, and V2G bidirectional interaction. The aggregated power curves for each user show that delayed charging users primarily participate in charging between 0:00 and 4:00, with a net aggregated power approaching 50kW between 0:00 and 2:00. This power gradually decreases between 3:00 and 4:00, reaching virtually zero after 5:00. Its main contribution lies in concentrating charging load during lower-price periods, demonstrating time-shifting flexibility. Flexible charging users exhibit relatively smooth net power changes, with charging responses occurring throughout the 0:00 to 5:00 period, fluctuating between approximately 15 and 42kW. This indicates that these users can flexibly allocate charging power within the access window based on retail electricity prices and state-of-charge requirements, demonstrating power regulation flexibility. V2G bidirectional interactive users show positive net power from 0:00 to 5:00, indicating that they absorb electricity during off-peak hours; while from 18:00 to 20:00, the net power turns negative, reaching about -30kW around 18:00, indicating that V2G users discharge back to the grid during the evening peak hours, directly participating in peak shaving.
[0246] From the perspective of the charging power composition of the three types of users, 0:00 to 2:00 is the most concentrated period for electric vehicle cluster charging. The total charging power of the three types of users exceeds 120kW, of which delayed charging users contribute about 50kW, flexible charging users contribute about 40kW, and V2G users contribute about 30 to 35kW. In terms of total charging and discharging capacity contribution, delayed charging users and flexible charging users only provide charging response, with charging capacity of approximately 190kWh and 165kWh respectively; V2G users both meet charging demand and provide reverse discharge services, with charging capacity of approximately 160kWh and discharging capacity of approximately 57.17kWh. These results indicate that the three types of users correspond to time-transfer flexibility, power regulation flexibility, and bidirectional energy interaction flexibility, respectively. Heterogeneous modeling of these users helps to more accurately evaluate the aggregation and regulation capabilities of aggregators and the user-side response mechanisms.
[0247] (4) Analysis of user travel reliability and mileage anxiety
[0248] Figure 7The results compare the departing state of charge (SOC) with the target SOC for each user under two scenarios: without a SOC penalty and with a SOC penalty. As shown in the figure, the target SOC generally ranges from approximately 0.79 to 0.88, with differences among users indicating varying travel needs. Without considering the SOC penalty, the departing SOC is significantly lower than the target SOC, with most users having an SOC of only around 0.62 to 0.70. For example, User 1's target SOC is approximately 0.86, but without the penalty, it's only around 0.66; User 17's target SOC is close to 0.88, but drops to around 0.62 without the penalty. This suggests that if the model is driven solely by electricity prices, discharge compensation, and aggregator revenue, it's easy to release more regulatory capacity through delayed charging or V2G discharge, thus sacrificing the terminal power needs of some users. After introducing the state of charge (SCC) gap penalty, the users' outbound SCC significantly improved and generally approached the target SCC curve. The SCC for most users remained between 0.79 and 0.86, with a significantly reduced deviation from the target SCC. This result indicates that the SCC gap penalty term effectively suppresses the model's tendency to excessively delay charging or excessive V2G discharging, ensuring that the optimization prioritizes the basic travel energy required for users when leaving the station.
[0249] Figure 8 The relationship between user risk sensitivity coefficient and state of charge (SBC) gap reduction is further presented. Rigid commuter users are mainly distributed in the higher risk sensitivity coefficient range, approximately 7.2 to 9.8, with SBC gap reductions mostly concentrated between 0.08 and 0.25. This indicates that these users are more sensitive to insufficient SBC at the station, and the model prioritizes reducing their SBC gap during optimization to avoid impacting commuting demand due to V2G discharge or delayed charging. Flexible users are mainly distributed in the lower risk sensitivity coefficient range, approximately 2.7 to 3.8, with their SBC gap reductions being relatively dispersed, ranging from approximately 0.07 to 0.26. Most flexible users have lower SBC gap reductions than rigid commuter users, but there are some individual cases with larger reductions. This indicates that SBC gap reduction is not only determined by the risk sensitivity coefficient but is also influenced by factors such as initial SBC, target SBC, access time window, battery capacity, and whether V2G capability is available.
[0250] (5) Uncertainty analysis of access
[0251] To analyze the impact of user access uncertainty on the distribution network's operating status and aggregation adjustability, this embodiment constructs a set of candidate robust scenarios, including arrival delay, early departure, and initial state of charge deviation, based on predicted arrival time, predicted departure time, and predicted initial state of charge. Figure 9The system net load envelope is compared under different user access availability scenarios. As shown in the figure, the overall system net load curve maintains typical evening peak characteristics under different user access scenarios, but the upper and lower boundaries of the net load differ significantly at different times. The baseline scenario reflects the system operating state when users access the network according to the predicted departure time and initial state of charge; the delayed arrival scenario compresses the adjustable time window during the initial access phase at night; the early departure scenario mainly compresses the adjustment space before and after departure in the early morning; in the low initial state of charge scenario, vehicles need to prioritize replenishing their travel electricity, correspondingly reducing the space available for peak shaving or V2G discharge; the combined unfavorable scenario considers delayed arrival, early departure, and low initial state of charge simultaneously, thus imposing stronger constraints on the adjustable boundaries for some time periods; the favorable access scenario, due to more sufficient access time or better initial state of charge conditions, forms a relatively wider adjustable envelope. The net load envelope does not simply reflect the fluctuation of the base load, but is the result of the superposition of the base load and the aggregated charging and discharging response of electric vehicles. The wider the width between the upper and lower boundaries, the greater the system adjustment space that the electric vehicle cluster can provide to the distribution network operator during that period.
[0252] Figure 10 The comparison of the adjustable envelope of electric vehicle aggregation under different candidate scenarios is presented. In the baseline scenario, the electric vehicle aggregation load is high from 0:00 to 6:00, peaking at approximately 120-130kW, with a relatively wide aggregation envelope. From 18:00 to 20:00, the electric vehicle aggregation load gradually recovers from negative to 0, and the envelope width expands during this period, indicating that V2G resources can provide peak-shaving adjustment space for the system. In the delayed arrival scenario, the electric vehicle aggregation load shrinks significantly earlier in the first half of the night, compressing the effective adjustment window later, indicating that arrival delays weaken the aggregator's charging transfer capability before the off-peak. The early departure scenario mainly compresses the adjustable space in the second half of the night and early morning, with the aggregation load and envelope width dropping to 0 more quickly after 6:00. In the low initial state of charge scenario, the electric vehicle aggregation load remains high from 0:00 to 5:00, while the reverse discharge space during the evening peak from 18:00 to 20:00 shrinks compared to the baseline scenario. The combined adverse scenario, considering all three perturbations mentioned above, imposes the strongest constraint on the aggregation tunability. The width between the upper and lower boundaries of the envelope narrows overall, and the reverse discharge capability is extremely limited during the evening peak hours. This result indicates that the superposition of multiple adverse perturbations significantly compresses the tunability space of electric vehicle clusters, making it a key scenario that needs to be considered when constructing a robust aggregation feasible region.
[0253] (6) Comparative analysis of different schemes
[0254] To further verify the effectiveness of the model in this application, this embodiment sets up three comparison schemes: disordered charging, fixed TOU electricity price, and the model in this embodiment. The effectiveness of the proposed model is evaluated from aspects such as system peak-valley difference, aggregator revenue, and user cost savings rate. Figure 11 The results compare the key performance indicators of each subject's optimization objective under different optimization strategies. The peak-valley difference index shows that under the disordered charging scheme, the system peak-valley difference is approximately 452.95kW, indicating that immediate charging upon user arrival further increases local load fluctuations. Under the fixed TOU electricity price scheme, the peak-valley difference decreases to approximately 311.51kW, indicating that time-of-use pricing can guide users to shift their charging load to off-peak hours to some extent. In comparison, the system peak-valley difference in this embodiment model is further reduced to approximately 286.29kW, a reduction of approximately 36.80% compared to the disordered charging scheme and approximately 8.10% compared to the fixed TOU electricity price scheme. This demonstrates that the model in this embodiment not only achieves basic peak shaving and valley filling but also further smooths the system net load through the synergistic optimization of subsidy signals, active pricing, and V2G discharge compensation.
[0255] Regarding aggregator revenue and V2G discharge response, both aggregator revenue and V2G discharge volume are 0 under the disordered charging scheme; under the fixed TOU electricity price scheme, aggregator revenue is approximately 9.13 yuan, but V2G discharge volume remains 0; in this embodiment, aggregator revenue increases to approximately 34.07 yuan, and V2G discharge volume reaches approximately 57.17 kWh, indicating that aggregators, through the joint optimization of retail electricity price and discharge compensation, obtain positive operating revenue while incentivizing V2G users to participate in peak shaving response, thus achieving coordination between aggregator revenue and system regulation demand. Regarding user costs, the user cost saving rate of the disordered charging scheme is negative, indicating that users often charge during less favorable periods when not participating in optimized scheduling, resulting in higher overall energy costs than the fixed TOU scheme; while the user cost saving rate of this embodiment is positive, indicating that under the combined effect of retail electricity price being lower than market price, V2G discharge compensation, and distribution network operator subsidies, users participating in aggregated scheduling can obtain lower overall energy costs.
[0256] Through the above simulation verification, this application demonstrates the effectiveness of the constructed DNO-EVA-EVU three-layer collaborative optimization model and multi-scenario robust and solvable iterative solution framework in dynamic pricing, capacity aggregation, system stability, and multi-agent collaboration. The above figures and descriptions are merely preferred embodiments of the present invention. Those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.
[0257] In this embodiment, an electric vehicle charging and discharging price decision-making device is also provided, which resides in a computing device and executes thereon. The device specifically includes the following functional modules:
[0258] The determination module is used to determine the set of state-of-charge trajectories for each vehicle under the corresponding charging and discharging modes within the current scheduling cycle, based on the user's travel parameters and vehicle battery parameters. The charging and discharging modes include at least delayed charging mode, flexible charging mode, and V2G bidirectional interaction mode. This module specifically performs the function described in step 202.
[0259] The calculation module is used to obtain the cluster aggregation feasible region of the vehicle aggregator by performing aggregation calculations on the sets of charged state trajectories. This module specifically performs the function described in step 204.
[0260] A construction module is used to build a three-layer collaborative optimization model, comprising a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer, based at least on the cluster aggregation feasible domain and the set of charge state trajectories. This module specifically performs the function described in step 206.
[0261] The solution module is used to solve the three-layer collaborative optimization model using a decomposition, coordination, and iterative approach to obtain the final charging and discharging price decision. This module specifically performs the function described in step 208.
[0262] It should be noted that the operating principle of the electric vehicle charging and discharging price decision device provided in this embodiment is similar to that of the aforementioned method 200. For relevant details, please refer to the description of method 200. This application will not repeat the details here.
[0263] The various techniques described herein can be implemented in combination with hardware or software, or a combination thereof. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, can take the form of program code (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, USB flash drive, floppy disk, CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into and executed by a machine such as a computer, the machine becomes an apparatus for practicing the present invention.
[0264] When the program code is executed on a programmable computer, the computing device generally includes a processor, a processor-readable storage medium (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store program code; the processor is configured to execute the method of the present invention according to instructions in the program code stored in the memory.
[0265] By way of example, and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer-readable instructions, data structures, program modules, or other data. Communication media generally embodies computer-readable instructions, data structures, program modules, or other data in the form of modulated data signals such as carrier waves or other transmission mechanisms, and includes any information delivery medium. Any combination of the above is also included within the scope of readable media.
[0266] In the specification provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with the examples of this invention. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing preferred embodiments of the invention.
[0267] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0268] Those skilled in the art will understand that modules, units, or components of the devices disclosed in the examples herein can be arranged in the devices described in this embodiment, or alternatively, can be located in one or more devices different from the devices in this example. The modules in the foregoing examples can be combined into a single module or, in addition, can be divided into multiple sub-modules.
[0269] Furthermore, some of the embodiments described herein are methods or combinations of method elements that can be implemented by a processor of a computer system or by other means of performing the functions. Therefore, a processor having the necessary instructions for implementing the methods or method elements forms means for implementing the methods or method elements. Furthermore, the elements described herein in the apparatus embodiments are examples of means for implementing the functions performed by elements for the purposes of carrying out the invention.
[0270] As used herein, unless otherwise specified, the use of ordinal numbers such as “first,” “second,” “third,” etc., to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, ordering, or any other manner.
[0271] Although the invention has been described with reference to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and instructional purposes, and not for the purpose of interpreting or limiting the subject matter of the invention. Therefore, many modifications and alterations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims.
Claims
1. A method for determining the charging and discharging price of an electric vehicle, executed in a computing device, the method comprising: Based on the user's travel parameters and vehicle battery parameters, determine the set of charge state trajectories of each vehicle in the current scheduling cycle under the corresponding charging and discharging modes. The charging and discharging modes include at least delayed charging mode, flexible charging mode and V2G two-way interaction mode. By performing aggregation calculations on each set of charged state trajectories, the cluster aggregation feasible region of the automotive aggregator is obtained. Based at least on the cluster aggregation feasible domain and each of the charge state trajectory sets, a three-layer collaborative optimization model is constructed, comprising a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer. The three-layer collaborative optimization model is solved by using a decomposition, coordination, and iteration method to obtain the final charging and discharging price decision.
2. The method as described in claim 1, wherein, Based at least on the cluster aggregation feasible region and each of the charge state trajectory sets, a three-layer collaborative optimization model is constructed, comprising a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer, including: With the objective function of minimizing the peak-to-valley difference of the system net load and with the upper limit of subsidy intensity and the total subsidy budget as constraints, an upper-level optimization model for the distribution network operator layer is constructed to determine the subsidy signal to be issued to the vehicle aggregator layer. With maximizing operating revenue as the objective function, and with constraints on retail electricity prices, discharge compensation, and the intersection of multiple scenarios in the feasible domain of the cluster aggregation as conditions, a mid-level optimization model for the automotive aggregation business layer is constructed to determine the retail electricity price and discharge compensation to be issued to the automotive user layer based on the subsidy signal. Using the minimum comprehensive energy cost, including the state-of-charge gap penalty term, as the objective function and the set of state-of-charge trajectories as constraints, a lower-level optimization model for the vehicle user layer is constructed to respond to the retail electricity price and the discharge compensation and make charging and discharging decisions.
3. The method as described in claim 1, wherein, Based on user travel parameters and vehicle battery parameters, determine the set of state-of-charge trajectories for each vehicle under the corresponding charging and discharging mode within the current scheduling cycle, including: Based on the travel parameters, determine the access time window and departure time window for each vehicle within the current scheduling cycle; Based on the battery parameters, determine the battery capacity, maximum charging and discharging power, and charging and discharging efficiency of each vehicle. Based on the access time window, departure time window, battery capacity, maximum charge and discharge power and charge and discharge efficiency, a dynamic equation of state of charge is constructed. The dynamic equation of state of charge is used to characterize the change of the state of charge of the vehicle with the charge and discharge power and time between the access time window and the departure time window. Set a safety boundary to limit the vehicle's state of charge to not exceed a preset range within the current scheduling cycle, and a charging and discharging mutual exclusion constraint to limit the vehicle to only one of the charging or discharging states at the same time period through binary variables. The dynamic equation of the state of charge, the safety boundary, and the charging-discharging mutual exclusion constraint are collectively used as the unified physical constraints for all the vehicles. Based on the charging and discharging modes corresponding to each of the vehicles, the unified physical constraints are updated to differentiated physical constraints corresponding to the charging and discharging modes. Using the differentiated physical constraints as the solution boundary, the set of charge state trajectories of each vehicle in the current scheduling cycle is obtained.
4. The method of claim 3, wherein, The step of updating the unified physical constraints to differentiated physical constraints corresponding to the charging and discharging modes of each vehicle includes: For the delayed charging mode, the differentiated physical constraints include fixing the charging power to the rated power, shifting the charging start time as a binary decision variable, and prohibiting discharge; For the flexible charging mode, the differentiated physical constraints include continuously adjustable charging power within a preset range and prohibition of discharging; For the V2G bidirectional interaction mode, the differentiated physical constraints include allowing bidirectional charging and discharging, and setting a minimum state of charge constraint value for discharge.
5. The method of claim 1, wherein, The method of solving the three-layer collaborative optimization model using a decomposition-coordination-iteration approach includes: In the current iteration, the retail electricity price and discharge compensation output in the previous iteration are used as inputs, and the set of state of charge trajectories is used as constraints to solve the charging and discharging response of the vehicle user layer and obtain the actual charging and discharging power of each vehicle. Based on the actual charging and discharging power and the feasible region of the cluster aggregation, the retail electricity price, discharge compensation and reported adjustable capacity of the automotive aggregation layer are solved. Perform a de-aggregation test on the reported adjustable capacity, and determine whether the preset convergence condition is met when the test result indicates that the test has passed. If satisfied, output the final charging / discharging price decision; If the preset convergence condition is not met, the distribution network operator layer updates the subsidy signal issued to the vehicle aggregator layer based on the actual charging and discharging power, and uses the updated subsidy signal as the input of the vehicle aggregator layer in the next iteration, and uses the solved retail electricity price and discharge compensation as the input of the vehicle user layer in the next iteration, and continues to execute the next iteration round.
6. The method of claim 5, wherein, Perform a depolymerization test on the reported adjustable capacity, including: The test examines whether the aggregate power boundary corresponding to the reported adjustable capacity has a feasible solution that satisfies the single-vehicle behavior constraints under a given candidate uncertainty scenario. The feasible solution represents a feasible combination of the charging and discharging power variables and the state of charge variables of each vehicle unit under the candidate uncertainty scenario. The feasible combination must simultaneously satisfy the aggregate power summation constraint and the state of charge trajectory set constraint of each vehicle unit. If a feasible solution exists for all the adjustable capacities reported under each of the aforementioned candidate uncertain scenarios, then the solvability test is deemed to have passed. If no feasible solution exists for the reported adjustable capacity under any candidate uncertainty scenario, then the solvability test is deemed to have failed.
7. The method of claim 6, wherein, When the depolymerization test fails, the following also applies: The candidate uncertain scenarios are marked as infeasible scenarios and added to the active scenario set; The intersection of the cluster aggregation feasible regions corresponding to each candidate uncertain scenario in the active scenario set is used as a new constraint condition. The steps of solving the retail electricity price, discharge compensation and reported adjustable capacity of the vehicle aggregation layer based on each actual charging and discharging power and the cluster aggregation feasible region are re-executed, so as to redetermine the reported adjustable capacity based on the updated active scenario set.
8. The method of claim 6, wherein, The candidate uncertain scenarios include at least one or more of the following types: vehicle arrival delay, vehicle early departure from the station, and initial state of charge deviation when the vehicle arrives.
9. The method of claim 5, wherein, The preset convergence conditions include: The change in the peak-to-valley difference of the system's net load is less than the first preset threshold. The change in the operating revenue of the automotive aggregator layer is less than the second preset threshold. The change in the subsidy signal is less than a third preset threshold.
10. The method of claim 5, wherein, The distribution network operator layer updates the subsidy signal issued to the electric vehicle aggregator layer based on the actual charging and discharging power, including: Calculate the normalized load deviation of the net load of the calculation system; The subsidy signal update amount is determined based on the normalized load deviation. The updated subsidy signal is superimposed on the subsidy signal in the current iteration round to obtain the candidate subsidy signal; The candidate subsidy signal is projected into a preset subsidy intensity range, and the portion exceeding the preset subsidy intensity range is truncated to obtain the interval-corrected subsidy signal. Calculate the expected subsidy expenditure corresponding to the interval-corrected subsidy signal; When the expected subsidy expenditure exceeds the preset total subsidy budget, the subsidy signal after the interval correction is scaled proportionally according to the budget ratio to obtain the updated subsidy signal.
11. A charging and discharging price decision device for electric vehicles, residing in a computing device and executed thereon, the device comprising: The determination module is suitable for determining the set of state-of-charge trajectories of each vehicle in the current scheduling cycle based on the user's travel parameters and vehicle battery parameters, wherein the charging and discharging modes include at least delayed charging mode, flexible charging mode and V2G bidirectional interaction mode. The calculation module is adapted to obtain the cluster aggregation feasible region of the automobile aggregator by performing aggregation calculations on each of the said sets of charged state trajectories; The building module is adapted to construct a three-layer collaborative optimization model comprising a distribution network operator layer, a vehicle aggregator layer, and a vehicle user layer, based at least on the cluster aggregation feasible domain and each of the charge state trajectory sets; The solution module is suitable for using a decomposition, coordination, and iterative approach to solve the three-layer collaborative optimization model and obtain the final charging and discharging price decision.
