Optimization method and device for energy system comprising electric vehicle

By building a charging and discharging model for energy storage systems and electric vehicles, optimizing the charging strategy and energy storage system capacity of electric vehicles, solving the peak and valley pressure problem of power grid load, realizing the stable operation of the power system and efficient utilization of the energy storage system.

CN119010138APending Publication Date: 2024-11-22国网河北省电力有限公司营销服务中心 +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411079473.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing coordinated charging methods for electric vehicles cannot effectively alleviate the peak and valley pressure of the power grid load, resulting in risks in the operation of the power system.

Method used

By building a charging and discharging model of the energy storage system and a charging strategy model of the electric vehicle, combining the power balance principle, a dual-target model is established to optimize the charging load curve of the electric vehicle and the optimal capacity of the energy storage system to reduce the peak-to-valley difference of the grid load and electricity purchase costs.

Benefits of technology

It effectively reduces the peak-to-valley difference between the power grid load, improves the utilization rate of the energy storage system, ensures that the power system has sufficient power supply during peak hours, and guides electric vehicles to charge during low electricity prices through price-based demand responses to avoid peak loads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010138A_ABST
    Figure CN119010138A_ABST
Patent Text Reader

Abstract

The invention provides an optimization method and device for an energy system comprising an electric vehicle, and belongs to the technical field of load dispatching. The method comprises the following steps: constructing a charging and discharging model of the energy storage system based on the charging efficiency, the charging power, the charging duration, the discharging efficiency, the discharging power, the discharging duration and the target rated capacity of the energy storage system; wherein the target rated capacity is any capacity in the energy storage capacity optimization model; constructing a charging strategy model of the electric vehicle based on the price type demand response; constructing a double-target model based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle and a power balance principle; wherein the double-objective model comprises an objective function of electricity purchase cost of the green building system and an objective function of load peak-valley difference; and based on the double-target model, determining a charging load curve of the electric vehicle and the optimal capacity of the energy storage system. The peak valley pressure of the power grid can be effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of load scheduling, and in particular to an optimization method and device for an energy system including electric vehicles. Background Art

[0002] As renewable energy and electric vehicles are integrated into the power grid in large quantities, the power system has gained flexibility, but it has also created new challenges for the stable operation of the power system. Renewable energy and electric vehicles can cause excessive or unbalanced loads on the power system, making the operation of the power system risky.

[0003] Research on electric vehicle collaborative charging methods mainly focuses on scheduling the charging of electric vehicles during off-peak hours to reduce the pressure on power supply during peak hours. This method can flexibly arrange the charging time and charging rate of electric vehicles based on factors such as grid load conditions and user needs through an intelligent charging management system. The charging load of electric vehicles can be effectively scheduled to maximize profits. The optimal configuration of energy storage equipment can effectively alleviate the peak and valley pressure of grid load and improve the utilization rate of renewable energy such as wind power and photovoltaics. Energy storage equipment has the function of storing and releasing energy in the power system. It can store or release energy when supply and demand are unbalanced, thereby balancing the grid load.

[0004] At present, the coordinated charging of electric vehicles is considered from a single economic perspective, which will lead to new load aggregation and still cannot effectively alleviate the peak and valley pressure of the power grid load. How to optimize the configuration of energy storage equipment while optimizing the scheduling of electric vehicle charging behavior to effectively alleviate the peak and valley pressure of the power grid load has become an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present invention provide an optimization method and device for an energy system including electric vehicles, so as to solve the problem that the current coordination method cannot effectively alleviate the peak and valley pressure of the power grid load.

[0006] In a first aspect, an embodiment of the present invention provides an optimization method for an energy system including electric vehicles, which is used in a green building system, and includes a basic power load, an energy storage system, an electric vehicle, and photovoltaic power generation; the method includes:

[0007] Based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system, a charging and discharging model of the energy storage system is constructed; wherein the target rated capacity is any capacity in the energy storage capacity optimization model;

[0008] Construct an electric vehicle charging strategy model based on price-based demand response;

[0009] Based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance, a dual-objective model is constructed; the dual-objective model includes the objective function of the electricity purchase cost of the green building system and the objective function of the load peak-valley difference;

[0010] Based on the dual-objective model, the charging load curve of electric vehicles and the optimal capacity of the energy storage system are determined.

[0011] In one possible implementation, the energy storage capacity optimization model is:

[0012]

[0013]

[0014] Where, Cap0=50KWh, Cap n (k) and Cap n (k-1) is the rated value of the adjacent energy storage capacity in the energy storage capacity optimization model, is the minimum value of energy storage capacity, is the maximum value of energy storage capacity.

[0015] In one possible implementation, a charging and discharging model of the energy storage system is constructed based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system, including:

[0016] Based on the amount of electricity stored in the energy storage system at adjacent moments, the charging and discharging strategy of the energy storage system, the charging amount of the energy storage system at the target moment, the discharging amount of the energy storage system at the target moment, and the target rated capacity of the energy storage system, a charging and discharging model of the energy storage system is constructed; wherein the charging and discharging strategy is that only charging or discharging can be performed at the same target moment;

[0017] Among them, the charging and discharging model SOC of the energy storage system ESS for:

[0018]

[0019]

[0020]

[0021] SOC ESS (t) and SOC ESS (t-1) is the SOC value of the energy storage system at two adjacent moments, T ad is the charging time or discharging time, and is a 0-1 variable, η ESS,disis the discharge efficiency of the energy storage system, P ESS,dis (t) is the discharge power of the energy storage system, η ESS,ch is the charging efficiency of the energy storage system, P ESS,ch (t) is the charging power of the energy storage system, Cap n is the target rated capacity of the energy storage system, and The upper and lower limits of the SOC value of the energy storage system.

[0022] In one possible implementation, the charging strategy model T of the electric vehicle dur for:

[0023]

[0024] e=(1-SOC ini )*Cap EV ;

[0025] Among them, SOC ini is the SOC corresponding to the arrival time, Cap EV is the rated capacity of the electric vehicle battery, P EVC (t) and η EV are the charging power and charging efficiency of the electric vehicle at time t.

[0026] In a possible implementation, the dual-objective model F is:

[0027] F=min{ω1Cos t′+ω2P Δ '};

[0028]

[0029] Among them, Cost no and P Δno is the objective function value without optimized scheduling, Cost is the objective function value of the electricity purchase cost of the green building system after optimized scheduling, P Δ It is the value of the objective function of the load peak-valley difference after optimization scheduling, and ω1 and ω2 are weights.

[0030] In one possible implementation, the objective function of the electricity purchase cost of the green building system, Cost, is:

[0031]

[0032] P grid (t) = P ESS (t)+P EV (t)+P load (t)-P PV (t);

[0033]

[0034] Among them, ρ t is the electricity purchase price at time t, P grid (t) is the amount of electricity purchased from the power grid by the green building system at time t, P PV (t) is the photovoltaic power generation power at time t; P ESS (t) is the power of the energy storage system at time t, with positive values ​​for charging and negative values ​​for discharging mode, P EV (t) is the sum of the charging power of all electric vehicles at time t, P load (t) is the basic power load at time t, P EVC (t) is the charging power of a single electric vehicle at time t.

[0035] In a possible implementation, the objective function P of the load peak-to-valley difference is Δ for:

[0036]

[0037] In one possible implementation, based on the dual-objective model, the charging load curve of the electric vehicle and the optimal capacity of the energy storage system are determined, including:

[0038] Determine the charging load curve of the electric vehicle within a preset time interval based on the Monte Carlo simulation method, the charging time of the electric vehicle, the initial SOC of the electric vehicle when charging starts, the objective function of the electricity purchase cost of the green building system, and the charging strategy model of the electric vehicle;

[0039] The optimal capacity of the energy storage system is determined based on the charge and discharge model of the energy storage system and the load peak-to-valley difference corresponding to the target rated capacity of each target energy storage system.

[0040] In a possible implementation, based on the charge and discharge model of the energy storage system and the load peak-valley difference corresponding to the target rated capacity of each target energy storage system, the optimal capacity of the energy storage system is determined, including:

[0041] Based on the genetic algorithm with elite retention strategy, energy storage capacity optimization model and charging and discharging model of energy storage system, the objective function of load peak-valley difference is solved to obtain the optimal capacity of the energy storage system.

[0042] In a second aspect, an embodiment of the present invention provides an optimization device for an energy system including electric vehicles, which is used in a green building system, and includes a basic power load, an energy storage system, an electric vehicle, and photovoltaic power generation; the device includes:

[0043] The first construction module is used to construct a charging and discharging model of the energy storage system based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system; wherein the target rated capacity is any capacity in the energy storage capacity optimization model;

[0044] The second building module is used to build a charging strategy model for electric vehicles based on price-based demand response;

[0045] The third building module is used to build a dual-objective model based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance; wherein the dual-objective model includes the objective function of the electricity purchase cost of the green building system and the objective function of the load peak-valley difference;

[0046] The solution module is used to determine the charging load curve of electric vehicles and the optimal capacity of the energy storage system based on the dual-objective model.

[0047] The embodiment of the present invention provides an optimization method and device for an energy system containing electric vehicles. First, a charging and discharging model of the energy storage system is constructed based on the charging efficiency, charging power, charging time, discharge efficiency, discharge power, discharge time and target rated capacity of the energy storage system. Next, a charging strategy model of the electric vehicle is constructed based on price-based demand response. Then, a dual-objective model is constructed based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance. Finally, based on the dual-objective model, the charging load curve of the electric vehicle and the optimal capacity of the energy storage system are determined. By configuring the capacity of the energy storage system, the present invention can ensure that the energy storage device can provide sufficient power during peak power consumption and power supply shortage periods, reduce the demand for grid load, and better utilize the low-load period of the power system to fully utilize the power of the energy storage system. In addition, based on price-based demand response, according to the changes in electricity prices in different time periods, the car is guided to charge when the electricity price is low to avoid load peaks. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0049] Figure 1 This is an application scenario diagram of an optimization method for an energy system including electric vehicles provided in an embodiment of the present invention;

[0050] Figure 2is a flow chart of an implementation method of an optimization method of an energy system including electric vehicles provided in an embodiment of the present invention;

[0051] Figure 3 is a structural block diagram of an optimization method for an energy system including electric vehicles provided in an embodiment of the present invention;

[0052] Figure 4 is a load distribution diagram of disorderly charging of electric vehicles provided by an embodiment of the present invention;

[0053] Figure 5 is a schematic diagram of determining a charging load curve using a Monte Carlo simulation method provided by an embodiment of the present invention;

[0054] Figure 6 is a schematic diagram of determining the optimal capacity using a genetic algorithm with an elite retention strategy provided by an embodiment of the present invention;

[0055] Figure 7 It is a schematic diagram of virtual prediction values ​​of photovoltaic power generation and building basic load provided by an embodiment of the present invention;

[0056] Figure 8 is a schematic diagram of a time-of-use electricity price provided by an embodiment of the present invention;

[0057] Fig. 9 is a schematic diagram of a daily charging load curve of an electric vehicle provided by an embodiment of the present invention;

[0058] Fig.10 is a schematic diagram of the power load of the green building system corresponding to the method 1 provided in the embodiment of the present invention;

[0059] Fig.11 is a schematic diagram of the power load of the green building system corresponding to the method 2 provided in the embodiment of the present invention;

[0060] Fig.12 is a schematic diagram of the power load of the green building system corresponding to the method 3 provided in the embodiment of the present invention;

[0061] Fig.13 It is a schematic diagram of an electric vehicle orderly charging and purchasing electricity from a power grid provided by an embodiment of the present invention;

[0062] Fig.14 It is a schematic diagram of the structure of an optimization device for an energy system including electric vehicles provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0063] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0064] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0065] Figure 1 The green building system provided by the present invention includes basic power load, energy storage system, electric vehicle and photovoltaic power generation, and the green building system is also connected to the external power grid. Photovoltaic power generation and the basic power load of the building are not within the optimization range, and their operation model is not considered. The energy storage system can both charge and feed back power to the green building system. Electric vehicles do not consider feeding back power and are only regarded as adjustable loads. Photovoltaic power generation and the basic power load of the building are not considered for scheduling. When there is a shortage of power load that cannot be met by photovoltaics and storage energy in the green building system, electricity is purchased from the external power grid to meet the energy demand of the system. The scheduling plans for each device are uniformly arranged and set by the scheduling center, regardless of the specific form of the scheduling center.

[0066] Figure 2 and Figure 3 The implementation flow chart of the optimization method of the energy system including electric vehicles provided by the embodiment of the present invention is detailed as follows:

[0067] S210: construct a charging and discharging model of the energy storage system based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system.

[0068] The target rated capacity is any capacity in the energy storage capacity optimization model.

[0069] Different from the capacity of the directly fixed energy storage system, in this energy system, by adding energy storage of different capacities to the electric vehicle charging and discharging optimization problem, the capacity value of the optimal energy storage system can be obtained, thereby achieving the optimal value of the energy storage system, better utilizing the power transfer capability of the energy storage system, and being more conducive to the realization of peak shaving and valley filling of the power system.

[0070] The energy storage capacity optimization model of the energy storage system can be expressed as:

[0071]

[0072] Where, Cap0=50KWh, Cap n(k) and Cap n (k-1) represents the adjacent energy storage capacity rating in the optimization model. By applying different Cap n (k)

[0073] In addition, the energy storage capacity must also meet capacity constraints during configuration:

[0074]

[0075] In some embodiments, a charging and discharging model of the energy storage system can be constructed based on the amount of electricity stored in the energy storage system at adjacent moments, the charging and discharging strategy of the energy storage system, the charging amount of the energy storage system at the target moment, the discharging amount of the energy storage system at the target moment, and the target rated capacity of the energy storage system.

[0076] Among them, the charging and discharging strategy is that only charging or discharging can be performed at the same target time.

[0077] In this embodiment, the energy storage system generally adopts electrochemical energy storage technology, in which the state of charge (SOC) of the battery is used to indicate the current remaining capacity of the battery. That is, the ratio of the remaining capacity of the battery to its rated capacity (under the same conditions) at a certain discharge rate, and the definition formula is as follows:

[0078] SOC=Cap re / Cap n *100%;

[0079] Among them, Cap re Indicates the current remaining capacity of the energy storage system, Cap n Indicates the rated capacity of the electric energy storage system.

[0080] The energy storage system has two corresponding behaviors: external discharge and self-charging. In the process of regulating the energy system, it is necessary to know the amount of electricity stored in the energy storage system of each scheduling node, that is, the SOC value. Through the above definition formula of SOC, the change of the energy storage capacity can be obtained by adding or subtracting the charge / consumption in a certain period of time to the initial capacity, and the changed SOC value can be obtained. The formula can be expressed as:

[0081] SOC=SOC t0 +ΔSOC + -ΔSOC - ;

[0082]

[0083]

[0084] Among them, ΔSOC +Represents the SOC increase caused by charging in a certain period of time, where t ch Indicates the charging time. Considering the charging efficiency, the charging amount during this period is P ESS,ch (t)*η ESS,ch , η ESS,ch Represents the charging efficiency of the energy storage system, P ESS,ch (t) represents the charging power.

[0085] ΔSOC - represents the SOC reduction caused by external power supply in a certain period of time, where t dis Indicates the discharge duration. Considering the discharge efficiency, the discharge amount during this period is η ESS,dis Represents the discharge efficiency of the energy storage system, P ESS,dis (t) represents the discharge power.

[0086] It is assumed that the energy storage system can only choose one of charging and discharging in each scheduling period, that is, the energy storage system cannot charge and discharge at the same time. For this purpose, a 0-1 variable can be introduced. After adding the charging and discharging constraints, the charging and discharging model SOC of the energy storage system ESS for:

[0087]

[0088]

[0089] in, and is an introduced 0-1 variable, representing the charging / discharging state of the energy storage system at time t. Represents the energy storage system to charge. On the contrary, it means that the energy storage system is discharging. Since only one of the charging and discharging behaviors is performed in each scheduling period, the charging time and the discharging time are both T ad , the value is T ad =1h.

[0090] Among them, SOC ESS (t) and SOC ESS (t-1) is the SOC value of the energy storage system at two adjacent moments.

[0091] P ESS,ch (t) and P ESS,dis (t) is limited to the maximum power, subject to the following constraints:

[0092]

[0093] The upper limit of charging of the energy storage system is to reach the rated capacity, at which SOC = 1; the upper limit of discharging is when the energy storage system consumes all its power, that is, SOC = 0; however, if the power of electrochemical energy storage devices is too low or too high, its service life will be affected. Therefore, when using the energy storage system, complete discharge and charging should be avoided, that is, the following constraints should be met:

[0094]

[0095] and It is to set the upper and lower limits of the SOC value of the energy storage system. When When the energy storage system stops charging.

[0096] S220. Construct a charging strategy model for electric vehicles based on price-based demand response.

[0097] Figure 4 This is the load distribution diagram of the disorderly charging of electric vehicles. Disorderly charging means that once the electric vehicle is connected to the charging pile, it starts charging immediately until the charging is completed. Among them, t1 and t2 represent the arrival and departure times of the electric vehicle, assuming that the electric vehicle is connected to the charging pile immediately after arrival; t3 is the completion time of charging. It can be seen that the charging completion time is not always equal to the departure time. Figure 4 It can be seen that in order to arrange the charging behavior of electric vehicles in an orderly manner, we can only optimize the scheduling of electric vehicles whose charging completion time is less than the departure time, otherwise it is difficult to meet their charging needs. Therefore, in order to continue to schedule the charging behavior of electric vehicles in an orderly manner, it is necessary to know the residence time and required energy of a single electric vehicle.

[0098] The stay time of the electric vehicle can be obtained from the interval between the arrival time and the departure time of the electric vehicle, and the required energy is obtained from the difference between the remaining battery power when the electric vehicle starts charging and the full charge of the electric vehicle battery.

[0099] For the residence time of electric vehicles, the arrival time and departure time of electric vehicles can be obtained from the real electric vehicle power station data. The probability density function of the arrival time and departure time of electric vehicles can be fitted in the form of normal distribution, corresponding to the normal distribution N(17.6,3.4 2 ) and N(7,0.5 2 ), the distribution can be explained as follows: electric vehicle users go home around 5 pm and leave around 7 am the next day, and the electric vehicle needs to be fully charged during this period. The electric vehicle residence time is expressed as follows:

[0100] T s =T dep -T re ;

[0101] For the energy demand of electric vehicles, the initial SOC value when the electric vehicle is ready to start charging follows the normal distribution N(0.5,0.1 2 ), which can be interpreted as: electric vehicles generally have about half of their battery left when they return home. The SOC value at the time of leaving is 1, that is, fully charged. The energy required by the electric vehicle can be obtained by the following formula:

[0102] e=(1-SOC ini )*Cap EV ;

[0103] Among them, SOC ini Indicates the initial (remaining) SOC corresponding to the arrival time, Cap EV It is the rated capacity of the electric vehicle battery.

[0104] For the arrival time, departure time and initial SOC value of the electric vehicle, the corresponding expected value and variance can be fitted according to different actual scenarios and real data, or other methods can be used to represent the electric vehicle's residence time and required energy.

[0105] Charging strategy model of electric vehicles dur for:

[0106]

[0107] T dur is the charging duration, P EVC (t) and η EV is the charging power and charging efficiency of the electric vehicle at time t. The charging power should meet the following constraints:

[0108]

[0109] To determine whether electric vehicles can be charged in an orderly manner, the following formula must be satisfied:

[0110] T dur <T s ;

[0111] Electric vehicles that meet the orderly charging scheduling conditions are included in the optimization problem. Then the time interval of each scheduling (T ad =1h), the electric vehicle charging load can be expressed as the sum of the loads of the electric vehicles being charged:

[0112]

[0113] S230. Construct a dual-objective model based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance.

[0114] The dual-objective model includes the objective function of the electricity purchase cost of the green building system and the objective function of the load peak-valley difference.

[0115] Regarding the electricity purchase cost of the green building system, under the incentive of time-of-use electricity prices, the goal of the green building system is to make full use of the flexible charging potential of electric vehicles and the power transfer capacity of the energy storage system to reduce electricity costs, ignoring the maintenance costs of local photovoltaic and energy storage systems, and mainly considering the electricity purchase cost of the green building energy system purchasing electricity from the distribution network. The cost can be expressed by the following formula:

[0116]

[0117] Among them, ρ t is the electricity purchase price at time t, P grid (t) is the amount of electricity purchased from the power grid by the green building energy system at time t. According to the principle of power balance, its calculation formula is as follows:

[0118] P grid (t) = P ESS (t)+P EV (t)+P load (t)-P PV (t);

[0119]

[0120] Among them, ρ t is the electricity purchase price at time t, P grid (t) is the amount of electricity purchased from the power grid by the green building system at time t, P PV (t) is the photovoltaic power generation power at time t; P ESS (t) is the power of the energy storage system at time t, with positive values ​​for charging and negative values ​​for discharging mode, P EV (t) is the sum of the charging power of all electric vehicles at time t, P load (t) is the basic power load at time t, P EVC (t) is the charging power of a single electric vehicle at time t.

[0121] In addition, a large number of electric vehicles charging during the low electricity price period will cause a surge in grid load during the current period, which is likely to damage the basic equipment of the power system and affect stability. Therefore, the impact of the peak-to-valley difference in load during the day on the stability of the power system is considered as follows:

[0122]

[0123] P Δ It is the difference between the peak and valley loads in a day. It can be understood as minimizing the peak-valley difference in loads, avoiding damage to the power system during peak periods, and making full use of the valley period to charge electric vehicles. LIt is the sum of the electric vehicle charging load and the building foundation load at time t.

[0124] The dual-objective model F is:

[0125] min{ω1Cos t+ω2P Δ},ω1+ω2=1

[0126] The values ​​of ω1 and ω2 are 0.6 and 0.4.

[0127] For this dual-objective optimization problem, considering that the value ranges of the two functions may be very different, the value range of each objective function is first normalized and mapped to the same scale, usually the interval [0,1].

[0128] Based on linear normalization:

[0129]

[0130] At this time, Cost′ and P Δ ′ is between [0,1]. no and P Δno represents the objective function value without optimized scheduling, and the final dual-objective model is:

[0131] F=min{ω1Cos t′+ω2P Δ ′}.

[0132] S240. Based on the dual-objective model, determine the charging load curve of the electric vehicle and the optimal capacity of the energy storage system.

[0133] In some embodiments, Figure 5 As shown, the charging load curve of the electric vehicle within a preset time interval can be determined based on the Monte Carlo simulation method, the charging time of the electric vehicle, the initial SOC when the electric vehicle starts charging, the objective function of the electricity purchase cost of the green building system, and the charging strategy model of the electric vehicle.

[0134] Regarding the charging demand of electric vehicles for 24 hours a day, that is, how many electric vehicles need to be charged at each moment and how much energy is required for charging, the present invention uses a Monte Carlo simulation method to simulate the charging demand curve of electric vehicles for 24 hours a day according to the arrival time, departure time and initial SOC value of the electric vehicle before charging starts, and these parameters conform to the normal distribution mentioned above. The obtained charging curve reflects the original charging process without optimized scheduling, and the electric vehicle charging data (arrival time, departure time, initial SOC) corresponding to the curve is used in the optimization model. For each electric vehicle, the optimized electric vehicle charging process should occur between the arrival time and departure time of the electric vehicle, and the charging energy is the difference between the full charge state and the initial energy before charging starts.

[0135] The optimal capacity of the energy storage system can be determined based on the charge and discharge model of the energy storage system and the load peak-to-valley difference corresponding to the target rated capacity of each target energy storage system.

[0136] Specifically, Figure 6 As shown, based on the genetic algorithm with elite retention strategy, energy storage capacity optimization model and energy storage system charging and discharging model, the objective function of load peak-valley difference is solved to obtain the optimal capacity of the energy storage system. The specific steps are as follows:

[0137] First, determine the maximum value EM of the storage capacity, determine the value interval Em, calculate the storage capacity distribution of equal intervals, and determine the number K of required storage capacities.

[0138] Second, initialize the relevant parameters of the elite genetic algorithm, including population size, number of iterations, and crossover mutation probability.

[0139] Third, initialize the population and randomly generate initial individuals.

[0140] Fourth, evaluate the fitness. The smaller the objective function and the smaller the value, the better the individual.

[0141] Fifth, a roulette wheel selection operation is used to select the best individuals from the best part as elites according to their fitness and directly retain them in the next generation of the population.

[0142] Sixth, perform crossover and mutation operations. According to a certain crossover rate, select two individuals from the parent generation for crossover to produce new offspring individuals; according to a certain mutation rate, genetically mutate the offspring and introduce new genetic information.

[0143] Seventh, combine the individuals of the parent generation and the offspring into a new population and retain the elite individuals. Check whether the conditions for stopping iteration are met, such as reaching the maximum number of iterations. If the stopping conditions are met, output the optimal solution.

[0144] Eighth, otherwise, return to step 4 to continue iterating, update the value of the energy storage capacity E, return to step 2, calculate the value of the objective function under all energy storage capacities, and compare to obtain the optimal energy storage capacity.

[0145] For ease of understanding, the following provides an example of optimization using the optimization method provided by the present invention, considering the dual-objective model of the electric vehicle energy system including the optimal energy storage capacity and price-based demand response to achieve coordinated charging of electric vehicles and energy storage system capacity configuration. The specific optimization process is as follows:

[0146] First, the relevant parameters need to be set. The optimization step size of the energy storage system configuration is set to 50 kWh. The maximum value of the energy storage system configuration is 300 kWh. The basic power load and time-of-use electricity price of photovoltaic power generation and buildings are as follows: Figure 7 and Figure 8 As shown, the relevant parameters of electric vehicles and energy storage systems are shown in Table 1.

[0147] Table 1 Electric vehicle and energy storage system parameters

[0148] parameter Value(electric vehicle) Value(Energy Storage System) Battery capacity 50KWh 0-300KWh SOC upper limit 1 0.9 SOC lower limit 0.1 0.1 Charging power 5kW [-50,50]KW Charging efficiency 0.9 0.9

[0149] Monte Carlo simulation method is used to calculate the arrival time, departure time and arrival SOC value to satisfy the normal distribution N(17.6,3.4 2 )、N(7,0.5 2 )、N(0.5,0.1 2 ), and the daily charging load of electric vehicles is obtained as Fig. 9 shown.

[0150] In order to compare and analyze the impact of electric vehicle charging behavior in buildings with energy storage systems and photovoltaic systems on the economic operation of the power system, three different scheduling methods are proposed. In method 1, electric vehicles are charged immediately after arrival, that is, the disorderly charging mode; in method 2, electric vehicles are charged in an orderly manner in accordance with the guidance of time-of-use electricity prices without an energy storage system; in method 3, electric vehicles are charged in an orderly manner under the optimal energy storage capacity. Method 3 is the optimization method provided in this application.

[0151] from Fig.10 It can be seen that the electric vehicle load caused by disorderly charging will form a new peak based on the basic load of the building. If the original power system is not upgraded, the newly generated power load will easily cause damage to the power system and affect its safe operation.

[0152] from Fig.11 It can be seen that without considering the participation of energy storage systems, time-of-use electricity prices can guide some electric vehicles to change their charging time, effectively reducing the load during peak periods and transferring it to off-peak periods, thereby using the off-peak period to bear part of the electricity load.

[0153] from Fig.12 It can be seen that orderly charging can transfer part of the load from 16:00-22:00 to the time period of 00:00-06:00, which can effectively reduce the peak-to-valley difference of power load. The dual objective function values ​​of different energy storage capacities are shown in Table 2. Fig.12 The dispatch curve with energy storage system is the daily power load curve when the capacity of energy storage system is 250KWh. When energy storage system is involved in optimized dispatching, the power consumption in the low load period is further improved, and the peak power load is reduced again, which can get a smaller load peak-to-valley difference and power purchase cost. Compared with the situation without energy storage system and disorderly charging, the load peak-to-valley difference is reduced by 16.61% and 24.64% respectively during orderly charging with energy storage, and the power purchase cost of distribution network is reduced by 9.62% and 11.12% respectively.

[0154] Table 2 Load peak-valley difference and electricity purchase cost corresponding to different energy storage system capacities

[0155] Energy storage system capacity / KWh Load peak-valley difference / KWh Electricity purchase cost / ¥ 0 292.55 12055.04 50 268.96 12058.79 100 277.55 11966.09 150 272.55 11989.84 200 263.96 11977.74 250 262.55 11896.54 300 266.93 11925.54

[0156] from Fig.13 It can be seen that after adding the energy storage system, the power purchase amount in the periods of 00:00-05:00 and 18:00-21:00 is greater than when the energy storage system is not added. This is because the energy storage system needs to be charged during the low electricity price period. When photovoltaic power generation is insufficient, the power purchase from the grid will increase; in the other peak electricity price periods, the energy storage system discharges to meet part of the power load demand, resulting in a decrease in power purchase from the grid.

[0157] The present invention provides an optimization method for an energy system containing electric vehicles. First, a charging and discharging model of an energy storage system is constructed based on the charging efficiency, charging power, charging time, discharge efficiency, discharge power, discharge time and target rated capacity of the energy storage system. Next, a charging strategy model of an electric vehicle is constructed based on price-based demand response. Then, a dual-objective model is constructed based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance. Finally, based on the dual-objective model, the charging load curve of the electric vehicle and the optimal capacity of the energy storage system are determined. By configuring the capacity of the energy storage system, the present invention can ensure that the energy storage device can provide sufficient electricity during peak power consumption and power supply shortage periods, reduce the demand for power grid load, and better utilize the low-load period of the power system to fully utilize the electricity of the energy storage system. In addition, based on price-based demand response, according to the changes in electricity prices in different time periods, the car is guided to charge when the electricity price is low to avoid load peaks.

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

[0159] The following is an embodiment of the device of the present invention. For details not described in detail, reference may be made to the corresponding method embodiments described above.

[0160] Fig.14 The schematic diagram of the structure of the optimization device of the energy system including electric vehicles provided by the embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:

[0161] like Fig.14 As shown, an optimization device 1400 for an energy system including electric vehicles is used in a green building system, which includes a basic power load, an energy storage system, an electric vehicle and photovoltaic power generation; the device includes:

[0162] A first construction module 1410 is used to construct a charging and discharging model of the energy storage system based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system; wherein the target rated capacity is any capacity in the energy storage capacity optimization model;

[0163] The second building module 1420 is used to build a charging strategy model for electric vehicles based on price-based demand response;

[0164] The third construction module 1430 is used to construct a dual-objective model based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance; wherein the dual-objective model includes an objective function of the electricity purchase cost of the green building system and an objective function of the load peak-valley difference;

[0165] The solution module 1440 is used to determine the charging load curve of the electric vehicle and the optimal capacity of the energy storage system based on the dual-objective model.

[0166] In one possible implementation, the energy storage capacity optimization model is:

[0167]

[0168]

[0169] Where, Cap0=50KWh, Cap n (k) and Cap n (k-1) is the rated value of the adjacent energy storage capacity in the energy storage capacity optimization model, is the minimum value of energy storage capacity, is the maximum value of energy storage capacity.

[0170] In a possible implementation, the first construction module 1410 is used to construct a charge and discharge model of the energy storage system based on the amount of electricity stored in the energy storage system at adjacent moments, the charge and discharge strategy of the energy storage system, the charge amount of the energy storage system at the target moment, the discharge amount of the energy storage system at the target moment, and the target rated capacity of the energy storage system; wherein the charge and discharge strategy is that only charging or discharging can be performed at the same target moment;

[0171] Among them, the charging and discharging model SOC of the energy storage system ESS for:

[0172]

[0173]

[0174]

[0175] SOC ESS (t) and SOC ESS (t-1) is the SOC value of the energy storage system at two adjacent moments, T ad is the charging time or discharging time, and is a 0-1 variable, η ESS,dis is the discharge efficiency of the energy storage system, P ESS,dis (t) is the discharge power of the energy storage system, η ESS,ch is the charging efficiency of the energy storage system, P ESS,ch (t) is the charging power of the energy storage system, Cap n is the target rated capacity of the energy storage system, and The upper and lower limits of the SOC value of the energy storage system.

[0176] In one possible implementation, the charging strategy model T of the electric vehicle dur for:

[0177]

[0178] e=(1-SOC ini )*Cap EV ;

[0179] Among them, SOC ini is the SOC corresponding to the arrival time, Cap EV is the rated capacity of the electric vehicle battery, P EVC (t) and η EV are the charging power and charging efficiency of the electric vehicle at time t.

[0180] In a possible implementation, the dual-objective model F is:

[0181] F=min{ω1Cos t′+ω2P Δ '};

[0182]

[0183] Among them, Cost no and P Δno is the objective function value without optimized scheduling, Cost is the objective function value of the electricity purchase cost of the green building system after optimized scheduling, P Δ It is the value of the objective function of the load peak-valley difference after optimization scheduling, and ω1 and ω2 are weights.

[0184] In one possible implementation, the objective function of the electricity purchase cost of the green building system, Cost, is:

[0185]

[0186] P grid (t) = P ESS (t)+P EV (t)+P load (t)-P PV (t);

[0187]

[0188] Among them, ρ t is the electricity purchase price at time t, P grid (t) is the amount of electricity purchased from the power grid by the green building system at time t, P PV (t) is the photovoltaic power generation power at time t; P ESS (t) is the power of the energy storage system at time t, with positive values ​​for charging and negative values ​​for discharging mode, P EV (t) is the sum of the charging power of all electric vehicles at time t, P load (t) is the basic power load at time t, P EVC (t) is the charging power of a single electric vehicle at time t.

[0189] In a possible implementation, the objective function P of the load peak-to-valley difference is Δ for:

[0190]

[0191] In one possible implementation, the solving module 1430 is used to determine a charging load curve of the electric vehicle within a preset time interval based on a Monte Carlo simulation method, a charging time of the electric vehicle, an initial SOC when the electric vehicle starts charging, an objective function of the electricity purchase cost of the green building system, and a charging strategy model of the electric vehicle;

[0192] The optimal capacity of the energy storage system is determined based on the charge and discharge model of the energy storage system and the load peak-to-valley difference corresponding to the target rated capacity of each target energy storage system.

[0193] In a possible implementation, the solution module 1430 is used to solve the objective function of the load peak-to-valley difference based on a genetic algorithm with an elite retention strategy, an energy storage capacity optimization model, and a charge and discharge model of the energy storage system to obtain the optimal capacity of the energy storage system.

[0194] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0195] Those of ordinary skill in the art will appreciate that the templates, units, and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0196] If the module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned optimization method embodiments of the energy system containing electric vehicles can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium.

[0197] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for optimizing an energy system containing electric vehicles, characterized in that: For a green building system, which includes a basic power load, an energy storage system, an electric vehicle and photovoltaic power generation; the method includes: Based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system, a charging and discharging model of the energy storage system is constructed; wherein the target rated capacity is any capacity in the energy storage capacity optimization model; Construct an electric vehicle charging strategy model based on price-based demand response; Based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance, a dual-objective model is constructed; wherein the dual-objective model includes an objective function of the electricity purchase cost of the green building system and an objective function of the load peak-valley difference; Based on the dual-objective model, the charging load curve of electric vehicles and the optimal capacity of the energy storage system are determined.

