[go: up one dir, main page]

CN105068419A - Residential community electric automobile charging and discharging control method - Google Patents

Residential community electric automobile charging and discharging control method Download PDF

Info

Publication number
CN105068419A
CN105068419A CN201510471445.2A CN201510471445A CN105068419A CN 105068419 A CN105068419 A CN 105068419A CN 201510471445 A CN201510471445 A CN 201510471445A CN 105068419 A CN105068419 A CN 105068419A
Authority
CN
China
Prior art keywords
charging
next day
load
discharging
electric vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510471445.2A
Other languages
Chinese (zh)
Other versions
CN105068419B (en
Inventor
杨健维
黄宇
王湘
何正友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southwest Jiaotong University
Original Assignee
Southwest Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southwest Jiaotong University filed Critical Southwest Jiaotong University
Priority to CN201510471445.2A priority Critical patent/CN105068419B/en
Publication of CN105068419A publication Critical patent/CN105068419A/en
Application granted granted Critical
Publication of CN105068419B publication Critical patent/CN105068419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

本发明公开了一种居民小区电动汽车充放电控制方法,它采用双层离散粒子群算法,通过底层粒子群算法求解各电动汽车满足所有约束条件的充放电计划,再利用顶层粒子群算法优化得出居民小区所有电动汽车充放电功率的控制方法。该方法不但能够有效改善居民小区的负荷特性指标,提高居民小区的电网设备利用率,同时,还能显著降低电动汽车的充电费用,易于实施和推广。The invention discloses a charging and discharging control method for electric vehicles in a residential area. It adopts a double-layer discrete particle swarm algorithm to solve the charging and discharging plan of each electric vehicle satisfying all constraint conditions through the bottom layer particle swarm algorithm, and then optimizes it by using the top layer particle swarm algorithm. A method for controlling the charging and discharging power of all electric vehicles outside the residential area. This method can not only effectively improve the load characteristic index of the residential area, improve the utilization rate of the grid equipment in the residential area, but also significantly reduce the charging cost of the electric vehicle, and is easy to implement and popularize.

Description

居民小区电动汽车充放电控制方法Charging and discharging control method for electric vehicles in residential quarters

技术领域 technical field

本发明涉及电动汽车优化控制领域,特别涉及一种电动汽车与智能小区的能量互动领域。 The invention relates to the field of optimal control of electric vehicles, in particular to the field of energy interaction between electric vehicles and intelligent communities.

背景技术 Background technique

电动汽车具有节能、减排的优势,是各国竞相发展的新兴产业,电动汽车关键技术的突破促进了电动汽车的大规模应用。规模化电动汽车的无序充电会引起电网负荷剧烈波动,增加电气设备的扩建成本、降低电气设备的利用率;电动汽车的储能潜能没有充分利用不利于主动配电网的建设。制定居民小区电动汽车充放电控制方法,能够在满足电动汽车主行驶需求的前提下,采用分时电价引导用户参与电动汽车的有序充放电,改善居民小区的负荷特性、提高供电可靠性,延缓用电设备的扩建周期,并且减少用户的电费支出。 Electric vehicles have the advantages of energy saving and emission reduction, and are emerging industries that countries are competing to develop. Breakthroughs in key technologies of electric vehicles have promoted the large-scale application of electric vehicles. The disorderly charging of large-scale electric vehicles will cause severe fluctuations in grid load, increase the expansion cost of electrical equipment, and reduce the utilization rate of electrical equipment; the energy storage potential of electric vehicles is not fully utilized, which is not conducive to the construction of active distribution networks. Formulate the charging and discharging control method of electric vehicles in residential areas, on the premise of meeting the main driving needs of electric vehicles, use time-of-use electricity prices to guide users to participate in the orderly charging and discharging of electric vehicles, improve the load characteristics of residential areas, improve the reliability of power supply, and delay The expansion period of electrical equipment can be shortened, and the user's electricity bill can be reduced.

现有的居民小区电动汽车充放电调度方法主要是整数规划、混合整数规划算法以及智能优化算法。整数规划、混合整数规划算法不能处理非线性问题、易陷入局部最优以及产生“维数灾”问题。智能优化算法包括粒子群优化算法、遗传算法以及基于基本优化算法的改进算法,这类算法能实现更为理想的优化结果,然而难以处理含有等式约束的居民小区电动汽车充放电控制方法。 The existing charging and discharging scheduling methods for electric vehicles in residential quarters are mainly integer programming, mixed integer programming algorithms and intelligent optimization algorithms. Integer programming and mixed integer programming algorithms cannot deal with nonlinear problems, are prone to fall into local optimum and produce "curse of dimensionality" problems. Intelligent optimization algorithms include particle swarm optimization algorithm, genetic algorithm and improved algorithm based on basic optimization algorithm. These algorithms can achieve more ideal optimization results, but it is difficult to deal with the charging and discharging control method of electric vehicles in residential areas with equality constraints.

粒子群算法(ParticleSwarmOptimization,PSO)具有容易实现、计算速度快、收敛性好等优点,在求解高维度、含不等式约束、非线性等问题上有较好的适应性。而求解含等式约束优化问题则需利用罚函数将等式约束变为无约束,或者把等式约束变成两个不等式约束,再构造新的粒子群优化求解,这些方法都存在粒子位置难以满足等式约束、影响收敛精度的问题。 Particle Swarm Optimization (PSO) has the advantages of easy implementation, fast calculation speed, and good convergence. It has good adaptability in solving high-dimensional, inequality-constrained, nonlinear problems. To solve the optimization problem with equality constraints, it is necessary to use the penalty function to change the equality constraints into unconstrained, or to change the equality constraints into two inequality constraints, and then construct a new particle swarm optimization solution. These methods have difficulty in particle position. Problems that satisfy the equality constraints and affect the convergence accuracy.

发明内容 Contents of the invention

本发明的目的是提供一种居民小区电动汽车充放电控制方法,该方法采用粒子群算法求解,能够显著降低居民小区用电负荷的峰谷差、提高用电负荷率,降低用电负荷波动状况,减少电动汽车充电费用支出。 The purpose of the present invention is to provide a charging and discharging control method for electric vehicles in residential quarters. The method uses particle swarm algorithm to solve the problem, which can significantly reduce the peak-valley difference of electric load in residential quarters, increase the load rate of electric power, and reduce the fluctuation of electric load. , to reduce the cost of charging electric vehicles.

本发明实现其发明目的所采用的技术方法是,一种居民小区电动汽车充放电控制方法,其步骤为: The technical method adopted by the present invention to achieve the purpose of the invention is a method for controlling the charging and discharging of electric vehicles in residential quarters, the steps of which are as follows:

A、记录电动汽车i的动力电池容量Ei、最大充电功率Pmax,i、动力电池可用容量比例ki;并将当日电动汽车i的最初出行时刻、最后返回时刻、日行驶里程,分别设定为次日电动汽车i的最初出行时刻ti,s、最后返回时刻ti,e、日耗电量Si;其中i代表电动汽车的编号,i=1,2,3…I;I为居民小区内电动汽车总数; A. Record the power battery capacity E i , the maximum charging power P max,i , and the available capacity ratio k i of electric vehicle i; It is defined as the first travel time t i,s of electric vehicle i on the next day, the last return time t i,e , and the daily power consumption S i ; where i represents the number of the electric vehicle, i=1,2,3...I; I is the total number of electric vehicles in the residential area;

B、根据小区的历史基础电力负荷数据,预测出次日第j小时(j=1,2,3…24)内的基础负荷Lj,进而得到次日基础负荷的日负荷率F2min、次日基础负荷的峰谷差F1max、次日基础负荷的波动均方差F3maxB. Based on the historical basic power load data of the community, predict the basic load L j in the jth hour (j=1, 2, 3...24) of the next day, and then obtain the daily load rate F 2min and times The peak-to-valley difference F 1max of the daily base load, and the fluctuation mean square error F 3max of the next day's base load;

C、计算次日车主的最大总费用F4max C. Calculate the maximum total cost of the car owner on the next day F 4max

将电动汽车i在次日的最后返回时刻ti,e,即以最大充电功率Pmax,i充电直至充满,所产生的总费用定义为次日车主的最大总费用F4maxThe electric vehicle i is charged at the last return time t i,e of the next day, that is, charged with the maximum charging power P max,i until it is fully charged, and the total cost generated is defined as the maximum total cost F 4max of the owner of the next day:

其中:cpj为第j小时的充电电价;ti,c为电动汽车i在最大充电功率Pmax,i下,将动力电池一次性充满所需的充电小时数,可由下式算出: Among them: cp j is the charging electricity price for the jth hour; t i,c is the charging hours required for the electric vehicle i to fully charge the power battery at one time under the maximum charging power P max,i , which can be calculated by the following formula:

其中:[]为四舍五入取整; Among them: [] is rounded off;

D、充放电功率约束条件和目标函数的确定 D. Determination of charging and discharging power constraints and objective functions

设电动汽车i在次日第j小时内的分时充放电功率为pi,j,则其满足约束条件式(3)-(4): Assuming that the time-sharing charging and discharging power of electric vehicle i in the jth hour of the next day is p i,j , then it satisfies the constraint conditions (3)-(4):

其中,H为高电价时段集合,Z为整数集; Among them, H is a set of high electricity price periods, and Z is an integer set;

式(3)的含义为:只允许电动汽车i在高电价时段放电;式(4)的含义为:任意时刻电动汽车i的净放电量与日耗电量之和不能超过电动汽车i的可用容量; The meaning of formula (3) is: only electric vehicle i is allowed to discharge during the period of high electricity price; the meaning of formula (4) is: the sum of net discharge capacity and daily power consumption of electric vehicle i at any time cannot exceed the available capacity of electric vehicle i capacity;

目标函数为:电动汽车的净充电量与日耗电量的偏差fitness: The objective function is: the deviation fitness between the net charge of the electric vehicle and the daily power consumption:

E、以式(5)值最小为目标函数,以式(3)-(4)为约束条件,通过粒子群算法迭代计算出次日电动汽车i在第j小时的充放电功率pi,j的迭代值Pi,j,则电动汽车i的所有充放电功率迭代值Pi,j的集合构成电动汽车i的充放电粒子Pi,Pi=[Pi,1,Pi,2…Pi,j…Pi,24];居民小区内所有电动汽车充放电粒子Pi的集合构成小区充放电粒子P,P=[P1,P2…Pi…PI]; E. Taking the minimum value of formula (5) as the objective function and formulas (3)-(4) as constraints, iteratively calculate the charging and discharging power p i,j of electric vehicle i in the jth hour of the next day through the particle swarm optimization algorithm The iterative value P i,j of electric vehicle i, then the set of all charging and discharging power iteration values P i,j of electric vehicle i constitutes the charging and discharging particle P i of electric vehicle i, P i =[P i,1 ,P i,2 … P i,j ...P i,24 ]; the collection of all electric vehicle charging and discharging particles P i in the residential area constitutes the charging and discharging particles P of the community, P=[P 1 ,P 2 ...P i ...P I ];

F、次日充放电参数的计算 F. Calculation of charging and discharging parameters for the next day

F1、计算归一化的次日负荷峰谷差F1 *F1. Calculate the normalized load peak-to-valley difference F 1 * of the next day:

小区次日第j小时内的基础负荷Lj加上所有电动汽车i在第j小时的充放电功率pi,j总和即为L′j小区次日第j小时的负荷L′j The sum of the basic load L j of the community in the j hour of the next day plus the charge and discharge power p i,j of all electric vehicles i in the j hour is the load L′ j of the j hour of the L′ j community,

比较小区次日各小时负荷L′j,得出次日的最大负荷L′max和最小负荷L′minComparing the hourly load L′ j of the next day, the maximum load L′ max and the minimum load L′ min of the next day can be obtained,

式中:max表示取最大值,min表示取最小值; In the formula: max means to take the maximum value, and min means to take the minimum value;

进而得到次日负荷的峰谷差F1Then get the peak-to-valley difference F 1 of the next day's load,

F1=L′max-L′min(8) F 1 =L' max -L' min (8)

对次日负荷峰谷差F1用次日基础负荷峰谷差F1max进行归一化处理,得到归一化的次日负荷峰谷差F1 *,F1 *=F1/F1maxNormalize the peak-to-valley difference F 1 of the next day's load with the peak-to-valley difference of the base load F 1max of the next day to obtain the normalized peak-to-valley difference of the next day's load F 1 * , F 1 * = F 1 /F 1max ;

F2、计算归一化的次日日负荷率F2 *F2. Calculate the normalized load rate F 2 * of the next day:

计算次日的平均负荷L′avCalculate the average load L′ av of the next day,

算出次日的平均负荷L′av和次日的最大负荷L′max的比率,即得到次日的日负荷率F2Calculate the ratio of the average load L' av of the next day to the maximum load L' max of the next day, that is, the daily load rate F 2 of the next day,

对次日日负荷率F2用次日基础负荷日负荷率F2min进行归一化处理,得到归一化的次日日负荷率F2 *,F2 *=F2min/F2The daily load rate F 2 of the next day is normalized by the daily load rate F 2min of the base load of the next day to obtain the normalized daily load rate F 2 * of the next day, F 2 * = F 2min /F 2 ;

F3、计算归一化的次日负荷波动均方差F3 *F3. Calculate the normalized mean square error F 3 * of the load fluctuation of the next day:

对次日负荷波动均方差F3用次日基础负荷日负荷率F3max进行归一化处理,得到归一化的次日负荷波动均方差F3 *,F3 *=F3/F3maxNormalize the mean square error of the load fluctuation F 3 of the next day with the daily load rate F 3max of the basic load of the next day to obtain the normalized mean square error of the load fluctuation F 3 * of the next day, F 3 * = F 3 /F 3max ;

F4、计算归一化的次日车主费用F4 *F4. Calculating the normalized next-day owner's fee F 4 * :

式中:ui,j、vi,j分别为第i辆电动汽车在第j小时的充电、放电标志符:充电时ui,j=1,vi,j=0,放电时ui,j=0,vi,j=1;cpj、dpj分别为第j小时的充电电价和放电电价; In the formula: u i,j , v i,j are the charging and discharging identifiers of the i-th electric vehicle at the jth hour respectively: when charging, u i,j =1, v i,j =0, when discharging, u i ,j =0, v i,j =1; cp j , dp j are charging electricity price and discharging electricity price in the jth hour respectively;

对次日的车主费用F4用次日车主的最大总费用F4max进行归一化处理,得到归一化的次日的车主费用F4 *,F4 *=F4/F4maxCarry out normalization processing on the next day's car owner's fee F 4 with the next day's car owner's maximum total fee F 4max to obtain the next day's normalized car owner's fee F 4 * , F 4 * = F 4 /F 4max ;

G、优化目标值的确定: G. Determination of optimization target value:

将步骤F得到的四个归一化参数采用线性加权求和,得到优化目标值F: The four normalization parameters obtained in step F are linearly weighted and summed to obtain the optimization target value F:

式中:w1、w2、w3分别是负荷峰谷差F1、日负荷率F2、波动均方差F3的权系数,其取值均为0.2,w4为车主总费用F4的权系数,其取值为0.4; In the formula: w 1 , w 2 , and w 3 are the weight coefficients of load peak-to-valley difference F 1 , daily load rate F 2 , and fluctuation mean square error F 3 respectively, and their values are all 0.2, and w 4 is the total cost of the vehicle owner F 4 The weight coefficient of , whose value is 0.4;

H、第一次迭代 H. First iteration

重复步骤E-至步骤F的操作L次,得到第一次迭代的L个优化目标值F和L个小区充放电粒子P,令第l个优化目标值为F1,l,第l个小区充放电粒子为P1,l,每个小区充放电粒子P1,l为第l次操作对应的所有电动汽车的次日分时充电功率pi,j的集合,即P1,l=[P1 1,l,P2 1,l…Pi 1,l…PI 1,l];最小的F1,l值所对应的小区充放电粒子P1,l即为全局最优小区充放电粒子Pgbest,完成第一次迭代; Repeat step E- to step F for L times to obtain L optimization target values F and L cell charge and discharge particles P for the first iteration, let the lth optimization target value be F 1,l , and the lth cell The charging and discharging particles are P 1,l , and the charging and discharging particles P 1 ,l in each cell are the set of the time-sharing charging power p i,j of all electric vehicles corresponding to the lth operation, that is, P 1,l = [ P 1 1,l ,P 2 1,l ...P i 1,l ...P I 1,l ]; the cell charging and discharging particle P 1,l corresponding to the smallest F 1,l value is the global optimal cell charging The discharge particle P gbest completes the first iteration;

I、第二次及以后各次迭代 I. The second and subsequent iterations

I1、比较第l个小区充放电粒子历次迭代中的Fk,l值,若第k′次迭代中Fk′,l值最小,则第k′次迭代中的Pk′,l为第l个个体最优小区充放电粒子Pl,pbestI1, compare the F k,l value in the previous iterations of the charging and discharging particles in the l-th cell, if the F k' in the k'th iteration, the l value is the smallest, then the P k' in the k'th iteration, l is the first l individual optimal cell charging and discharging particles P l,pbest ;

I2、以步骤D中的式(5)为目标函数,以式(3)-(4)为约束条件,将上次即k次迭代的全局最优小区充放电粒子Pgbest以及第l个个体最优小区充放电粒子Pl,pbest代入粒子群优化算法,迭代求解得到第k+1次,即本次迭代的小区充放电粒子Pk+1,l,进而得到电动汽车i的充放电粒子Pi k+1,l,由[Pi,1,Pi,2,…Pi,j…Pi,24]=Pi k+1,l得到本次迭代第j小时电动汽车i的充放电功率的迭代值Pi,jI2, with the formula (5) in step D as the objective function, with the formulas (3)-(4) as the constraint conditions, the global optimal cell charging and discharging particles P gbest and the lth individual of the last k iterations The optimal cell charging and discharging particles P l,pbest are substituted into the particle swarm optimization algorithm, and iteratively solved to obtain the k+1th time, that is, the cell charging and discharging particles P k+1,l of this iteration, and then the charging and discharging particles of electric vehicle i are obtained P i k+1,l , from [P i,1 ,P i,2 ,…P i,j …P i,24 ]=P i k+1,l to get Iterative value P i,j of charging and discharging power;

I3、将迭代值Pi,j重新代入步骤F和步骤G,得到第l个小区充放电粒子Pk+1,l的优化目标值Fk+1,lI3, re-substituting the iterative value P i,j into step F and step G, to obtain the optimization target value F k+1,l of the charging and discharging particle P k+1,l of the l-th cell;

I4、重复步骤I1-I3操作L次,最小的Fk+1,l值所对应的小区充放电粒子Pk+1,l即为全局最优小区充放电粒子Pgbest,完成本次迭代; I4. Repeat steps I1-I3 for L times, the cell charge and discharge particle P k+1,l corresponding to the smallest F k+1,l value is the global optimal cell charge and discharge particle P gbest , and complete this iteration;

I5、重复步骤I1-I4操作K次,得到K次迭代时的全局最优小区充放电粒子Pgbest;次日即控制电动汽车i按电动汽车i在次日第j小时的充放电功率等于Pgbest的元素pi,j的值进行充放电。 I5. Repeat steps I1-I4 for K times to obtain the global optimal cell charge and discharge particle P gbest during K iterations; the next day, electric vehicle i is controlled according to the charge and discharge power of electric vehicle i in the jth hour of the next day equal to P The value of the element p i,j of gbest is charged and discharged.

进一步,本发明所述步骤D中,通过粒子群算法以式(5)为目标函数,以式(3)-(4)为约束条件迭代计算出pi,j的第1次迭代值所采用的参数为:权重因子取0.9,学习因子取2.02,粒子规模数取20; Further, in the step D of the present invention, the first iteration value of p i,j is iteratively calculated by using the particle swarm optimization algorithm with formula (5) as the objective function and formulas (3)-(4) as constraints The parameters used are: the weight factor is 0.9, the learning factor is 2.02, and the particle size is 20;

与现有技术相比,本发明的有益效果是: Compared with prior art, the beneficial effect of the present invention is:

一、本发明采用双层离散粒子群算法,通过底层粒子群算法求解各电动汽车满足所有约束条件的充放电计划,再利用顶层粒子群算法优化得出居民小区所有电动汽车充放电功率的控制方法,该算法相比采用罚函数的智能优化算法,进行更精确地优化居民小区电动汽车充放电计划。 1. The present invention adopts a double-layer discrete particle swarm algorithm, solves the charging and discharging plan of each electric vehicle satisfying all constraint conditions through the bottom layer particle swarm algorithm, and then uses the top layer particle swarm optimization algorithm to optimize the control method for the charging and discharging power of all electric vehicles in the residential area , compared with the intelligent optimization algorithm using penalty function, this algorithm optimizes the charging and discharging plan of electric vehicles in residential quarters more accurately.

二、本发明的居民小区电动汽车充放电控制方法不但能够有效改善居民小区的负荷特性指标,提高居民小区的电网设备利用率,同时,还能显著降低电动汽车的充电费用,易于实施和推广。 2. The charging and discharging control method for electric vehicles in residential quarters of the present invention can not only effectively improve the load characteristic indicators of residential quarters, improve the utilization rate of power grid equipment in residential quarters, but also significantly reduce the charging costs of electric vehicles, and is easy to implement and popularize.

下面结合具体实施方式对本发明做进一步的详细说明。 The present invention will be further described in detail below in combination with specific embodiments.

具体实施方式: Detailed ways:

实施例 Example

本发明的一种具体实施方式是,一种居民小区电动汽车充放电控制方法,其步骤为: A specific embodiment of the present invention is a method for controlling charging and discharging of an electric vehicle in a residential area, the steps of which are:

A、记录电动汽车i的动力电池容量Ei、最大充电功率Pmax,i、动力电池可用容量比例ki;并将当日电动汽车i的最初出行时刻、最后返回时刻、日行驶里程,分别设定为次日电动汽车i的最初出行时刻ti,s、最后返回时刻ti,e、日耗电量Si;其中i代表电动汽车的编号,i=1,2,3…I;I为居民小区内电动汽车总数; A. Record the power battery capacity E i , the maximum charging power P max,i , and the available capacity ratio k i of electric vehicle i; It is defined as the first travel time t i,s of electric vehicle i on the next day, the last return time t i,e , and the daily power consumption S i ; where i represents the number of the electric vehicle, i=1,2,3...I; I is the total number of electric vehicles in the residential area;

B、根据小区的历史基础电力负荷数据,预测出次日第j小时(j=1,2,3…24)内的基础负荷Lj,进而得到次日基础负荷的日负荷率F2min、次日基础负荷的峰谷差F1max、次日基础负荷的波动均方差F3maxB. Based on the historical basic power load data of the community, predict the basic load L j in the jth hour (j=1, 2, 3...24) of the next day, and then obtain the daily load rate F 2min and times The peak-to-valley difference F 1max of the daily base load, and the fluctuation mean square error F 3max of the next day's base load;

C、计算次日车主的最大总费用F4max C. Calculate the maximum total cost of the car owner on the next day F 4max

将电动汽车i在次日的最后返回时刻ti,e,即以最大充电功率Pmax,i充电直至充满,所产生的总费用定义为次日车主的最大总费用F4maxThe electric vehicle i is charged at the last return time t i,e of the next day, that is, charged with the maximum charging power P max,i until it is fully charged, and the total cost generated is defined as the maximum total cost F 4max of the owner of the next day:

其中:cpj为第j小时的充电电价;ti,c为电动汽车i在最大充电功率Pmax,i下,将动力电池一次性充满所需的充电小时数,可由下式算出: Among them: cp j is the charging electricity price for the jth hour; t i,c is the charging hours required for the electric vehicle i to fully charge the power battery at one time under the maximum charging power P max,i , which can be calculated by the following formula:

其中:[]为四舍五入取整; Among them: [] is rounded off;

D、充放电功率约束条件和目标函数的确定 D. Determination of charging and discharging power constraints and objective functions

设电动汽车i在次日第j小时内的分时充放电功率为pi,j,则其满足约束条件式(3)-(4): Assuming that the time-sharing charging and discharging power of electric vehicle i in the jth hour of the next day is p i,j , then it satisfies the constraint conditions (3)-(4):

其中,H为高电价时段集合,Z为整数集; Among them, H is a set of high electricity price periods, and Z is an integer set;

式(3)的含义为:只允许电动汽车i在高电价时段放电;式(4)的含义为:任意时刻电动汽车i的净放电量与日耗电量之和不能超过电动汽车i的可用容量; The meaning of formula (3) is: only electric vehicle i is allowed to discharge during the period of high electricity price; the meaning of formula (4) is: the sum of net discharge capacity and daily power consumption of electric vehicle i at any time cannot exceed the available capacity of electric vehicle i capacity;

目标函数为:电动汽车的净充电量与日耗电量的偏差fitness: The objective function is: the deviation fitness between the net charge of the electric vehicle and the daily power consumption:

E、以式(5)值最小为目标函数,以式(3)-(4)为约束条件,通过粒子群算法迭代计算出次日电动汽车i在第j小时的充放电功率pi,j的迭代值Pi,j,则电动汽车i的所有充放电功率迭代值Pi,j的集合构成电动汽车i的充放电粒子Pi,Pi=[Pi,1,Pi,2…Pi,j…Pi,24];居民小区内所有电动汽车充放电粒子Pi的集合构成小区充放电粒子P,P=[P1,P2…Pi…PI]; E. Taking the minimum value of formula (5) as the objective function and formulas (3)-(4) as constraints, iteratively calculate the charging and discharging power p i,j of electric vehicle i in the jth hour of the next day through the particle swarm optimization algorithm The iterative value P i,j of electric vehicle i, then the set of all charging and discharging power iteration values P i,j of electric vehicle i constitutes the charging and discharging particle P i of electric vehicle i, P i =[P i,1 ,P i,2 … P i,j ...P i,24 ]; the collection of all electric vehicle charging and discharging particles P i in the residential area constitutes the charging and discharging particles P of the community, P=[P 1 ,P 2 ...P i ...P I ];

F、次日充放电参数的计算 F. Calculation of charging and discharging parameters for the next day

F1、计算归一化的次日负荷峰谷差F1 *F1. Calculate the normalized load peak-to-valley difference F 1 * of the next day:

小区次日第j小时内的基础负荷Lj加上所有电动汽车i在第j小时的充放电功率pi,j总和即为L′j小区次日第j小时的负荷L′j The sum of the basic load L j of the community in the j hour of the next day plus the charge and discharge power p i,j of all electric vehicles i in the j hour is the load L′ j of the j hour of the L′ j community,

比较小区次日各小时负荷L′j,得出次日的最大负荷L′max和最小负荷L′minComparing the hourly load L′ j of the next day, the maximum load L′ max and the minimum load L′ min of the next day can be obtained,

式中:max表示取最大值,min表示取最小值; In the formula: max means to take the maximum value, and min means to take the minimum value;

进而得到次日负荷的峰谷差F1Then get the peak-to-valley difference F 1 of the next day's load,

F1=L′max-L′min(8) F 1 =L' max -L' min (8)

对次日负荷峰谷差F1用次日基础负荷峰谷差F1max进行归一化处理,得到归一化的次日负荷峰谷差F1 *,F1 *=F1/F1maxNormalize the peak-to-valley difference F 1 of the next day's load with the peak-to-valley difference of the base load F 1max of the next day to obtain the normalized peak-to-valley difference of the next day's load F 1 * , F 1 * = F 1 /F 1max ;

F2、计算归一化的次日日负荷率F2 *F2. Calculate the normalized load rate F 2 * of the next day:

计算次日的平均负荷L′avCalculate the average load L′ av of the next day,

算出次日的平均负荷L′av和次日的最大负荷L′max的比率,即得到次日的日负荷率F2Calculate the ratio of the average load L' av of the next day to the maximum load L' max of the next day, that is, the daily load rate F 2 of the next day,

对次日日负荷率F2用次日基础负荷日负荷率F2min进行归一化处理,得到归一化的次日日负荷率F2 *,F2 *=F2min/F2The daily load rate F 2 of the next day is normalized by the daily load rate F 2min of the base load of the next day to obtain the normalized daily load rate F 2 * of the next day, F 2 * = F 2min /F 2 ;

F3、计算归一化的次日负荷波动均方差F3 *F3. Calculate the normalized mean square error F 3 * of the load fluctuation of the next day:

对次日负荷波动均方差F3用次日基础负荷日负荷率F3max进行归一化处理,得到归一化的次日负荷波动均方差F3 *,F3 *=F3/F3maxNormalize the mean square error of the load fluctuation F 3 of the next day with the daily load rate F 3max of the basic load of the next day to obtain the normalized mean square error of the load fluctuation F 3 * of the next day, F 3 * = F 3 /F 3max ;

F4、计算归一化的次日车主费用F4 *F4. Calculating the normalized next-day owner's fee F 4 * :

式中:ui,j、vi,j分别为第i辆电动汽车在第j小时的充电、放电标志符:充电时ui,j=1,vi,j=0,放电时ui,j=0,vi,j=1;cpj、dpj分别为第j小时的充电电价和放电电价; In the formula: u i,j , v i,j are the charging and discharging identifiers of the i-th electric vehicle at the jth hour respectively: when charging, u i,j =1, v i,j =0, when discharging, u i ,j =0, v i,j =1; cp j , dp j are charging electricity price and discharging electricity price in the jth hour respectively;

对次日的车主费用F4用次日车主的最大总费用F4max进行归一化处理,得到归一化的次日的车主费用F4 *,F4 *=F4/F4maxCarry out normalization processing on the next day's car owner's fee F 4 with the next day's car owner's maximum total fee F 4max to obtain the next day's normalized car owner's fee F 4 * , F 4 * = F 4 /F 4max ;

G、优化目标值的确定: G. Determination of optimization target value:

将步骤F得到的四个归一化参数采用线性加权求和,得到优化目标值F: The four normalization parameters obtained in step F are linearly weighted and summed to obtain the optimization target value F:

F=w1F1 *+w2F2 *+w3F3 *+w4F4 *(13) F=w 1 F 1 * +w 2 F 2 * +w 3 F 3 * +w 4 F 4 * (13)

式中:w1、w2、w3分别是负荷峰谷差F1、日负荷率F2、波动均方差F3的权系数,其取值均为0.2,w4为车主总费用F4的权系数,其取值为0.4; In the formula: w 1 , w 2 , and w 3 are the weight coefficients of load peak-to-valley difference F 1 , daily load rate F 2 , and fluctuation mean square error F 3 respectively, and their values are all 0.2, and w 4 is the total cost of the vehicle owner F 4 The weight coefficient of , whose value is 0.4;

H、第一次迭代 H. First iteration

重复步骤E-至步骤F的操作L次,得到第一次迭代的L个优化目标值F和L个小区充放电粒子P,令第l个优化目标值为F1,l,第l个小区充放电粒子为P1,l,每个小区充放电粒子P1,l为第l次操作对应的所有电动汽车的次日分时充电功率pi,j的集合,即P1,l=[P1 1,l,P2 1,l…Pi 1,l…PI 1,l];最小的F1,l值所对应的小区充放电粒子P1,l即为全局最优小区充放电粒子Pgbest,完成第一次迭代; Repeat step E- to step F for L times to obtain L optimization target values F and L cell charge and discharge particles P for the first iteration, let the lth optimization target value be F 1,l , and the lth cell The charging and discharging particles are P 1,l , and the charging and discharging particles P 1 ,l in each cell are the set of the time-sharing charging power p i,j of all electric vehicles corresponding to the lth operation, that is, P 1,l = [ P 1 1,l ,P 2 1,l ...P i 1,l ...P I 1,l ]; the cell charging and discharging particle P 1,l corresponding to the smallest F 1,l value is the global optimal cell charging The discharge particle P gbest completes the first iteration;

I、第二次及以后各次迭代 I. The second and subsequent iterations

I1、比较第l个小区充放电粒子历次迭代中的Fk,l值,若第k′次迭代中Fk′,l值最小,则第k′次迭代中的Pk′,l为第l个个体最优小区充放电粒子Pl,pbestI1, compare the F k,l value in the previous iterations of the charging and discharging particles in the l-th cell, if the F k' in the k'th iteration, the l value is the smallest, then the P k' in the k'th iteration, l is the first l individual optimal cell charging and discharging particles P l,pbest ;

I2、以步骤D中的式(5)为目标函数,以式(3)-(4)为约束条件,将上次即k次迭代的全局最优小区充放电粒子Pgbest以及第l个个体最优小区充放电粒子Pl,pbest代入粒子群优化算法,迭代求解得到第k+1次,即本次迭代的小区充放电粒子Pk+1,l,进而得到电动汽车i的充放电粒子Pi k+1,l,由[Pi,1,Pi,2,…Pi,j…Pi,24]=Pi k+1,l得到本次迭代第j小时电动汽车i的充放电功率的迭代值Pi,jI2, with the formula (5) in step D as the objective function, with the formulas (3)-(4) as the constraint conditions, the global optimal cell charging and discharging particles P gbest and the lth individual of the last k iterations The optimal cell charging and discharging particles P l,pbest are substituted into the particle swarm optimization algorithm, and iteratively solved to obtain the k+1th time, that is, the cell charging and discharging particles P k+1,l of this iteration, and then the charging and discharging particles of electric vehicle i are obtained P i k+1,l , from [P i,1 ,P i,2 ,…P i,j …P i,24 ]=P i k+1,l to get Iterative value P i,j of charging and discharging power;

I3、将迭代值Pi,j重新代入步骤F和步骤G,得到第l个小区充放电粒子Pk+1,l的优化目标值Fk+1,lI3, re-substituting the iterative value P i,j into step F and step G, to obtain the optimization target value F k+1,l of the charging and discharging particle P k+1,l of the l-th cell;

I4、重复步骤I1-I3操作L次,最小的Fk+1,l值所对应的小区充放电粒子Pk+1,l即为全局最优小区充放电粒子Pgbest,完成本次迭代; I4. Repeat steps I1-I3 for L times, the cell charge and discharge particle P k+1,l corresponding to the smallest F k+1,l value is the global optimal cell charge and discharge particle P gbest , and complete this iteration;

I5、重复步骤I1-I4操作K次,得到K次迭代时的全局最优小区充放电粒子Pgbest;次日即控制电动汽车i按电动汽车i在次日第j小时的充放电功率等于Pgbest的元素pi,j的值进行充放电。 I5. Repeat steps I1-I4 for K times to obtain the global optimal cell charge and discharge particle P gbest during K iterations; the next day, electric vehicle i is controlled according to the charge and discharge power of electric vehicle i in the jth hour of the next day equal to P The value of the element p i,j of gbest is charged and discharged.

本例的步骤D中,通过粒子群算法以式(5)为目标函数,以式(3)-(4)为约束条件迭代计算出pi,j的第1次迭代值所采用的参数为:权重因子取0.9,学习因子取2.02,粒子规模数取20; In step D of this example, the first iteration value of p i,j is iteratively calculated by the particle swarm optimization algorithm with equation (5) as the objective function and equations (3)-(4) as constraints The parameters used are: the weight factor is 0.9, the learning factor is 2.02, and the particle size is 20;

本例所述步骤I2中对以步骤D中的式(5)为目标函数,以式(3)-(4)为约束条件,将上次即k次迭代的全局最优小区充放电粒子Pgbest以及第l个个体最优小区充放电粒子Pl,pbest代入粒子群优化算法,迭代求解得到第k+1次,即本次迭代的小区充放电粒子Pk+1,l的具体步骤是: In the step I2 described in this example, with the formula (5) in the step D as the objective function, and with the formulas (3)-(4) as the constraint conditions, the global optimal cell charging and discharging particle P of the last k iterations is gbest and the lth individual optimal cell charging and discharging particles P l,pbest are substituted into the particle swarm optimization algorithm, and iteratively solved to obtain the k+1th time, that is, the specific steps of the cell charging and discharging particles P k+1,l in this iteration are as follows: :

I21、第l个个体最优小区充放电粒子Pl,pbest和k次迭代的全局最优小区充放电粒子Pgbest分解为个体最优电动汽车充放电粒子[P1 l,pbest,P2 l,pbest…Pi l,pbest…PI l,pbest]=Pl,pbest,全局最优电动汽车充放电粒子[P1 gbest,P2 gbest…Pi gbest…PI gbest]=Pgbest,以个体最优电动汽车充放电粒子Pi l,pbest作为个体最优位置、全局最优电动汽车充放电粒子Pi gbest作为全局最优位置,进行粒子群算法的第一次运算得到求解第k+1次迭代的第i辆电动汽车充放电粒子的初值Pi k+1,l,0I21. The lth individual optimal cell charge and discharge particle P l,pbest and the global optimal cell charge and discharge particle P gbest of k iterations are decomposed into individual optimal electric vehicle charge and discharge particles [P 1 l,pbest ,P 2 l ,pbest ...P i l,pbest ...P I l,pbest ]=P l,pbest , global optimal electric vehicle charge and discharge particles [P 1 gbest ,P 2 gbest ...P i gbest ...P I gbest ]=P gbest , Taking the individual optimal electric vehicle charging and discharging particle P i l,pbest as the individual optimal position, and the global optimal electric vehicle charging and discharging particle P i gbest as the global optimal position, the first calculation of the particle swarm algorithm is performed to obtain the kth The initial value P i k+1,l,0 of the charging and discharging particles of the i-th electric vehicle in the +1 iteration;

I22、将第k+1次迭代的第i辆电动汽车充放电粒子的初值Pi k+1,l,0作为第i辆电动汽车的个体最优位置,并取令式(5)最小的第i辆电动汽车充放电粒子的初值作为全局最优位置,通过以式(5)作为目标函数,以式(3)-(4)作为约束条件进行粒子群算法,迭代算出第i辆电动汽车的充放电粒子Pi k+1,l;进而得到第k+1次迭代的第l个小区充放电粒子Pk+1,lI22. Take the initial value P i k+1,l,0 of the charging and discharging particles of the i-th electric vehicle in the k+1 iteration as the individual optimal position of the i-th electric vehicle, and take the minimum of the formula (5) The initial value of the charging and discharging particles of the i-th electric vehicle is taken as the global optimal position. By using formula (5) as the objective function and formulas (3)-(4) as constraints, the particle swarm algorithm is used to iteratively calculate the i-th electric vehicle The charging and discharging particles P i k+1,l of electric vehicles; and then get the charging and discharging particles P k+1,l of the lth cell in the k+1th iteration;

仿真验证: Simulation:

一、仿真试验的参数和条件如下: 1. The parameters and conditions of the simulation test are as follows:

居民小区有住户389户,汽车总数为300辆,假设其出行开始时刻服从正态分布: There are 389 households in the residential area, and the total number of cars is 300. Assume that the start time of their travel follows a normal distribution:

其中:μL=7.2,σL=2.1(h); Among them: μ L =7.2, σ L =2.1(h);

最后出行结束时刻的服从正态分布: The final trip end time follows a normal distribution:

其中:μL=17.6,σL=3.4(h); Among them: μ L =17.6, σ L =3.4(h);

日行驶里程服从对数正态分布: The daily mileage follows a lognormal distribution:

其中:μD=3.2,σL=0.88(英里); Where: μ D = 3.2, σ L = 0.88 (miles);

该居民小区2014年1月某日的日负荷如表1所示: The daily load of the residential area on a certain day in January 2014 is shown in Table 1:

表1居民小区2014年冬季1月某日负荷 Table 1 Residential area load on a certain day in January in winter 2014

根据表1可计算次日基础负荷的日负荷率、峰谷差和负荷均方差等指标,采用深圳居民用电分时电价如表2所示: According to Table 1, the daily load rate, peak-to-valley difference, and load mean square deviation of the next day’s base load can be calculated, and the time-of-use electricity price for Shenzhen residents is used as shown in Table 2:

表2深圳市冬季居民电价表 Table 2 Electricity Price List for Residents in Shenzhen in Winter

二、仿真试验结果: 2. Simulation test results:

表1是无序充电模式(车主在最后一次出行结束后立即以最大功率充电,直至荷电状态达到最大允许值)下的仿真试验结果;表2是本发明方法的仿真试验结果。渗透率为电动汽车数占汽车总数的比率。 Table 1 is the simulation test result under the disorderly charging mode (the car owner charges with maximum power immediately after the last trip, until the state of charge reaches the maximum allowable value); Table 2 is the simulation test result of the inventive method. Penetration is the ratio of the number of electric vehicles to the total number of vehicles.

表1无序充电模式的仿真试验结果 Table 1 Simulation test results of disordered charging mode

表2本发明方法的仿真试验结果 The simulation test result of the inventive method of table 2

表中的渗透率为电动汽车数占汽车总数的比率。从表1、表2可以看出:在相同的渗透率(电动汽车数)下,本发明方法的仿真试验得到的各项指标均优于无序充电的指标。如在渗透率为50%(即电动汽车为150辆)时:电动汽车车主需要交的电费,采用本发明方法只需395.4042元、而无序充电则为899.7931元,采用本发明方法的日负荷波动71.2883kW,日负荷峰值为469.4kW,日负荷峰谷差为205.8kW,而无序充电则分别高达167.3819kW;666.8kW,548.8kW。 The penetration rate in the table is the ratio of the number of electric vehicles to the total number of vehicles. As can be seen from Table 1 and Table 2: under the same penetration rate (number of electric vehicles), each index obtained by the simulation test of the inventive method is better than the index of disorderly charging. When the penetration rate is 50% (i.e. electric cars are 150): the electric charge that the owner of the electric car needs to pay only needs 395.4042 yuan by the method of the present invention, and 899.7931 yuan for disorderly charging, and the daily load by the method of the present invention The fluctuation is 71.2883kW, the daily peak load is 469.4kW, and the daily load peak-to-valley difference is 205.8kW, while the disordered charging is as high as 167.3819kW; 666.8kW, 548.8kW respectively.

Claims (2)

1.一种居民小区电动汽车充放电控制方法,其步骤为:1. A charging and discharging control method for an electric vehicle in a residential area, the steps of which are: A、记录电动汽车i的动力电池容量Ei、最大充电功率Pmax,i、动力电池可用容量比例ki;并将当日电动汽车i的最初出行时刻、最后返回时刻、日行驶里程,分别设定为次日电动汽车i的最初出行时刻ti,s、最后返回时刻ti,e、日耗电量Si;其中i代表电动汽车的编号,i=1,2,3…I;I为居民小区内电动汽车总数;A. Record the power battery capacity E i , the maximum charging power P max,i , and the available capacity ratio k i of electric vehicle i; It is defined as the first travel time t i,s of electric vehicle i on the next day, the last return time t i,e , and the daily power consumption S i ; where i represents the number of the electric vehicle, i=1,2,3...I; I is the total number of electric vehicles in the residential area; B、根据小区的历史基础电力负荷数据,预测出次日第j小时(j=1,2,3…24)内的基础负荷Lj,进而得到次日基础负荷的日负荷率F2min、次日基础负荷的峰谷差F1max、次日基础负荷的波动均方差F3maxB. Based on the historical basic power load data of the community, predict the basic load L j in the jth hour (j=1, 2, 3...24) of the next day, and then obtain the daily load rate F 2min and times The peak-to-valley difference F 1max of the daily base load, and the fluctuation mean square error F 3max of the next day's base load; C、计算次日车主的最大总费用F4max C. Calculate the maximum total cost of the car owner on the next day F 4max 将电动汽车i在次日的最后返回时刻ti,e,即以最大充电功率Pmax,i充电直至充满,所产生的总费用定义为次日车主的最大总费用F4maxThe electric vehicle i is charged at the last return time t i,e of the next day, that is, charged with the maximum charging power P max,i until it is fully charged, and the total cost generated is defined as the maximum total cost F 4max of the owner of the next day: Ff 44 mm aa xx == &Sigma;&Sigma; ii == 11 II &Sigma;&Sigma; jj == tt ii ,, ee ++ 11 tt ii ,, ee ++ tt ii ,, cc (( PP mm aa xx ,, ii &CenterDot;&CenterDot; cpcp jj )) -- -- -- (( 11 )) 其中:cpj为第j小时的充电电价;ti,c为电动汽车i在最大充电功率Pmax,i下,将动力电池一次性充满所需的充电小时数,可由下式算出:Among them: cp j is the charging electricity price for the jth hour; t i,c is the charging hours required for the electric vehicle i to fully charge the power battery at one time under the maximum charging power P max,i , which can be calculated by the following formula: tt ii ,, cc == &lsqb;&lsqb; SS ii PP mm aa xx ,, ii &rsqb;&rsqb; -- -- -- (( 22 )) 其中:[]为四舍五入取整;Among them: [] is rounded off; D、充放电功率约束条件和目标函数的确定D. Determination of charging and discharging power constraints and objective functions 设电动汽车i在次日第j小时内的分时充放电功率为pi,j,则其满足约束条件式(3)-(4):Assuming that the time-sharing charging and discharging power of electric vehicle i in the jth hour of the next day is p i,j , then it satisfies the constraint conditions (3)-(4): 其中,H为高电价时段集合,Z为整数集;Among them, H is a set of high electricity price periods, and Z is an integer set; {{ -- &Sigma;&Sigma; jj == 11 11 pp ii ,, jj ++ SS ii << kk ii &CenterDot;&Center Dot; EE. ii -- &Sigma;&Sigma; jj == 11 22 pp ii ,, jj ++ SS ii << kk ii &CenterDot;&Center Dot; EE. ii .. .. .. -- &Sigma;&Sigma; jj == 11 24twenty four pp ii ,, jj ++ SS ii << kk ii &CenterDot;&Center Dot; EE. ii -- -- -- (( 44 )) 式(3)的含义为:只允许电动汽车i在高电价时段放电;式(4)的含义为:任意时刻电动汽车i的净放电量与日耗电量之和不能超过电动汽车i的可用容量;The meaning of formula (3) is: only electric vehicle i is allowed to discharge during the period of high electricity price; the meaning of formula (4) is: the sum of net discharge capacity and daily power consumption of electric vehicle i at any time cannot exceed the available capacity of electric vehicle i capacity; 目标函数为:电动汽车的净充电量与日耗电量的偏差fitness:The objective function is: the deviation fitness between the net charge of the electric vehicle and the daily power consumption: ff ii tt nno ee sthe s sthe s == || &Sigma;&Sigma; jj == 11 24twenty four pp ii ,, jj -- &lsqb;&lsqb; SS ii &rsqb;&rsqb; || -- -- -- (( 55 )) E、以式(5)值最小为目标函数,以式(3)-(4)为约束条件,通过粒子群算法迭代计算出次日电动汽车i在第j小时的充放电功率pi,j的迭代值Pi,j,则电动汽车i的所有充放电功率迭代值Pi,j的集合构成电动汽车i的充放电粒子Pi,Pi=[Pi,1,Pi,2…Pi,j…Pi,24];居民小区内所有电动汽车充放电粒子Pi的集合构成小区充放电粒子P,P=[P1,P2…Pi…PI];E. Taking the minimum value of formula (5) as the objective function and formulas (3)-(4) as constraints, iteratively calculate the charging and discharging power p i,j of electric vehicle i in the jth hour of the next day through the particle swarm optimization algorithm The iterative value P i,j of electric vehicle i, then the set of all charging and discharging power iteration values P i,j of electric vehicle i constitutes the charging and discharging particle P i of electric vehicle i, P i =[P i,1 ,P i,2 … P i,j ...P i,24 ]; the collection of all electric vehicle charging and discharging particles P i in the residential area constitutes the charging and discharging particles P of the community, P=[P 1 ,P 2 ...P i ...P I ]; F、次日充放电参数的计算F. Calculation of charging and discharging parameters for the next day F1、计算归一化的次日负荷峰谷差 F1. Calculate the normalized load peak-to-valley difference of the next day 小区次日第j小时内的基础负荷Lj加上所有电动汽车i在第j小时的充放电功率pi,j总和即为L′j小区次日第j小时的负荷L′j The sum of the basic load L j of the community in the j hour of the next day plus the charge and discharge power p i,j of all electric vehicles i in the j hour is the load L′ j of the j hour of the L′ j community, 比较小区次日各小时负荷L′j,得出次日的最大负荷L′max和最小负荷L′minComparing the hourly load L′ j of the next day, the maximum load L′ max and the minimum load L′ min of the next day can be obtained, LL mm aa xx &prime;&prime; == mm aa xx &lsqb;&lsqb; (( LL 11 ++ &Sigma;&Sigma; ii == 11 II pp ii ,, 11 )) ,, (( LL 22 ++ &Sigma;&Sigma; ii == 11 II pp ii ,, 22 )) ...... ,, (( LL 24twenty four ++ &Sigma;&Sigma; ii == 11 II pp ii ,, 24twenty four )) &rsqb;&rsqb; -- -- -- (( 66 )) LL minmin &prime;&prime; == minmin &lsqb;&lsqb; (( LL 11 ++ &Sigma;&Sigma; ii == 11 II pp ii ,, 11 )) ,, (( LL 22 ++ &Sigma;&Sigma; ii == 11 II pp ii ,, 22 )) ...... ,, (( LL 24twenty four ++ &Sigma;&Sigma; ii == 11 II pp ii ,, 24twenty four )) &rsqb;&rsqb; -- -- -- (( 77 )) 式中:max表示取最大值,min表示取最小值;In the formula: max means to take the maximum value, and min means to take the minimum value; 进而得到次日负荷的峰谷差F1Then get the peak-to-valley difference F 1 of the next day's load, F1=L′max-L′min(8)F 1 =L' max -L' min (8) 对次日负荷峰谷差F1用次日基础负荷峰谷差F1max进行归一化处理,得到归一化的次日负荷峰谷差 F 1 * = F 1 / F 1 max ; Normalize the peak-to-valley difference F 1 of the next day's load with the peak-to-valley difference of the next day's base load F 1max to obtain the normalized peak-to-valley difference of the next day's load f 1 * = f 1 / f 1 max ; F2、计算归一化的次日日负荷率 F2. Calculate the normalized load rate of the next day 计算次日的平均负荷L′avCalculate the average load L′ av of the next day, LL aa vv &prime;&prime; == &lsqb;&lsqb; &Sigma;&Sigma; jj == 11 24twenty four (( LL jj ++ &Sigma;&Sigma; ii == 11 II pp ii ,, jj )) &rsqb;&rsqb; // 24twenty four -- -- -- (( 99 )) 算出次日的平均负荷L′av和次日的最大负荷L′max的比率,即得到次日的日负荷率F2Calculate the ratio of the average load L' av of the next day to the maximum load L' max of the next day, that is, the daily load rate F 2 of the next day, Ff 22 == LL aa vv &prime;&prime; LL maxmax &prime;&prime; &times;&times; 100100 %% -- -- -- (( 1010 )) 对次日日负荷率F2用次日基础负荷日负荷率F2min进行归一化处理,得到归一化的次日日负荷率 F 2 * = F 2 m i n / F 2 ; The next day's daily load rate F 2 is normalized by the next day's base load daily load rate F 2min to obtain the normalized next day's daily load rate f 2 * = f 2 m i no / f 2 ; F3、计算归一化的次日负荷波动均方差 F3. Calculate the normalized mean square error of the load fluctuation of the next day Ff 33 == &Sigma;&Sigma; jj == 11 24twenty four (( LL jj ++ &Sigma;&Sigma; ii == 11 II pp ii ,, jj -- LL aa vv &prime;&prime; )) 22 // 24twenty four -- -- -- (( 1111 )) 对次日负荷波动均方差F3用次日基础负荷日负荷率F3max进行归一化处理,得到归一化的次日负荷波动均方差 F 3 * = F 3 / F 3 m a x ; Normalize the mean square error of the next day's load fluctuation F 3 with the daily load rate of the next day's base load F 3max to obtain the normalized mean square error of the next day's load fluctuation f 3 * = f 3 / f 3 m a x ; F4、计算归一化的次日车主费用 F4. Calculation of the normalized next-day owner's fee Ff 44 == &Sigma;&Sigma; ii == 11 II &Sigma;&Sigma; jj == 11 24twenty four (( uu ii ,, jj pp ii ,, jj cpcp jj ++ vv ii ,, jj pp ii ,, jj dpdp jj )) &CenterDot;&CenterDot; &Delta;&Delta; tt -- -- -- (( 1212 )) 式中:ui,j、vi,j分别为第i辆电动汽车在第j小时的充电、放电标志符:充电时ui,j=1,vi,j=0,放电时ui,j=0,vi,j=1;cpj、dpj分别为第j小时的充电电价和放电电价;In the formula: u i,j , v i,j are the charging and discharging identifiers of the i-th electric vehicle at the jth hour respectively: when charging, u i,j =1, v i,j =0, when discharging, u i ,j =0, v i,j =1; cp j , dp j are charging electricity price and discharging electricity price in the jth hour respectively; 对次日的车主费用F4用次日车主的最大总费用F4max进行归一化处理,得到归一化的次日的车主费用 F 4 * = F 4 / F 4 m a x ; Carry out normalization processing on the next day's car owner's fee F 4 with the next day's car owner's maximum total fee F 4max to obtain the next day's normalized car owner's fee f 4 * = f 4 / f 4 m a x ; G、优化目标值的确定:G. Determination of optimization target value: 将步骤F得到的四个归一化参数采用线性加权求和,得到优化目标值F:The four normalized parameters obtained in step F are linearly weighted and summed to obtain the optimization target value F: Ff == ww 11 Ff 11 ** ++ ww 22 Ff 22 ** ++ ww 33 Ff 33 ** ++ ww 44 Ff 44 ** -- -- -- (( 1313 )) 式中:w1、w2、w3分别是负荷峰谷差F1、日负荷率F2、波动均方差F3的权系数,其取值均为0.2,w4为车主总费用F4的权系数,其取值为0.4;In the formula: w 1 , w 2 , and w 3 are the weight coefficients of load peak-to-valley difference F 1 , daily load rate F 2 , and fluctuation mean square error F 3 respectively, and their values are all 0.2, and w 4 is the total cost of the vehicle owner F 4 The weight coefficient of , whose value is 0.4; H、第一次迭代H. The first iteration 重复步骤E-至步骤F的操作L次,得到第一次迭代的L个优化目标值F和L个小区充放电粒子P,令第l个优化目标值为F1,l,第l个小区充放电粒子为P1,l,每个小区充放电粒子P1,l为第l次操作对应的所有电动汽车的次日分时充电功率pi,j的集合,即最小的F1,l值所对应的小区充放电粒子P1,l即为全局最优小区充放电粒子Pgbest,完成第一次迭代;Repeat step E- to step F for L times to obtain L optimization target values F and L cell charge and discharge particles P for the first iteration, let the lth optimization target value be F 1,l , and the lth cell The charging and discharging particle is P 1,l , and the charging and discharging particle P 1 ,l in each cell is the collection of the next day’s time-sharing charging power p i,j of all electric vehicles corresponding to the lth operation, that is The cell charging and discharging particle P 1,l corresponding to the smallest F 1,l value is the global optimal cell charging and discharging particle P gbest , and the first iteration is completed; I、第二次及以后各次迭代I. The second and subsequent iterations I1、比较第l个小区充放电粒子历次迭代中的Fk,l值,若第k′次迭代中Fk′,l值最小,则第k′次迭代中的Pk′,l为第l个个体最优小区充放电粒子Pl,pbestI1, compare the F k, l value in the previous iterations of the charging and discharging particles in the l-th cell, if the F k ', l value is the smallest in the k' iteration, then the P k' in the k' iteration, l is the first l individual optimal cell charging and discharging particles P l,pbest ; I2、以步骤D中的式(5)为目标函数,以式(3)-(4)为约束条件,将上次即k次迭代的全局最优小区充放电粒子Pgbest以及第l个个体最优小区充放电粒子Pl,pbest代入粒子群优化算法,迭代求解得到第k+1次,即本次迭代的小区充放电粒子Pk+1,l,进而得到电动汽车i的充放电粒子得到本次迭代第j小时电动汽车i的充放电功率的迭代值Pi,jI2, with the formula (5) in step D as the objective function, with the formulas (3)-(4) as the constraint conditions, the global optimal cell charging and discharging particles P gbest and the lth individual of the last k iterations The optimal cell charging and discharging particles P l,pbest are substituted into the particle swarm optimization algorithm, and iteratively solved to obtain the k+1th time, that is, the cell charging and discharging particles P k+1,l of this iteration, and then the charging and discharging particles of electric vehicle i are obtained Depend on Obtain the iteration value P i,j of the charging and discharging power of electric vehicle i in the jth hour of this iteration; I3、将迭代值Pi,j重新代入步骤F和步骤G,得到第l个小区充放电粒子Pk+1,l的优化目标值Fk+1,lI3, re-substituting the iterative value P i,j into step F and step G, to obtain the optimization target value F k+1,l of the charging and discharging particle P k+1,l of the l-th cell; I4、重复步骤I1-I3操作L次,最小的Fk+1,l值所对应的小区充放电粒子Pk+1,l即为全局最优小区充放电粒子Pgbest,完成本次迭代;I4. Repeat steps I1-I3 for L times, the cell charge and discharge particle P k+1,l corresponding to the smallest F k+1,l value is the global optimal cell charge and discharge particle P gbest , and complete this iteration; I5、重复步骤I1-I4操作K次,得到K次迭代时的全局最优小区充放电粒子Pgbest;次日即控制电动汽车i按电动汽车i在次日第j小时的充放电功率等于Pgbest的元素pi,j的值进行充放电。I5. Repeat steps I1-I4 for K times to obtain the global optimal cell charge and discharge particle P gbest during K iterations; the next day, electric vehicle i is controlled according to the charge and discharge power of electric vehicle i in the jth hour of the next day equal to P The value of the element p i,j of gbest is charged and discharged. 2.根据权利要求1所述的一种小区电动汽车充放电控制方法,其特征在于:所述步骤D中,通过粒子群算法以式(5)为目标函数,以式(3)-(4)为约束条件迭代计算出pi,j的第1次迭代值所采用的参数为:权重因子取0.9,学习因子取2.02,粒子规模数取20。2. a kind of district electric vehicle charging and discharging control method according to claim 1 is characterized in that: in described step D, by particle swarm optimization algorithm with formula (5) as objective function, with formula (3)-(4 ) Calculate the first iteration value of p i,j for the constraint iteration The parameters used are: the weight factor is 0.9, the learning factor is 2.02, and the particle size is 20.
CN201510471445.2A 2015-08-04 2015-08-04 Residential area electric automobile charge/discharge control method Active CN105068419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510471445.2A CN105068419B (en) 2015-08-04 2015-08-04 Residential area electric automobile charge/discharge control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510471445.2A CN105068419B (en) 2015-08-04 2015-08-04 Residential area electric automobile charge/discharge control method

Publications (2)

Publication Number Publication Date
CN105068419A true CN105068419A (en) 2015-11-18
CN105068419B CN105068419B (en) 2017-10-13

Family

ID=54497810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510471445.2A Active CN105068419B (en) 2015-08-04 2015-08-04 Residential area electric automobile charge/discharge control method

Country Status (1)

Country Link
CN (1) CN105068419B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868942A (en) * 2016-06-07 2016-08-17 北京交通大学 Ordered charging scheduling method for electric vehicle
CN105976270A (en) * 2016-05-25 2016-09-28 西南交通大学 Dynamic probability distribution determination method for charging load of electric automobile under time-of-use power price
CN106251244A (en) * 2016-08-09 2016-12-21 中国南方电网有限责任公司电网技术研究中心 Power distribution network transformation method considering comprehensive utilization rate of equipment
CN109167347A (en) * 2018-08-06 2019-01-08 云南民族大学 Based on the adaptive population multiple target electric car charge and discharge Optimization Scheduling of cloud
CN109214095A (en) * 2018-09-13 2019-01-15 云南民族大学 Electric car charge and discharge Multiobjective Optimal Operation method
CN109383323A (en) * 2017-12-05 2019-02-26 暨南大学 A kind of charge and discharge optimal control method of electric car group
CN111199311A (en) * 2019-12-24 2020-05-26 国网江苏省电力有限公司扬州供电分公司 Residential area charging facility power optimization method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004265068A (en) * 2003-02-28 2004-09-24 Nippon Steel Corp Control characteristic adjustment device, supply and demand adjustment system, power supply and demand adjustment system, control characteristic adjustment method, computer program, and computer-readable recording medium
CN102723721A (en) * 2012-05-31 2012-10-10 西南交通大学 Power system reactive power optimization method based on individual optimal position self-adaptive variation disturbance particle swarm algorithm
CN102931696A (en) * 2012-10-15 2013-02-13 广东电网公司电力科学研究院 Charging scheduling method for electric automobile battery swapping station
CN104682397A (en) * 2015-03-24 2015-06-03 西南交通大学 Method for calculating and cutting off overloads of city power grid including electric vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004265068A (en) * 2003-02-28 2004-09-24 Nippon Steel Corp Control characteristic adjustment device, supply and demand adjustment system, power supply and demand adjustment system, control characteristic adjustment method, computer program, and computer-readable recording medium
CN102723721A (en) * 2012-05-31 2012-10-10 西南交通大学 Power system reactive power optimization method based on individual optimal position self-adaptive variation disturbance particle swarm algorithm
CN102931696A (en) * 2012-10-15 2013-02-13 广东电网公司电力科学研究院 Charging scheduling method for electric automobile battery swapping station
CN104682397A (en) * 2015-03-24 2015-06-03 西南交通大学 Method for calculating and cutting off overloads of city power grid including electric vehicle

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
WEIFENG YAO,等: "A Hierarchical Decomposition Approach for Coordinated Dispatch of Plug-in Electric Vehicles", 《IEEE TRANSACTIONS ON POWER SYSTEMS》 *
YUCHAO MA,等: "Modeling the Benefits of VTechnology to a Power Systemehicle-to-Grid", 《IEEE TRANSACTIONS ON POWER SYSTEMS》 *
姚伟锋,等: "基于双层优化的电动汽车充放电调度策略", 《电力系统自动化》 *
田文奇,等: "基于自适应变异粒子群算法的电动汽车换电池站充电调度多目标优化", 《电网技术》 *
韩海英,等: "基于改进粒子群算法的电动车参与负荷平抑策略", 《电网技术》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976270A (en) * 2016-05-25 2016-09-28 西南交通大学 Dynamic probability distribution determination method for charging load of electric automobile under time-of-use power price
CN105976270B (en) * 2016-05-25 2019-07-16 西南交通大学 A method for determining dynamic probability distribution of electric vehicle charging load under time-of-use tariff
CN105868942A (en) * 2016-06-07 2016-08-17 北京交通大学 Ordered charging scheduling method for electric vehicle
CN105868942B (en) * 2016-06-07 2019-07-09 北京交通大学 The orderly charging schedule method of electric car
CN106251244A (en) * 2016-08-09 2016-12-21 中国南方电网有限责任公司电网技术研究中心 Power distribution network transformation method considering comprehensive utilization rate of equipment
CN109383323A (en) * 2017-12-05 2019-02-26 暨南大学 A kind of charge and discharge optimal control method of electric car group
CN109167347A (en) * 2018-08-06 2019-01-08 云南民族大学 Based on the adaptive population multiple target electric car charge and discharge Optimization Scheduling of cloud
CN109167347B (en) * 2018-08-06 2022-03-29 云南民族大学 Cloud-adaptive-particle-swarm-based multi-target electric vehicle charge-discharge optimization scheduling method
CN109214095A (en) * 2018-09-13 2019-01-15 云南民族大学 Electric car charge and discharge Multiobjective Optimal Operation method
CN109214095B (en) * 2018-09-13 2023-04-07 云南民族大学 Electric vehicle charging and discharging multi-objective optimization scheduling method
CN111199311A (en) * 2019-12-24 2020-05-26 国网江苏省电力有限公司扬州供电分公司 Residential area charging facility power optimization method
CN111199311B (en) * 2019-12-24 2023-05-30 国网江苏省电力有限公司扬州供电分公司 Residential area charging facility power optimization method

Also Published As

Publication number Publication date
CN105068419B (en) 2017-10-13

Similar Documents

Publication Publication Date Title
CN105068419B (en) Residential area electric automobile charge/discharge control method
CN110443415B (en) A multi-objective optimal scheduling method for electric vehicle charging station considering dynamic electricity price strategy
CN105024432B (en) A kind of electric automobile discharge and recharge Optimization Scheduling based on virtual electricity price
CN109103878B (en) Orderly charging method of electric vehicle group and power consumption optimization method of distribution network
CN103241130B (en) Energy management method and system for electric bus charging and swap station
CN103997091B (en) A kind of scale electric automobile intelligent charge control method
CN106786977B (en) A charging scheduling method for an electric vehicle charging station
CN111626527A (en) Intelligent power grid deep learning scheduling method considering fast/slow charging/discharging form of schedulable electric vehicle
CN106712061A (en) Intra-day priority scheduling method based on electric-vehicle schedulable capability
CN112234617A (en) Virtual power plant multi-objective optimization scheduling method considering output external characteristics
CN109888806A (en) A method for optimal configuration of energy storage in microgrid with electric vehicles
CN105160451A (en) Electric-automobile-contained micro electric network multi-target optimization scheduling method
CN111310966A (en) Location selection and optimal configuration method of microgrid including electric vehicle charging station
CN113580994B (en) An electric vehicle integrated charging intelligent optimization method and system thereof
CN106877339B (en) An Analysis Method Considering Random Fuzzy Power Flow After Electric Vehicles Are Connected to Distribution Network
CN113500940B (en) A dynamic optimization strategy for orderly charging and discharging of electric vehicles based on particle swarm optimization
Gao et al. Charging load forecasting of electric vehicle based on Monte Carlo and deep learning
CN110378548A (en) A kind of electric car virtual plant Multiple Time Scales responding ability assessment models construction method
CN103605079A (en) Electrical vehicle and V2G available capacity evaluating method for echelon-used cell cluster
CN105205561A (en) Expressway charging station real-time interaction electricity price setting method based on mobile energy carrying
CN117543581A (en) Optimal dispatching method of virtual power plant considering electric vehicle demand response and its application
CN116436096A (en) A control method for maximizing the energy storage revenue of electric buses coupled with virtual power plants
CN105552983A (en) System and method for optimizing electric automobile grid dispatching
CN117829615A (en) A method, device and storage medium for evaluating the regulating capacity of an electric vehicle charging station
Huang et al. The impact of electric vehicle development on grid load power and electricity consumption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant