A charging demand prediction method based on the temporal and spatial distribution of electric vehicles

By establishing a charging demand indicator system and using random forest algorithm and Monte Carlo simulation to predict the charging behavior and location of electric vehicles, the problem of electric vehicle charging demand management is solved, and the rational utilization of charging facilities and the optimization of grid load are achieved.

CN114781733BActive Publication Date: 2024-09-13STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210456783.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-09-13
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

Existing technology cannot effectively manage the charging needs of electric vehicles, resulting in uneven power supply pressure at charging facilities, which may cause the grid load to exceed design requirements and even lead to power outages and other problems.

Method used

The charging demand prediction method based on the spatiotemporal distribution of electric vehicles, by establishing a charging demand indicator system, using random forest algorithm and Monte Carlo simulation, predicts the charging behavior and location of electric vehicles, and optimizes charging strategies and power dispatching.

Benefits of technology

It effectively shortens the charging demand prediction cycle, improves location prediction accuracy, helps double optimization of power grid operations, rationally utilizes charging facilities, and alleviates high energy replenishment pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114781733B
    Figure CN114781733B
Patent Text Reader

Abstract

The present invention provides a charging demand prediction method based on the spatiotemporal distribution of electric vehicles, which can effectively use electric vehicle big data to make a comprehensive prediction of whether the vehicle will be charged the next day, and if so, the corresponding charging start time, location, charging duration, charged power, starting SOC and other information for each electric vehicle connected to the Internet of Vehicles. This method makes predictions based on the spatiotemporal distribution correlation of parking segments and charging segments. Compared with the existing technology, it can significantly shorten the cycle of charging demand prediction and improve the accuracy of location prediction, which is conducive to the background to combine the prediction results to achieve dual optimization of single vehicle and power grid operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of charging control management of electric vehicle power batteries, and in particular relates to a charging demand prediction method based on the temporal and spatial distribution of electric vehicles. Background Art

[0002] At present, with the rapid growth of new electric vehicles connected to the power grid, the operation and planning of the power system have been affected significantly. Since the current demand for electric vehicle charging and the selection of corresponding charging facilities are highly random and unpredictable, some charging stations are often under great pressure to supply power and other charging facilities cannot be effectively utilized, which can easily cause the local load of the power grid to exceed the design requirements. In serious cases, power grid fluctuations and power outages may occur. The existing technology lacks scientific and comprehensive management methods for the massive electric vehicles and charging facilities, and cannot provide reasonable power dispatch according to the actual charging needs, resulting in the contradiction between high charging pressure and insufficient construction of charging facilities at this stage cannot be effectively alleviated. Summary of the invention

[0003] In view of this, in view of the technical problems existing in the above-mentioned field, the present invention provides a charging demand prediction method based on the spatiotemporal distribution of electric vehicles, which specifically includes the following steps:

[0004] Step 1: Considering the use process of electric vehicles and the operation characteristics of the power grid, select the time, power and corresponding rechargeable power, the location where the charging behavior occurs, and other information related to the charging behavior, and establish a corresponding charging demand indicator system for electric vehicles;

[0005] Step 2: Based on the established charging demand indicator system, extract the corresponding identity information, historical charging segment information within a certain time range, and historical parking segment information (including parking charging segments) for each electric vehicle;

[0006] Step 3: Using the historical operation data of each electric vehicle, extract the corresponding information of whether charging occurred, the interval between the last charging segments, the month, the age of the vehicle, whether the day and the two consecutive days are working days, and the vehicle's operating range from the daily operation data. Combine these information sets into training samples, and train the random forest algorithm to obtain a charging trigger judgment model.

[0007] Step 4: According to the locations where charging behaviors and parking behaviors occur in the historical operation data, non-random charging segments and non-random parking segments are obtained respectively; Monte Carlo simulation is performed on the non-random charging segments and non-random parking segments to obtain a charging spatiotemporal probability distribution model that occurs from different combinations of information including the start and end time of the charging behavior, whether charging occurs on a weekday, the charging start SOC, the charging power, and the charging location;