2. The method for optimizing an energy system containing electric vehicles according to claim 1, characterized in that: The energy storage capacity optimization model is: Where, Cap0=50KWh, Cap n (k) and Cap n (k-1) is the rated value of the adjacent energy storage capacity in the energy storage capacity optimization model, is the minimum value of energy storage capacity, is the maximum value of the energy storage capacity.

3. The optimization method of the energy system containing electric vehicles according to claim 1 or 2, characterized in that: The charging and discharging model of the energy storage system is constructed based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system, including: Based on the amount of electricity stored in the energy storage system at adjacent moments, the charging and discharging strategy of the energy storage system, the charging amount of the energy storage system at the target moment, the discharging amount of the energy storage system at the target moment, and the target rated capacity of the energy storage system, a charging and discharging model of the energy storage system is constructed; wherein the charging and discharging strategy is that only charging or discharging can be performed at the same target moment; Among them, the charging and discharging model SOC of the energy storage system ESS for: SOC ESS (t) and SOC ESS (t-1) is the SOC value of the energy storage system at two adjacent moments, T ad is the charging time or discharging time, and is a 0-1 variable, η ESS,dis is the discharge efficiency of the energy storage system, P ESS,dis (t) is the discharge power of the energy storage system, η ESS,ch is the charging efficiency of the energy storage system, P ESS,ch (t) is the charging power of the energy storage system, Cap n is the target rated capacity of the energy storage system, and The upper and lower limits of the SOC value of the energy storage system.

4. The method for optimizing an energy system containing electric vehicles according to claim 1, characterized in that: The charging strategy model T of the electric vehicle dur for: e=(1-SOC ini )*Cap EV 4 Among them, SOC ini is the SOC corresponding to the arrival time, Cap EV is the rated capacity of the electric vehicle battery, P EVC (t) and η EV are the charging power and charging efficiency of the electric vehicle at time t.

5. The method for optimizing an energy system containing electric vehicles according to claim 1, characterized in that: The dual-objective model F is: F=min{ω1Cost′+ω2P Δ ′}; Among them, Cost no and P Δno is the objective function value without optimized scheduling, Cost is the objective function value of the electricity purchase cost of the green building system after optimized scheduling, P Δ It is the value of the objective function of the load peak-valley difference after optimization scheduling, and ω1 and ω2 are weights.

6. The method for optimizing an energy system containing electric vehicles according to claim 5, characterized in that: The objective function of the electricity purchase cost of the green building system, Cost, is: P grid (t)=P ESS (t)+P EV (t)+P load (t)-P PV (t); Among them, ρ t is the electricity purchase price at time t, P grid (t) is the amount of electricity purchased from the power grid by the green building system at time t, P PV (t) is the photovoltaic power generation power at time t; P ESS (t) is the power of the energy storage system at time t, with positive values ​​for charging and negative values ​​for discharging mode, P EV (t) is the sum of the charging power of all electric vehicles at time t, P load (t) is the basic power load at time t, P EVC (t) is the charging power of a single electric vehicle at time t.

7. The method for optimizing an energy system containing electric vehicles according to claim 6, characterized in that: The objective function P of the load peak-to-valley difference Δ for:

8. The method for optimizing an energy system including electric vehicles according to claim 1, characterized in that: The method of determining the charging load curve of the electric vehicle and the optimal capacity of the energy storage system based on the dual-objective model includes: Determine a charging load curve of the electric vehicle within a preset time interval based on a Monte Carlo simulation method, a charging time of the electric vehicle, an initial SOC when the electric vehicle starts charging, an objective function of the electricity purchase cost of the green building system, and a charging strategy model of the electric vehicle; Based on the charge and discharge model of the energy storage system and the load peak-to-valley difference corresponding to the target rated capacity of each target energy storage system, the optimal capacity of the energy storage system is determined.

9. The method for optimizing an energy system including electric vehicles according to claim 8, characterized in that: The determining the optimal capacity of the energy storage system based on the charge and discharge model of the energy storage system and the load peak-to-valley difference corresponding to the target rated capacity of each target energy storage system includes: Based on a genetic algorithm with an elite retention strategy, the energy storage capacity optimization model and the charge and discharge model of the energy storage system, the objective function of the load peak-to-valley difference is solved to obtain the optimal capacity of the energy storage system.

10. An optimization device for an energy system including an electric vehicle, characterized in that: For use in a green building system, which includes a basic power load, an energy storage system, an electric vehicle, and photovoltaic power generation; the device includes: A first construction module is used to construct a charging and discharging model of the energy storage system based on the charging efficiency, charging power, charging time, discharging efficiency, discharging power, discharging time and target rated capacity of the energy storage system; wherein the target rated capacity is any capacity in the energy storage capacity optimization model; The second building module is used to build a charging strategy model for electric vehicles based on price-based demand response; The third construction module is used to construct a dual-objective model based on the charging and discharging model of the energy storage system, the charging and discharging strategy model of the electric vehicle, and the principle of power balance; wherein the dual-objective model includes an objective function of the electricity purchase cost of the green building system and an objective function of the load peak-valley difference; The solution module is used to determine the charging load curve of electric vehicles and the optimal capacity of the energy storage system based on the dual-objective model.

Citation Information

Cited By

  • Energy storage system collaborative optimization configuration and scheduling method based on V2G charging station

    CN121169039A