Real-time control method, device and equipment for charging and discharging power of electric vehicle and medium
Patent Information
- Application Number
- CN202410537819.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2044-04-30
AI Technical Summary
In scenarios involving large-scale electric vehicle integration, existing technologies cannot effectively control the charging and discharging power of electric vehicles in real time, resulting in high computational complexity and threatening the stability of the power grid.
By acquiring the access information of the target charging pile, a set of electric vehicle charging and discharging events and a lumped power guidance curve are established. The lumped power is decomposed, the baseline power and remaining time are calculated, and non-emergency and emergency charging and discharging event sets are constructed. Based on the lumped power difference and the charging and discharging power margin, the charging and discharging process of each electric vehicle is controlled.
It realizes real-time charging and discharging power control in large-scale electric vehicle access scenarios, reduces computational complexity, improves grid stability and reliability, and is suitable for real-time control of electric vehicle clusters.
Smart Images

Figure CN118322923B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electric vehicle charging service technology, and in particular to a method, device, equipment and medium for real-time control of electric vehicle charging and discharging power. Background Technology
[0002] As the global transition to low-carbon energy accelerates, the widespread use of electric vehicles (EVs) has become a key component of low-carbon transportation. The rapid expansion of the EV market poses significant challenges to the safe and stable operation of existing power systems, especially during peak load periods. Large-scale EV charging can lead to a surge in grid load, threatening grid stability. Scheduled charging technology and Vehicle-to-Grid (V2G) technology are considered effective means to address this challenge. By scheduling the charging and discharging processes of EVs, the load pressure on the grid during peak hours can be alleviated, the grid's capacity to absorb renewable energy can be improved, ancillary services and peak-shaving capabilities can be provided, and the grid's flexibility and reliability can be enhanced.
[0003] In scenarios involving large-scale electric vehicle access, directly optimizing the charging process of each electric vehicle requires first aggregating the power feasible domain of the electric vehicle cluster, then optimizing the lumped power of the electric vehicle cluster to form a lumped power guidance curve, and finally decomposing the lumped power to each individual electric vehicle based on the current status of the accessed vehicles in real time to form charging control commands for each electric vehicle.
[0004] However, in scenarios involving large-scale electric vehicle deployment, directly optimizing the charging process of each individual electric vehicle involves high computational complexity and makes it impossible to control the charging and discharging power of a large number of electric vehicles in real time, which urgently needs to be addressed. Summary of the Invention
[0005] This application provides a method, apparatus, device, and medium for real-time control of the charging and discharging power of electric vehicles, in order to solve the problems of high computational complexity in existing large-scale electric vehicle charging services, which make it impossible to control the charging and discharging power of large-scale electric vehicles in real time.
[0006] The first aspect of this application provides a real-time control method for the charging and discharging power of an electric vehicle, comprising the following steps: acquiring access information of at least one target charging pile, and establishing a set of electric vehicle charging and discharging events and a target aggregate power guidance curve at the current moment based on the access information; performing aggregate power decomposition based on the access information and the target aggregate power guidance curve to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and calculating the remaining time and slack of each electric vehicle charging and discharging event at the current moment, so as to construct a set of non-emergency charging and discharging events and a set of emergency charging and discharging events at the current moment through the remaining time and the slack; calculating the aggregate differential power and charging and discharging power margin at the current moment according to the set of non-emergency charging and discharging events, the access information and the reference power, and obtaining the charging and discharging power corresponding to each electric vehicle charging and discharging event based on the aggregate differential power, the charging and discharging power margin and the reference power, so as to control the target charging piles corresponding to each non-emergency charging and discharging event and each emergency charging and discharging event in the set of emergency charging and discharging events to charge the target electric vehicle with the charging and discharging power and the preset maximum charging power, respectively.
[0007] Optionally, in one embodiment of this application, the step of performing aggregate power decomposition based on the access information and the target aggregate power guidance curve to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set includes: determining the initialization simulation time and initial power information of the target electric vehicle based on the access information, and constructing an auxiliary charging and discharging event set through the initialization simulation time; calculating the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set according to the initial power information, the target aggregate power guidance curve, and a preset priority criterion; and correcting the starting power of each auxiliary charging and discharging event at the next moment through the charging and discharging power corresponding to each auxiliary charging and discharging event, so as to calculate the reference power of each electric vehicle charging and discharging event based on the corrected starting power.
[0008] Optionally, in one embodiment of this application, the step of calculating the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set based on the initial power information, the target aggregate power guidance curve, and the preset priority criteria includes: calculating the auxiliary remaining time and auxiliary slack corresponding to each auxiliary charging and discharging event, and constructing an auxiliary non-emergency charging and discharging event set and an auxiliary emergency charging and discharging event set based on the auxiliary remaining time and auxiliary slack; performing a charging operation on each auxiliary emergency charging and discharging event in the auxiliary emergency charging and discharging event set with a preset maximum charging power, and correcting the aggregate guidance power based on the target aggregate power guidance curve, and judging the load status of the corrected aggregate guidance power; If the corrected aggregated guidance power is in a charging load state, then all auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in ascending order according to the auxiliary remaining time, the auxiliary slack assist, and the priority criterion, and a corresponding charging power is allocated to each auxiliary non-emergency charging and discharging event based on a preset charging priority strategy; if the corrected aggregated guidance power is in a discharging load state, then all auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in descending order according to the auxiliary remaining time, the auxiliary slack assist, and the priority criterion, and a corresponding discharging power is allocated to each auxiliary non-emergency charging and discharging event based on a preset discharging priority strategy.
[0009] Optionally, in one embodiment of this application, the step of calculating the lumped differential power and charge / discharge power margin at the current moment based on the set of non-emergency charge / discharge events, the access information, and the reference power includes: constructing the set of non-emergency charge / discharge events and the set of emergency charge / discharge events at the current moment based on the remaining time and the relaxation; and calculating the lumped differential power and the charge / discharge power margin based on the reference power, the set of non-emergency charge / discharge events, and the set of emergency charge / discharge events.
[0010] Optionally, in one embodiment of this application, the mathematical expression for the charging and discharging power corresponding to each electric vehicle charging and discharging event in the current electric vehicle charging and discharging event set is:
[0011]
[0012] in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; The reference power is represented by δp. jΔP represents the charge / discharge power margin; ΔP represents the lumped differential power; j represents the j-th electric vehicle charge / discharge event in the electric vehicle charge / discharge event set at the current moment.
[0013] A second aspect of this application provides a real-time control device for the charging and discharging power of an electric vehicle, comprising: an establishment module, configured to acquire access information of at least one target charging pile, and establish a set of electric vehicle charging and discharging events and a target total power guidance curve based on the access information; and a calculation module, configured to perform a total power decomposition operation based on the access information and the target total power guidance curve to obtain a reference power for each electric vehicle charging and discharging event in the set of electric vehicle charging and discharging events, and calculate the remaining time and relaxation of each electric vehicle charging and discharging event at the current time, so as to construct a power control system based on the remaining time and the relaxation. A set of non-emergency charging / discharging events and a set of emergency charging / discharging events are established at the current moment. A control module is used to calculate the lumped differential power and charging / discharging power margin at the current moment based on the set of non-emergency charging / discharging events, the access information, and the reference power. Based on the lumped differential power, the charging / discharging power margin, and the reference power, the charging / discharging power corresponding to each electric vehicle charging / discharging event is obtained. This allows the target charging piles corresponding to each non-emergency charging / discharging event and each emergency charging / discharging event in the set of emergency charging / discharging events to charge the target electric vehicle using the charging / discharging power and the preset maximum charging power, respectively.
[0014] Optionally, in one embodiment of this application, the calculation module includes: a determining unit, configured to determine the initialization simulation time and initial power information of the target electric vehicle based on the access information, and construct an auxiliary charging and discharging event set through the initialization simulation time; a first calculation unit, configured to calculate the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set according to the initial power information, the target set total power guidance curve, and a preset priority criterion; and a recording unit, configured to correct the starting power of each auxiliary charging and discharging event at the next moment through the charging and discharging power corresponding to each auxiliary charging and discharging event, so as to calculate the reference power of each electric vehicle charging and discharging event based on the corrected starting power.
[0015] Optionally, in one embodiment of this application, the computing unit is specifically used to: calculate the auxiliary remaining time and auxiliary slack corresponding to each auxiliary charge / discharge event; construct an auxiliary non-emergency charge / discharge event set and an auxiliary emergency charge / discharge event set based on the auxiliary remaining time and auxiliary slack; perform a charging operation on each auxiliary emergency charge / discharge event in the auxiliary emergency charge / discharge event set at a preset maximum charging power; correct the lumped guidance power based on the target lumped power guidance curve; and determine the load state of the corrected lumped guidance power; if the corrected lumped guidance power is a charging load state, then based on the auxiliary remaining time and auxiliary slack... The time, the auxiliary relaxation assist, and the priority criterion are used to sort all the auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events in ascending order, and a corresponding charging power is allocated to each auxiliary non-emergency charging and discharging event based on a preset charging priority strategy; if the corrected lumped guidance power is in the state of discharge load, then the auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in descending order according to the auxiliary remaining time, the auxiliary relaxation assist, and the priority criterion, and a corresponding discharge power is allocated to each auxiliary non-emergency charging and discharging event based on a preset discharge priority strategy.
[0016] Optionally, in one embodiment of this application, the control module includes: a construction unit, configured to construct the set of non-emergency charging and discharging events and the set of emergency charging and discharging events at the current moment based on the remaining time and the relaxation; and a second calculation unit, configured to calculate the lumped differential power and the charging and discharging power margin based on the reference power, the set of non-emergency charging and discharging events and the set of emergency charging and discharging events.
[0017] Optionally, in one embodiment of this application, the mathematical expression for the charging and discharging power corresponding to each electric vehicle charging and discharging event in the current electric vehicle charging and discharging event set is:
[0018]
[0019] in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; The reference power is represented by δp. j ΔP represents the charge / discharge power margin; ΔP represents the lumped differential power; j represents the j-th electric vehicle charge / discharge event in the electric vehicle charge / discharge event set at the current moment.
[0020] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the real-time control method for charging and discharging power of an electric vehicle as described in the above embodiments.
[0021] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described real-time control method for the charging and discharging power of an electric vehicle.
[0022] Therefore, the embodiments of this application have the following beneficial effects:
[0023] The embodiments of this application can obtain access information of at least one target charging pile, and establish a set of electric vehicle charging and discharging events and a target aggregate power guidance curve at the current moment based on the access information; based on the access information and the target aggregate power guidance curve, perform aggregate power decomposition operation to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and calculate the remaining time and relaxation of each electric vehicle charging and discharging event at the current moment, so as to construct a set of non-emergency charging and discharging events and a set of emergency charging and discharging events at the current moment through the remaining time and relaxation; calculate the aggregate differential power and charging and discharging power margin at the current moment according to the set of non-emergency charging and discharging events, access information and reference power, and obtain the charging and discharging power corresponding to each electric vehicle charging and discharging event based on the aggregate differential power, charging and discharging power margin and reference power, so as to control the target charging piles corresponding to each emergency charging and discharging event in each set of non-emergency charging and discharging events to charge the target electric vehicle with the charging and discharging power and the preset maximum charging power respectively. This application enables real-time control of the charging and discharging power of electric vehicles (EVs) based on EV access information collected from charging piles, given a lumped power curve to be tracked. It is easy to implement, has low computational complexity, and is suitable for real-time control of EV charging and discharging power in scenarios with large-scale EV access. This solves the problems of high computational complexity and inability to perform real-time control of charging and discharging power for large-scale EVs in existing large-scale EV charging services.
[0024] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0025] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0026] Figure 1This is a flowchart of a real-time control method for the charging and discharging power of an electric vehicle according to an embodiment of this application;
[0027] Figure 2 A schematic diagram of the execution logic of a real-time control method for charging and discharging power of an electric vehicle provided in one embodiment of this application;
[0028] Figure 3 This is an example diagram of a real-time control device for the charging and discharging power of an electric vehicle according to an embodiment of this application;
[0029] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0030] Among them, 10-real-time control device for electric vehicle charging and discharging power; 100-establishment module, 200-computation module, 300-control module; 401-memory, 402-processor, 403-communication interface. Detailed Implementation
[0031] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0032] The following describes, with reference to the accompanying drawings, a method, apparatus, device, and medium for real-time control of the charging and discharging power of an electric vehicle according to embodiments of this application. To address the problems mentioned in the background art, this application provides a real-time control method for the charging and discharging power of electric vehicles. In this method, access information of at least one target charging pile is acquired, and a set of electric vehicle charging and discharging events and a target aggregate power guidance curve are established based on the access information. Based on the access information and the target aggregate power guidance curve, an aggregate power decomposition operation is performed to obtain the reference power for each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set. The remaining time and relaxation of each electric vehicle charging and discharging event at the current time are calculated to construct a set of non-emergency charging and discharging events and a set of emergency charging and discharging events at the current time using the remaining time and relaxation. The aggregate differential power and charging and discharging power margin at the current time are calculated based on the set of non-emergency charging and discharging events, the access information, and the reference power. Based on the aggregate differential power, the charging and discharging power margin, and the reference power, the charging and discharging power corresponding to each electric vehicle charging and discharging event is obtained. This allows the target charging piles corresponding to each emergency charging and discharging event in each non-emergency charging and discharging event and each emergency charging and discharging event in the emergency charging and discharging event set to charge the target electric vehicle using the charging and discharging power and a preset maximum charging power, respectively. This application enables real-time control of the charging and discharging power of electric vehicles (EVs) based on EV access information collected from charging piles, given a lumped power curve to be tracked. It is easy to implement, has low computational complexity, and is suitable for real-time control of EV charging and discharging power in scenarios with large-scale EV access. This solves the problems of high computational complexity and inability to perform real-time control of charging and discharging power for large-scale EVs in existing large-scale EV charging services.
[0033] Specifically, Figure 1 This is a flowchart illustrating a real-time control method for the charging and discharging power of an electric vehicle, as provided in an embodiment of this application.
[0034] like Figure 1 As shown, the real-time control method for the charging and discharging power of this electric vehicle includes the following steps:
[0035] In step S101, access information of at least one target charging pile is obtained, and a set of electric vehicle charging and discharging events and a target set total power guidance curve are established based on the access information at the current moment.
[0036] The embodiments of this application can first set the access information of multiple charging piles. For example, the embodiments of this application can set time 0 as the current time and set the number of simulation time periods to N. t Furthermore, embodiments of this application can establish a set of electric vehicle charging and discharging events accessed at a previous time based on the access information. And generate the lumped power guidance curve (i.e., the target lumped power guidance curve) P that needs to be tracked. * The data for the j-th charge / discharge event includes the current battery level. Expected battery level upon departure Expected departure time Maximum charging power and maximum discharge power
[0037] Therefore, the embodiments of this application determine the access information of the charging pile and establish the set of electric vehicle charging and discharging events at the current moment and the lumped power guidance curve that needs to be tracked, thereby providing reliable data guidance and basis for the calculation of parameters such as the reference power of each subsequent electric vehicle charging and discharging event.
[0038] In step S102, based on the access information and the target aggregate power guidance curve, an aggregate power decomposition operation is performed to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and to calculate the remaining time and relaxation of each electric vehicle charging and discharging event at the current moment, so as to construct the non-emergency charging and discharging event set and the emergency charging and discharging event set at the current moment through the remaining time and relaxation.
[0039] After establishing the set of electric vehicle charging and discharging events and the lumped power guidance curve to be tracked at the current moment, the embodiments of this application can further perform lumped power decomposition within the simulation period to obtain the reference power for each electric vehicle charging and discharging event. And calculate the remaining time λ for each electric vehicle charging / discharging event at the current moment. j and relaxation θ j For the j-th electric vehicle charging / discharging event, its remaining time relaxation Subsequently, embodiments of this application can construct a set of non-urgent charge / discharge events at the current moment based on the remaining time and relaxation. and a collection of emergency charging and discharging events This effectively ensures the realization of functions such as real-time control of electric vehicle charging and discharging power.
[0040] Optionally, in one embodiment of this application, based on access information and a target aggregate power guidance curve, an aggregate power decomposition operation is performed to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set. This includes: determining the initialization simulation time and initial power information of the target electric vehicle based on access information, and constructing an auxiliary charging and discharging event set through the initialization simulation time; calculating the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set according to the initial power information, the target aggregate power guidance curve, and a preset priority criterion; and correcting the starting power of each auxiliary charging and discharging event at the next moment through the charging and discharging power corresponding to each auxiliary charging and discharging event, so as to calculate the reference power of each electric vehicle charging and discharging event based on the corrected starting power.
[0041] It should be noted that, as Figure 2 As shown in the figure, the specific steps for obtaining the reference power for each electric vehicle charging and discharging event in this embodiment of the application are as follows:
[0042] Step 1: Initialize the simulation time (i.e., initialize the simulation time t=0) and initialize the charge of individual charging and discharging events in the simulation (i.e., initialize the charge information).
[0043] Step 2: Filter the set of charging and discharging events that have not yet left before simulation time t (i.e., the set of auxiliary charging and discharging events). That is, for For any charging / discharging event j, its expected departure time is greater than the current simulation time.
[0044] Step 3: For the lumped guidance power to be decomposed The minimum laxity and longer remaining processing time (LLLP) priority criterion is used to prioritize the set of charging and discharging events. The charge / discharge power p of each individual charge / discharge event (i.e., each auxiliary charge / discharge event in the set of auxiliary charge / discharge events) j,t Perform calculations;
[0045] Step 4: Record the charge / discharge power p of each individual charge / discharge event. j And correct the starting charge level at the next moment of the individual charge / discharge event:
[0046]
[0047] Step 5, Simulation time t = t + 1, if t <N t Otherwise, return to step 2;
[0048] Step 6: Calculate the baseline power for each electric vehicle charge / discharge event. The mathematical expression for the reference power is as follows:
[0049]
[0050] Therefore, the embodiments of this application further improve the data basis for real-time control of the charging and discharging power of large-scale electric vehicles by calculating the reference power of each electric vehicle charging and discharging event.
[0051] Optionally, in one embodiment of this application, calculating the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set based on initial power information, a target aggregate power guidance curve, and a preset priority criterion includes: calculating the auxiliary remaining time and auxiliary slack corresponding to each auxiliary charging and discharging event, and constructing an auxiliary non-emergency charging and discharging event set and an auxiliary emergency charging and discharging event set based on the auxiliary remaining time and auxiliary slack; performing a charging operation on each auxiliary emergency charging and discharging event in the auxiliary emergency charging and discharging event set at a preset maximum charging power, and correcting the aggregate guidance power based on the target aggregate power guidance curve, and performing load state analysis on the corrected aggregate guidance power. The system makes a judgment; if the corrected lumped guidance power is in a charging load state, then all auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in ascending order according to the auxiliary remaining time, auxiliary slack, and priority criteria, and the corresponding charging power is allocated to each auxiliary non-emergency charging and discharging event based on the preset charging priority strategy; if the corrected lumped guidance power is in a discharging load state, then all auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in descending order according to the auxiliary remaining time, auxiliary slack, and priority criteria, and the corresponding discharging power is allocated to each auxiliary non-emergency charging and discharging event based on the preset discharging priority strategy.
[0052] In actual implementation, the embodiments of this application address the lumped guidance power to be decomposed. The specific process of calculating the charge and discharge power of each auxiliary charge and discharge event in the auxiliary charge and discharge event set using the LLLP priority criterion is as follows:
[0053] 1. Calculate the remaining time (i.e., auxiliary remaining time) λ for each auxiliary charge / discharge event. j and relaxation (i.e., auxiliary relaxation) θ j For each auxiliary charge / discharge event j, its remaining time relaxation
[0054] 2. Statistically analyze the set of non-urgent charging and discharging events (i.e., the set of auxiliary non-urgent charging and discharging events). And the set of emergency charging and discharging events (i.e., the set of auxiliary emergency charging and discharging events).
[0055] 3. For each auxiliary emergency charge / discharge event in the auxiliary emergency charge / discharge event set, charging is performed at the maximum charging power, i.e. And correct the lumped guidance power
[0056] 4. Determine the load status of the corrected lumped power guidance. If the corrected lumped power guidance is in a charging load state (i.e., ...) This will aggregate non-urgent charging and discharging events. according to The order is from smallest to largest, meaning that for non-urgent charging and discharging events, the relaxation θ j,t The smaller the value, the higher the charging priority. If the relaxation of non-urgent charging and discharging events is the same, then the remaining time λ... j,t The larger the value, the higher the charging priority; if the corrected lumped guidance power is in discharge load state (i.e. This will aggregate non-urgent charging and discharging events. according to The order is from largest to smallest, meaning that for non-urgent charge / discharge events, the relaxation θ is... j,t The larger the value, the higher the discharge priority. For non-urgent charge / discharge events, the relaxation θ... j,t If they are the same, then the remaining time λ j,t The smaller the value, the higher the discharge priority;
[0057] 5. If the corrected lumped power guidance is in charging load condition (i.e.) Then, charging power can be allocated to individual charging and discharging events (i.e., each auxiliary non-emergency charging and discharging event) one by one according to the charging priority order from high to low, and the lumped guidance power can be adjusted one by one; if the adjusted lumped guidance power is the discharge load (i.e. The charging power is allocated to each individual charging / discharging event (i.e., each auxiliary non-emergency charging / discharging event) in descending order of discharge priority, and the lumped guidance power is adjusted accordingly. The calculation expression for the charging / discharging power corresponding to each auxiliary non-emergency charging / discharging event is as follows:
[0058]
[0059] The lumped guidance power process is corrected as follows:
[0060]
[0061] Therefore, embodiments of this application can obtain a reliable reference power in the look-out phase by calculating the charging and discharging power corresponding to each auxiliary non-emergency charging and discharging event, such as... Figure 2 As shown, this provides guidance and basis for the allocation of reference power in the subsequent redistribution process.
[0062] In step S103, the lumped differential power and charge / discharge power margin at the current moment are calculated based on the set of non-emergency charge / discharge events, access information, and reference power. Based on the lumped differential power, charge / discharge power margin, and reference power, the charge / discharge power corresponding to each electric vehicle charge / discharge event is obtained. This allows the target charging piles corresponding to each non-emergency charge / discharge event and each emergency charge / discharge event in the emergency charge / discharge event set to charge the target electric vehicle using the charge / discharge power and the preset maximum charging power, respectively.
[0063] Furthermore, embodiments of this application can also calculate the lumped differential power and charge / discharge power margin at the current moment through the set of non-emergency charge / discharge events, the access information of the charging pile, and the reference power, and combine the aforementioned reference power to obtain the charge / discharge power of each non-emergency charge / discharge event, so as to control the charging pile corresponding to each non-emergency charge / discharge event to charge the electric vehicle with the charge / discharge power, and control the charging pile corresponding to each charge / discharge event to charge the electric vehicle with the maximum charging power.
[0064] Therefore, the embodiments of this application can, in real time, control the charging and discharging power of electric vehicles based on the electric vehicle access information statistically collected by charging piles, given the lumped power curve that needs to be tracked.
[0065] Optionally, in one embodiment of this application, calculating the lumped differential power and charge / discharge power margin at the current moment based on the set of non-emergency charge / discharge events, access information, and reference power includes: constructing the set of non-emergency charge / discharge events and the set of emergency charge / discharge events at the current moment based on the remaining time and relaxation; and calculating the lumped differential power and charge / discharge power margin based on the reference power, the set of non-emergency charge / discharge events, and the set of emergency charge / discharge events.
[0066] It should be noted that, in the embodiments of this application, the set of non-urgent charging / discharging events and the set of emergency charging / discharging events at the current moment are constructed using the remaining time and relaxation, and the lumped differential power ΔP after the current moment's reference power allocation is calculated using the following formula:
[0067]
[0068] Furthermore, embodiments of this application calculate the set of non-urgent charging and discharging events at the current moment. The charge / discharge power margin δp for non-emergency charge / discharge events j :
[0069]
[0070] Therefore, the embodiments of this application provide reliable data support for calculating the charging and discharging power corresponding to each electric vehicle charging and discharging event by calculating the lumped differential power and the charging and discharging power margin.
[0071] Optionally, in one embodiment of this application, the mathematical expression for the charging and discharging power corresponding to each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set at the current moment is:
[0072]
[0073] in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; Indicates reference power; δp j ΔP represents the charge / discharge power margin; ΔP represents the lumped differential power; j represents the j-th electric vehicle charge / discharge event in the set of electric vehicle charge / discharge events at the current moment.
[0074] Furthermore, embodiments of this application can calculate the charging and discharging power p corresponding to each electric vehicle charging and discharging event (including emergency charging and discharging events and non-emergency charging and discharging events) in the electric vehicle charging and discharging event set at the current time using the following formula. j :
[0075]
[0076] in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; Indicates reference power; δp j ΔP represents the charge / discharge power margin; ΔP represents the lumped differential power; j represents the j-th electric vehicle charge / discharge event in the set of electric vehicle charge / discharge events at the current moment.
[0077] Therefore, the implementation of this application can be achieved by issuing corresponding power commands (i.e., charging and discharging power) through the control center. jThe system controls the charging pile corresponding to each electric vehicle charging / discharging event to charge the electric vehicle with the corresponding charging / discharging power. Specifically, it controls the target charging pile corresponding to each non-emergency charging / discharging event to charge the electric vehicle with the charging / discharging power, and controls the charging pile corresponding to each emergency charging / discharging event to charge the electric vehicle with the maximum charging power.
[0078] It is understood that the embodiments of this application only determine the charging and discharging power of electric vehicles based on the real-time information of the currently accessed electric vehicles and the aggregated power guidance curve. This is easy to implement and can significantly reduce the tracking error of the aggregated power guidance curve by electric vehicle aggregators in the real-time control stage, and reduce the charging and discharging power fluctuation of individual electric vehicles. In addition, the power decomposition rules of the embodiments of this application have a fast calculation speed and are suitable for real-time control of electric vehicle charging and discharging power in large-scale electric vehicle access scenarios.
[0079] According to the real-time control method for electric vehicle charging and discharging power proposed in the embodiments of this application, the method acquires access information of at least one target charging pile and establishes a set of electric vehicle charging and discharging events and a target aggregate power guidance curve at the current moment based on the access information. Based on the access information and the target aggregate power guidance curve, the method performs aggregate power decomposition to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and calculates the remaining time and relaxation of each electric vehicle charging and discharging event at the current moment, so as to construct a set of non-emergency charging and discharging events and a set of emergency charging and discharging events at the current moment through the remaining time and relaxation. Based on the set of non-emergency charging and discharging events, access information and reference power, the method calculates the aggregate differential power and charging and discharging power margin at the current moment, and obtains the charging and discharging power corresponding to each electric vehicle charging and discharging event based on the aggregate differential power, charging and discharging power margin and reference power, so as to control the target charging piles corresponding to each emergency charging and discharging event in each non-emergency charging and discharging event and each emergency charging and discharging event in the emergency charging and discharging event set to charge the target electric vehicle with the charging and discharging power and the preset maximum charging power, respectively. This application enables real-time control of the charging and discharging power of electric vehicles based on the electric vehicle access information statistically collected by charging piles, given the lumped power curve that needs to be tracked. It is easy to implement, has low computational complexity, and is suitable for real-time control of electric vehicle charging and discharging power in scenarios with large-scale electric vehicle access.
[0080] Secondly, a real-time control device for the charging and discharging power of an electric vehicle according to an embodiment of this application will be described with reference to the accompanying drawings.
[0081] Figure 3 This is a block diagram of a real-time control device for the charging and discharging power of an electric vehicle according to an embodiment of this application.
[0082] like Figure 3As shown, the real-time control device 10 for the charging and discharging power of the electric vehicle includes: a setup module 100, a calculation module 200, and a control module 300.
[0083] The module 100 is used to obtain access information of at least one target charging pile and to establish a set of electric vehicle charging and discharging events and a target set total power guidance curve based on the access information at the current moment.
[0084] The calculation module 200 is used to perform a lumped power decomposition operation based on the access information and the target lumped power guidance curve to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and to calculate the remaining time and relaxation of each electric vehicle charging and discharging event at the current moment, so as to construct the non-emergency charging and discharging event set and the emergency charging and discharging event set at the current moment through the remaining time and relaxation.
[0085] The control module 300 is used to calculate the lumped differential power and charge / discharge power margin at the current moment based on the set of non-emergency charge / discharge events, access information and reference power, and to obtain the charge / discharge power corresponding to each electric vehicle charge / discharge event based on the lumped differential power, charge / discharge power margin and reference power, so as to control the target charging pile corresponding to each emergency charge / discharge event in each non-emergency charge / discharge event and each emergency charge / discharge event in the emergency charge / discharge event set to charge the target electric vehicle with the charge / discharge power and the preset maximum charging power respectively.
[0086] Optionally, in one embodiment of this application, the calculation module 200 includes: a determination unit, a first calculation unit, and a recording unit.
[0087] The determining unit is used to determine the initialization simulation time and initial power information of the target electric vehicle based on the access information, and to construct an auxiliary charging and discharging event set through the initialization simulation time.
[0088] The first calculation unit is used to calculate the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set based on the initial power information, the target set total power guidance curve, and the preset priority criteria.
[0089] The recording unit is used to correct the starting charge level of each auxiliary charging and discharging event at the next moment by using the charging and discharging power corresponding to each auxiliary charging and discharging event, so as to calculate the reference power of each electric vehicle charging and discharging event based on the corrected starting charge level.
[0090] Optionally, in one embodiment of this application, the arithmetic unit is specifically used for,
[0091] Calculate the remaining auxiliary time and slack for each auxiliary charge / discharge event, and construct a set of auxiliary non-emergency charge / discharge events and a set of auxiliary emergency charge / discharge events based on the remaining auxiliary time and slack.
[0092] For each auxiliary emergency charge / discharge event in the auxiliary emergency charge / discharge event set, a charging operation is performed at a preset maximum charging power. Based on the target lumped power guidance curve, the lumped guidance power is corrected, and the load status of the corrected lumped guidance power is judged.
[0093] If the corrected lumped guidance power is in the charging load state, then all auxiliary non-emergency charging and discharging events in the auxiliary non-emergency charging and discharging event set are sorted in ascending order according to the auxiliary remaining time, auxiliary slack, and priority criteria, and the corresponding charging power is allocated to each auxiliary non-emergency charging and discharging event based on the preset charging priority strategy.
[0094] If the corrected lumped guidance power is in the state of discharge load, then all auxiliary non-emergency charge and discharge events in the set of auxiliary non-emergency charge and discharge events are sorted in descending order according to the auxiliary remaining time, auxiliary slack, and priority criteria, and the corresponding discharge power is allocated to each auxiliary non-emergency charge and discharge event based on the preset discharge priority strategy.
[0095] Optionally, in one embodiment of this application, the control module 300 includes: a construction unit and a second operation unit.
[0096] The construction unit is used to construct the set of non-urgent charging / discharging events and the set of emergency charging / discharging events at the current moment based on the remaining time and relaxation.
[0097] The second computing unit is used to calculate the lumped differential power and the charge / discharge power margin based on the reference power, the set of non-emergency charge / discharge events, and the set of emergency charge / discharge events.
[0098] Optionally, in one embodiment of this application, the mathematical expression for the charging and discharging power corresponding to each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set at the current moment is:
[0099]
[0100] in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; Indicates reference power; δp jΔP represents the charge / discharge power margin; ΔP represents the lumped differential power; j represents the j-th electric vehicle charge / discharge event in the set of electric vehicle charge / discharge events at the current moment.
[0101] It should be noted that the explanation of the above-mentioned real-time control method for electric vehicle charging and discharging power also applies to the real-time control device for electric vehicle charging and discharging power in this embodiment, and will not be repeated here.
[0102] The real-time control device for electric vehicle charging and discharging power according to the embodiments of this application includes an establishment module for acquiring access information of at least one target charging pile and establishing a set of electric vehicle charging and discharging events and a target aggregate power guidance curve based on the access information; a calculation module for performing aggregate power decomposition operation based on the access information and the target aggregate power guidance curve to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and calculating the remaining time and relaxation of each electric vehicle charging and discharging event at the current time, so as to construct a set of non-emergency charging and discharging events and a set of emergency charging and discharging events at the current time through the remaining time and relaxation; and a control module for calculating the aggregate differential power and charging and discharging power margin at the current time based on the set of non-emergency charging and discharging events, access information and reference power, and obtaining the charging and discharging power corresponding to each electric vehicle charging and discharging event based on the aggregate differential power, charging and discharging power margin and reference power, so as to control the target charging piles corresponding to each emergency charging and discharging event in each set of non-emergency charging and discharging events to charge the target electric vehicle with the charging and discharging power and the preset maximum charging power respectively. This application enables real-time control of the charging and discharging power of electric vehicles based on the electric vehicle access information statistically collected by charging piles, given the lumped power curve that needs to be tracked. It is easy to implement, has low computational complexity, and is suitable for real-time control of electric vehicle charging and discharging power in scenarios with large-scale electric vehicle access.
[0103] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:
[0104] The memory 401, the processor 402, and the computer program stored on the memory 401 and capable of running on the processor 402.
[0105] When the processor 402 executes the program, it implements the real-time control method for the charging and discharging power of electric vehicles provided in the above embodiments.
[0106] Furthermore, electronic devices also include:
[0107] Communication interface 403 is used for communication between memory 401 and processor 402.
[0108] The memory 401 is used to store computer programs that can run on the processor 402.
[0109] The memory 401 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0110] If the memory 401, processor 402, and communication interface 403 are implemented independently, then the communication interface 403, memory 401, and processor 402 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0111] Optionally, in a specific implementation, if the memory 401, processor 402, and communication interface 403 are integrated on a single chip, then the memory 401, processor 402, and communication interface 403 can communicate with each other through an internal interface.
[0112] Processor 402 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0113] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described real-time control method for the charging and discharging power of an electric vehicle.
[0114] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0115] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0116] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0118] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0119] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0120] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0121] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A real-time control method for the charging and discharging power of an electric vehicle, characterized in that, Includes the following steps: Obtain access information for at least one target charging pile, and establish a set of electric vehicle charging and discharging events and a target set total power guidance curve based on the access information at the current moment; Based on the access information and the target aggregate power guidance curve, an aggregate power decomposition operation is performed to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and to calculate the remaining time and relaxation of each electric vehicle charging and discharging event at the current moment, so as to construct the non-emergency charging and discharging event set and the emergency charging and discharging event set at the current moment through the remaining time and the relaxation. Based on the set of non-emergency charging and discharging events, the access information, and the reference power, the lumped differential power and charging and discharging power margin at the current moment are calculated. Based on the lumped differential power, the charging and discharging power margin, and the reference power, the target charging and discharging power corresponding to each electric vehicle charging and discharging event is obtained, so as to control the target charging piles corresponding to each non-emergency charging and discharging event and each emergency charging and discharging event in the set of emergency charging and discharging events to charge the target electric vehicle with the target charging and discharging power respectively. The step of performing aggregated power decomposition based on the access information and the target aggregated power guidance curve to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set includes: Based on the access information, the initialization simulation time and initial power information of the target electric vehicle are determined, and an auxiliary charging and discharging event set is constructed through the initialization simulation time; The charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set is calculated based on the initial power information, the target set total power guidance curve, and the preset priority criteria. The starting charge level of each auxiliary charging and discharging event at the next moment is corrected by the charging and discharging power corresponding to each auxiliary charging and discharging event, so as to calculate the reference power of each electric vehicle charging and discharging event based on the corrected starting charge level. The mathematical expression for the target charging / discharging power corresponding to each electric vehicle charging / discharging event is as follows: in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; This represents the reference power; This indicates the charge / discharge power margin; This represents the lumped differential power; This indicates the first event in the set of electric vehicle charging and discharging events at the current moment. One electric vehicle charging / discharging event; The mathematical expression for the relaxation degree is: in, This indicates the degree of relaxation; Indicates the first The remaining time for each electric vehicle charging / discharging event; Indicates the first The expected charge level at the time of departure for each electric vehicle charging / discharging event; Indicates the first The current battery level of an electric vehicle charging / discharging event.
2. The method according to claim 1, characterized in that, The step of calculating the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set based on the initial power information, the target total power guidance curve, and the preset priority criteria includes: Calculate the remaining auxiliary time and slack corresponding to each auxiliary charge / discharge event, and construct a set of auxiliary non-emergency charge / discharge events and a set of auxiliary emergency charge / discharge events based on the remaining auxiliary time and slack. For each auxiliary emergency charging and discharging event in the set of auxiliary emergency charging and discharging events, a charging operation is performed at a preset maximum charging power, and the lumped guidance power is corrected based on the target lumped power guidance curve, and the load status of the corrected lumped guidance power is judged. If the corrected aggregated guidance power is in the charging load state, then all the auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in ascending order according to the auxiliary remaining time, the auxiliary slack assistance, and the priority criterion, and the corresponding charging power is allocated to each auxiliary non-emergency charging and discharging event based on the preset charging priority strategy. If the corrected lumped guidance power is in a discharge load state, then all auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in descending order according to the auxiliary remaining time, the auxiliary relaxation assistance, and the priority criterion, and a corresponding discharge power is allocated to each auxiliary non-emergency charging and discharging event based on a preset discharge priority strategy.
3. The method according to claim 1, characterized in that, The step of calculating the lumped differential power and charge / discharge power margin at the current moment based on the set of non-emergency charging / discharging events, the access information, and the reference power includes: Construct the set of non-emergency charging / discharging events and the set of emergency charging / discharging events at the current moment based on the remaining time and the relaxation; Based on the reference power, the set of non-emergency charging and discharging events, and the set of emergency charging and discharging events, the lumped differential power and the charging and discharging power margin are calculated.
4. A real-time control device for the charging and discharging power of an electric vehicle, characterized in that, include: A module is established to acquire access information of at least one target charging pile and, based on the access information, establish a set of electric vehicle charging and discharging events and a target set total power guidance curve at the current moment. The calculation module is used to perform a total power decomposition operation based on the access information and the target total power guidance curve to obtain the reference power of each electric vehicle charging and discharging event in the electric vehicle charging and discharging event set, and to calculate the remaining time and relaxation of each electric vehicle charging and discharging event at the current moment, so as to construct the non-emergency charging and discharging event set and the emergency charging and discharging event set at the current moment through the remaining time and the relaxation. The control module is used to calculate the lumped differential power and charge / discharge power margin at the current moment based on the set of non-emergency charge / discharge events, the access information, and the reference power, and to obtain the charge / discharge power corresponding to each electric vehicle charge / discharge event based on the lumped differential power, the charge / discharge power margin, and the reference power, so as to control the target charging piles corresponding to each non-emergency charge / discharge event and each emergency charge / discharge event in the set of emergency charge / discharge events to charge the target electric vehicle with the charge / discharge power and the preset maximum charging power, respectively. The calculation module includes: The determining unit is used to determine the initialization simulation time and initial power information of the target electric vehicle based on the access information, and to construct an auxiliary charging and discharging event set through the initialization simulation time; The first calculation unit is used to calculate the charging and discharging power corresponding to each auxiliary charging and discharging event in the auxiliary charging and discharging event set based on the initial power information, the target set total power guidance curve and the preset priority criteria. The recording unit is used to correct the starting charge of each auxiliary charging and discharging event at the next moment by the charging and discharging power corresponding to each auxiliary charging and discharging event, so as to calculate the reference power of each electric vehicle charging and discharging event based on the corrected starting charge. The mathematical expression for the charging and discharging power corresponding to each electric vehicle charging and discharging event in the current electric vehicle charging and discharging event set is as follows: in, This represents the set of emergency charging and discharging events at the current moment. This represents the set of non-urgent charging and discharging events at the current moment. Indicates the maximum charging power; This represents the reference power; This indicates the charge / discharge power margin; This represents the lumped differential power; This indicates the first event in the set of electric vehicle charging and discharging events at the current moment. One electric vehicle charging / discharging event; The mathematical expression for the relaxation degree is: in, This indicates the degree of relaxation; Indicates the first The remaining time for each electric vehicle charging / discharging event; Indicates the first The expected charge level at the time of departure for each electric vehicle charging / discharging event; Indicates the first The current battery level of an electric vehicle charging / discharging event.
5. The apparatus according to claim 4, characterized in that, The arithmetic unit is specifically used for: Calculate the remaining auxiliary time and slack corresponding to each auxiliary charge / discharge event, and construct a set of auxiliary non-emergency charge / discharge events and a set of auxiliary emergency charge / discharge events based on the remaining auxiliary time and slack. For each auxiliary emergency charging and discharging event in the set of auxiliary emergency charging and discharging events, a charging operation is performed at a preset maximum charging power, and the lumped guidance power is corrected based on the target lumped power guidance curve, and the load status of the corrected lumped guidance power is judged. If the corrected aggregated guidance power is in the charging load state, then all the auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in ascending order according to the auxiliary remaining time, the auxiliary slack assistance, and the priority criterion, and the corresponding charging power is allocated to each auxiliary non-emergency charging and discharging event based on the preset charging priority strategy. If the corrected lumped guidance power is in a discharge load state, then all auxiliary non-emergency charging and discharging events in the set of auxiliary non-emergency charging and discharging events are sorted in descending order according to the auxiliary remaining time, the auxiliary relaxation assistance, and the priority criterion, and a corresponding discharge power is allocated to each auxiliary non-emergency charging and discharging event based on a preset discharge priority strategy.
6. The apparatus according to claim 4, characterized in that, The control module includes: The construction unit is used to construct the set of non-emergency charging and discharging events and the set of emergency charging and discharging events at the current moment based on the remaining time and the relaxation. The second calculation unit is used to calculate the lumped differential power and the charge / discharge power margin based on the reference power, the set of non-emergency charge / discharge events, and the set of emergency charge / discharge events.
7. An electronic device, characterized in that, include: The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the real-time control method for the charging and discharging power of an electric vehicle as described in any one of claims 1-3.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the real-time control method for the charging and discharging power of an electric vehicle as described in any one of claims 1-3.
