Charging station day-ahead demand response potential prediction model construction method and system, and charging station day-ahead demand response potential prediction method and system

By constructing a charging station demand response potential prediction model, using historical data and neural network models, the problem of unstable grid load peaks and valleys when electric vehicles are connected to the grid on a large scale is solved, and precise scheduling of electric vehicle charging behavior and grid control are achieved. Stable management of loads.

CN118690912APending Publication Date: 2024-09-24GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410841349.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

It is difficult to accurately predict the demand response potential of electric vehicle charging stations with existing technology. Especially when electric vehicles are connected to the power grid on a large scale, the traditional electricity price guidance mechanism is difficult to effectively regulate charging behavior, resulting in unstable grid load peaks and valleys.

Method used

A charging station day-ahead demand response potential prediction model is proposed. By obtaining historical daily charging data, determining responding users, setting charging scheduling constraints, and performing rolling optimization, the charging scheduling strategy and historical demand response curve are obtained, and the neural network model is used to train Day-ahead demand response potential forecast model.

Benefits of technology

It improves the accuracy of charging station demand response potential prediction, shortens model training time, achieves precise scheduling of electric vehicle charging behavior, and alleviates grid load impacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690912A
    Figure CN118690912A
Patent Text Reader

Abstract

The invention provides a charging station day-ahead demand response potential prediction model construction and prediction method and system, and the method comprises the steps: obtaining the historical daily charging data of a charging station, and determining a response user; charging scheduling constraint conditions are set, rolling optimization is carried out on charging scheduling of the response users in the demand response time period of the historical day, and charging scheduling strategies of all the response users and corresponding charging station historical demand response curves are obtained; based on the historical demand response curve of the charging station and the response influence factor matrix of the historical day, training by using a neural network model to obtain a day-ahead demand response potential prediction model of the charging station; according to the method and the system, rolling optimization is performed on charging scheduling by adopting the preset demand response rule to obtain the historical demand response curve of the charging station, and the historical demand response curve of the charging station is used as the output of the model to train the model, so that the accuracy of the day-ahead demand response potential prediction of the charging station can be effectively improved; and the model training time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of demand response potential prediction, and specifically relates to the construction of a charging station day-ahead demand response potential prediction model, a prediction method and a system. Background Art

[0002] As a load-side flexible resource, electric vehicles (EVs) are not only helpful for the construction of new power systems, but also an important tool for achieving the goals of "carbon peak and carbon neutrality". The large-scale application of electric vehicles will promote the large-scale construction of charging piles. EVs have both the attributes of transportation tools and power loads. The uncertainty of electric vehicle users' car-using behavior and charging time and spatial distribution makes the charging load of electric vehicles more random, which will increase the difficulty of power grid control; adding numerous charging facilities and a large number of electric vehicles to the distribution network will change the power structure and load characteristics of the active distribution network. The traditional active distribution network optimization scheduling model may not be applicable to the scenario of large-scale access of electric vehicles. Therefore, adopting effective demand response control strategies to reasonably guide the charging behavior of EVs and alleviate the impact of EV driving and charging processes on road networks and power grids has become a hot topic in recent research. To guide electric vehicles to participate in scheduling, it is necessary to use certain guiding means and allocate certain benefits to EV users so that car owners are willing to participate in scheduling, respond to the charging and discharging plans formulated by the power grid or aggregators, and achieve a win-win situation for the power grid and users. There are currently two main means of EV dispatching: one is price-based demand response, which is to guide users to change their charging and discharging behaviors through changes in electricity prices; the other is incentive-based demand response, which is to guide users to change their charging and discharging behaviors by giving them economic compensation through signing contracts or agreements. The existing electricity price guidance mechanism may lead to new load peaks during periods of low electricity prices when large-scale electric vehicles are connected to the power grid. Although real-time electricity prices are more flexible than time-of-use electricity prices, the time interval standard for updating electricity prices is difficult to determine. Compared with price-based demand response, incentive-based demand response can fully transform the demand response potential of electric vehicles by signing agreements with electric vehicle users. Whether the response capacity of electric vehicles can be accurately predicted is the key to achieving optimal dispatch of electric vehicles. Compared with power load forecasting, the prediction of response capacity is affected by the response period and the arrival of electric vehicles, making its prediction more difficult and complex. Summary of the invention

[0003] In order to overcome the above-mentioned deficiencies of the prior art, the present invention proposes a method for constructing a charging station day-ahead demand response potential prediction model, comprising:

[0004] Acquire historical daily charging data of the charging station, and determine a responding user from charging users who entered the charging station on historical days based on the historical daily charging data;

[0005] Based on the historical daily charging data and preset demand response rules, setting charging scheduling constraints;

[0006] Based on the charging scheduling constraint condition, rolling optimization is performed on the charging scheduling of the responding user within the demand response period of the historical day to obtain the charging scheduling strategy of all responding users and the charging station historical demand response curve corresponding to the charging scheduling strategy;

[0007] Based on the historical demand response curve of the charging station and the response influencing factor matrix of the historical day, a neural network model is used for training to obtain a charging station day-ahead demand response potential prediction model.

[0008] Preferably, the acquiring of historical daily charging data of the charging station and determining the responding user from charging users who entered the charging station on historical days based on the historical daily charging data includes:

[0009] Based on the historical daily charging data, the arrival time and departure time of charging users entering the charging station on the historical day are obtained;

[0010] When the arrival time and departure time of the charging user intersect with the demand response period of the historical day and the charging user data is valid, the charging user is determined to be a responding user.

[0011] Preferably, the demand response rule includes:

[0012] When the charging time range of the responding user is within the demand response period, charging is performed in the second case;

[0013] When the charging time range of the responding user is greater than the demand response time period, charging in the first case is preferentially adopted; when the charging demand of the responding user is not met after charging in the first case, charging is continued in the second case.

[0014] Preferably, when the charging time range of the responding user is greater than the demand response period, the method includes:

[0015] The arrival time of the responding user is earlier than the response start time of the demand response period, and / or the departure time of the responding user is later than the response end time of the demand response period.

[0016] Preferably, the first situation includes: scheduling the responding user to charge outside the demand response period;

[0017] The second situation includes: performing time-division rolling charging scheduling for the responding user within the demand response period according to the charging scheduling constraint condition;

[0018] The responding user who only needs to adopt the first situation for charging is recorded as a first user, and the responding user who needs to adopt the second situation for charging is recorded as a second user.

[0019] Preferably, the setting of charging scheduling constraints based on the historical daily charging data and preset demand response rules includes:

[0020] Determining a total demand response amount of the charging station within the demand response period according to the historical daily charging data and the demand response rule;

[0021] Evenly allocating the total demand response amount of the charging station to the demand response period to obtain a total benchmark value of the historical demand response curve of the charging station;

[0022] Obtaining a first total response curve corresponding to all the first users in the demand response period, obtaining a segment total response amount corresponding to each segment of the demand response period, and evenly distributing the segment total response amount to the segment corresponding to the segment total response amount to obtain a response capacity coefficient of each segment;

[0023] Calculating the difference between the total reference value and the response capacity coefficient of each segment respectively to obtain the segment reference value of each segment;

[0024] As a second user arrives at the charging station, the second user is allowed to charge in a demand response period outside a certain segment, and the charging scheduling of the second user is completed; after the charging scheduling of the second user is completed, the response process curve of the demand response period at this time is obtained, and the response process curve changes with the completion of the charging scheduling of the second user; according to the response process curve, the segment process response amount of the segment is obtained, and the segment process response amount is evenly distributed to the segments to obtain the response process coefficient of the segment;

[0025] Constraining the response process coefficient of the second user in each segment according to the segment reference value of each segment to obtain a charging scheduling constraint condition.

[0026] Preferably, the step of performing rolling optimization on the charging scheduling of the responding users within the demand response period of the historical day based on the charging scheduling constraint condition to obtain the charging scheduling strategies of all responding users and the charging station historical demand response curve corresponding to the charging scheduling strategies includes:

[0027] Based on the charging scheduling constraint, when the response process coefficient of the segment obtained after the charging scheduling of the second user is completed is less than the segment reference value of the segment, the charging scheduling constraint is satisfied, and the next second user corresponding to the second user who arrives at the charging station is charged in the demand response period outside the segment, and the response process curve and the response process coefficient of the segment are updated until the response process coefficient of the segment is not less than the segment reference value of the segment, and the charging scheduling constraint of the segment is completed. At this time, the charging period is not allowed to roll to the next segment of the segment;

[0028] Traversing all second users to obtain charging scheduling strategies for all second users, and using the response process curve obtained after the traversal as the second total response curve corresponding to all second users in the demand response period;

[0029] The first total response curve and the second total response curve are added together to obtain the charging station historical demand response curve.

[0030] Preferably, the charging scheduling constraint condition is expressed as:

[0031]

[0032] Wherein, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, p2'(t) is the response process curve of the demand response period, The calculation result is the response process coefficient of the nth segment.

[0033] Preferably, determining the total demand response amount of the charging station within the demand response period according to the historical daily charging data and the demand response rule includes:

[0034] Based on a preset initial total reference value, an initial response curve of the charging station is obtained, wherein the initial response curve of the charging station and the historical demand response curve of the charging station are obtained using the same acquisition process;

[0035] The total demand response amount of the charging station is calculated according to the initial response curve of the charging station.

[0036] Preferably, determining the total demand response amount of the charging station within the demand response period according to the historical daily charging data and the demand response rule includes:

[0037] According to the historical daily charging data and the demand response rule, the sum of the charging demands of all first users is taken as a first total response amount, and the difference between the sum of the charging demands of all second users and the sum of the charging amounts of all second users in the demand response period is taken as a second total response amount;

[0038] The total demand response amount of the charging station is determined according to the sum of the first total response amount and the second total response amount.

[0039] Preferably, the process of determining the segment reference value of each segment in the demand response period satisfies the following formula:

[0040]

[0041] Wherein, k is the total reference value, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, h(t) is the first total response curve corresponding to all the first users in the demand response period, is the total demand response amount of the charging station, The calculated result is the response capacity coefficient of the nth segment.

[0042] Preferably, the historical daily charging data includes:

[0043] The arrival time, departure time, charging end time and charging station load of charging users on the historical day.

[0044] Preferably, the response influencing factor matrix of the historical day is expressed as:

[0045] X=[W,Day,T(t),H(t),L(t)]

[0046] Wherein, X is the response influencing factor matrix of the historical day, W is the holiday coding matrix of the historical day, Day is the weekday coding matrix of the historical day, T(t) is the temperature curve of the historical day, H(t) is the humidity curve of the historical day, and L(t) is the charging station load curve of the historical day.

[0047] Preferably, the method of training a charging station demand response potential prediction model based on the charging station historical demand response curve and the historical daily response influencing factor matrix using a neural network model includes:

[0048] Obtain the response influencing factor matrix of multiple historical days and the historical demand response curve of the charging station to generate a data set;

[0049] Dividing the data set into a training set, a test set, and a validation set according to a set ratio;

[0050] Based on the training set, taking the response influencing factor matrix in the training set as input and the charging station historical demand response curve corresponding to the response influencing factor matrix as output, training the neural network model, optimizing and updating the training weights of the neural network model by using the stochastic gradient descent method, and evaluating the neural network model in the training process by using the validation set until the loss function of the neural network model converges;

[0051] Based on the test set, taking the response influencing factor matrix in the training set as input, using the trained neural network model to perform prediction, obtaining a charging station historical demand response prediction curve, and calculating the accuracy of the prediction result of the trained neural network model based on the charging station historical demand response prediction curve and the charging station historical demand response curve corresponding to the response influencing factor matrix in the test set. If the accuracy of the prediction result is less than a preset value, re-dividing the data set for training until the accuracy of the prediction result of the trained neural network model is not less than a preset value, thereby obtaining a trained charging station day-ahead demand response potential prediction model;

[0052] The neural network model adopts a convolutional neural network-improved gated recurrent unit model.

[0053] Based on the same inventive concept, the present invention also provides a charging station day-ahead demand response potential prediction model construction system, comprising:

[0054] A first acquisition module is used to acquire historical daily charging data of the charging station, and determine a responding user from charging users who entered the charging station on historical days based on the historical daily charging data;

[0055] A constraint setting module, used to set charging scheduling constraint conditions based on the historical daily charging data and preset demand response rules;

[0056] A second acquisition module is used to perform rolling optimization on the charging scheduling of the responding users within the demand response period of the historical day based on the charging scheduling constraint condition, obtain the charging scheduling strategy of all responding users, and obtain the charging station historical demand response curve corresponding to the charging scheduling strategy;

[0057] The prediction model building module is used to obtain a charging station's day-ahead demand response potential prediction model by training a neural network model based on the charging station's historical demand response curve and the historical day's response influencing factor matrix.

[0058] Preferably, the first acquisition module is specifically used for:

[0059] Based on the historical daily charging data, the arrival time and departure time of charging users entering the charging station on the historical day are obtained;

[0060] When the arrival time and departure time of the charging user intersect with the demand response period of the historical day and the charging user data is valid, the charging user is determined to be a responding user.

[0061] Preferably, the demand response rule includes:

[0062] When the charging time range of the responding user is within the demand response period, charging is performed in the second case;

[0063] When the charging time range of the responding user is greater than the demand response time period, charging in the first case is preferentially adopted; when the charging demand of the responding user is not met after charging in the first case, charging is continued in the second case.

[0064] Preferably, when the charging time range of the responding user is greater than the demand response period, the method includes:

[0065] The arrival time of the responding user is earlier than the response start time of the demand response period, and / or the departure time of the responding user is later than the response end time of the demand response period;

[0066] Preferably, the first situation includes: scheduling the responding user to charge outside the demand response period;

[0067] The second situation includes: performing time-division rolling charging scheduling for the responding user within the demand response period according to the charging scheduling constraint condition;

[0068] The responding user who only needs to adopt the first situation for charging is recorded as a first user, and the responding user who needs to adopt the second situation for charging is recorded as a second user.

[0069] Preferably, the constraint condition setting module includes:

[0070] A first submodule is used to determine the total demand response amount of the charging station within the demand response period according to the historical daily charging data and the demand response rule;

[0071] The second submodule is used to evenly distribute the total demand response amount of the charging station to the demand response period to obtain a total benchmark value of the historical demand response curve of the charging station;

[0072] The third submodule is used to obtain the first total response curve corresponding to all the first users in the demand response period, obtain the segment total response amount corresponding to each segment of the demand response period, and evenly distribute the segment total response amount to the segment corresponding to the segment total response amount to obtain the response capacity coefficient of each segment;

[0073] The fourth submodule is used to respectively calculate the difference between the total reference value and the response capacity coefficient of each segment to obtain the segment reference value of each segment;

[0074] The fifth submodule is used for completing the charging scheduling of the second user by allowing the second user to charge in a demand response period outside a certain segment as the second user arrives at the charging station; after the charging scheduling of the second user is completed, obtaining the response process curve of the demand response period at this time, and the response process curve changes with the completion of the charging scheduling of the second user; according to the response process curve, obtaining the segment process response amount of the segment, and evenly distributing the segment process response amount to the segment to obtain the response process coefficient of the segment;

[0075] The sixth submodule is used to constrain the response process coefficient of the second user in each segment according to the segment reference value of each segment to obtain the charging scheduling constraint condition.

[0076] Preferably, the second acquisition module is specifically used for:

[0077] Based on the charging scheduling constraint, when the response process coefficient of the segment obtained after the charging scheduling of the second user is completed is less than the segment reference value of the segment, the charging scheduling constraint is satisfied, and the next second user corresponding to the second user who arrives at the charging station is charged in the demand response period outside the segment, and the response process curve and the response process coefficient of the segment are updated until the response process coefficient of the segment is not less than the segment reference value of the segment, and the charging scheduling constraint of the segment is completed. At this time, the charging period is not allowed to roll to the next segment of the segment;