[0008] Step 5: Using the historical electric vehicle operation data, based on the charging trigger judgment model, predict whether each electric vehicle will charge the next day, and then predict the possible location, charging time, charging power and charge state of the charging behavior the next day based on the charging spatiotemporal probability distribution model; determine the charging power range of each electric vehicle based on the prediction results, and perform corresponding vehicle charging strategy optimization and power dispatch optimization in combination with the charging location and grid load.

[0009] Furthermore, the charging demand indicator system in step 1 specifically selects the following charging behavior-related information:

[0010] Charging start time, charging time, charging start SOC, charging end SOC, charged power, charging power range, charging longitude and charging latitude.

[0011] Furthermore, in step 2, the historical operation data of the i-th electric vehicle in the past 5 months is obtained. i The historical charging segment information extracted from it is recorded as EV i cfrag , which consists of the following 8 extracted fields:

[0012] Unique vehicle identifier Vin, segment start time Start time, segment end time End time, charging longitude Charge lon, charging latitude Charge lat, charged energy Charge energy, segment start state of charge Startsoc, segment end state of charge Endsoc;

[0013] The extracted historical parking fragment information is recorded as It consists of the following 6 extracted fields:

[0014] Vehicle unique identifier Vin, segment start time Start time, segment end time End time, parking longitude Stop lon, parking latitude Stop lat, parking duration Stop length.

[0015] Furthermore, the specific construction process of the training sample for training the random forest algorithm in step 3 includes firstly i Divide by date, record the date of prediction as T, the predicted date as T+1, and perform the following steps in sequence:

[0016] a) Create a label for the charging behavior on day T+1. If there is a charging behavior, it is recorded as 1, otherwise it is recorded as 0, and the label is established as the data set label;

[0017] b) The date of the last charging segment before 24:00 on T-1 is recorded as Calculate T+1 day The number of days between i , and form a field named dayLength, and obtain the corresponding data set data1;

[0018] c) Classify the months according to the relationship between time and temperature change. The specific rules are: [December, January, February] is recorded as 1, [March, November] is recorded as 2, [April, October] is recorded as 3, [May, September] is recorded as 4, [June, July, August] is recorded as 5, forming a field named tempInterval and obtaining the corresponding data set data2;

[0019] d) The vehicle usage period is calculated by the difference between the T+1 date and the start date of the first frame of data when the electric vehicle is connected to the Internet of Vehicles detection platform, and classified into different ranges of 1-3 years, 4-6 years, and more than 6 years to form a field named usingLength, and the corresponding data set data3 is obtained;

[0020] e) Determine whether T-1, T, and T+1 are working days. If they are working days, the value is 1; otherwise, the value is 0. Fields named T-1iswork, TisWork, and T+1isWork are formed, and the corresponding data sets data4, data5, and data6 are obtained.

[0021] f) The vehicle operating range forms a field named drivingLength, and the corresponding data set data7 is obtained;

[0022] g) merging the data sets in the format of [data1, data2, data3, data4, data5, data6, data7, label] to form training samples for the random forest algorithm, and randomly dividing the data sets in the ratio of training set: test set = 7:3;

[0023] The charging trigger judgment model is obtained by inputting the training samples into a random algorithm for training. The electric vehicle operation data obtained on a certain date is input into the model That is, it can predict whether charging behavior is likely to occur the next day.

[0024] Furthermore, the step 4 specifically includes the following steps:

[0025] 1) First, follow the following rules to calculate the historical operation data EV i Perform data cleaning to obtain non-random charging segments and non-random parking segments respectively:

[0026] Select the charging data of vehicles with charging behavior on T+1 day, multiply the thousandth approximate values ​​of the charging longitude Charge lon and the charging latitude Charge lat fields by 1000, and concatenate and merge them to obtain a total of 11 digits of the Charge lonlat field, and the field format is jjjjjj-wwwww; then count the Charge lonlat field to obtain the Ctimes field, and define the Charge lonlat field with Ctimes greater than 1 as a non-random charging segment For parking clips The thousandth approximate values ​​of the Stop lon and Stop lat fields in the table are multiplied by 1000 and then concatenated to obtain a Stop lonlat field with a total of 11 digits. The field format is jjjjjj-wwwww. Then, the Stop lonlat is counted to obtain the Stimes field. The Stop lonlat field with a Stimes greater than 1 is defined as a non-random parking segment.

[0027] 2) For the non-random charging segment Perform a Monte Carlo simulation of the following process:

[0028] a) For the fragment The charging start time in is segmented based on the shortest dispatch cycle of the power grid. The segmentation rule is as follows: 24 hours a day from [00:00, 00:15) to [23:45, 24:00) is divided into multiple time intervals with 15 minutes as an interval unit; the charging start time is matched with each time interval to form an interval value field named ctimeInterval;

[0029] b) Based on the difference in average daily travel distribution between working days and non-working days, the data is processed as follows: the charging segment start time is taken out in the format of year-month-day YYYYMMDD and recorded as "charging start date" and grouped by working days and non-working days. The charging start date of "working day" is recorded as 1 and "non-working day" is recorded as 0, forming a field named isWork;

[0030] c) Combine the ctimeInterval field, isWork field, and Charge lonlat field, and calculate the total number of times Ctimes that the start charging time of each combination falls in each time interval diff , and calculate the total number of charging times Ctimes all , using Ctimes diff Divide by Ctimes all The distribution probability of each charging start time in each interval is recorded as Pro diff, forming a field named Probability;

[0031] d) Select the ctimeInterval field, isWork field, and Charge lonlat field to form C situation , and calculate different C situation Different combinations of the three fields correspond to the average charging power The average value of charging capacity based on statistical theory Obeying normal distribution, calculate C situation Corresponding charging capacity standard deviation Take the confidence interval of 95%, the power interval is Create a field named energyInterval;

[0032] e) For C situation And calculate the average SOC value of the start of charging for different combinations of the three fields The average SOC value at the start of charging based on statistical theory Obeying normal distribution, calculate C situation The corresponding charging start SOC standard deviation, taking the confidence interval of 95%, the SOC interval is Create a field named startSocInterval;

[0033] 3) For the non-random parking segment Perform the following steps:

[0034] a) Segment the parking start time. The segmentation rule is: divide the 24 hours of a day from [00:00, 00:15) to [23:45, 24:00) into multiple time intervals with 15 minutes as one interval unit; match the parking start time with each time interval to form an interval value field named stimeInterval;

[0035] b) Based on the difference in average daily travel distribution between working days and non-working days, the data is processed as follows: the parking segment start time is extracted in the format of year-month-day YYYYMMDD and recorded as "parking start date" and grouped by working days and non-working days. The charging start date is recorded as 1 for "working days" and 0 for "non-working days", forming a field named isWork;

[0036] c) Select the stimeInterval field, isWork field, and Stop lonlat field to form S situation , and calculate different S situation Different combinations of the three fields correspond to the average parking time The average value of charging capacity based on statistical theory Obey the normal distribution and calculate S situation The corresponding parking time standard deviation Taking the unit as hour and accurate to percentile, the parking time interval is Create a field named timeLengthInterval.

[0037] Furthermore, the step five specifically utilizes the electric vehicle operation data acquired in real time, and predicts that a certain electric vehicle will charge the next day based on the charging trigger judgment model, and then obtains the corresponding fields Charge lonlat, energyInterval, ctimeInterval, and startSocInterval with the maximum probability from the charging spatiotemporal probability distribution model as the prediction results; based on the correspondence between the charging and parking segments, the fields Chargelonlat and Stop lonlat are the same, and the start time of the charging segment is later than the start time of the parking segment and the absolute value of the difference between the start time of the charging segment and the start time of the parking segment is the smallest as a basis, and the timeLengthInterval field with the maximum probability and the corresponding charging end time are obtained.

[0038] Furthermore, in step 5, the minimum and maximum average adjustable charging powers of each electric vehicle are calculated based on the following formulas:

[0039]

[0040]

[0041] The charging power range of each electric vehicle is determined as [power min , power max ]; Combine the predicted charging location with the power dispatching area location to perform dual optimization of the corresponding single-vehicle charging strategy and power dispatching according to the actual power grid load situation.

[0042] The charging demand prediction method based on the spatiotemporal distribution of electric vehicles provided by the present invention can effectively use the big data of electric vehicles to make a comprehensive prediction of whether the vehicle will be charged the next day, the corresponding charging start time, location, charging duration, charged power, starting SOC and other information for each electric vehicle connected to the Internet of Vehicles. This method makes predictions based on the spatiotemporal distribution correlation of parking segments and charging segments. Compared with the existing technology, it can significantly shorten the cycle of charging demand prediction and improve the accuracy of location prediction, which is conducive to the background to combine the prediction results to achieve dual optimization of single vehicle and power grid operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1The present invention provides a flowchart of the overall process of the method. DETAILED DESCRIPTION

[0044] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] The present invention provides a charging demand prediction method based on the temporal and spatial distribution of electric vehicles, such as Figure 1 As shown, the specific steps include:

[0046] Step 1: Considering the use process of electric vehicles and the operation characteristics of the power grid, select the time, power and corresponding rechargeable power, the location where the charging behavior occurs, and other information related to the charging behavior, and establish a corresponding charging demand indicator system for electric vehicles;

[0047] Step 2: Based on the established charging demand indicator system, extract the corresponding identity information, historical charging segment information within a certain time range, and historical parking segment information for each electric vehicle;

[0048] Step 3: Using the historical operation data of each electric vehicle, extract the corresponding information of whether charging occurred, the interval between the last charging segments, the month, the age of the vehicle, whether the day and the two consecutive days are working days, and the vehicle's operating range from the daily operation data. Combine these information sets into training samples, and train the random forest algorithm to obtain a charging trigger judgment model.

[0049] Step 4: According to the locations of the charging behaviors and parking behaviors (including charging) in the historical operation data, non-random charging segments and non-random parking segments are obtained respectively; Monte Carlo simulation is performed on the non-random charging segments and non-random parking segments to obtain a charging spatiotemporal probability distribution model resulting from different combinations of information including the start and end time of the charging behavior, whether the charging occurs on a weekday, the charging start SOC, the charging power, and the charging location;

[0050] Step 5: Using the historical electric vehicle operation data, based on the charging trigger judgment model, predict whether each electric vehicle will charge the next day, and then predict the possible location, charging time, charging power and charge state of the charging behavior the next day based on the charging spatiotemporal probability distribution model; determine the charging power range of each electric vehicle based on the prediction results, and perform corresponding vehicle charging strategy optimization and power dispatch optimization in combination with the charging location and grid load.

[0051] In a preferred embodiment of the present invention, the charging demand indicator system in step 1 specifically selects the following charging behavior-related information:

[0052] Charging start time, charging time, charging start SOC, charging end SOC, charged power, charging power range, charging longitude and charging latitude.

[0053] In a preferred embodiment of the present invention, based on the actual vehicle operation data of the new energy vehicle monitoring and management platform, in step 2, the historical operation data of the i-th electric vehicle in the past 5 months is obtained. i , the historical charging segment information extracted from it is recorded as It consists of the following 8 extracted fields:

[0054] Unique vehicle identifier Vin, segment start time Start time, segment end time End time, charging longitude Charge lon, charging latitude Charge lat, charged energy Charge energy, segment start state of charge Startsoc, segment end state of charge Endsoc;

[0055] The extracted historical parking fragment information is recorded as It consists of the following 6 extracted fields:

[0056] Vehicle unique identifier Vin, segment start time Start time, segment end time End time, parking longitude Stop lon, parking latitude Stop lat, parking duration Stop length.

[0057] In a preferred embodiment of the present invention, the specific construction process of the training sample for training the random forest algorithm in step 3 includes firstly i Divide by date, record the date of prediction as T, the predicted date as T+1, and perform the following steps in sequence:

[0058] a) Create a label for the charging behavior on day T+1. If there is a charging behavior, it is recorded as 1, otherwise it is recorded as 0, and the label is established as the data set label;

[0059] b) The date of the last charging segment before 24:00 on T-1 is recorded as Calculate T+1 day The number of days between i , and form a field named dayLength, and obtain the corresponding data set data1;

[0060] c) Classify the months according to the relationship between time and temperature change. The specific rules are: [December, January, February] is recorded as 1, [March, November] is recorded as 2, [April, October] is recorded as 3, [May, September] is recorded as 4, [June, July, August] is recorded as 5, forming a field named tempInterval and obtaining the corresponding data set data2;

[0061] d) The vehicle usage period is calculated by the difference between the T+1 date and the start date of the first frame of data when the electric vehicle is connected to the Internet of Vehicles detection platform, and classified into different ranges of 1-3 years, 4-6 years, and more than 6 years to form a field named usingLength, and the corresponding data set data3 is obtained;

[0062] e) Determine whether T-1, T, and T+1 are working days. If they are working days, the value is 1; otherwise, the value is 0. Fields named T-1iswork, TisWork, and T+1isWork are formed, and the corresponding data sets data4, data5, and data6 are obtained.

[0063] f) The vehicle operating range forms a field named drivingLength, and the corresponding data set data7 is obtained;

[0064] g) merging the data sets in the format of [data1, data2, data3, data4, data5, data6, data7, label] to form training samples for the random forest algorithm, and randomly dividing the data sets in the ratio of training set: test set = 7:3;

[0065] The charging trigger judgment model is obtained by inputting the training samples into a random algorithm for training. The electric vehicle operation data obtained on a certain date is input into the model That is, it can predict whether charging behavior is likely to occur the next day.

[0066] In a preferred embodiment of the present invention, the step 4 specifically includes the following steps:

[0067] 1) First, follow the following rules to calculate the historical operation data EV i Perform data cleaning to obtain non-random charging segments and non-random parking segments respectively:

[0068] Select the charging data of vehicles with charging behavior on T+1 day, multiply the thousandth approximate values ​​of the charging longitude Charge lon and the charging latitude Charge lat fields by 1000, and concatenate and merge them to obtain a total of 11 digits of the Charge lonlat field, and the field format is jjjjjj-wwwww; then count the Charge lonlat field to obtain the Ctimes field, and define the Charge lonlat field with Ctimes greater than 1 as a non-random charging segment For parking clips The thousandth approximate values ​​of the Stop lon and Stop lat fields in the table are multiplied by 1000 and then concatenated to obtain a Stop lonlat field with a total of 11 digits. The field format is jjjjjj-wwwww. Then, the Stop lonlat is counted to obtain the Stimes field. The Stop lonlat field with a Stimes greater than 1 is defined as a non-random parking segment.

[0069] 2) For the non-random charging segment Perform a Monte Carlo simulation of the following process:

[0070] a) For the fragment The charging start time in is segmented based on the shortest dispatch cycle of the power grid. The segmentation rule is as follows: 24 hours a day from [00:00, 00:15) to [23:45, 24:00) is divided into multiple time intervals with 15 minutes as an interval unit; the charging start time is matched with each time interval to form an interval value field named ctimeInterval;

[0071] b) Based on the difference in average daily travel distribution between working days and non-working days, the data is processed as follows: the charging segment start time is taken out in the format of year-month-day YYYYMMDD and recorded as "charging start date" and grouped by working days and non-working days. The charging start date of "working day" is recorded as 1 and "non-working day" is recorded as 0, forming a field named isWork;

[0072] c) Combine the ctimeInterval field, isWork field, and Charge lonlat field, and calculate the total number of times Ctimes that the start charging time of each combination falls in each time interval diff , and calculate the total number of charging times Ctimes all , using Ctimes diff Divide by Ctimes all The distribution probability of each charging start time in each interval is recorded as Pro diff, forming a field named Probability;

[0073] d) Select the ctimeInterval field, isWork field, and Charge lonlat field to form C situation , and calculate different C situation Different combinations of the three fields correspond to the average charging power The average value of charging capacity based on statistical theory Obeying normal distribution, calculate C situation Corresponding charging capacity standard deviation Take the confidence interval of 95%, the power interval is Create a field named energyInterval;

[0074] e) For C situation And calculate the average SOC value of the start of charging for different combinations of the three fields The average SOC value at the start of charging based on statistical theory Obeying normal distribution, calculate C situation The corresponding charging start SOC standard deviation, taking the confidence interval of 95%, the SOC interval is Create a field named startSocInterval;

[0075] 3) For the non-random parking segment Perform the following steps:

[0076] a) Segment the parking start time. The segmentation rule is: divide the 24 hours of a day from [00:00, 00:15) to [23:45, 24:00) into multiple time intervals with 15 minutes as one interval unit; match the parking start time with each time interval to form an interval value field named stimeInterval;

[0077] b) Based on the difference in average daily travel distribution between working days and non-working days, the data is processed as follows: the parking segment start time is extracted in the format of year-month-day YYYYMMDD and recorded as "parking start date" and grouped by working days and non-working days. The charging start date is recorded as 1 for "working days" and 0 for "non-working days", forming a field named isWork;

[0078] c) Select the stimeInterval field, isWork field, and Stop lonlat field to form S situation , and calculate different S situation Different combinations of the three fields correspond to the average parking time The average value of charging capacity based on statistical theory Obey the normal distribution and calculate S situation The corresponding parking time standard deviation Taking the unit as hour and accurate to percentile, the parking time interval is Create a field named timeLengthInterval.

[0079] In a preferred embodiment of the present invention, the step five specifically utilizes the electric vehicle operation data acquired in real time, and predicts that a certain electric vehicle will charge the next day based on the charging trigger judgment model, and then obtains the corresponding fields Charge lonlat, energyInterval, ctimeInterval, and startSocInterval with the maximum probability from the charging spatiotemporal probability distribution model as the prediction results; based on the correspondence between the charging and parking segments, the fields Charge lonlat and Stop lonlat are made the same, and the start time of the charging segment is later than the start time of the parking segment and the absolute value of the difference between the start time of the charging segment and the start time of the parking segment is the smallest as a basis, and the timeLengthInterval field with the maximum probability and the corresponding charging end time are obtained.

[0080] In a preferred embodiment of the present invention, the minimum and maximum average adjustable charging powers of each electric vehicle are calculated based on the following formulas:

[0081]

[0082]

[0083] The charging power range of each electric vehicle is determined as [power min , power max ]; Combine the predicted charging location with the power dispatching area location to perform dual optimization of the corresponding single-vehicle charging strategy and power dispatching according to the actual power grid load situation.

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

