A method and device for calculating time-sharing operation and maintenance costs of electric vehicle charging stations
Through the time-sharing operation and maintenance cost calculation method, combined with user type, charging load and operation model, the operation and maintenance cost of electric vehicle charging stations is optimized, which solves the problem of insufficient operation and maintenance cost estimation in the existing technology and achieves load fluctuation reduction and economy. sexual enhancement.
Patent Information
- Application Number
- CN202111013150.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-08-31
AI Technical Summary
In the existing technology, electric vehicle charging stations fail to effectively measure operation and maintenance costs, which makes it difficult to reduce the demand response pressure of energy storage charging stations. Charging service fees are only formulated from the perspective of the power supply side, failing to fully consider users and grid operators. economy.
This paper proposes a time-sharing operation and maintenance cost calculation method for electric vehicle charging stations. It establishes optimization objective functions and constraints based on user type, charging quantity, selection probability matrix, charging load, user power purchase cost model and charging station operating income model. , using multi-objective particle swarm algorithm to obtain optimal operation and maintenance costs.
It improves the rationality of time-sharing operation and maintenance costs, reduces grid load fluctuations, reduces users' charging costs, and increases the net operating income of charging stations.
Smart Images

Figure CN113762612B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicles, and in particular to a method and device for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station. Background Art
[0002] With the promotion and application of electric vehicles, electric vehicle charging stations have also been established to provide charging services for electric vehicles.
[0003] In the prior art, electric vehicle charging stations can charge a fixed price, and the amount of the charge is determined based on the cost of the charging station operator. In order to reduce the pressure of demand response of energy storage charging stations, a method for setting the charging and discharging service fees of electric vehicles with dynamic changes has emerged. Through the price mechanism, users are guided to choose appropriate charging stations for charging and discharging, so as to achieve safe and economical operation of the distribution network. This charging method only sets the charging and discharging service fees of electric vehicles from the perspective of the power supply side. Therefore, how to propose a method for calculating the operation and maintenance costs of electric vehicle charging stations, which can more reasonably determine the operation and maintenance costs of charging stations, has become an important issue that needs to be solved in this field. Summary of the invention
[0004] In view of the problems in the prior art, an embodiment of the present invention provides a method and device for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station, which can at least partially solve the problems in the prior art.
[0005] On the one hand, the present invention provides a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station, comprising:
[0006] According to the charging quantity of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period, the charging quantity of electric vehicles in each time period is obtained; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the charging quantity of electric vehicles corresponding to each type of user in each time period is obtained in advance; the user type is preset;
[0007] According to the number of electric vehicles charged in each period and the charging power of the electric vehicles, the charging load of the electric vehicles in each period is obtained;
[0008] According to the type of each time period, the charging load of the electric vehicle in each time period, the preset parameters, the user electricity purchase cost model and the charging station operation revenue model, a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition are established; wherein the user electricity purchase cost model and the charging station operation revenue model are obtained in advance, and the type of each time period is obtained in advance;
[0009] The optimal time-sharing operation and maintenance cost is obtained according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint conditions.
[0010] In another aspect, the present invention provides a time-sharing operation and maintenance cost calculation device for an electric vehicle charging station, comprising:
[0011] The first acquisition module is used to obtain the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles corresponding to each type of user in each time period is obtained in advance; the user type is preset;
[0012] The second obtaining module is used to obtain the charging load of the electric vehicle in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicle;
[0013] Establishing a module for establishing a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition according to the type of each time period, the charging load of the electric vehicle in each time period, the preset parameters, the user electricity purchase cost model and the charging station operation revenue model; wherein the user electricity purchase cost model and the charging station operation revenue model are obtained in advance, and the type of each time period is obtained in advance;
[0014] The optimization module is used to obtain the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition.
[0015] On the other hand, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station described in any of the above embodiments are implemented.
[0016] On the other hand, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station described in any of the above embodiments.
[0017] The time-sharing operation and maintenance cost calculation method and device of the electric vehicle charging station provided by the embodiment of the present invention can obtain the number of electric vehicles charged in each time period according to the number of electric vehicles charged in each time period corresponding to each type of user and the selection probability matrix of each type of user in each time period, obtain the charging load of the electric vehicles in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicles, establish a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition according to the type of each time period, the charging load of the electric vehicle in each time period, preset parameters, a user electricity purchase cost model and a charging station operation income model, obtain the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition, and improve the rationality of the time-sharing operation and maintenance cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 It is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in the first embodiment of the present invention.
[0020] Figure 2 It is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in the second embodiment of the present invention.
[0021] Figure 3 It is a flowchart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in the third embodiment of the present invention.
[0022] Figure 4 It is a flowchart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in a fourth embodiment of the present invention.
[0023] Figure 5 It is a flowchart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in the fifth embodiment of the present invention.
[0024] Figure 6 It is a schematic diagram of the flow of electric vehicle charging simulation provided by the sixth embodiment of the present invention.
[0025] Figure 7 It is a flowchart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in the seventh embodiment of the present invention.
[0026] Figure 8 It is a flowchart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in the eighth embodiment of the present invention.
[0027] Fig. 9 It is a structural schematic diagram of a time-sharing operation and maintenance cost estimation device for an electric vehicle charging station provided in the ninth embodiment of the present invention.
[0028] Fig.10 It is a schematic diagram of the physical structure of an electronic device provided by the tenth embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.
[0030] In order to facilitate understanding of the technical solution provided by this application, the relevant contents of the technical solution of this application are first explained below.
[0031] As the peak load caused by the disorderly charging behavior of large-scale electric vehicles continues to increase and the contradiction between the lagging power supply construction is becoming increasingly prominent. Constructing a guideable flexible load resource for electric vehicles and fully tapping the potential of demand-side response is one of the important means to improve the economic and stable operation of the power system. Under the background of the lifting of the upper limit of charging service fees, various types of users are guided to change their charging behavior through price signals, and the capacity advantage of user-side flexible loads participating in grid demand response is fully utilized. It can not only reduce the peak-to-valley difference of load, effectively increase the system's flexible adjustment ability and improve the operating efficiency of grid assets, but also reduce the overall energy cost of society and improve the energy efficiency of terminals in the whole society. Therefore, in view of the deficiency that current charging stations fail to fully tap the potential of demand-side response, the present invention proposes a time-sharing operation and maintenance cost calculation method for electric vehicle charging stations that takes into account the economic benefits of grid operators, users and charging station operators based on the charging behavior rules and decision-making behavior mechanisms of electric vehicle users.
[0032] Figure 1 FIG. 1 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by an embodiment of the present invention. Figure 1 As shown, the method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by an embodiment of the present invention includes:
[0033] S101, according to the charging quantity of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period, the charging quantity of electric vehicles in each time period is obtained; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the charging quantity of electric vehicles corresponding to each type of user in each time period is obtained in advance; the user type is preset;
[0034] Specifically, the server can obtain the selection probability matrix of each type of user in each time period and the number of electric vehicles corresponding to each type of user in each time period, and then obtain the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period. Among them, a day is divided into a preset number of time periods in advance, and the division of time periods is set according to actual needs, which is not limited in the embodiment of the present invention. The user type is preset, for example, the user type is divided into four categories. The selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles corresponding to each type of user in each time period is obtained in advance.
[0035] For example, we select two user charging preferences, charging price and charging time difference, to classify users. According to the different sensitivities of users to charging price and travel convenience, we divide electric vehicle users into four categories. Category I users: price preference users. Such users mainly consider saving charging costs, are more sensitive to charging price, and less sensitive to travel convenience; Category II users: convenience preference users. Such users mainly consider ensuring travel needs at any time, are more sensitive to travel convenience, and are less sensitive to charging price; Category III users: balanced users. Such users have no obvious charging preference and are between the first two categories of users. They are equally sensitive to charging price and travel convenience; Category IV users: other users. Such users do not accept price guidance and still charge according to their charging habits before the implementation of the time-sharing operation and maintenance cost plan.
[0036] For example, if a day is evenly divided into 24 time periods, that is, one time period per hour, then the selection probability matrix of the i-th type of user in 24 hours a day can be expressed as:
[0037]
[0038] in, The 1×24-dimensional vector group represents the probability that the i-th user chooses to charge from the m-th time period to the n-th time period. The number of electric vehicles charged per hour corresponding to the i-th user is expressed as Then after implementing the time-sharing operation and maintenance cost plan, the number of electric vehicle charging hours for the i-th user can be expressed as:
[0039]
[0040] Among them, N i It represents the number of electric vehicles charged in each hour by the i-th user.
[0041] The server calculates the number of electric vehicles charged in the jth period in, represents the number of electric vehicles charged by the i-th user in the j-th time period, j is a positive integer less than or equal to 24, i is a positive integer less than or equal to A, and A represents the number of user types.
[0042] S102, obtaining the charging load of the electric vehicles in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicles;
[0043] Specifically, the server can obtain the charging load of the electric vehicle in each period according to the number of electric vehicles charged in each period and the charging power of the electric vehicle. The charging power of the electric vehicle is preset, and in order to simplify the calculation, the charging power of all electric vehicles can be set to be the same.
[0044] For example, the server obtains the number of electric vehicles charged in the tth period as Sum t , the charging power of the electric vehicle is set to P c , then the server can calculate the charging load C of the electric vehicle in the tth period t =Sum t P c S t , where S t Indicates the length of the tth period.
[0045] S103, establishing a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition according to the type of each time period, the charging load of the electric vehicle in each time period, the preset parameters, the user electricity purchase cost model and the charging station operation revenue model; wherein the user electricity purchase cost model and the charging station operation revenue model are obtained in advance, and the type of each time period is obtained in advance;
[0046] Specifically, the server can obtain the type and preset parameters of each time period, and then establish the time-sharing operation and maintenance cost optimization objective function and time-sharing operation and maintenance cost constraint conditions based on the type of each time period, the charging load of the electric vehicle in each time period, the preset parameter user power purchase cost model and the charging station operation revenue model. Among them, the user power purchase cost model and the charging station operation revenue model are obtained in advance, and the type of each time period is obtained in advance. The preset parameters may include the maximum daily load of the charging station, the charging power of the electric vehicle, the fixed charging operation and maintenance cost, the power purchase price of the charging station operator, the peak demand period, the peak compensation price, the penalty price and other parameters that need to be set in advance.
[0047] For example, the types of various time periods may include normal time periods, peak time periods, and valley time periods. Peak time periods refer to time periods with peak electricity consumption, and the corresponding charging fees are the highest. Valley time periods refer to time periods with less electricity consumption, and the corresponding charging fees are the lowest. The electricity consumption in normal time periods is higher than that in valley time periods and lower than that in peak time periods, and the corresponding charging fees are higher than those in valley time periods and lower than those in peak time periods.
[0048] S104: Obtain an optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition.
[0049] Specifically, the time-sharing operation and maintenance cost optimization objective function involves the three parties of the power grid operator, the charging station operator and the user. The server can obtain the time-sharing operation and maintenance cost solution set according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint conditions through a multi-objective particle swarm algorithm, and then obtain the optimal time-sharing operation and maintenance cost from the time-sharing operation and maintenance cost solution set. Among them, the time-sharing operation and maintenance cost can include the time-sharing operation and maintenance cost in normal period, the time-sharing operation and maintenance cost in peak period and the time-sharing operation and maintenance cost in valley period. The time-sharing operation and maintenance cost in peak period is higher than the time-sharing operation and maintenance cost in normal period, and the time-sharing operation and maintenance cost in normal period is higher than the time-sharing operation and maintenance cost in valley period.
[0050] The method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by an embodiment of the present invention can obtain the number of electric vehicles charged in each time period according to the number of electric vehicles charged in each time period corresponding to each type of user and the selection probability matrix of each type of user in each time period, obtain the charging load of the electric vehicles in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicles, establish a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition according to the type of each time period, the charging load of the electric vehicle in each time period, preset parameters, a user electricity purchase cost model and a charging station operation income model, obtain the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition, and improve the rationality of the time-sharing operation and maintenance cost.
[0051] On the basis of the above embodiments, further, the time-sharing operation and maintenance cost optimization objective function includes a first objective function, a second objective function and a third objective function, and the time-sharing operation and maintenance cost constraint condition includes a first constraint condition, a second constraint condition, a third constraint condition and a fourth constraint condition, wherein:
[0052] The first objective function is:
[0053]
[0054] Among them, L base,t represents the basic load other than the charging load in the tth period, L ev,t represents the charging load in the tth period, T represents the preset number; wherein, L base,t It can be pre-set according to the actual local historical distribution network load value;
[0055] The first objective function is established with the goal of minimizing the load fluctuation of the power grid. base,t The setting is performed based on experience and is not limited in the embodiment of the present invention. If a day is divided into 24 time periods on average, the length of each time period is 1 hour, and T is 24.
[0056] The second objective function is:
[0057]
[0058] in, It represents the charging cost of users after the implementation of the time-sharing operation and maintenance cost plan. is obtained based on the user electricity purchase cost model;
[0059] The second objective function is established with the goal of minimizing the user's charging cost, that is, the user's charging cost after implementing the time-sharing operation and maintenance cost plan Minimum, It is obtained based on the user electricity purchase cost model.
[0060] The third objective function is:
[0061]
[0062] in, represents the operating income of the charging station after implementing the time-sharing operation and maintenance cost plan, is obtained based on the charging station operation revenue model;
[0063] The third objective function is established with the goal of maximizing the net operating income of the charging station operator, that is, the operating income of the charging station after implementing the time-sharing operation and maintenance cost plan. Minimum, It is obtained based on the charging station operation revenue model.
[0064] For power grid operators, the formulated time-sharing operation and maintenance costs for normal periods, peak periods, and valley periods cannot differ too much, and after the implementation of the time-sharing operation and maintenance cost plan, the phenomenon of peak period time-sharing operation and maintenance costs and valley period time-sharing operation and maintenance costs cannot be reversed; for users, the charging costs incurred after the implementation of the time-sharing operation and maintenance cost plan cannot be higher than the charging costs incurred before the implementation of the time-sharing operation and maintenance cost plan; for charging station operators, the total net income cannot be reduced after the implementation of the time-sharing operation and maintenance cost plan. Therefore, the following time-sharing operation and maintenance cost constraints are established.
[0065] The first constraint condition is:
[0066]
[0067] Among them, C f,f represents the time-sharing operation and maintenance cost during normal hours, C f,p represents the time-sharing operation and maintenance cost during peak hours, C f,v represents the time-sharing operation and maintenance cost during the valley period, and ε represents the constraint value; the time-sharing operation and maintenance cost during the normal period, the time-sharing operation and maintenance cost during the peak period, and the time-sharing operation and maintenance cost during the valley period are the time-sharing operation and maintenance costs that need to be optimized. The constraint value ε is a constant and is set according to actual needs. The embodiment of the present invention does not limit it.
[0068] The second constraint is:
[0069]
[0070] in, It represents the maximum load of the charging station in a single day before implementing the time-sharing operation and maintenance cost; This can be obtained through historical data, such as taking the maximum single-day load of the charging station in the past year as
[0071] The third constraint condition is:
[0072]
[0073] in, represents the user's charging cost before the implementation of the time-sharing operation and maintenance cost plan, is obtained based on the charging station operation revenue model;
[0074] The fourth constraint condition is:
[0075]
[0076] in, represents the operating income of the charging station before implementing the time-sharing operation and maintenance costs, It is obtained based on the charging station operation revenue model.
[0077] On the basis of the above embodiments, the user electricity purchase cost model further includes the user's charging cost before implementing the time-sharing operation and maintenance cost plan and the charging costs of users after implementing the time-sharing operation and maintenance cost plan in:
[0078]
[0079]
[0080] Among them, P ij,t represents the charging power corresponding to the jth user in the i-th type of user in the t-th time period, C b,t represents the basic charging price in the tth period, C 0,t represents the fixed charging operation and maintenance cost, represents the charging operation and maintenance cost price in the tth period after the implementation of the time-sharing operation and maintenance cost plan, I t Indicates the charging instruction for the tth period. When the jth user of the i-th type of user charges in the tth period, I t =1, when the jth user of the i-th type of user does not charge in the t-th period, I t =0, i is a positive integer and i is less than or equal to B, j is a positive integer and j is less than or equal to D i , D i represents the number of users of the i-th type, B represents the number of user categories, t is a positive integer and t is less than or equal to T, and T represents the preset number.
[0081] P ij,t is the charging power of the electric vehicle used by the jth user among the i-th type of users, P ij,t It is preset and set according to actual needs, and the embodiment of the present invention does not limit it. In order to simplify the calculation, the charging power of all electric vehicles can be set to be the same.
[0082] C b,tIt represents the basic charging price of the t-th time period. The basic charging price of the peak time period, the basic charging price of the valley time period, and the basic charging price of the normal time period are different. The basic charging price of the t-th time period can be determined according to the type of the t-th time period. For example, if the type of the t-th time period is the peak time period, then the basic charging price of the t-th time period is the basic charging price of the peak time period. The basic charging price of the peak time period, the basic charging price of the valley time period, and the basic charging price of the normal time period are preset and set according to actual needs, and the embodiments of the present invention do not limit them. For example, the basic charging price of the peak time period can be determined according to the basic peak electricity price of the charging station operator purchasing electricity from the power grid, the basic charging price of the valley time period can be determined according to the basic valley electricity price of the charging station operator purchasing electricity from the power grid, and the basic charging price of the normal time period can be determined according to the basic normal electricity price of the charging station operator purchasing electricity from the power grid.
[0083] C 0,t represents the fixed charging operation and maintenance cost, C 0,t It is preset and set according to actual experience, and is not limited in the embodiment of the present invention. It represents the charging operation and maintenance cost price of the tth period after the implementation of the time-sharing operation and maintenance cost plan, which is determined according to the type of the tth period. If the type of the tth period is a peak period, then Equal to the peak time-sharing operation and maintenance cost. If the tth time period is a valley time period, then Equal to the time-sharing operation and maintenance cost during the valley period. If the type of the tth period is a normal period, then Equal to the time-sharing operation and maintenance cost during normal periods.
[0084] I t Indicates the charging instruction for the tth period. When the jth user of the i-th type of user charges in the tth period, I t =1, when the jth user of the i-th type of user does not charge in the t-th period, I t = 0. Wherein, based on the selection probability matrix of each type of user in each time period, it can be determined whether the jth user in the i-th type of user charges in the t-th time period.
[0085] B represents the number of user categories. If electric vehicle users are divided into four categories, then B is equal to 4. i represents the number of users of the i-th type. If B is equal to 4, the number of electric vehicles charged in one day is 500, and the ratio of the four types of users is set to 5:2:2:1, then the numbers of the four types of users are 250, 100, 100, and 50 respectively.
[0086] On the basis of the above embodiments, further, the charging station operation revenue model includes the charging station operation revenue before the implementation of the time-sharing operation and maintenance cost and the charging station operation revenue after the implementation of the time-sharing operation and maintenance cost solution, wherein:
[0087]
[0088]
[0089]
[0090]
[0091] Among them, C1 represents the user's electricity purchase cost under fixed operation and maintenance cost, C2 represents the user's electricity purchase cost after implementing the time-sharing operation and maintenance cost plan, and Q t q represents the amount of electricity purchased by the charging station from the grid operator in the tth period under fixed operation and maintenance costs, represents the amount of electricity purchased from the grid operator in the tth period after the charging station implements the time-sharing operation and maintenance cost plan, Indicates the peak shaving compensation fee obtained by the charging station. represents the peak load penalty fee imposed on the charging station, p0 represents the number of peak demand periods, represents the charging load in the i-th peak demand period before implementing the time-sharing operation and maintenance cost, represents the charging load in the i-th peak demand period after implementing the time-sharing operation and maintenance cost, I i represents the indicator value of the i-th peak demand period, if Then I i =1, if Then I i =0, C res represents the peak load compensation price, C fine Represents the penalty price, i is a positive integer and i is less than or equal to p0.
[0092] C1 represents the user's electricity purchase cost under fixed operation and maintenance costs, C1 can be equal to Based on the charging station operation revenue model, C2 represents the user's electricity purchase cost after implementing the time-sharing operation and maintenance cost plan, and C1 can be equal to It is obtained based on the user electricity purchasing cost model.
[0093] It represents the amount of electricity purchased by the charging station from the grid operator in the tth period under the fixed operation and maintenance cost, which can be obtained by multiplying the number of electric vehicles charged in the tth period under the fixed operation and maintenance cost by the charging power of the electric vehicles, and then multiplying it by the time interval of the tth period; It represents the amount of electricity purchased from the grid operator in the tth period after the charging station implements the time-sharing operation and maintenance cost plan. It can be obtained by multiplying the number of electric vehicles charged in the tth period after the implementation of the time-sharing operation and maintenance cost plan by the charging power of the electric vehicles, and then multiplying it by the time interval of the tth period.
[0094] p0 indicates the number of peak demand periods. The peak demand period is preset, and the number of preset peak demand periods can be counted as p0. For example, when a day is evenly divided into 24 periods, 18:00-19:00 can be set as the peak demand period.
[0095] The charging load in the ith peak demand period before the implementation of time-sharing operation and maintenance costs can be obtained by multiplying the number of electric vehicles being charged in the ith peak demand period by the charging power and then multiplying it by the time interval of the ith peak demand period. represents the charging load of the ith peak demand period after the implementation of time-sharing operation and maintenance costs. In step S102, the charging load of the electric vehicle in each period has been obtained, from which it can be obtained
[0096] In order to motivate charging station operators to actively respond to peak load demand, the embodiment of the present invention sets a peak load compensation price C of the demand response. res and charging stations increase the penalty price for charging peak loads C fine . C res and C fine The setting is based on actual experience and is not limited in the present embodiment. res Set it to 3 yuan / kW, and set C res Set to 1.5 times the time-sharing operation and maintenance cost during peak hours.
[0097] Figure 2 FIG. 1 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by a second embodiment of the present invention. Figure 2 As shown, on the basis of the above embodiments, further, obtaining the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition includes:
[0098] S201, solving the time-sharing operation and maintenance cost optimization objective function under the operation and maintenance cost constraint condition based on a multi-objective particle swarm algorithm to obtain a time-sharing operation and maintenance cost solution set;
[0099] Specifically, when solving the time-sharing operation and maintenance cost optimization objective function, the server may solve the time-sharing operation and maintenance cost optimization objective function under the operation and maintenance cost constraint condition based on a multi-objective particle swarm algorithm to obtain a time-sharing operation and maintenance cost solution set.
[0100] Among them, in order to enhance the global search capability of the multi-objective particle swarm algorithm and reduce the probability of particles falling into the local optimum, Morlet wavelet mutation is used to mutate all particles in the swarm in each iteration, and the obtained Pareto solution set is used as the time-sharing operation and maintenance cost solution set.
[0101] S202: Obtain a Nash equilibrium solution from a time-sharing operation and maintenance cost solution set as the optimal time-sharing operation and maintenance cost.
[0102] Specifically, after obtaining the time-sharing operation and maintenance cost solution set, the server needs to find an optimal solution from the time-sharing operation and maintenance cost solution set as the optimal time-sharing operation and maintenance cost. The server time-sharing operation and maintenance cost solution set obtains a Nash equilibrium solution as the optimal time-sharing operation and maintenance cost.
[0103] Among them, the concept of "Nash equilibrium" in non-cooperative games can be used to take the Nash equilibrium solution in the time-sharing operation and maintenance cost solution set as the optimal decision solution, thereby transforming the multi-objective optimal decision-making problem into a Nash equilibrium point solution problem.
[0104] The multi-objective decision-making model based on Nash equilibrium solution is as follows:
[0105]
[0106]
[0107] h ij ≥0i=1,2,…,M; j=1,2,…,M in
[0108]
[0109]
[0110] Wherein, M is the target number, which is 3 in the embodiment of the present invention. in represents the number of optimal solutions of particles under the i-th target; ω i represents the weight factor, representing the importance of the i-th target, and in the embodiment of the present invention, it is 1; H i =[h i1 ,…,h ij ,…,h in ] represents the probability distribution of the equilibrium solution of the Pareto solution set on the i-th objective; h ij represents the equilibrium value of the jth particle on the i-th target; v i represents the upper limit value expected by the i-th target participant; f ij represents the normalized value of the j-th particle on the i-th target.
[0111] Use the sequential quadratic programming method to solve the above problem and obtain multiple equilibrium values. The solution that reaches the maximum value is taken as the optimal decision solution, which can obtain the optimal time-sharing operation and maintenance cost.
[0112] Figure 3 FIG. 1 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in a third embodiment of the present invention. Figure 3 As shown, based on the above embodiments, further, the step of obtaining the type of each time period includes:
[0113] S301, establishing an adaptive window width Gaussian kernel function of charging parameters based on historical order data of the charging station;
[0114] Specifically, the server may obtain the historical order data of the charging station, and then establish an adaptive window width Gaussian kernel function of the charging parameters based on the historical order data of the charging station. The historical order data may be the order data of the charging station in the past period of time. The adaptive window width Gaussian kernel function of the charging parameters can reflect the charging behavior of electric vehicle users. The charging parameters may include the charging start time, the charging end time, and the charging start state of charge.
[0115] For example, the charging station order data of the charging station in the past year is obtained as the historical order data of the charging station.
[0116] S302, performing a single-day charging simulation of the electric vehicle according to the adaptive window width Gaussian kernel function of the charging parameter and the charging simulation parameters of the electric vehicle to obtain a single-day disordered charging load distribution of the electric vehicle;
[0117] Specifically, after obtaining the adaptive window width Gaussian kernel function of the charging parameters, the server also obtains the charging simulation parameters of the electric vehicle, and then performs a single-day charging simulation of the electric vehicle according to the adaptive window width Gaussian kernel function of the charging parameters and the charging simulation parameters of the electric vehicle to obtain the single-day disordered charging load distribution of the electric vehicle. In the single-day charging simulation of the electric vehicle, the charging parameters of each electric vehicle are extracted through the adaptive window width Gaussian kernel function of the charging parameters.
[0118] S303: Divide the preset number of time periods into three time period types based on the daily disordered charging load distribution of the electric vehicle to obtain the type of each time period.
[0119] Specifically, after obtaining the daily disordered charging load distribution of the electric vehicle, the server can divide the preset number of time periods into three time period types based on the daily disordered charging load distribution of the electric vehicle to obtain the type of each time period. The three time period types may include a normal time period, a peak time period, and a valley time period.
[0120] Figure 4 FIG. 4 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by a fourth embodiment of the present invention. Figure 4As shown, on the basis of the above embodiments, further, the charging parameters include the charging start time, the charging end time and the charging start state of charge; accordingly, the adaptive window width Gaussian kernel function for establishing the charging parameters based on the historical order data of the charging station includes:
[0121] S401, extracting the charging start time, charging end time and charging start state of charge of each order from the historical order data of the charging station;
[0122] Specifically, the server can obtain the charging start time, charging end time and charging start state of charge of each order by extracting the historical order data of the charging station. The charging start time of each order indicates the time when the charging vehicle corresponding to the order starts charging, the charging end time of each order indicates the time when the charging vehicle corresponding to the order stops charging, and the charging start state of charge of each order indicates the remaining power of the battery of the charging vehicle corresponding to the order at the start of charging, usually expressed as a percentage.
[0123] Among them, in order to improve the validity of the data, the order data with a charging time shorter than the preset time in the historical order data can be ignored, and the charging start time, charging end time and charging start state of charge are not extracted. For the order data with a charging time shorter than the preset time, it may be caused by factors such as the user or the passenger's personal reasons that cause the electric vehicle to not charge normally, or the charging device does not upload the order data normally. The preset time is set according to actual experience, such as 5 minutes, and the embodiment of the present invention does not limit it.
[0124] S402. Establish an adaptive window width Gaussian kernel function of the charging start time according to the charging start time of each order, establish an adaptive window width Gaussian kernel function of the charging end time according to the charging end time of each order, and establish an adaptive window width Gaussian kernel function of the charging start state of charge according to the charging start state of charge of each order.
[0125] Specifically, the server can perform Gaussian kernel density estimation according to the charging start time of each order, obtain the Gaussian kernel function at the charging start time, and then convert the basic optimal window width in the Gaussian kernel function at the charging start time into an adaptive window width to obtain the adaptive window width Gaussian kernel function at the charging start time. Similarly, the server can establish an adaptive window width Gaussian kernel function at the charging end time according to the charging end time of each order, and establish an adaptive window width Gaussian kernel function of the charging start state of charge according to the charging start state of charge of each order.
[0126] Among them, the Gaussian kernel function at the start time of charging The Gaussian kernel function at the end of charging and the Gaussian kernel function of the charge start state It can be expressed as follows:
[0127]
[0128] Among them, t si represents the charging start time of the i-th order, t ei represents the charging end time of the i-th order, s soci represents the initial state of charge of the i-th order, h s The basic optimal window width of the Gaussian kernel function representing the charging start time, h e The basic optimal window width of the Gaussian kernel function representing the end of charging, h soc The basic optimal window width of the Gaussian kernel function representing the state of charge at the start of charging, n represents the total number of orders, i is a positive integer and i is less than or equal to n.
[0129] For the Gaussian kernel function, the window width is the standard deviation of the Gaussian distribution. If the window width is too large, the fitting curve will not reflect the detailed volatility of the data, resulting in overfitting. If it is too small, the fitting curve will over-reflect the details of each data, making the overall curve irregular and under-smooth. Therefore, it is necessary to obtain the adaptive window width corresponding to the charging start time, charging end time and charging start state of charge.
[0130] Using the least squares cross validation method through statistical analysis theory, the basic optimal window width error function E(h) is constructed as follows:
[0131]
[0132] Among them, X i represents the i-th data in the feature variable dataset X, X j represents the jth data in the characteristic variable data set X, h represents the window width of the characteristic variable, n represents the amount of data in the characteristic variable data set, and the window width h that minimizes E(h) is the optimal fixed window width. The characteristic variable can be the charging start time, charging end time, or charging start state of charge.
[0133] According to the density of data distribution, the fixed window width is converted to adaptive window width using the following formula:
[0134]
[0135] Wherein, M represents the number of sample groups, f(z) represents the true probability density corresponding to the zth group, α represents the sensitivity factor, α is greater than or equal to 0 and less than or equal to 1, reflecting the closeness of each group's window width to the basic optimal window width.
[0136] Gaussian kernel function at the start of charging Gaussian kernel function at the end of charging and the Gaussian kernel function of the state of charge at the beginning of charging After modification, the adaptive window width Gaussian kernel function at the start of charging is obtained. Adaptive window width Gaussian kernel function at the end of charging and the adaptive window width Gaussian kernel function of the state of charge at the beginning of charging The expression is as follows:
[0137]
[0138] Among them, h s,z 、h e,z and h soc,z They represent the optimal window width corresponding to the zth group respectively; M1, M2 and M3 represent the number of groups divided by the order data of the charging start time, charging end time and charging start state of charge respectively; n represents the number of samples in the zth group.
[0139] When using the Gaussian kernel function to fit the probability, the problem of poor fitting effect at the boundary points will be encountered, also known as the "boundary effect". The reason for this is that the value range of the Gaussian kernel function is real numbers, while the value range of the fitting characteristic variable is limited. For example, the value range of the state of charge at the beginning of charging can only be [0,100]. Therefore, it is necessary to correct the probability of the boundary points of the fitting function to meet the variable value restriction conditions and the constraint that the integral of the kernel function in the value interval is 1.
[0140] The translation method characterizes the periodic fitting interval. The probability distribution of the characteristic variables of two adjacent fitting intervals has the property of mutual influence. The degree of influence is determined by the similarity of the original data of the adjacent fitting intervals. When the similarity is 0, it is equivalent to the mirror method. The mirror method is an error compensation method that uses the boundary surface as the center surface to map the probability distribution outside the fitting interval to the inside of the fitting interval. The "boundary effect" caused by the use of the Gaussian kernel function for density estimation requires boundary correction of the fitting probability distribution model to eliminate it.
[0141] The distribution probability of the two characteristic variables of the charging start time and the charging end time can be corrected by combining the translation method and the mirror method.
[0142] The distribution probability of the charging start time can be corrected by the following formula.
[0143]
[0144] The distribution probability of the charging end time can be corrected by the following formula.
[0145]
[0146] The mirror method is used to correct the distribution probability of the initial state of charge. The formula is as follows:
[0147]
[0148] Figure 5 FIG. 5 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in a fifth embodiment of the present invention. Figure 5 As shown, on the basis of the above embodiments, further, the electric vehicle single-day charging simulation is performed according to the adaptive window width Gaussian kernel function of the charging parameter and the charging simulation parameter of the electric vehicle to obtain the single-day disordered charging load distribution of the electric vehicle, including:
[0149] S501, obtaining charging simulation parameters of the electric vehicle; wherein the charging simulation parameters include a set quantity and a preset number of times;
[0150] Specifically, the server can obtain the charging simulation parameters of the electric vehicle, and the charging simulation parameters include the battery capacity, charging efficiency, maximum charging time, set quantity, preset number of times, etc. of the electric vehicle, which are set according to actual needs and are not limited in the embodiment of the present invention. Among them, the battery capacity, charging efficiency, set quantity, and preset number of times of the electric vehicle are set according to actual needs and are not limited in the embodiment of the present invention. The maximum charging time can be obtained based on historical order data.
[0151] S502, performing a single-day charging simulation on a set number of electric vehicles to obtain the charging load of each electric vehicle in each group of time periods, and obtaining the charging load of each group of time periods on a single day based on the charging load of the set number of electric vehicles in each group of time periods; wherein, in the single-day charging simulation, the charging parameters of each electric vehicle are extracted according to the Gaussian kernel function of the adaptive window width of the charging parameters; and a day is evenly divided into a first number of groups of time periods;
[0152] Specifically, the server will perform a single-day charging simulation on a set number of electric vehicles. During the single-day charging simulation, the charging parameters of each electric vehicle will be extracted according to the Gaussian kernel function of the adaptive window width of the charging parameters to obtain the charging load of each electric vehicle in each time period. Then, the sum of the charging loads of the set number of electric vehicles in each time period is calculated to obtain the charging load of each time period of the single-day charging simulation. The charging loads of each time period of the single-day charging simulation constitute the charging loads of each time period of the single day. Among them, a day is evenly divided into a first number of time periods, and the first number is set according to actual needs, which is not limited in the embodiment of the present invention.
[0153] For example, a day is divided into 48 time periods with a time interval of 30 minutes. The first number is 48. The single-day charging simulation will obtain the charging load distribution of each electric vehicle in the 48 time periods. The charging load distribution of each electric vehicle in the 48 time periods includes the charging load of the first time period, the charging load of the second time period, the charging load of the third time period, and so on. The charging load of the 48th time period. If the number is set to 500, the sum of the charging loads of 500 electric vehicles in each time period is calculated to obtain the charging load of each time period of the single-day charging simulation. The charging loads of the 48 time periods of the single-day charging simulation constitute the charging loads of the 48 time periods of a single day.
[0154] S503, performing a preset number of rounds of single-day charging simulation to obtain the charging load of the preset number of first number group time periods on a single day, and obtaining the single-day disordered charging load distribution of the electric vehicle based on the charging load of the preset number of first number group time periods.
[0155] Specifically, the server performs a preset number of rounds of single-day charging simulation, and the process of each round of single-day charging simulation is similar to step S502, and the charging load of the preset number of single-day first number group time periods can be obtained. The server calculates the average value of the charging load of the preset number of same group time periods as the charging load of the electric vehicle in the group time period, and can obtain the charging load of the electric vehicle in the first number group time period, and uses the charging load of the electric vehicle in the first number group time period as the single-day disordered charging load distribution of the electric vehicle.
[0156] The following is a specific example to illustrate the specific process of performing a single-day charging simulation of an electric vehicle according to the Gaussian kernel function of the adaptive window width of the charging parameter and the charging simulation parameters of the electric vehicle to obtain the single-day disordered charging load distribution of the electric vehicle. Figure 6 As shown, the specific process is as follows:
[0157] The first step is to obtain the charging simulation parameters of the electric vehicle. The server can obtain the battery capacity of the electric vehicle, the charging efficiency of the electric vehicle, the maximum charging time, the set number and the preset number of times.
[0158] The second step is to extract the charging start time, charging end time and charging start state of charge. The charging start time is randomly sampled by the Gaussian kernel function of the adaptive window width of the charging start time to obtain the charging start time of the current electric vehicle, the charging end time is randomly sampled by the Gaussian kernel function of the adaptive window width of the charging end time to obtain the charging end time of the current electric vehicle, and the charging start state of charge is randomly sampled by the Gaussian kernel function of the adaptive window width of the charging start state of charge to obtain the charging start state of charge of the current electric vehicle.
[0159] Step 3: Data processing. Calculate the difference between the current electric vehicle charging end time and charging start time, calculate the product of the above difference and the electric vehicle charging power, obtain the charging power, divide the charging power by the battery capacity of the electric vehicle, obtain the charging percentage, calculate the sum of the charging percentage and the charging start state of charge, if the sum is greater than 1, it means that the data is unreasonable, and you can return to the second step to resample or discard the current electric vehicle charging end time, and calculate the time corresponding to the electric vehicle's state of charge of 100% as the charging end time.
[0160] Step 4: Calculate the charging load of each time period. According to the current charging start time and charging end time of the electric vehicle and each time period, obtain the time period in which the current electric vehicle is charging. Calculate the charging load of the charging time period according to the product of the charging efficiency of the electric vehicle and each charging time period. For the time period not covered by the current electric vehicle charging time, the charging load is 0. Then the charging load of the current electric vehicle in each time period can be obtained.
[0161] Step 5: Determine whether this round of simulation is completed. The server will record the number of electric vehicles currently simulated, q1, and compare q1 with the set number q2. If q1 is less than q2, then this round of simulation is not completed, and return to step 2 to continue the charging simulation of the next electric vehicle, and add 1 to the number of electric vehicles currently simulated; if q1 is equal to q2, then this round of simulation is completed, the number of electric vehicles currently simulated will be cleared, and the sixth step will be entered.
[0162] Step 6: Calculate the charging load of each time period in a single day. The server calculates the sum of the charging load of each time period of a set number of electric vehicles to obtain the charging load of each time period in a single day.
[0163] Step 7: Determine whether the preset number of simulations is completed. The server will record the current number of simulation rounds q3, and compare q3 with the preset number q4. If q3 is less than q4, the simulation is not completed, and return to step 2 to start a new round of electric vehicle charging simulation, and add 1 to the current number of simulation rounds; if q3 is equal to q4, the simulation is completed, and enter step 8.
[0164] Step 8: Obtain the daily disordered charging load distribution. For each group of time periods, the server will calculate the average value of the charging loads of q4 same group of time periods as the charging load of the electric vehicle in the group of time periods, and can obtain the charging load of the electric vehicle in each group of time periods. The charging load of the electric vehicle in the first number of group of time periods is taken as the daily disordered charging load distribution of the electric vehicle.
[0165] Among them, in the seventh step, while calculating the sum of the charging loads of the set number of electric vehicles in each time period, the server can count the number of charged electric vehicles in each time period; after determining that q3 is equal to q4 and the simulation is completed, the server can count the number of q4 charged electric vehicles in each time period of the first number of time periods, and then calculate the average value of the number of q4 charged electric vehicles in each time period as the number of charged electric vehicles in each time period.
[0166] The first number of groups of time periods are matched to the preset number of time periods, and the number of electric vehicles charged in each time period can be obtained based on the number of electric vehicles charged in the corresponding time period. If each time period corresponds to 2 groups of time periods, the number of electric vehicles charged in each time period is equal to the sum of the number of electric vehicles charged in the corresponding 2 groups of time periods. The number of types of electric vehicle users is preset, and the proportion of each type of user is set. The number of electric vehicles charged in each time period and the percentage of each type of user in each time period are calculated, and the number of electric vehicles charged in each time period corresponding to each type of user can be obtained.
[0167] Figure 7 FIG. 7 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by a seventh embodiment of the present invention. Figure 7 As shown, on the basis of the above embodiments, further, the preset number of time periods are divided into three time period types based on the single-day disordered charging load distribution of the electric vehicle, and the types of each time period are obtained, including:
[0168] S701, obtaining the charging load of each of the preset number of time periods according to the daily disordered charging load distribution of the electric vehicle;
[0169] Specifically, after obtaining the daily disordered charging load distribution of the electric vehicle, the server can calculate the charging load of each time period according to the daily disordered charging load distribution of the electric vehicle and each time period to obtain the charging load of each time period in the preset number of time periods.
[0170] For example, the daily disordered charging load distribution of electric vehicles includes the charging load of 48 time periods, and the 48 time periods are obtained by dividing 24 hours a day into 48 equal parts. The preset number is 24, which is obtained by dividing 24 hours a day into 24 equal parts. It can be seen that one time period in the 24 time periods corresponds to two time periods in the 48 time periods, and the two time periods corresponding to each time period are obtained, and the sum of the charging loads of the two time periods is calculated as the charging load of the corresponding time period.
[0171] S702 . Cluster the charging loads in each time period according to the fuzzy C-means clustering algorithm, divide the preset number of time periods into three types and obtain the type of each time period.
[0172] Specifically, after obtaining the sum of the charging loads in each time period, the server can cluster the charging loads in each time period according to the fuzzy C-means clustering algorithm, divide the charging loads in each time period into three types according to the fuzzy C-means clustering algorithm, and determine the type of each time period.
[0173] Among them, the fuzzy C-means clustering algorithm is a clustering algorithm based on function optimization. Its essence is to cluster data clusters based on fuzzy mathematics theory. The objective function of the fuzzy C-means clustering algorithm is:
[0174]
[0175] in, represents the membership value of the jth data point to the i-th cluster center in the interval [0,1], ∑u ij =1, each membership value constitutes a membership matrix c1,...,c K represents the cluster center of fuzzy group 1 to fuzzy group K, d ij =||c i -c j || is the Euclidean distance between the i-th cluster center and the j-th data point, m is a weighted index, m∈[1,∞), K represents the number of data points, and N represents the number of cluster centers.
[0176] Construct Lagrangian constraints:
[0177]
[0178] Among them, λ j is a constraint formula of N Lagrange multipliers.
[0179] By differentiating the Lagrangian constraints, we can obtain:
[0180]
[0181]
[0182] As the cluster center calculation formula, As the membership value calculation formula. The above two formulas are necessary conditions for finding the extreme value of the function, which is an iterative process.
[0183] The specific steps of demarcating flat time, peak time and valley time by fuzzy C-means algorithm are as follows:
[0184] (1) Construct a data observation matrix X. Each row of the matrix represents a data sample, and each column of the matrix represents a data observation value. Divide the 24 hours of a day into 24 equal parts, and take the charging load of the 24 time periods as the data observation values. Then the data observation matrix X is expressed as follows:
[0185]
[0186] (2) The number of cluster groups K = 3, that is, the 24 time periods are divided into three categories: normal period, peak period and valley period, and the power index m>1. Initialize the membership matrix U to ensure that the sum of the membership of each cluster fuzzy group is 1, that is, to ensure that ∑u ij =1, The embodiment of the present invention selects random numbers uniformly distributed in the range of [0, 1] to construct a membership matrix;
[0187] (3) Through the formula Calculate three distance centers c1, c2, c3;
[0188] (4) Through the formula Calculate the membership values to form a membership matrix U;
[0189] (5) Pass Calculate the objective function. If the difference between the lth objective function value and the last objective function value is less than a certain threshold ε, max{||U l -U (l-1) ||}≤ε, the calculation stops, otherwise returns to step (3).
[0190] (6) After obtaining the three types of time periods, the average value of the charging load in each time period of each type of time period can be calculated to obtain the average value of the charging load in each type of time period. The average values of the charging load in the three types of time periods are compared. The largest average value of the charging load corresponds to the peak time period, the smallest average value of the charging load corresponds to the valley time period, and the remaining average value of the charging load corresponds to the normal time period.
[0191] Figure 8 is a flow chart of a method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided in an eighth embodiment of the present invention, such as Figure 8 As shown, based on the above embodiments, further, the step of obtaining the selection probability matrix of each type of user in each time period includes:
[0192] S801, according to the operation and maintenance cost of the tth period after the implementation of the time-sharing operation and maintenance cost plan, the operation and maintenance cost of the tth period under the fixed operation and maintenance cost plan, the number of time difference intervals for the user to change the charging time, and the user stickiness model, obtain the comprehensive stickiness of the user to the tth period after the implementation of the time-sharing operation and maintenance cost plan; wherein the user stickiness model is pre-established;
[0193] Specifically, the server inputs the operation and maintenance cost of the tth period after the implementation of the time-sharing operation and maintenance cost plan, the operation and maintenance cost of the tth period under the fixed operation and maintenance cost plan, and the number of time difference intervals for the user to change the charging time into the user stickiness model, and can obtain the user's comprehensive stickiness to the tth period after the implementation of the time-sharing operation and maintenance cost plan. The user stickiness model is established in advance.
[0194] Among them, the user stickiness model can be expressed as:
[0195]
[0196] in, represents the comprehensive viscosity of the jth user in the i-th type of user in the t-th period after the implementation of the time-sharing operation and maintenance cost plan, represents the charging price viscosity of the jth user in the i-th type of user for the t-th period after the implementation of the time-sharing operation and maintenance cost plan, c i,j represents the travel convenience viscosity of the jth user among the i-th type of users, α 1,i represents the price viscosity preference coefficient of the i-th type of user, α 2,i represents the convenience viscosity preference coefficient of the i-th type of user, α 1,i ∈[0,1],α 2,i ∈[0,1],α 1,i +α 2,i =1.
[0197] Charging price viscosity measures the direct benefits of users and reflects the changes in charging fees that users need to pay before and after making decisions. This paper uses the current charging operation and maintenance costs as the user benchmark price, and based on the principle of diminishing sensitivity, uses the cosine function to construct a function between the charging operation and maintenance cost price and the user price viscosity, ensuring that the user's charging decision behavior conforms to the actual situation. It is expressed as follows:
[0198]
[0199] in, represents the charging operation and maintenance cost price in the tth period after the implementation of the time-sharing operation and maintenance cost plan, C 0,t represents the fixed charging operation and maintenance cost, Greater than or equal to 0 and less than or equal to 1.
[0200] The travel convenience viscosity measures the indirect benefits of users, and the time difference index is selected based on the current charging time to measure the impact of changes in operation and maintenance costs on user convenience. Similarly, based on the cosine function to represent the relationship between user convenience viscosity and time difference, c i,j It is expressed as follows:
[0201]
[0202] Where |ΔT| represents the time difference interval for the user to change the charging time, |ΔT| is an integer, c i,j Greater than or equal to 0 and less than or equal to 1.
[0203] S802, obtaining a viscosity difference when the user changes the charging period according to the comprehensive viscosity after the user makes a charging decision and the comprehensive viscosity before the user makes the charging decision;
[0204] Specifically, the server obtains the comprehensive viscosity before the user makes a charging decision, and then calculates the comprehensive viscosity after the user makes the charging decision minus the comprehensive viscosity before the user makes the charging decision, to obtain the viscosity difference when the user changes the charging period.
[0205] For example, the viscosity difference Δu of the jth user in the i-th type of user changing the charging period i,j It can be expressed as:
[0206]
[0207] in, It represents the comprehensive viscosity after the jth user in the i-th type of user makes a charging decision. It represents the comprehensive viscosity before the j user in the i-th group makes a charging decision.
[0208] It can be calculated based on the user stickiness model.
[0209] For the fourth type of users, since they do not accept guidance, the comprehensive viscosity after making the charging decision is equal to the comprehensive viscosity before making the charging decision.
[0210] S803, obtaining a viscosity change evaluation when the user changes the charging time period according to the viscosity difference when the user changes the charging time period and a viscosity evaluation formula; wherein the viscosity evaluation formula is preset;
[0211] Specifically, the server inputs the viscosity difference when the user changes the charging time period into a viscosity evaluation formula, and can obtain a viscosity change evaluation when the user changes the charging time period. The viscosity evaluation formula is preset.
[0212] Among them, the user's evaluation of viscosity changes represents the user's irrational value perception in decision-making behavior. The viscosity evaluation formula can be expressed by the value function as follows:
[0213]
[0214] Among them, θ1 represents the user's sensitivity to the benefits of decision-making behavior, and θ2 represents the user's sensitivity to the losses of decision-making behavior. According to the loss aversion of human beings, 1≤θ1<θ2, Δu i,j It represents the change in the user's comprehensive viscosity before and after making a decision, that is, the user's viscosity difference. α represents the risk attitude coefficient of the user towards the benefits of the decision-making behavior, and β represents the risk attitude coefficient of the user towards the losses of the decision-making behavior. The larger α and β are, the more inclined the user is to choose a decision-making behavior with low probability and high return.
[0215] The values of θ1 and θ2 are set according to actual needs and are not limited in the embodiment of the present invention. For example, θ1=1, θ2=2.25. Electric vehicles are a commonly used means of transportation. In the current environment, the behavior of a single electric vehicle user using the time price difference to obtain charging benefits does not have high-yield characteristics. Therefore, according to the basic conclusions of the cumulative prospect theory, the electric vehicle user in the embodiment of the present invention is assumed to be a conservative user, then α and β are random numbers in the interval [0,1], which have a gradually weakening sensitivity to benefits, such as α=0.88, β=0.88.
[0216] S804, obtaining a cumulative prospect value of the user according to the viscosity change evaluation of the user changing the charging period and the user cumulative prospect formula; wherein the user cumulative prospect formula is preset;
[0217] Specifically, the server inputs the viscosity change evaluation of the user when changing the charging period into the user cumulative prospect formula to obtain the user's cumulative prospect value. The user cumulative prospect formula is preset.
[0218] The user cumulative prospect formula is as follows:
[0219] V(f)=V(f + )+V(f - )
[0220]
[0221]
[0222] Among them, V(f) represents the cumulative prospect value of the user, V(f + ) represents the profit prospect value, V(f - ) represents the loss prospect value, v(Δu i,j ) represents the user's evaluation of viscosity change, π + (p s ) represents the cumulative decision weight of benefits, π - (p s ) represents the loss cumulative decision weight, ps represents the user's objective choice probability of changing the charging time, b represents the time period that generates profit, and l represents the time period that generates loss. The time period b that generates profit and the time period l that generates loss are obtained by comparing the comprehensive viscosity of the time period before and after the user makes a charging decision. If the viscosity value increases after the charging decision is made, the charging time period after the charging decision is made is a profit period for this user, otherwise it is a loss period. With the user's viscosity as the horizontal axis and the user's objective choice probability as the vertical axis, a straight line with a slope of 1 is drawn as the selection probability curve. Based on the comprehensive viscosity after the user makes the charging decision, the corresponding customer objective choice probability is queried on the selection probability curve as p. s .
[0223] Cumulative prospect theory indicates that users are irrational users, and the relationship between selection probability and comprehensive viscosity is nonlinear. In actual decision-making behavior, users will be affected by additional irrational psychological factors such as personal preferences and expected returns. Therefore, the present invention uses cumulative prospect theory to characterize users' irrational decision-making behavior, which is more in line with actual decision-making situations.
[0224]
[0225]
[0226] Among them, w + (p s ) represents the first probability weight, w - (p s ) represents the second probability weight, s represents the serial number. Under the decision-making framework of the cumulative prospect theory, various possible results need to be arranged in ascending order to obtain the subscript of the result. When it is a profit period, s is positive, and when it is a loss period, s is negative.
[0227]
[0228]
[0229] Wherein, δ represents the risk-return attitude coefficient, γ represents the risk-loss attitude coefficient, and the specific values of δ and γ are set according to actual needs and are not limited in the embodiment of the present invention. For example, δ=0.69 and γ=0.61 are taken.
[0230] S805, obtaining the probability that the user selects the tth time period to charge according to the cumulative prospect value of the user selecting the tth time period and the user charging time period selection probability calculation formula; wherein the user charging time period selection probability calculation formula is preset;
[0231] Specifically, the cumulative prospect value of the user selecting the tth time period is input into the user charging time period selection probability calculation formula to obtain the probability of the user selecting the tth time period for charging. The user charging time period selection probability calculation formula is preset.
[0232] Among them, the user's cumulative prospect utility function E i,j The cumulative prospect value V(f) of available users and the error random term ε i,j The sum is expressed as follows:
[0233] E i,j =V(f)+ε i,j
[0234]
[0235] Among them, ε i,j is a random error term, which is used to represent all other unobservable effects. i,j They are independent of each other and follow the standard Gumbel distribution.
[0236] Assume that the set of selectable time periods for user j is T, and the utility of the mth time period in the time period set T is E j,m , the utility of the nth period is E j,n According to the utility maximization principle, if and only if E j,n >E j,m , , the user chooses time n. The probability of the user choosing time n is:
[0237]
[0238] Random variable ε j,m and ε j,n Both obey the standard Gumbel distribution and are independent of each other, so ε m,n =ε j,m -ε j,n It obeys the standard Logistic distribution. It can be deduced that the calculation formula for the probability of selecting a charging period after the user makes a charging decision is:
[0239]
[0240] Among them, p j,n represents the probability that user j chooses to charge in the nth time period, V j,n (f) represents the cumulative prospect value of user j in the nth time period.
[0241] S806. Obtain a selection probability matrix of each type of user in each time period according to the probability of each type of user selecting the tth time period to charge.
[0242] Specifically, the server can obtain the selection probability matrix of each type of user in each time period according to the probability of each type of user selecting to charge in the tth time period. Since users of the same type have the same charging preference, the selection probability matrices of users of the same type are the same.
[0243] Given the time m before the i-th type of user makes a charging decision, the selection probability matrix of the i-th type of user in each time period n can be calculated:
[0244]
[0245] Where T means dividing a day into a preset number of time periods. It indicates the probability that the user chooses to charge in the nth time period from the current mth time period.
[0246] The following is a specific example to illustrate the implementation process of the method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station provided by an embodiment of the present invention.
[0247] The server obtains the historical order data of the charging station, extracts the charging start time, charging end time and charging start state of charge of each order from the historical order data, calculates the time difference between the charging end time and the charging start time of each order, and if the above time difference is less than 5 minutes, then the order is regarded as abnormal data.
[0248] For the charging start time, charging end time and charging start state of charge of each order in the 2582 orders excluding abnormal data, the optimal fixed window width is obtained through the basic optimal window width error function E(h). It can be obtained that the optimal fixed window width of the charging start time is 0.45 hour, the optimal fixed window width of the charging end time is 0.55 hour, and the optimal fixed window width of the charging start state of charge is 3%.
[0249] For the two characteristic variables of charging start time and charging end time, the 24 hours of a day are evenly divided into 48 groups; for the state of charge at the start of charging, 100 are evenly divided into 10 groups. Based on the charging start time, charging end time and charging start state of charge of 2582 orders, the expressions of the adaptive window width Gaussian kernel function of the charging start time, the adaptive window width Gaussian kernel function of the charging end time and the adaptive window width Gaussian kernel function of the charging start state of charge are established as follows:
[0250]
[0251] For the probability distribution of charging start time and charging end time, half of the probability of the time period from 00:00 to 00:30 the next day is shifted to the time period from 00:00 to 00:30 the previous day. Using 0 o'clock as the mirror plane, half of the probability of the time period from 23:30 to 24:00 the previous day is mirrored to the time period from 00:00 to 00:30 the next day; half of the probability of the time period from 23:30 to 24:00 the previous day is shifted to the time period from 23:30 to 24:00 the next day. Using 24 o'clock as the mirror plane, half of the probability of the time period from 00:00 to 00:30 the next day is mirrored to the time period from 23:30 to 24:00 the previous day.
[0252] The result of boundary correction of the adaptive window width Gaussian kernel function at the start of charging is as follows:
[0253]
[0254] The result of boundary correction of the adaptive window width Gaussian kernel function at the end of charging is as follows:
[0255]
[0256] For the probability of the state of charge distribution at the beginning of charging, the probability of the interval (-5,0) is mirrored to the interval (0,5) with 0 as the mirror plane; the probability of the interval (100,105) is mirrored to the interval (95,100) with 100 as the mirror plane. The boundary correction results are as follows:
[0257]
[0258] Assume that there are 500 cars in the power supply area; the power supply area will have sufficient charging piles in the future to meet the charging needs of users at any time; the charging start time and charging end time of the electric vehicle meet the adaptive window width Gaussian kernel function of the charging start time and the adaptive window width Gaussian kernel function of the charging end time respectively, and are independent random variables. According to the adaptive window width Gaussian kernel function of the charging start time, the adaptive window width Gaussian kernel function of the charging end time and the charging simulation parameters of the electric vehicle, the single-day charging simulation of the electric vehicle is carried out to obtain the single-day disordered charging load distribution of the electric vehicle. Among them, the charging simulation parameters of the electric vehicle include the battery capacity, charging efficiency, maximum charging time, set number and preset number of times of the electric vehicle. The charging efficiency can be set to 90%, the set number is 500, and the preset number can be set to 100000.
[0259] According to the daily disordered charging load distribution of electric vehicles, the charging load of each of the 24 time periods is obtained. Then, the fuzzy C-means clustering algorithm is used to cluster the charging load of each time period. The 24 time periods are divided into three types: normal period, peak period and valley period. The type of each time period is obtained. The results are shown in Table 1.
[0260] Table 1 Results of division of peak, flat and valley time periods
[0261] Period Type Division results Total number of time periods Peak hours 7:00-10:00;18:00-22:00 7 Normal period 6:00-7:00;10:00-12:00;15:00-18:00;22:00-23:00 7 Valley period 23:00-6:00;12:00-15:00 10
[0262] Electric vehicle users are divided into four categories, with the ratio of Category I, Category II, Category III, and Category IV being 5:2:2:1. The price viscosity preference coefficients and convenience viscosity preference coefficients of the four types of users are shown in Table 2.
[0263] Table 2 Preference coefficients of different types of users
[0264] User Category Price preference coefficient Convenience preference coefficient Ⅰ 0.8 0.2 Ⅱ 0.2 0.8 Ⅲ 0.5 0.5 Ⅳ 0 1
[0265] The basic peak, flat and valley electricity prices for charging station operators purchasing electricity from the grid are set at 0.75 yuan / kWh, 0.55 yuan / kWh and 0.35 yuan / kWh respectively, and the fixed charging operation and maintenance cost is set at 0.8 yuan / kWh.
[0266] The server obtains the charging quantity of electric vehicles corresponding to each type of user in each time period, and obtains the selection probability matrix of each type of user in each time period, and then obtains the charging quantity of electric vehicles in each time period according to the charging quantity of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period, and then obtains the charging load of electric vehicles in each time period according to the charging quantity of electric vehicles in each time period and the charging power of electric vehicles.
[0267] The server establishes a time-sharing operation and maintenance cost optimization objective function and time-sharing operation and maintenance cost constraint conditions according to the type of each time period, the charging load of electric vehicles in each time period, preset parameters, user electricity purchase cost model and charging station operation profit model.
[0268] The server solves the time-sharing operation and maintenance cost optimization objective function under the operation and maintenance cost constraint condition based on the multi-objective particle swarm algorithm to obtain a time-sharing operation and maintenance cost solution set;
[0269] The server obtains the Nash equilibrium solution from the time-sharing operation and maintenance cost solution set as the optimal time-sharing operation and maintenance cost, and the results are shown in Table 3. As can be seen from Table 3, the peak-to-valley difference of the load of the power grid is reduced by -10.23%, and the load fluctuation of the power grid is reduced; the charging cost of the user is reduced by -5.63%, and the charging cost of the user is reduced; the net income of the charging station is increased by 2.96%, and the net income of the charging station operator for the charging station operation is increased. Therefore, the time-sharing operation and maintenance cost obtained by the time-sharing operation and maintenance cost calculation method of the electric vehicle charging station provided by the embodiment of the present invention reduces the load fluctuation of the power grid, reduces the charging cost of the user, and increases the net income of the charging station operator for the charging station operation, which is more reasonable than the existing fixed operation and maintenance cost solution.
[0270] Table 3 Costs and benefits of each subject before and after decision making
[0271]
[0272] Fig. 9 is a schematic diagram of the structure of a time-sharing operation and maintenance cost calculation device for an electric vehicle charging station provided by a ninth embodiment of the present invention. Fig. 9 As shown, on the basis of the above embodiments, further, the time-sharing operation and maintenance cost estimation device of the electric vehicle charging station provided by the embodiment of the present invention includes a first obtaining module 901, a second obtaining module 902, an establishing module 903 and an optimizing module 904, wherein:
[0273] The first obtaining module 901 is used to obtain the number of electric vehicles charged in each time period according to the number of electric vehicles charged in each time period corresponding to each type of user and the selection probability matrix of each type of user in each time period; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles charged in each time period corresponding to each type of user is obtained in advance; the user type is preset; the second obtaining module 902 is used to obtain the charging load of the electric vehicle in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicle; the establishing module 903 is used to establish the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint conditions according to the type of each time period, the charging load of the electric vehicle in each time period, the preset parameters, the user power purchase cost model and the charging station operation and maintenance cost model; wherein the user power purchase cost model and the charging station operation and maintenance model are obtained in advance, and the type of each time period is obtained in advance; the optimization module 904 is used to obtain the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint conditions.
[0274] Specifically, the first obtaining module 901 can obtain the selection probability matrix of each type of user in each time period and the number of electric vehicles corresponding to each type of user in each time period, and then obtain the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period. Among them, a day is divided into a preset number of time periods in advance, and the division of time periods is set according to actual needs, which is not limited in the embodiment of the present invention. The user type is preset, for example, the user type is divided into four categories. The selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles corresponding to each type of user in each time period is obtained in advance.
[0275] The second obtaining module 902 can obtain the charging load of the electric vehicle in each period according to the number of electric vehicles charged in each period and the charging power of the electric vehicle. The charging power of the electric vehicle is preset, and in order to simplify the calculation, the charging power of all electric vehicles can be set to be the same.
[0276] The establishment module 903 can obtain the type and preset parameters of each time period, and then establish the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint conditions based on the type of each time period, the charging load of the electric vehicle in each time period, the preset parameter user power purchase cost model and the charging station operation income model. Among them, the user power purchase cost model and the charging station operation income model are obtained in advance, and the type of each time period is obtained in advance. The preset parameters may include the maximum daily load of the charging station, the charging power of the electric vehicle, the fixed charging operation and maintenance cost, the power purchase price of the charging station operator, the peak demand period, the peak compensation price, the penalty price and other parameters that need to be set in advance.
[0277] The time-sharing operation and maintenance cost optimization objective function involves the three parties of the power grid operator, the charging station operator and the user. The optimization module 904 can obtain the time-sharing operation and maintenance cost solution set according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint conditions through a multi-objective particle swarm algorithm, and then obtain the optimal time-sharing operation and maintenance cost from the time-sharing operation and maintenance cost solution set. Among them, the time-sharing operation and maintenance cost can include the time-sharing operation and maintenance cost in normal period, the time-sharing operation and maintenance cost in peak period and the time-sharing operation and maintenance cost in valley period. The time-sharing operation and maintenance cost in peak period is higher than the time-sharing operation and maintenance cost in normal period, and the time-sharing operation and maintenance cost in normal period is higher than the time-sharing operation and maintenance cost in valley period.
[0278] The time-sharing operation and maintenance cost estimation device of the electric vehicle charging station provided by the embodiment of the present invention can obtain the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period, obtain the charging load of the electric vehicles in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicles, establish a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition according to the type of each time period, the charging load of the electric vehicle in each time period, preset parameters, a user electricity purchase cost model and a charging station operation income model, obtain the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition, and improve the rationality of the time-sharing operation and maintenance cost.
[0279] On the basis of the above embodiments, further, the optimization module 904 includes a solving unit and a first obtaining unit, wherein:
[0280] The solving unit is used to solve the time-sharing operation and maintenance cost optimization objective function under the operation and maintenance cost constraint condition based on the multi-objective particle swarm algorithm to obtain the time-sharing operation and maintenance cost solution set; the first obtaining unit is used to obtain the Nash equilibrium solution from the time-sharing operation and maintenance cost solution set as the optimal time-sharing operation and maintenance cost.
[0281] On the basis of the above embodiments, further, the time-sharing operation and maintenance cost calculation device of the electric vehicle charging station provided by the embodiment of the present invention further includes a construction module, a simulation module and a division module, wherein:
[0282] The construction module is used to construct an adaptive window width Gaussian kernel function of charging parameters based on the historical order data of the charging station; the simulation module performs a single-day charging simulation of the electric vehicle according to the adaptive window width Gaussian kernel function of the charging parameters and the charging simulation parameters of the electric vehicle to obtain the single-day disordered charging load distribution of the electric vehicle; the division module divides the preset number of time periods into three time period types based on the single-day disordered charging load distribution of the electric vehicle to obtain the type of each time period.
[0283] On the basis of the above embodiments, further, the charging parameters include the charging start time, the charging end time and the charging start state of charge; accordingly, the construction module includes an extraction unit and an establishment unit, wherein:
[0284] The extraction unit is used to extract the charging start time, charging end time and charging start state of charge of each order from the historical order data of the charging station; the establishment unit establishes an adaptive window width Gaussian kernel function of the charging start time according to the charging start time of each order, establishes an adaptive window width Gaussian kernel function of the charging end time according to the charging end time of each order, and establishes an adaptive window width Gaussian kernel function of the charging start state of charge according to the charging start state of charge of each order.
[0285] On the basis of the above embodiments, further, the simulation module includes an acquisition unit, a first simulation unit and a second simulation unit, wherein:
[0286] The acquisition unit is used to acquire charging simulation parameters of an electric vehicle; wherein the charging simulation parameters include a set number and a preset number of times; the first simulation unit is used to perform a single-day charging simulation on a set number of electric vehicles, obtain the charging load of each electric vehicle in each group of time periods, and obtain the charging load of each group of time periods on a single day based on the charging load of the set number of electric vehicles in each group of time periods; wherein, during the single-day charging simulation, the charging parameters of each electric vehicle are extracted according to the adaptive window width Gaussian kernel function of the charging parameters; a day is evenly divided into a first number of groups of time periods; the second simulation unit performs a preset number of rounds of single-day charging simulation, obtains the charging load of a preset number of first number of groups of time periods on a single day, and obtains the single-day disordered charging load distribution of the electric vehicle based on the charging load of the preset number of first number of groups of time periods.
[0287] On the basis of the above embodiments, further, the division module includes a second obtaining unit and a clustering unit, wherein:
[0288] The second obtaining unit is used to obtain the charging load of each of the preset number of time periods according to the daily disordered charging load distribution of the electric vehicle; the clustering unit clusters the charging load corresponding to each time period according to the fuzzy C-means clustering algorithm, divides the preset number of time periods into three types and obtains the type of each time period.
[0289] On the basis of the above embodiments, further, the time-sharing operation and maintenance cost calculation device for each type of electric vehicle charging station provided by the embodiment of the present invention further includes a third obtaining module, a fourth obtaining module, a fifth obtaining module, a sixth obtaining module, a seventh obtaining module and an eighth obtaining module, wherein:
[0290] The third acquisition module is used to obtain the user's comprehensive viscosity according to the operation and maintenance cost of the tth time period after the implementation of the time-sharing operation and maintenance cost plan, the operation and maintenance cost of the tth time period under the fixed operation and maintenance cost plan, the number of time difference intervals for the user to change the charging time, and the user stickiness model; wherein the user stickiness model is pre-established; the fourth acquisition module is used to obtain the user's viscosity difference according to the comprehensive viscosity after the user makes a charging decision and the comprehensive viscosity before the user makes a charging decision; the fifth acquisition module is used to obtain the user's viscosity change evaluation according to the user's viscosity difference and the viscosity evaluation formula; wherein the viscosity evaluation formula is preset; the sixth acquisition module is used to obtain the user's cumulative prospect value according to the user's viscosity change evaluation and the user's cumulative prospect formula; the seventh acquisition module is used to obtain the probability of the user choosing to charge in the tth time period according to the user's cumulative prospect value and the user's charging time period selection probability calculation formula; the eighth acquisition module is used to obtain the selection probability matrix of each type of user in each time period according to the probability of each type of user choosing to charge in the tth time period.
[0291] The embodiments of the apparatus provided in the embodiments of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments, and its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0292] Fig.10 is a schematic diagram of the physical structure of an electronic device provided by the tenth embodiment of the present invention, such as Fig.10As shown, the electronic device may include: a processor (processor) 1001, a communication interface (Communications Interface) 1002, a memory (memory) 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004. The processor 1001 can call the logic instructions in the memory 1003 to execute the following method: according to the charging quantity of the electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period, the charging quantity of the electric vehicles in each time period is obtained; wherein, a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the charging quantity of the electric vehicles corresponding to each type of user in each time period is obtained in advance; the user type is preset; according to the charging quantity of the electric vehicles in each time period and the charging power of the electric vehicles, the charging load of the electric vehicles in each time period is obtained; according to the type of each time period, the charging load of the electric vehicles in each time period, the preset parameters, the user power purchase cost model and the charging station operation income model, a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition are established; wherein, the user power purchase cost model and the charging station operation income model are obtained in advance, and the type of each time period is obtained in advance; according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition, the optimal time-sharing operation and maintenance cost is obtained.
[0293] In addition, the logic instructions in the above-mentioned memory 1003 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0294] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles corresponding to each type of user in each time period is obtained in advance; The charging quantity of the time period is obtained in advance; the user type is preset; according to the charging quantity of the electric vehicles in each time period and the charging power of the electric vehicles, the charging load of the electric vehicles in each time period is obtained; according to the type of each time period, the charging load of the electric vehicles in each time period, the preset parameters, the user electricity purchase cost model and the charging station operation and maintenance cost constraint model, a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition are established; wherein the user electricity purchase cost model and the charging station operation and maintenance cost model are obtained in advance, and the type of each time period is obtained in advance; according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition, the optimal time-sharing operation and maintenance cost is obtained.
[0295] The present embodiment provides a computer-readable storage medium, which stores a computer program, and the computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles charged in each time period corresponding to each type of user is obtained in advance; the user type is preset; according to the number of electric vehicles charged in each time period and the charging power of the electric vehicle, obtaining the charging load of the electric vehicle in each time period; according to the type of each time period, the charging load of the electric vehicle in each time period, preset parameters, the user power purchase cost model and the charging station operation income model, establishing a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition; wherein the user power purchase cost model and the charging station operation income model are obtained in advance, and the type of each time period is obtained in advance; according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition, obtaining the optimal time-sharing operation and maintenance cost.
[0296] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0297] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for calculating the time-sharing operation and maintenance cost of an electric vehicle charging station, characterized in that: include: According to the charging quantity of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period, the charging quantity of electric vehicles in each time period is obtained; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the charging quantity of electric vehicles corresponding to each type of user in each time period is obtained in advance; the user type is preset; According to the number of electric vehicles charged in each period and the charging power of the electric vehicles, the charging load of the electric vehicles in each period is obtained; According to the type of each time period, the charging load of the electric vehicle in each time period, the preset parameters, the user electricity purchase cost model and the charging station operation revenue model, a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition are established; wherein the user electricity purchase cost model and the charging station operation revenue model are obtained in advance, and the type of each time period is obtained in advance; Obtaining the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition; The time-sharing operation and maintenance cost optimization objective function includes a first objective function, a second objective function and a third objective function, and the time-sharing operation and maintenance cost constraint condition includes a first constraint condition, a second constraint condition, a third constraint condition and a fourth constraint condition, wherein: The first objective function is: Among them, L base,t represents the basic load other than the charging load in the tth period, L ev,t represents the charging load in the t-th time period, t is a positive integer and t is less than or equal to T, and T represents the preset number; The second objective function is: in, It represents the charging cost of users after the implementation of the time-sharing operation and maintenance cost plan. is obtained based on the user electricity purchase cost model; The third objective function is: in, represents the operating income of the charging station after implementing the time-sharing operation and maintenance cost plan, is obtained based on the charging station operation revenue model; The first constraint condition is: Among them, C f,f represents the time-sharing operation and maintenance cost during normal periods, C f,p represents the time-sharing operation and maintenance cost during peak hours, C f,v represents the time-sharing operation and maintenance cost during off-peak hours, and ε represents the constraint value; The second constraint is: in, It represents the maximum load of the charging station in a single day before implementing the time-sharing operation and maintenance cost; The third constraint condition is: in, represents the user's charging cost before the implementation of the time-sharing operation and maintenance cost plan, is obtained based on the charging station operation revenue model; The fourth constraint condition is: in, represents the operating income of the charging station before implementing the time-sharing operation and maintenance costs, is obtained based on the charging station operation revenue model; The user electricity purchase cost model includes the user's charging cost before implementing the time-sharing operation and maintenance cost plan. and the charging costs of users after implementing the time-sharing operation and maintenance cost plan in: Among them, P ij,t represents the charging power corresponding to the jth user in the i-th type of user in the t-th time period, C b,t represents the basic charging price in the tth period, C 0,t represents the fixed charging operation and maintenance cost, represents the charging operation and maintenance cost price in the tth period after the implementation of the time-sharing operation and maintenance cost plan, I t Indicates the charging instruction for the tth period. When the jth user of the i-th type of user charges in the tth period, I t =1, when the jth user of the i-th type of user does not charge in the t-th period, I t =0, i is a positive integer and i is less than or equal to B, j is a positive integer and j is less than or equal to D i , D i represents the number of users of the i-th type, and B represents the number of user categories; The charging station operating income model includes the charging station operating income before the implementation of the time-sharing operation and maintenance cost and the charging station operating income after the implementation of the time-sharing operation and maintenance cost plan, where: Among them, C1 represents the user's electricity purchase cost under fixed operation and maintenance cost, C2 represents the user's electricity purchase cost after implementing the time-sharing operation and maintenance cost plan, and Q t represents the amount of electricity purchased by the charging station from the grid operator in the tth period, Indicates the peak shaving compensation fee obtained by the charging station. represents the peak load penalty fee imposed on the charging station, p0 represents the number of peak demand periods, represents the charging load in the i-th peak demand period before implementing the time-sharing operation and maintenance cost, represents the charging load in the i-th peak demand period after implementing the time-sharing operation and maintenance cost, I i represents the indicator value of the i-th peak demand period, if Then I i =1, if Then I i =0, C res represents the peak load compensation price, C fine represents the penalty price, i is a positive integer and i is less than or equal to p0; The step of obtaining the type of each time period includes: Based on the historical order data of the charging station, an adaptive window width Gaussian kernel function of charging parameters is constructed; Performing a single-day charging simulation of the electric vehicle according to the Gaussian kernel function of the adaptive window width of the charging parameter and the charging simulation parameters of the electric vehicle to obtain a single-day disordered charging load distribution of the electric vehicle; The preset number of time periods are divided into three time period types based on the single-day disordered charging load distribution of the electric vehicle to obtain the type of each time period; wherein the three time period types include a normal period, a peak period and a valley period.
2. The method according to claim 1, characterized in that The obtaining of the optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition comprises: Based on the multi-objective particle swarm algorithm, the time-sharing operation and maintenance cost optimization objective function is solved under the operation and maintenance cost constraint condition to obtain the time-sharing operation and maintenance cost solution set; A Nash equilibrium solution is obtained from the time-sharing operation and maintenance cost solution set as the optimal time-sharing operation and maintenance cost.
3. The method according to claim 2, characterized in that The charging parameters include the charging start time, the charging end time and the charging start state of charge; accordingly, the adaptive window width Gaussian kernel function for constructing the charging parameters based on the historical order data of the charging station includes: Extract the charging start time, charging end time and charging start state of charge of each order from the historical order data of the charging station; According to the charging start time of each order, an adaptive window width Gaussian kernel function of the charging start time is established; according to the charging end time of each order, an adaptive window width Gaussian kernel function of the charging end time is established; and according to the charging start state of charge of each order, an adaptive window width Gaussian kernel function of the charging start state of charge is established.
4. The method according to claim 2, characterized in that: The performing of a single-day charging simulation of the electric vehicle according to the adaptive window width Gaussian kernel function of the charging parameter and the charging simulation parameter of the electric vehicle to obtain the disordered charging load distribution of the electric vehicle in the first number of groups of time periods comprises: Acquiring charging simulation parameters of the electric vehicle; wherein the charging simulation parameters include a set quantity and a preset number of times; A single-day charging simulation is performed on a set number of electric vehicles to obtain the charging load of each electric vehicle in each group of time periods, and the charging load of each group of time periods on a single day is obtained according to the charging load of the set number of electric vehicles in each group of time periods; wherein, during the single-day charging simulation, the charging parameters of each electric vehicle are extracted according to the Gaussian kernel function of the adaptive window width of the charging parameters; a day is evenly divided into a first number of groups of time periods; A preset number of rounds of single-day charging simulation are performed to obtain the charging load of the preset number of first number group time periods on a single day, and the single-day disordered charging load distribution of the electric vehicle is obtained according to the charging load of the preset number of first number group time periods.
5. The method according to claim 2, characterized in that: The method of dividing the preset number of time periods into three time period types based on the single-day disordered charging load distribution of the electric vehicle, and obtaining the type of each time period includes: According to the daily disordered charging load distribution of the electric vehicle, the charging load of each time period in the preset number of time periods is obtained; The charging loads corresponding to each time period are clustered according to the fuzzy C-means clustering algorithm, the preset number of time periods are divided into three types and the type of each time period is obtained.
6. The method according to claim 1, characterized in that The steps for obtaining the selection probability matrix of each type of user in each time period include: According to the operation and maintenance cost of the tth period after the implementation of the time-sharing operation and maintenance cost plan, the operation and maintenance cost of the tth period under the fixed operation and maintenance cost plan, the number of time difference intervals for users to change charging time, and the user stickiness model, the comprehensive stickiness of users to the tth period after the implementation of the time-sharing operation and maintenance cost plan is obtained; wherein the user stickiness model is established in advance; Obtaining a viscosity difference when the user changes the charging period according to the comprehensive viscosity after the user makes a charging decision and the comprehensive viscosity before the user makes the charging decision; Obtaining a viscosity change evaluation when the user changes the charging period according to the viscosity difference when the user changes the charging period and a viscosity evaluation formula; wherein the viscosity evaluation formula is preset; According to the viscosity change evaluation of the user changing the charging period and the user cumulative prospect formula, the cumulative prospect value of the user selecting the tth period is obtained; According to the cumulative prospect value of the user selecting the tth time period and the calculation formula of the user's charging time period selection probability, the probability of the user selecting the tth time period for charging is obtained; According to the probability of each type of user choosing to charge in the tth time period, the selection probability matrix of each type of user in each time period is obtained.
7. A time-sharing operation and maintenance cost calculation device for an electric vehicle charging station, characterized in that: include: The first acquisition module is used to obtain the number of electric vehicles charged in each time period according to the number of electric vehicles corresponding to each type of user in each time period and the selection probability matrix of each type of user in each time period; wherein a day is divided into a preset number of time periods in advance; the selection probability matrix of each type of user in each time period is obtained in advance; the number of electric vehicles corresponding to each type of user in each time period is obtained in advance; the user type is preset; The second obtaining module is used to obtain the charging load of the electric vehicle in each time period according to the number of electric vehicles charged in each time period and the charging power of the electric vehicle; Establishing a module for establishing a time-sharing operation and maintenance cost optimization objective function and a time-sharing operation and maintenance cost constraint condition according to the type of each time period, the charging load of the electric vehicle in each time period, the preset parameters, the user electricity purchase cost model and the charging station operation revenue model; wherein the user electricity purchase cost model and the charging station operation revenue model are obtained in advance, and the type of each time period is obtained in advance; An optimization module, used to obtain an optimal time-sharing operation and maintenance cost according to the time-sharing operation and maintenance cost optimization objective function and the time-sharing operation and maintenance cost constraint condition; A construction module for constructing an adaptive window width Gaussian kernel function of charging parameters based on historical order data of charging stations; The simulation module performs a single-day charging simulation of the electric vehicle according to the adaptive window width Gaussian kernel function of the charging parameter and the charging simulation parameters of the electric vehicle to obtain a single-day disordered charging load distribution of the electric vehicle; The division module divides the preset number of time periods into three time period types based on the single-day disordered charging load distribution of the electric vehicle to obtain the type of each time period; wherein the three time period types include a normal period, a peak period and a valley period; The time-sharing operation and maintenance cost optimization objective function includes a first objective function, a second objective function and a third objective function, and the time-sharing operation and maintenance cost constraint condition includes a first constraint condition, a second constraint condition, a third constraint condition and a fourth constraint condition, wherein: The first objective function is: Among them, L base,t represents the basic load other than the charging load in the tth period, L ev,t represents the charging load in the t-th time period, t is a positive integer and t is less than or equal to T, and T represents the preset number; The second objective function is: in, It represents the charging cost of users after the implementation of the time-sharing operation and maintenance cost plan. is obtained based on the user electricity purchase cost model; The third objective function is: in, represents the operating income of the charging station after implementing the time-sharing operation and maintenance cost plan, is obtained based on the charging station operation revenue model; The first constraint condition is: Among them, C f,f represents the time-sharing operation and maintenance cost during normal periods, C f,p represents the time-sharing operation and maintenance cost during peak hours, C f,v represents the time-sharing operation and maintenance cost during off-peak hours, and ε represents the constraint value; The second constraint is: in, It represents the maximum load of the charging station in a single day before implementing the time-sharing operation and maintenance cost; The third constraint condition is: in, represents the user's charging cost before the implementation of the time-sharing operation and maintenance cost plan, is obtained based on the charging station operation revenue model; The fourth constraint condition is: in, represents the operating income of the charging station before implementing the time-sharing operation and maintenance costs, is obtained based on the charging station operation revenue model; The user electricity purchase cost model includes the user's charging cost before implementing the time-sharing operation and maintenance cost plan. and the charging costs of users after implementing the time-sharing operation and maintenance cost plan in: Among them, P ij,t represents the charging power corresponding to the jth user in the i-th type of user in the t-th time period, C b,t represents the basic charging price in the tth period, C 0,t represents the fixed charging operation and maintenance cost, C t fee represents the charging operation and maintenance cost price in the tth period after the implementation of the time-sharing operation and maintenance cost plan, I t Indicates the charging instruction for the tth period. When the jth user of the i-th type of user charges in the tth period, I t =1, when the jth user of the i-th type of user does not charge in the t-th period, I t =0, i is a positive integer and i is less than or equal to B, j is a positive integer and j is less than or equal to D i , D i represents the number of users of the i-th type, and B represents the number of user categories; The charging station operating income model includes the charging station operating income before the implementation of the time-sharing operation and maintenance cost and the charging station operating income after the implementation of the time-sharing operation and maintenance cost plan, where: Among them, C1 represents the user's electricity purchase cost under fixed operation and maintenance cost, C2 represents the user's electricity purchase cost after implementing the time-sharing operation and maintenance cost plan, and Q t represents the amount of electricity purchased by the charging station from the grid operator in the tth period, Indicates the peak shaving compensation fee obtained by the charging station. represents the peak load penalty fee imposed on the charging station, p0 represents the number of peak demand periods, represents the charging load in the i-th peak demand period before implementing the time-sharing operation and maintenance cost, represents the charging load in the i-th peak demand period after implementing the time-sharing operation and maintenance cost, I i represents the indicator value of the i-th peak demand period, if Then I i =1, if Then I i =0, C res represents the peak load compensation price, C fine Represents the penalty price, i is a positive integer and i is less than or equal to p0.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