[0078] Traversing all second users to obtain charging scheduling strategies for all second users, and using the response process curve obtained after the traversal as the second total response curve corresponding to all second users in the demand response period;

[0079] The first total response curve and the second total response curve are added together to obtain the charging station historical demand response curve.

[0080] Preferably, the charging scheduling constraint condition is expressed as:

[0081]

[0082] Wherein, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, p2'(t) is the response process curve of the demand response period, The calculation result is the response process coefficient of the nth segment.

[0083] Preferably, the first submodule is specifically used for:

[0084] Based on a preset initial total reference value, an initial response curve of the charging station is obtained, wherein the initial response curve of the charging station and the historical demand response curve of the charging station are obtained using the same acquisition process;

[0085] The total demand response amount of the charging station is calculated according to the initial response curve of the charging station.

[0086] Preferably, the first submodule is specifically used for:

[0087] According to the historical daily charging data and the demand response rule, the sum of the charging demands of all first users is taken as a first total response amount, and the difference between the sum of the charging demands of all second users and the sum of the charging amounts of all second users in the demand response period is taken as a second total response amount;

[0088] The total demand response amount of the charging station is determined according to the sum of the first total response amount and the second total response amount.

[0089] Preferably, the process of determining the segment reference value of each segment in the demand response period satisfies the following formula:

[0090]

[0091] Wherein, k is the total reference value, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, h(t) is the first total response curve corresponding to all the first users in the demand response period, is the total demand response amount of the charging station, The calculated result is the response capacity coefficient of the nth segment.

[0092] Preferably, the historical daily charging data includes:

[0093] The arrival time, departure time, charging end time and charging station load of charging users on the historical day.

[0094] Preferably, the response influencing factor matrix of the historical day is expressed as:

[0095] X=[W,Day,T(t),H(t),L(t)]

[0096] Wherein, X is the response influencing factor matrix of the historical day, W is the holiday coding matrix of the historical day, Day is the weekday coding matrix of the historical day, T(t) is the temperature curve of the historical day, H(t) is the humidity curve of the historical day, and L(t) is the charging station load curve of the historical day.

[0097] Preferably, the prediction model building module is specifically used for:

[0098] Obtain the response influencing factor matrix of multiple historical days and the historical demand response curve of the charging station to generate a data set;

[0099] Dividing the data set into a training set, a test set, and a validation set according to a set ratio;

[0100] Based on the training set, taking the response influencing factor matrix in the training set as input and the charging station historical demand response curve corresponding to the response influencing factor matrix as output, training the neural network model, optimizing and updating the training weights of the neural network model by using the stochastic gradient descent method, and evaluating the neural network model in the training process by using the validation set until the loss function of the neural network model converges;

[0101] Based on the test set, taking the response influencing factor matrix in the training set as input, using the trained neural network model to perform prediction, obtaining a charging station historical demand response prediction curve, and calculating the accuracy of the prediction result of the trained neural network model based on the charging station historical demand response prediction curve and the charging station historical demand response curve corresponding to the response influencing factor matrix in the test set. If the accuracy of the prediction result is less than a preset value, re-dividing the data set for training until the accuracy of the prediction result of the trained neural network model is not less than a preset value, thereby obtaining a trained charging station day-ahead demand response potential prediction model;

[0102] The neural network model adopts a convolutional neural network-improved gated recurrent unit model.

[0103] Based on the same inventive concept, the present invention also provides a method for predicting the day-ahead demand response potential of a charging station, comprising:

[0104] Obtain the response influencing factor matrix of the forecast day; the response influencing factors include holiday type, day of the week, temperature, humidity and charging station load;

[0105] Taking the response influencing factor matrix of the forecast day as input, the charging station day-ahead demand response potential prediction model as described above is used to perform prediction, and the charging station demand response curve of the forecast day is obtained as the charging station day-ahead demand response potential prediction result.

[0106] Based on the same inventive concept, the present invention also provides a charging station day-ahead demand response potential prediction system, comprising:

[0107] The matrix acquisition module is used to obtain the response influencing factor matrix of the forecast day; the response influencing factors include holiday type, day of the week, temperature, humidity and charging station load;

[0108] The prediction module is used to take the response influencing factor matrix of the prediction day as input, use the charging station day-ahead demand response potential prediction model as mentioned above to perform prediction, and obtain the charging station demand response curve of the prediction day as the charging station day-ahead demand response potential prediction result.

[0109] Based on the same inventive concept, the present invention also provides a computer device, including: one or more processors;

[0110] A memory for storing one or more programs;

[0111] When the one or more programs are executed by the one or more processors, a method for constructing a charging station's day-ahead demand response potential prediction model as described above, or a method for predicting a charging station's day-ahead demand response potential as described above is implemented.

[0112] Based on the same inventive concept, the present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, it implements a method for constructing a charging station's day-ahead demand response potential prediction model as described above, or a method for predicting a charging station's day-ahead demand response potential as described above.

[0113] Compared with the closest prior art, the present invention has the following beneficial effects:

[0114] The present invention provides a charging station day-ahead demand response potential prediction model construction and system, including obtaining historical daily charging data of the charging station, and determining a responding user among charging users who entered the charging station on a historical day based on the historical daily charging data; setting a charging scheduling constraint condition based on the historical daily charging data and a preset demand response rule; performing rolling optimization on the charging scheduling of the responding user within the demand response period of the historical day based on the charging scheduling constraint condition, obtaining a charging scheduling strategy for all responding users, and obtaining a charging station historical demand response curve corresponding to the charging scheduling strategy; training a charging station day-ahead demand response potential prediction model based on the charging station historical demand response curve and a response influencing factor matrix of the historical day using a neural network model; the construction method and system determine the charging scheduling constraint condition by using a preset demand response rule, and perform rolling optimization on the charging scheduling, determine the charging station historical demand response curve corresponding to the demand response rule, and train the model using the charging station historical demand response curve as the output of the model, which can effectively improve the accuracy of the charging station day-ahead demand response potential prediction and shorten the model training time;

[0115] The present invention provides a method and system for predicting the day-ahead demand response potential of a charging station, including obtaining a response influencing factor matrix of a prediction day; the response influencing factors include holiday type, day of the week, temperature, humidity and charging station load; taking the response influencing factor matrix of the prediction day as input, using the above-mentioned day-ahead demand response potential prediction model for a charging station to perform prediction, and obtaining a charging station demand response curve of the prediction day as a day-ahead demand response potential prediction result for a charging station; the prediction method and system perform potential prediction by using the day-ahead demand response potential prediction model for a charging station, and the day-ahead demand response potential prediction model for a charging station is obtained based on a real-time charging scheduling strategy based on rolling optimization, thereby realizing accurate prediction of the day-ahead demand response curve for a charging station. BRIEF DESCRIPTION OF THE DRAWINGS

[0116] Figure 1 A schematic diagram of a method for constructing a charging station day-ahead demand response potential prediction model provided by the present invention;

[0117] Figure 2 A schematic diagram of a charging scheduling rolling optimization process in a method for constructing a charging station day-ahead demand response potential prediction model provided by the present invention;

[0118] Figure 3 A schematic diagram of the network architecture of a convolutional neural network-improved gated recurrent unit model in a method for constructing a charging station day-ahead demand response potential prediction model provided by the present invention;

[0119] Figure 4A schematic diagram of the structure of a charging station day-ahead demand response potential prediction model building system provided by the present invention;

[0120] Figure 5 A schematic flow chart of a method for predicting the potential of charging station day-ahead demand response provided by the present invention;

[0121] Figure 6 A schematic diagram of the structure of a charging station day-ahead demand response potential prediction system provided by the present invention;

[0122] Figure 7 The present invention provides a schematic diagram of the structure of an electronic device. DETAILED DESCRIPTION

[0123] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.

[0124] Embodiment 1:

[0125] The present invention provides a method for constructing a charging station day-ahead demand response potential prediction model. Figure 1 and Figure 2 As shown, including:

[0126] S1. Obtain historical daily charging data of the charging station, and determine a responding user from charging users who entered the charging station on historical days based on the historical daily charging data;

[0127] S2. Setting charging scheduling constraints based on historical daily charging data and preset demand response rules;

[0128] S3. Based on the charging scheduling constraints, rolling optimization is performed on the charging scheduling of the responding users within the demand response period of the historical day to obtain the charging scheduling strategies of all responding users and the historical demand response curve of the charging station corresponding to the charging scheduling strategies;

[0129] S4. Based on the historical demand response curve of the charging station and the response influencing factor matrix of the historical days, the neural network model is used for training to obtain the charging station's day-ahead demand response potential prediction model.

[0130] The present invention determines the charging scheduling constraints by adopting preset demand response rules, and performs rolling optimization of charging scheduling. By simulating specific demand response scenarios, the historical demand response curve of the charging station corresponding to the demand response rule is determined, and the historical demand response curve of the charging station is used as the output of the model for model training. This can effectively improve the accuracy of the prediction of the demand response potential of the charging station a day ago and shorten the time of model training.

[0131] Historical daily charging data includes:

[0132] The arrival time, departure time, charging end time of the charging users on the historical day, and the charging station load.

[0133] Considering that not all the charging users entering the charging station on the historical day necessarily have the demand response scheduling space, screening the charging users in the above S1 can obtain the responsive users with scheduling space, and then performing scheduling processing on the responsive users, which greatly reduces the subsequent data processing volume and shortens the model training time.

[0134] When determining the responsive users in S1, it may include:

[0135] Based on the historical day charging data, obtain the arrival time and departure time of the charging users entering the charging station on the historical day;

[0136] When the arrival time and departure time of the charging user have an intersection with the demand response period on the historical day and the charging user data is valid, determine the charging user as a responsive user.

[0137] In the embodiment of the present invention, both the charging users and the responsive users are electric vehicles. Set the response start time of the demand response period as t1 and the response end time as t2. The arrival time, charging end time, and departure time of each electric vehicle are t3, t4, and t5 respectively. According to the historical day charging data, when t3 < t2, t4 > t1 and t4 < t5 for a certain electric vehicle, include this electric vehicle in the response consideration range and record it as a responsive user.

[0138] The demand response rule is a short-term behavior rule to cope with the power market price fluctuations and system reliability risks, encourage power users to change their electricity consumption behaviors, reduce or shift the electricity load, so as to ensure the stability of the power grid and suppress the rise of electricity prices. Before S2, by presetting the demand response rule, the demand response rule can be incorporated into the subsequent day-ahead demand response potential prediction model of the charging station, so that the prediction result of the day-ahead demand response potential prediction model of the charging station matches the demand response rule.

[0139] The demand response rule may include:

[0140] When the rechargeable time range of the responsive user is within the demand response period, charge in the second case;

[0141] When the rechargeable time range of the responsive user is greater than the demand response period, preferentially charge in the first case; when the charging demand of the responsive user is not reached after charging in the first case, continue to charge in the second case.

[0142] When the rechargeable time range of the responsive user is greater than the demand response period, it includes:

[0143] The arrival time of the responding user is earlier than the response start time of the demand response period, and / or the departure time of the responding user is later than the response end time of the demand response period.

[0144] The charging time range of the response user is the time range between the response user's arrival time and departure time.

[0145] The first situation includes: the dispatch response user charges outside the demand response period;

[0146] The second situation includes: according to the charging scheduling constraint conditions, the responding users are subject to time-sharing rolling charging scheduling within the demand response period;

[0147] The responding users who only need to adopt the first situation for charging are recorded as first users, and the responding users who need to adopt the second situation for charging are recorded as second users.

[0148] In the example of the present invention, the above demand response rules are specifically expressed as follows:

[0149] According to the position of t3 and t5 of the electric vehicle as the responding user relative to t1 and t2, the following four classification discussions are conducted:

[0150] 1)t3<t1&t5> t2

[0151] Priority is given to arranging electric vehicles to charge during the time periods t3-t1 and t2-t5 (the first case). If the charging demand is not met during these time periods (the second case), charging needs to be arranged during the demand response period (t1-t2) according to the charging scheduling strategy in S3.

[0152] 2)t3 <t1&t5<t2

[0153] Priority is given to arranging electric vehicles to charge during the period t3 to t1 (the first case). If this period does not meet the charging demand (the second case), it is necessary to arrange charging during the demand response period (t1 to t5) according to the charging scheduling strategy in S3.

[0154] 3)t3>t1&t5>t2

[0155] Priority is given to arranging electric vehicles to charge during the period t2 to t5 (the first case). If this period does not meet the charging demand (the second case), it is necessary to arrange charging during the demand response period (t3 to t2) according to the charging scheduling strategy in S3.

[0156] 4)t3>t1&t5 <t2

[0157] It is necessary to arrange charging within the demand response period (t3-t5) according to the charging scheduling strategy in S3 (second case).

[0158] The response amount in the first case during the actual scheduling process is a fixed value, and the response amount in the second case will vary according to different charging scheduling strategies.

[0159] The charging scheduling constraint condition is the basis for the time-sharing rolling charging scheduling of the responding user within the demand response period. When determining the charging scheduling constraint condition in S2, it may include:

[0160] S201. Determine the total demand response volume of the charging station within the demand response period according to historical daily charging data and demand response rules;

[0161] Optionally, the process of determining the total demand response amount of charging stations within the demand response period in S201 may include:

[0162] Based on the preset initial total benchmark value, an initial response curve of the charging station is obtained, and the initial response curve of the charging station and the historical demand response curve of the charging station are obtained using the same process;

[0163] According to the initial response curve of the charging station, the total demand response of the charging station is calculated.

[0164] Specifically, considering that the initial response curve f(t) of the charging station of the initial model is unknown, the initial total reference value k0 is set to a larger value. In this embodiment, k0 is set to 10000, and then f(t) is obtained according to the process of obtaining the historical demand response curve of the charging station.

[0165] Optionally, in the above S201, the total demand response amount of the charging stations within the demand response period may also be determined by the following process:

[0166] According to the historical daily charging data and the demand response rule, the sum of the charging demands of all first users is taken as the first total response amount, and the difference between the sum of the charging demands of all second users and the sum of the charging amounts of all second users in the demand response period is taken as the second total response amount;

[0167] The total demand response amount of the charging station is determined according to the sum of the first total response amount and the second total response amount.

[0168] S202, evenly distribute the total demand response amount of the charging station to the demand response period, and obtain the total benchmark value of the historical demand response curve of the charging station; the total benchmark value is only related to the total demand response amount of the charging station. When the demand response rules and the historical daily charging data remain unchanged, the total demand response amount of the charging station is a fixed value, so the total benchmark value is also a fixed value;

[0169] Specifically, in the above S202, the process of obtaining the total reference value k satisfies the following formula:

[0170]

[0171] Among them, k is the total reference value, is the total demand response amount of the charging station, f(t) is the initial response curve of the charging station, t1 is the start time of the response during the demand response period, t2 is the end time of the response during the demand response period, t ∈ (t1, t2), and t is a positive integer with the unit of min.

[0172] S203. Obtain the first total response curve corresponding to all first users during the demand response period, obtain the total response amount of each segment corresponding to the demand response period, evenly distribute the total response amount of each segment to the segment corresponding to the total response amount of this segment, and obtain the response capacity coefficient of each segment; calculate the difference between the total reference value and the response capacity coefficient of each segment respectively, and obtain the segment reference value of each segment;

[0173] In the above S203, if the demand response period is divided into N segments, then the time of each segment is Set different segment reference values for each segment; since the first total response curve is a curve that changes with time, resulting in different total response amounts of each segment, the finally obtained segment reference values of each segment are different.

[0174] In this embodiment, the first total response curve can be obtained by simulating historical daily charging data, or can be obtained by simulating and approximating the same historical period of the historical day.

[0175] Specifically, the determination process of the segment reference value of each segment during the demand response period satisfies the following formula:

[0176]

[0177] Among them, k is the total reference value, K(n) is the segment reference value of the nth segment, n = 1,..., N, N is the number of segments, t1 is the start time of the response during the demand response period, t2 is the end time of the response during the demand response period, h(t) is the first total response curve corresponding to all first users during the demand response period, is the total demand response amount of the charging station, The calculation result of is the response capacity coefficient of the nth segment.

[0178] S204. As Figure 2 shown, as time t increases, the mth vehicle arrives. At this time, the segment rolls to the nth segment. First, determine whether the charging electric vehicle is a responsive user, that is, whether the charging user participates in the demand response. If t3 < t2, t4 > t1 and t4 < t5 are satisfied, this charging electric vehicle is included in the scope of response consideration; then, according to the classification of the first situation and the second situation, judge the positions of t3 and t5 of this charging electric vehicle relative to t1 and t2;

[0179] If it is the first case, the mth car is the first user, and does not charge during the demand response period. The demand response amount of the first case is the original charging amount of the first user. After traversing all responding users, the response curve p1(t) of all first users is obtained:

[0180] In this embodiment, the first total response curve h(t) is obtained by simulating historical daily charging data, and the response curve p1(t) is the first total response curve h(t).

[0181] If it is the second case, the mth car is the second user, and the second user is charged during the demand response period outside a certain segment, that is, When n≠1, the charging time is max{t1,t3}; when n=1, the charging time is max{t1,t3}. The charging scheduling of the second user is completed; after the charging scheduling of the second user is completed, the response process curve p2'(t) at this time in the demand response period is obtained, and the response process curve p2'(t) changes with the completion of the charging scheduling of the second user; according to the response process curve, the segmented process response amount of the segment is obtained, and the segmented process response amount is evenly distributed to the segment to obtain the segmented response process coefficient; the demand response amount of the second case is the original charging amount of the second user minus the subsequent charging amount supplemented during the demand response period.

[0182] S205 . Constrain the response process coefficient of the second user in each segment according to the segment reference value of each segment to obtain a charging scheduling constraint condition.

[0183] In the example of the present invention, the charging scheduling constraint condition is expressed as:

[0184]

[0185] Wherein, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, p2'(t) is the response process curve of the demand response period, The calculation result is the response process coefficient of the nth segment.

[0186] The charging scheduling constraint condition is the basis for performing time-based rolling charging scheduling for the responding user within the demand response period. Based on the charging scheduling constraint condition, the charging scheduling of the responding user within the demand response period of the historical day is rolled optimized in the above S3 to obtain the charging station historical demand response curve corresponding to the charging scheduling strategy. S3 may include:

[0187] Based on the charging scheduling constraint, when the response process coefficient of the segment obtained after the charging scheduling of the second user is completed is less than the segment reference value of the segment, the charging scheduling constraint is met, and the next second user corresponding to the second user who arrives at the charging station is charged in the demand response period outside the segment, and the response process curve and the response process coefficient of the segment are updated until the response process coefficient of the segment is not less than the segment reference value of the segment, and the charging scheduling constraint of the segment is completed. At this time, the charging period is not allowed to roll to the next segment of the segment; it is expressed as, if the charging scheduling constraint of the nth segment is met, then n remains unchanged, otherwise n=n+1.

[0188] Traversing all second users, obtaining charging scheduling strategies for all second users, and using the response process curve obtained after the traversal as the second total response curve p2(t) corresponding to all second users in the demand response period;

[0189] The first total response curve p1(t) and the second total response curve p2(t) are added together to obtain the charging station historical demand response curve D(t), which is expressed as:

[0190] D(t)=p1(t)+p2(t).

[0191] The data-driven method mainly uses artificial intelligence algorithms to predict demand response potential. The convolution neural network (CNN) in the artificial intelligence algorithm extracts features by simulating the human visual processing process. When processing historical data samples, it can tolerate missing and deformed data in the original data, and is suitable for predicting time series data with greater randomness. Conventional recurrent neural networks are difficult to capture the correlation of longer time steps in time series in actual operation, so it is easy to cause gradient explosion and gradient decay problems. The improved gated recurrent unit (GRU) introduces reset gates and update gates on the basis of traditional recurrent neural networks, and uses learning gates to control information flow, thereby improving the accuracy of prediction. In the above S4, the CNN-GRU model is used for model training to obtain the charging station's demand response potential prediction model for the day-ahead demand response potential prediction, which makes the prediction result more accurate.

[0192] The above S4 may include:

[0193] The historical daily charging data was exported, and by analyzing the characteristics of the data set, five significant factors affecting the demand response capacity of electric vehicles, namely, day of the week, holidays, temperature, humidity, and predicted daily charging load data, were selected as model input features.

[0194] In order to accelerate the convergence of the network loss function and improve the model training speed, one-hot encoding is performed on the weekday type and holiday type data, and the charging load and temperature and humidity data are normalized. The normalization formula is:

[0195]

[0196] Where: x is the sample data before normalization; x one Normalized value; x max and x min are the maximum and minimum values ​​of the sample data before normalization.

[0197] Construct the model input and output relationship, namely:

[0198] D i (t)=F(W,Day,T(t),H(t),L(t))

[0199] Where: F(·) is the input feature function, W, Day, T(t), H(t), L(t) are the input feature quantities of the model, W is the holiday coding matrix of the historical day, Day is the weekday coding matrix of the historical day, T(t) is the temperature curve of the historical day, H(t) is the humidity curve of the historical day, L(t) is the charging station load curve of the historical day, t∈(t1,t2); D i (t) is the output Y of the model, i.e., the historical demand response curve of the charging station on the i-th day.

[0200] The response influencing factor matrix X of the historical day is expressed as:

[0201] X=[W,Day,T(t),H(t),L(t)]

[0202] W=[W1 W2] Day=[Day 11 Day 12 …Day 17 ]

[0203]

[0204] Among them, Day 11~17 is a 7-bit binary code, which is 1000000, 0100000, 0010000, ..., 0000001. The 7-bit binary code represents Monday to Sunday in the week. The position of 1 in the code represents the position of the day of the week in the week. For example, the binary code 0100000 represents that the day of the week is Tuesday. [W1 W2] is a 2-bit binary code 10 or 01. The binary code 10 represents that the day is a holiday, and the binary code 01 represents that the day is not a holiday. T t , H t, L t They are the decimal values ​​of temperature, humidity and predicted charging load of the day, t∈(t1,t2), and the sampling interval is 1min.

[0205] The model is trained using the historical daily charging data of M historical days, in which the historical demand response curve D of the charging station in the demand response period of the i-th day is obtained through the rolling optimization of the real-time charging scheduling strategy of electric vehicles. i (t), i=1,...,M.

[0206] Obtain the response influencing factor matrix of multiple historical days and the historical demand response curve of the charging station to generate a data set;

[0207] Divide the data set into training set, test set and validation set according to the set ratio;

[0208] In this embodiment, the data set is divided into training set X and training set X according to the ratio of 7:2:1. train , test set X test and validation set X val ;

[0209] Convolutional Neural Network - Improved Gated Recurrent Unit Model Network Architecture Figure 3 As shown in the figure, a two-layer CNN network is constructed to reduce the dimension and extract the feature quantity of the input data, where layer 1 is the input layer, and layers 2 and 3 are composed of convolutional layers, activation layers, and pooling layers. The convolutional layers use convolutional kernels for feature extraction and feature mapping, and the step sizes are all set to 1; the activation layers perform nonlinear mapping through the ReLU activation function; the pooling layer uses average pooling to extract the main features of a certain area to reduce the number of parameters.

[0210] Layer 4, i.e., the flattening layer, is used to stretch the three-dimensional vector array of the feature map G into a one-dimensional vector array H.

[0211] Two layers of GRU layers are stacked to form a GRU neural network, the structure is as follows Figure 4 , the stretched one-dimensional vector array N is input into the GRU neural network, and the output of GRU is the information of the hidden layer. The reset gate calculates the output of the candidate hidden layer.

[0212] A fully connected layer (layer 7) is used to integrate the highly abstract features in the second layer of GRU and output a vector in a specified format. The number of neurons must be the same as the model output. Since the output of the CNN-GRU prediction model is the demand response curve of the charging station during the demand response period, the number of neurons in the fully connected layer is 1.

[0213] Based on the training set, the response influencing factor matrix in the training set is used as input, and the historical demand response curve of the charging station corresponding to the response influencing factor matrix is ​​used as output to train the neural network model. In order to make the training more efficient, the Stochastic Gradient Descent with Momentum (SGDM) is used to optimize and update the training weights of the neural network model, which is expressed as:

[0214]

[0215] ω k+1 =ω k -αm k

[0216] Where: k+1 ,ω k They represent the values ​​of the trainable weights at the k+1th and kth steps respectively; α is the learning rate, which is used to control the change in weight in a single update; m k and m k-1 are the gradient changes of the current step and the previous step, m 0 =0; is the loss function in ω k The gradient at ; β is the momentum, which indicates the participation of the previous step gradient change in calculating the current gradient change.

[0217] After each round of iteration, the validation set is used to evaluate the neural network model in the training process. In order to accurately evaluate the accuracy of the model, the mean absolute error (MAE), mean square error (MSE), mean absolute percentage error (MAPE), and determination coefficient (R 2 ) and other indicators to evaluate the prediction model. The formulas of each evaluation indicator are as follows:

[0218]

[0219] Where: y i' , are the predicted demand response potential value, the real response potential value, and the average response potential value at time i' respectively; n' is the total number of test samples in the validation set. The closer the MAE and MSE are to 0, the better the prediction effect is; R 2 The closer it is to 1, the better the effect.

[0220] If the mean square error (MSE) on the validation set for several consecutive rounds no longer increases or starts to decrease, it is considered that the loss function of the neural network model has converged, and the training is terminated at this time;

[0221] Based on the test set, the response influencing factor matrix in the training set is used as input, and the trained neural network model is used for prediction to obtain the historical demand response prediction curve of the charging station. Based on the historical demand response prediction curve of the charging station and the historical demand response curve of the charging station corresponding to the response influencing factor matrix in the test set, the prediction result accuracy of the trained neural network model is calculated. If the prediction result accuracy is less than the preset value, the data set is re-divided for training until the prediction result accuracy of the trained neural network model is not less than the preset value, thereby obtaining a trained charging station day-ahead demand response potential prediction model.

[0222] The neural network model adopts a convolutional neural network-improved gated recurrent unit model.

[0223] In summary, the real-time scheduling strategy for electric vehicle charging based on rolling optimization in the present invention simulates a specific demand response scenario to obtain the actual demand response curve, and on this basis establishes a potential prediction model based on the CNN-GRU algorithm, thereby realizing the accurate prediction of the day-ahead demand response curve of the electric vehicle charging station.

[0224] Embodiment 2:

[0225] Based on the same inventive concept, the present invention also provides a charging station day-ahead demand response potential prediction model construction system, such as Figure 4 As shown, including:

[0226] A first acquisition module is used to acquire historical daily charging data of the charging station, and determine a responding user from charging users who entered the charging station on historical days based on the historical daily charging data;

[0227] A constraint setting module is used to set charging scheduling constraints based on historical daily charging data and preset demand response rules;

[0228] The second acquisition module is used to perform rolling optimization on the charging scheduling of the responding users within the demand response period of the historical day based on the charging scheduling constraint conditions, obtain the charging scheduling strategies of all responding users, and obtain the historical demand response curve of the charging station corresponding to the charging scheduling strategy;

[0229] The prediction model building module is used to obtain the charging station's day-ahead demand response potential prediction model based on the charging station's historical demand response curve and the historical daily response influencing factor matrix by training the neural network model.

[0230] The first acquisition module is specifically used for:

[0231] Based on historical daily charging data, the arrival and departure times of charging users who entered the charging station on historical days are obtained;

[0232] When the charging user's arrival time and departure time intersect with the demand response period of the historical day and the charging user data is valid, the charging user is determined to be a responding user.

[0233] Demand response rules include:

[0234] When the charging time range of the responding user is within the demand response period, charging is performed in the second case;

[0235] When the charging time range of the responding user is greater than the demand response period, the first case is used for charging first; when the charging demand of the responding user is not reached after charging in the first case, the second case is used to continue charging.

[0236] When the charging time range of the responding user is greater than the demand response period, it includes:

[0237] The arrival time of the responding user is earlier than the response start time of the demand response period, and / or the departure time of the responding user is later than the response end time of the demand response period;

[0238] The first situation includes: the dispatch response user charges outside the demand response period;

[0239] The second situation includes: according to the charging scheduling constraint conditions, the responding users are subject to time-sharing rolling charging scheduling within the demand response period;

[0240] The responding users who only need to adopt the first situation for charging are recorded as first users, and the responding users who need to adopt the second situation for charging are recorded as second users.

[0241] The constraint setting module includes:

[0242] The first submodule is used to determine the total demand response volume of the charging station within the demand response period based on the historical daily charging data and the demand response rules;

[0243] The second submodule is used to evenly distribute the total demand response amount of the charging station to the demand response period to obtain the total benchmark value of the historical demand response curve of the charging station;

[0244] The third submodule is used to obtain the first total response curve corresponding to all first users in the demand response period, obtain the segment total response amount corresponding to each segment of the demand response period, evenly distribute the segment total response amount to the segment corresponding to the segment total response amount, and obtain the response capacity coefficient of each segment;

[0245] The fourth submodule is used to calculate the difference between the total reference value and the response capacity coefficient of each segment, and obtain the segment reference value of each segment;

[0246] The fifth submodule is used to complete the charging scheduling of the second user by allowing the second user to charge in a demand response period outside a certain segment as the second user arrives at the charging station; after the charging scheduling of the second user is completed, the response process curve of the demand response period is obtained, and the response process curve changes with the completion of the charging scheduling of the second user; according to the response process curve, the segment process response amount of the segment is obtained, and the segment process response amount is evenly distributed to the segment to obtain the segment response process coefficient;

[0247] The sixth submodule is used to constrain the response process coefficient of the second user in each segment according to the segment reference value of each segment to obtain the charging scheduling constraint condition.

[0248] The second acquisition module is specifically used for:

[0249] Based on the charging scheduling constraint, when the response process coefficient of the segment obtained after the charging scheduling of the second user is completed is less than the segment reference value of the segment, the charging scheduling constraint is met, and the next second user corresponding to the second user who arrives at the charging station is charged in the demand response period outside the segment, and the response process curve and the response process coefficient of the segment are updated until the response process coefficient of the segment is not less than the segment reference value of the segment, and the charging scheduling constraint of the segment is completed. At this time, the charging period is not allowed to roll to the next segment of the segment;

[0250] Traversing all second users, obtaining charging scheduling strategies for all second users, and using the response process curve obtained after the traversal as the second total response curve corresponding to all second users in the demand response period;

[0251] The first total response curve and the second total response curve are added together to obtain a charging station historical demand response curve.

[0252] The charging scheduling constraints are expressed as:

[0253]

[0254] Wherein, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, p2'(t) is the response process curve of the demand response period, The calculation result is the response process coefficient of the nth segment.

[0255] The first submodule is specifically used for:

[0256] Based on the preset initial total benchmark value, an initial response curve of the charging station is obtained, and the initial response curve of the charging station and the historical demand response curve of the charging station are obtained using the same process;

[0257] According to the initial response curve of the charging station, the total demand response of the charging station is calculated.

[0258] The first submodule is specifically used for:

[0259] According to the historical daily charging data and the demand response rule, the sum of the charging demands of all first users is taken as the first total response amount, and the difference between the sum of the charging demands of all second users and the sum of the charging amounts of all second users in the demand response period is taken as the second total response amount;