[0085] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A charging demand prediction method based on the temporal and spatial distribution of electric vehicles, Features: The specific steps include: Step 1: Considering the use process of electric vehicles and the operation characteristics of the power grid, select the time, power and corresponding rechargeable power, and location information related to charging behavior, and establish a corresponding charging demand indicator system for electric vehicles; Step 2: Based on the established charging demand indicator system, extract corresponding identity information, historical charging segment information within a certain time range, and historical parking segment information for each electric vehicle, wherein the historical parking segment information includes parking charging data; Step 3: Using the historical operation data of each electric vehicle, extract the corresponding information of whether charging occurs, the last charging interval, the month, the age of the vehicle, whether the day and the two consecutive days are working days, and the vehicle's operating range in the daily operation data, and combine these information sets to form training samples, and train the random forest algorithm to obtain a charging trigger judgment model; the specific construction process of the training sample includes firstly analyzing the historical operation data EV i Divide by date, record the date of prediction as T, the predicted date as T+1, and perform the following steps in sequence: a) Create a label for the charging behavior on day T+1. If there is a charging behavior, it is recorded as 1, otherwise it is recorded as 0, and the label is established as the data set label; b) The date of the last charging segment before 24:00 on T-1 is recorded as Calculate T+1 day The number of days between i , and form a field named dayLength, and obtain the corresponding data set data1; c) Classify the months according to the relationship between time and temperature change. The specific rules are: [December, January, February] is recorded as 1, [March, November] is recorded as 2, [April, October] is recorded as 3, [May, September] is recorded as 4, [June, July, August] is recorded as 5, forming a field named tempInterval and obtaining the corresponding data set data2; d) The vehicle usage period is calculated by the difference between the T+1 date and the start date of the first frame of data when the electric vehicle is connected to the Internet of Vehicles detection platform, and classified into different ranges of 1-3 years, 4-6 years, and more than 6 years to form a field named usingLength, and the corresponding data set data3 is obtained; e) Determine whether T-1, T, and T+1 are working days. If they are working days, the value is 1; otherwise, the value is 0. Fields named T-1iswork, TisWork, and T+1isWork are formed, and the corresponding data sets data4, data5, and data6 are obtained. f) The vehicle operating range forms a field named drivingLength, and the corresponding data set data7 is obtained; g) merging the data sets in the format of [data1, data2, data3, data4, data5, data6, data7, label] to form training samples for the random forest algorithm, and randomly dividing the data sets in the ratio of training set: test set = 7:3; The charging trigger judgment model is obtained by inputting the training samples into a random algorithm for training. The electric vehicle operation data obtained on a certain date is input into the model That is, it can predict whether charging behavior may occur the next day; Step 4: According to the locations of the charging behavior and parking behavior in the historical operation data, wherein the parking behavior includes the charging behavior, non-random charging segments and non-random parking segments are obtained respectively; Monte Carlo simulation is performed on the non-random charging segments and non-random parking segments to obtain a charging spatiotemporal probability distribution model that appears from different combinations of information including the start and end time of the charging behavior, whether the charging occurs on a weekday, the charging start SOC, the charging power, and the charging location; specifically, the following steps are included: 1) First, follow the following rules to calculate the historical operation data EV i Perform data cleaning to obtain non-random charging segments and non-random parking segments respectively: Select the charging data of vehicles with charging behavior on T+1 day, multiply the thousandth approximate values ​​of the charging longitude Charge lon and the charging latitude Chargelat fields by 1000, and merge them to obtain a total of 11 digits of the Charge lonlat field, the field format is jjjjjj-wwwww; then count the Charge lonlat field to obtain the Ctimes field, and define the Chargelonlat field with Ctimes greater than 1 as a non-random charging segment For parking fragments The thousandth approximate values ​​of the Stoplon and Stoplat fields in the 1000ths are multiplied by 1000 and then concatenated to obtain the 11-digit Stoplonlat field in the format of jjjjjj-wwwww; then the Stoplonlat is counted to obtain the Stimes field, and the Stoplonlat field with Stimes greater than 1 is defined as a non-random parking segment. 2) For the non-random charging segment Perform a Monte Carlo simulation of the following process: a) For the fragment The charging start time in is segmented based on the shortest dispatch cycle of the power grid. The segmentation rule is as follows: 24 hours a day from [00:00, 00:15) to [23:45, 24:00) is divided into multiple time intervals with 15 minutes as an interval unit; the charging start time is matched with each time interval to form an interval value field named ctimeInterval; b) Based on the difference in average daily travel distribution between working days and non-working days, the data is processed as follows: the charging segment start time is extracted in the format of year-month-day YYYYMMDD and recorded as "charging start date" and grouped by working days and non-working days. The charging start date of "working day" is recorded as 1, and "non-working day" is recorded as 0, forming a field named isWork; c) Combine the ctimeInterval field, isWork field, and Charge lonlat field, and calculate the total number of times Ctimes that the start charging time of each combination falls in each time interval diff , and calculate the total number of charging times Ctimes all , using Ctimes diff Divide by Ctimes all The distribution probability of each charging start time in each interval is recorded as Pro diff , forming a field named Probability; d) Select the ctimeInterval field, isWork field, and Charge lonlat field to form C situation , and calculate different C situation Different combinations of the three fields correspond to the average charging power The average value of charging capacity based on statistical theory Obeying normal distribution, calculate C situation Corresponding charging capacity standard deviation Take the confidence interval of 95%, the power interval is Create a field named energyInterval; e) For C situation And calculate the average SOC value of the start of charging for different combinations of the three fields The average SOC value at the start of charging based on statistical theory Obeying normal distribution, calculate C situation The corresponding charging start SOC standard deviation, taking the confidence interval of 95%, the SOC interval is Create a field named startSocInterval; 3) For the non-random parking segment Perform the following steps: a) Segment the parking start time. The segmentation rule is: divide the 24 hours of a day from [00:00, 00:15) to [23:45, 24:00) into multiple time intervals with 15 minutes as one interval unit; match the parking start time with each time interval to form an interval value field named stimeInterval; b) Based on the difference in average daily travel distribution between working days and non-working days, the data is processed as follows: the parking segment start time is extracted in the format of year-month-day YYYYMMDD and recorded as "parking start date" and grouped by working days and non-working days. The charging start date is recorded as 1 for "working days" and 0 for "non-working days", forming a field named isWork; c) Select the stimeInterval field, isWork field, and Stop lonlat field to form S situation , and calculate different S situation Different combinations of the three fields correspond to the average parking time The average value of charging capacity based on statistical theory Obey the normal distribution and calculate S situation The corresponding parking time standard deviation Taking the unit as hour and accurate to percentile, the parking time interval is Create a field named timeLengthInterval; Step 5. Using the historically acquired electric vehicle operation data, based on the charging trigger judgment model, predict whether each electric vehicle will charge the next day, and then predict the possible location, charging time, charging power and charge state of the next day's charging behavior based on the charging spatiotemporal probability distribution model. Specifically, the corresponding fields Charge lonlat, energyInterval, ctimeInterval, and startSocInterval with the maximum probability obtained by the charging spatiotemporal probability distribution model are taken as the prediction results; based on the corresponding relationship between the charging and parking segments, the fields Chargelonlat and Stop lonlat are taken to be the same, and the start time of the charging segment is later than the start time of the parking segment and the absolute value of the difference between the start time of the charging segment and the start time of the parking segment is the smallest as the basis, and the timeLengthInterval field with the maximum probability and the corresponding charging end time are obtained; based on the prediction results, the charging power range of each electric vehicle is determined, and the corresponding vehicle charging strategy optimization and power scheduling optimization are performed in combination with the charging location and the grid load.

2. The method according to claim 1, Features: The charging demand indicator system described in step 1 specifically selects the following information related to charging behavior: Charging start time, charging time, charging start SOC, charging end SOC, charged power, charging power range, charging longitude and charging latitude.

3. The method according to claim 2, Features: In step 2, the historical operating data of the i-th electric vehicle in the past 5 months is obtained. i , the historical charging segment information extracted from it is recorded as It consists of the following 8 extracted fields: Unique vehicle identifier Vin, segment start time Start time, segment end time End time, charging longitude Charge lon, charging latitude Charge lat, charged energy Charge energy, segment start state of charge Startsoc, segment end state of charge Endsoc; The extracted historical parking fragment information is recorded as It consists of the following 6 extracted fields: Vehicle unique identifier Vin, segment start time Start time, segment end time End time, parking longitude Stoplon, parking latitude Stop lat, parking duration Stop length.

4. The method according to claim 3, Features: In step 5, the minimum and maximum average adjustable charging power of each electric vehicle are calculated based on the following formula: The charging power range of each electric vehicle is determined as [power min , power max ]; Combine the predicted charging location with the power dispatching area location to perform dual optimization of the corresponding single-vehicle charging strategy and power dispatching according to the actual power grid load situation.