[0260] The total demand response amount of the charging station is determined according to the sum of the first total response amount and the second total response amount.

[0261] The process of determining the segmented reference value of each segment in the demand response period satisfies the following formula:

[0262]

[0263] Wherein, k is the total reference value, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, h(t) is the first total response curve corresponding to all first users in the demand response period, is the total demand response of charging stations, The calculated result is the response capacity coefficient of the nth segment.

[0264] Historical daily charging data includes:

[0265] The arrival time, departure time, charging end time and charging station load of charging users in historical days.

[0266] The response influencing factor matrix of historical days is expressed as:

[0267] X=[W,Day,T(t),H(t),L(t)]

[0268] Among them, X is the response influencing factor matrix of the historical day, W is the holiday coding matrix of the historical day, Day is the weekday coding matrix of the historical day, T(t) is the temperature curve of the historical day, H(t) is the humidity curve of the historical day, and L(t) is the charging station load curve of the historical day.

[0269] The prediction model building module is specifically used to:

[0270] Obtain the response influencing factor matrix of multiple historical days and the historical demand response curve of the charging station to generate a data set;

[0271] Divide the data set into training set, test set and validation set according to the set ratio;

[0272] Based on the training set, the response influencing factor matrix in the training set is used as input, and the historical demand response curve of the charging station corresponding to the response influencing factor matrix is ​​used as output to train the neural network model. The training weights of the neural network model are optimized and updated using the stochastic gradient descent method. The neural network model in the training process is evaluated using the validation set until the loss function of the neural network model converges.

[0273] Based on the test set, the response influencing factor matrix in the training set is used as input, and the trained neural network model is used for prediction to obtain the historical demand response prediction curve of the charging station. Based on the historical demand response prediction curve of the charging station and the historical demand response curve of the charging station corresponding to the response influencing factor matrix in the test set, the prediction result accuracy of the trained neural network model is calculated. If the prediction result accuracy is less than the preset value, the data set is re-divided for training until the prediction result accuracy of the trained neural network model is not less than the preset value, thereby obtaining a trained charging station day-ahead demand response potential prediction model.

[0274] The neural network model adopts a convolutional neural network-improved gated recurrent unit model.

[0275] Embodiment 3:

[0276] Based on the same inventive concept, the present invention also provides a method for predicting the potential of charging station demand response. Figure 5 As shown, including:

[0277] A1. Obtain the response influencing factor matrix of the forecast day; the response influencing factors include holiday type, day of the week, temperature, humidity and charging station load;

[0278] A2. Taking the response influencing factor matrix of the prediction day as input, the charging station day-ahead demand response potential prediction model is used to perform prediction, and the charging station demand response curve of the prediction day is obtained as the charging station day-ahead demand response potential prediction result.

[0279] In A1 above, the response influencing factor matrix Z of the forecast day is expressed as:

[0280] Z=[W z ,Day z ,T z (t),H z (t),L z (t)]

[0281] W z Day is the holiday coding matrix of the predicted day.z is the coding matrix of the predicted day’s weekday, T z (t) is the temperature curve of the forecast day, H z (t) is the humidity curve of the forecast day, L z (t) is the load curve of the charging station on the prediction day, t∈(t1,t2). The load curve of the charging station on the prediction day is predicted by using the traditional neural network prediction model using historical data.

[0282] Embodiment 4:

[0283] Based on the same inventive concept, the present invention also provides a charging station day-ahead demand response potential prediction system, such as Figure 6 As shown, including:

[0284] The matrix acquisition module is used to obtain the response influencing factor matrix of the forecast day; the response influencing factors include holiday type, day of the week, temperature, humidity and charging station load;

[0285] The prediction module is used to take the response influencing factor matrix of the prediction day as input, use the previous charging station day-ahead demand response potential prediction model to make a prediction, and obtain the charging station demand response curve of the prediction day as the charging station day-ahead demand response potential prediction result.

[0286] Embodiment 5:

[0287] like Figure 7 As shown, the present invention also provides an electronic device, which may be a computer device, a single-chip device, an intelligent mobile device, etc. The electronic device in this embodiment may include a processor, a memory, a transceiver component, etc. The memory, the processor, and the transceiver component are connected via a bus; the memory may be used to store an execution program, and an exemplary execution program may include instructions; the processor is used to execute the instructions stored in the memory. The memory may also be used to store data, which may be called and / or modified when the instructions are executed.

[0288] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in a storage medium to implement corresponding method flows or corresponding functions, so as to implement a method for constructing a charging station's day-ahead demand response potential prediction model in the above-mentioned embodiment, or the steps of a method for predicting a charging station's day-ahead demand response potential.

[0289] Embodiment 6:

[0290] Based on the same inventive concept, the present invention also provides a readable storage medium, specifically an electronic device readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the storage medium here may include both built-in storage media in electronic devices and, of course, extended storage media supported by electronic devices. The storage medium provides a storage space that stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions may be one or more execution programs (including program codes). It should be noted that the storage medium here may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor loads and executes one or more instructions stored in the storage medium, which can implement a method for constructing a charging station demand response potential prediction model in the above embodiment, or a step of a charging station demand response potential prediction method.

[0291] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0292] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0293] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0294] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0295] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims of the present invention.

Claims

1. A method for constructing a charging station day-ahead demand response potential prediction model, characterized in that: include: Acquire historical daily charging data of the charging station, and determine a responding user from charging users who entered the charging station on historical days based on the historical daily charging data; Based on the historical daily charging data and preset demand response rules, setting charging scheduling constraints; Based on the charging scheduling constraint condition, rolling optimization is performed on the charging scheduling of the responding user within the demand response period of the historical day to obtain the charging scheduling strategy of all responding users and the charging station historical demand response curve corresponding to the charging scheduling strategy; Based on the historical demand response curve of the charging station and the response influencing factor matrix of the historical day, a neural network model is used for training to obtain a charging station day-ahead demand response potential prediction model.

2. The method according to claim 1, characterized in that The acquiring of historical daily charging data of the charging station and determining a responding user from charging users who entered the charging station on historical days based on the historical daily charging data includes: Based on the historical daily charging data, the arrival time and departure time of charging users entering the charging station on the historical day are obtained; When the arrival time and departure time of the charging user intersect with the demand response period of the historical day and the charging user data is valid, the charging user is determined to be a responding user.

3. The method according to claim 2, characterized in that The demand response rules include: When the charging time range of the responding user is within the demand response period, charging is performed in the second case; When the charging time range of the responding user is greater than the demand response period, charging is preferentially performed in the first case; when the charging demand of the responding user is not reached after charging in the first case, charging is continued in the second case; When the charging time range of the responding user is greater than the demand response time period, the method comprises: The arrival time of the responding user is earlier than the response start time of the demand response period, and / or the departure time of the responding user is later than the response end time of the demand response period.

4. The method according to claim 3, characterized in that The first situation includes: scheduling the responding user to charge outside the demand response period; The second situation includes: performing time-division rolling charging scheduling for the responding user within the demand response period according to the charging scheduling constraint condition; The responding user who only needs to adopt the first situation for charging is recorded as a first user, and the responding user who needs to adopt the second situation for charging is recorded as a second user.

5. The method according to claim 4, characterized in that The setting of charging scheduling constraints based on the historical daily charging data and preset demand response rules includes: Determining a total demand response amount of the charging station within the demand response period according to the historical daily charging data and the demand response rule; Evenly allocating the total demand response amount of the charging station to the demand response period to obtain a total benchmark value of the historical demand response curve of the charging station; Obtaining a first total response curve corresponding to all the first users in the demand response period, obtaining a segment total response amount corresponding to each segment of the demand response period, and evenly distributing the segment total response amount to the segment corresponding to the segment total response amount to obtain a response capacity coefficient of each segment; Calculating the difference between the total reference value and the response capacity coefficient of each segment respectively to obtain the segment reference value of each segment; As a second user arrives at the charging station, the second user is allowed to charge in a demand response period outside a certain segment, and the charging scheduling of the second user is completed; after the charging scheduling of the second user is completed, the response process curve of the demand response period at this time is obtained, and the response process curve changes with the completion of the charging scheduling of the second user; according to the response process curve, the segment process response amount of the segment is obtained, and the segment process response amount is evenly distributed to the segments to obtain the response process coefficient of the segment; Constraining the response process coefficient of the second user in each segment according to the segment reference value of each segment to obtain a charging scheduling constraint condition.

6. The method according to claim 5, characterized in that The step of performing rolling optimization on the charging scheduling of the responding users within the demand response period of the historical day based on the charging scheduling constraint condition, obtaining charging scheduling strategies for all responding users, and obtaining a charging station historical demand response curve corresponding to the charging scheduling strategy, includes: Based on the charging scheduling constraint, when the response process coefficient of the segment obtained after the charging scheduling of the second user is completed is less than the segment reference value of the segment, the charging scheduling constraint is satisfied, and the next second user corresponding to the second user who arrives at the charging station is charged in the demand response period outside the segment, and the response process curve and the response process coefficient of the segment are updated until the response process coefficient of the segment is not less than the segment reference value of the segment, and the charging scheduling constraint of the segment is completed. At this time, the charging period is not allowed to roll to the next segment of the segment; Traversing all second users to obtain charging scheduling strategies for all second users, and using the response process curve obtained after the traversal as the second total response curve corresponding to all second users in the demand response period; The first total response curve and the second total response curve are added together to obtain the charging station historical demand response curve.

7. The method according to claim 6, characterized in that The charging scheduling constraint condition is expressed as: Wherein, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, p2'(t) is the response process curve of the demand response period, The calculation result is the response process coefficient of the nth segment.

8. The method according to claim 6, characterized in that The determining, according to the historical daily charging data and the demand response rule, a total demand response amount of the charging station within the demand response period includes: Based on a preset initial total reference value, an initial response curve of the charging station is obtained, wherein the initial response curve of the charging station and the historical demand response curve of the charging station are obtained using the same acquisition process; The total demand response amount of the charging station is calculated according to the initial response curve of the charging station.

9. The method according to claim 5, characterized in that The determining, according to the historical daily charging data and the demand response rule, a total demand response amount of the charging station within the demand response period includes: According to the historical daily charging data and the demand response rule, the sum of the charging demands of all first users is taken as a first total response amount, and the difference between the sum of the charging demands of all second users and the sum of the charging amounts of all second users in the demand response period is taken as a second total response amount; The total demand response amount of the charging station is determined according to the sum of the first total response amount and the second total response amount.

10. The method according to claim 5, characterized in that The process of determining the segment reference value of each segment in the demand response period satisfies the following formula: Wherein, k is the total reference value, K(n) is the segment reference value of the nth segment, n=1,...,N, N is the number of segments, t1 is the response start time of the demand response period, t2 is the response end time of the demand response period, h(t) is the first total response curve corresponding to all the first users in the demand response period, is the total demand response amount of the charging station, The calculated result is the response capacity coefficient of the nth segment.

11. The method according to claim 1, characterized in that The historical daily charging data includes: The arrival time, departure time, charging end time and charging station load of charging users on the historical day.

12. The method according to claim 1, characterized in that The response influencing factor matrix of the historical day is expressed as: X=[W,Day,T(t),H(t),L(t)] Wherein, X is the response influencing factor matrix of the historical day, W is the holiday coding matrix of the historical day, Day is the weekday coding matrix of the historical day, T(t) is the temperature curve of the historical day, H(t) is the humidity curve of the historical day, and L(t) is the charging station load curve of the historical day.

13. The method according to claim 1, characterized in that The method of training a charging station demand response potential prediction model based on the charging station historical demand response curve and the response influencing factor matrix of the historical day by using a neural network model includes: Obtain the response influencing factor matrix of multiple historical days and the historical demand response curve of the charging station to generate a data set; Dividing the data set into a training set, a test set, and a validation set according to a set ratio; Based on the training set, taking the response influencing factor matrix in the training set as input and the charging station historical demand response curve corresponding to the response influencing factor matrix as output, training the neural network model, optimizing and updating the training weights of the neural network model by using the stochastic gradient descent method, and evaluating the neural network model in the training process by using the validation set until the loss function of the neural network model converges; Based on the test set, taking the response influencing factor matrix in the training set as input, using the trained neural network model to perform prediction, obtaining a charging station historical demand response prediction curve, and calculating the accuracy of the prediction result of the trained neural network model based on the charging station historical demand response prediction curve and the charging station historical demand response curve corresponding to the response influencing factor matrix in the test set. If the accuracy of the prediction result is less than a preset value, re-dividing the data set for training until the accuracy of the prediction result of the trained neural network model is not less than a preset value, thereby obtaining a trained charging station day-ahead demand response potential prediction model; The neural network model adopts a convolutional neural network-improved gated recurrent unit model.

14. A charging station day-ahead demand response potential prediction model construction system, characterized in that: include: A first acquisition module is used to acquire historical daily charging data of the charging station, and determine a responding user from charging users who entered the charging station on historical days based on the historical daily charging data; A constraint setting module, used to set charging scheduling constraint conditions based on the historical daily charging data and preset demand response rules; A second acquisition module is used to perform rolling optimization on the charging scheduling of the responding users within the demand response period of the historical day based on the charging scheduling constraint condition, obtain the charging scheduling strategy of all responding users, and obtain the charging station historical demand response curve corresponding to the charging scheduling strategy; The prediction model building module is used to obtain a charging station's day-ahead demand response potential prediction model by training a neural network model based on the charging station's historical demand response curve and the historical day's response influencing factor matrix.

15. The system of claim 14, wherein: The first acquisition module is specifically used for: Based on the historical daily charging data, the arrival time and departure time of charging users entering the charging station on the historical day are obtained; When the arrival time and departure time of the charging user intersect with the demand response period of the historical day and the charging user data is valid, the charging user is determined to be a responding user.

16. The system of claim 15, wherein: The demand response rules include: When the charging time range of the responding user is within the demand response period, charging is performed in the second case; When the charging time range of the responding user is greater than the demand response time period, charging in the first case is preferentially adopted; when the charging demand of the responding user is not met after charging in the first case, charging is continued in the second case.

17. A method for predicting the day-ahead demand response potential of a charging station, characterized in that: include: Obtain the response influencing factor matrix of the forecast day; the response influencing factors include holiday type, day of the week, temperature, humidity and charging station load; Taking the response influencing factor matrix of the forecast day as input, the charging station day-ahead demand response potential prediction model described in any one of claims 1 to 13 is used to perform prediction, and the charging station demand response curve of the forecast day is obtained as the charging station day-ahead demand response potential prediction result.

18. A charging station day-ahead demand response potential prediction system, characterized in that: include: Matrix acquisition module, used to obtain the response influencing factor matrix of the forecast day; Response influencing factors include holiday type, day of the week, temperature, humidity, and charging station load; A prediction module is used to take the response influencing factor matrix of the prediction day as input, and use the charging station day-ahead demand response potential prediction model described in any one of claims 1 to 13 to perform prediction, so as to obtain the charging station demand response curve of the prediction day as the charging station day-ahead demand response potential prediction result.

19. An electronic device, characterized in that: include: at least one processor and memory; The memory and the processor are connected via a bus; The memory is used to store one or more programs; When the one or more programs are executed by the at least one processor, a method for constructing a charging station day-ahead demand response potential prediction model as described in any one of claims 1 to 13, or a method for predicting a charging station day-ahead demand response potential as described in claim 17 is implemented.

20. A readable storage medium, characterized in that: An execution program is stored thereon, and when the execution program is executed, it implements a method for constructing a charging station's day-ahead demand response potential prediction model as described in any one of claims 1 to 13, or a method for predicting a charging station's day-ahead demand response potential as described in claim 17.

Citation Information

Cited By

  • New energy vehicle charging station charging amount demand prediction system based on big data

    CN119090094A

  • Demand response potential prediction method and device based on intelligent model migration

    CN119378744A