CN107609690B - A method of load active management decision optimization - Google Patents
A method of load active management decision optimization Download PDFInfo
- Publication number
- CN107609690B CN107609690B CN201710754645.8A CN201710754645A CN107609690B CN 107609690 B CN107609690 B CN 107609690B CN 201710754645 A CN201710754645 A CN 201710754645A CN 107609690 B CN107609690 B CN 107609690B
- Authority
- CN
- China
- Prior art keywords
- power
- total
- hours
- household
- moments
- 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.)
- Active
Links
Images
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
- Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)
Abstract
本发明公开了一种负荷主动管理决策优化的方法,包括如下步骤:步骤1、根据日负荷历史数据建立模型进行负荷预测;步骤2、通过负荷预测,分别得到N户家庭各自在未来二十四小时内m个时刻的功率集合,通过柔性功率计算得到每个时刻的柔性功率可调节范围;步骤3、在保持每户家庭未来二十四小时内总功率不变的前提下,在可调节范围内调节N户家庭各自在未来二十四小时内m个时刻的功率,使N户家庭在未来二十四小时内m个时刻的总功率的峰值和谷值的差最小;或合未来二十四小时内m个时刻的预测电价,使每户家庭在未来二十四小时内的用电费用最少。
The invention discloses a method for load active management decision optimization, comprising the following steps: step 1, establishing a model according to daily load historical data to carry out load forecasting; step 2, obtaining N households in the next twenty-four through load forecasting. The power set at m moments within an hour, and the flexible power adjustable range at each moment is obtained by calculating the flexible power; step 3, on the premise of keeping the total power of each household unchanged in the next 24 hours, within the adjustable range Internally adjust the power of each of the N households at m times in the next 24 hours, so that the difference between the peak value and the valley value of the total power of the N households at m times in the next 24 hours is the smallest; The predicted electricity price at m moments in four hours makes the electricity cost of each household the least in the next 24 hours.
Description
技术领域technical field
本发明涉及主动配电网领域,具体涉及一种负荷主动管理决策优化的方法。The invention relates to the field of active power distribution network, in particular to a method for load active management decision optimization.
背景技术Background technique
随着社会经济的发展,电力负荷需求也在持续增长,与此同时,以燃煤火电为主的传统能源面临着日益严重的资源枯竭、环境污染问题。在这样的背景下,以风电、太阳能为代表的可再生清洁能源得到了广泛重视和快速发展,常常作为分布式能源接入电网,但分布式能源的广泛接入将对配电网产生不良的影响,如改变电压水平、提高短路容量、增大继保复杂度、影响供电可靠性等;针对这一现状,主动配电网技术应运而生。主动配电网具备组合控制各种分布式能源、可控负荷、储能、需求侧管理等能力,能加大配电网对于可再生能源的接纳能力、提升配电网资产利用率,并提高电能质量和供电可靠性,是未来智能电网的一种发展模式。With the development of society and economy, the demand for power load is also increasing continuously. At the same time, traditional energy sources, mainly coal-fired thermal power, are facing increasingly serious problems of resource depletion and environmental pollution. In this context, renewable clean energy represented by wind power and solar energy has received extensive attention and rapid development, and is often connected to the power grid as a distributed energy source. Influence, such as changing the voltage level, increasing the short-circuit capacity, increasing the complexity of the relay protection, affecting the reliability of the power supply, etc.; in response to this situation, the active distribution network technology came into being. Active distribution network has the ability to control various distributed energy sources, controllable loads, energy storage, demand side management, etc. Power quality and power supply reliability are a development model of future smart grids.
通过主动配电网管理技术,可以灵活接入大规模分布式能源、灵活安排运行方式、灵活安排负荷用电等;互动性是主动配电网重要特征之一,负荷侧需求响应具有调度方式灵活,参与系统调峰的潜力巨大的特点,因此实现负荷与电网双向互动有非常显著的现实意义。传统配电网负荷控制受设备及量测数据限制一直难以推广;近年来,随着新型传感器技术、通信技术的高速发展,应用于主动配电网中的需求侧高级量测体系技术给直接负荷控制技术的发展提供了更多的可能。Through active distribution network management technology, it is possible to flexibly access large-scale distributed energy sources, flexibly arrange operation modes, and flexibly arrange load power consumption; interactivity is one of the important characteristics of active distribution networks, and load-side demand response has flexible scheduling methods , it has the characteristics of huge potential to participate in the peak regulation of the system, so it has very significant practical significance to realize the two-way interaction between the load and the power grid. Traditional distribution network load control has been difficult to promote due to the limitation of equipment and measurement data; in recent years, with the rapid development of new sensor technology and communication technology, the demand-side advanced measurement system technology applied in active distribution network has been applied to direct loads. The development of control technology provides more possibilities.
发明内容SUMMARY OF THE INVENTION
本发明公开了一种负荷主动管理决策优化的方法,对各类负荷进行主动管理和调节,可以实现负荷或电费的最优化。The invention discloses a method for active load management decision optimization, which can actively manage and adjust various types of loads, and can realize the optimization of loads or electricity charges.
本发明通过以下技术方案实现:The present invention is achieved through the following technical solutions:
一种负荷主动管理决策优化的方法,包括如下步骤:A method for active load management decision optimization, comprising the following steps:
步骤1、根据日负荷历史数据建立模型进行负荷预测;
步骤2、通过负荷预测,分别得到N户家庭各自在未来二十四小时内m个时刻的功率集合,通过柔性功率计算得到每个时刻的柔性功率可调节范围;Step 2: Obtain the power sets of each of the N households at m moments in the next 24 hours through load forecasting, and obtain the flexible power adjustable range at each moment through flexible power calculation;
步骤3、在保持每户家庭未来二十四小时内总功率不变的前提下,在可调节范围内调节N户家庭各自在未来二十四小时内m个时刻的功率,使N户家庭在未来二十四小时内m个时刻的总功率的峰值和谷值的差最小;
或在保持每户家庭未来二十四小时内总功率不变的前提下,结合未来二十四小时内m个时刻的预测电价,在可调节范围内调节N户家庭各自在未来二十四小时内m个时刻的功率,使每户家庭在未来二十四小时内的用电费用最少。Or on the premise of keeping the total power of each household unchanged in the next 24 hours, combined with the predicted electricity price at m moments in the next 24 hours, adjust the N households in the next 24 hours within the adjustable range. The power at m times within the next 24 hours will minimize the electricity consumption of each household in the next 24 hours.
本发明的进一步方案是,步骤1以表示日负荷历史数据中第x天的m个时刻的功率集合,则Dx=[Dx1,Dx2,……Dxt,……Dxm],t=1,2……m,以P表示预测得到的未来二十四小时内m个时刻的功率集合,以a1~an分别对应表示当天的拟合系数,得到模型:A further scheme of the present invention is that
P=a1D1+a2D2+……+axDx+……+anDn,P=a 1 D1+a 2 D2+…+a x Dx+…+a n Dn,
x=1,2,……,n,x=1,2,...,n,
s.t. a1+a2+……+ax+……+an=1;s. t. a 1 +a 2 +...+a x +...+a n =1;
将a1~an取值的集合记为α,求解最优α。 Denote the set of a 1 ~an values as α, and find the optimal α.
本发明的更进一步方案是,采用枚举法求解最优α,a1~an的取值范围为0到1,最小间隔为0.05,最优α的判断标准是P的前数个时刻的预测值与实际值的接近程度。A further solution of the present invention is that the enumeration method is used to solve the optimal α, the value range of a 1 ~an is 0 to 1, the minimum interval is 0.05, and the judgment criterion of the optimal α is the first several moments of P How close the predicted value is to the actual value.
本发明的进一步方案是,步骤2以Pi表示第i户家庭未来二十四小时内m个时刻的功率集合,以Pi(t)表示第i户家庭未来二十四小时内第t时刻的功率,t=1,2……m,得到:A further solution of the present invention is that in
Pi=[ Pi(1),Pi(2),……Pi(t),……Pi(m)],P i = [ P i (1) , P i (2) , ... P i (t) , ... P i (m) ],
i=1,2,3,……N;i=1, 2, 3,...N;
通过柔性功率计算得到每个时刻柔性功率可调节范围,以Pi(t)min表示第i户家庭在未来二十四小时内第t时刻的柔性功率可调节最小值,以表示第i户家庭在未来二十四小时内第t时刻的柔性功率可调节最大值,得到:The adjustable range of the flexible power at each moment is obtained by calculating the flexible power, and P i(t)min represents the minimum value of the adjustable power of the i-th household at the t-th moment in the next 24 hours. Represents the maximum adjustable flexible power of the i-th household at the t-th time in the next 24 hours, and obtains:
Pi(t)min≤≤,P i (t) min ≤ ≤ ,
i=1,2,3,……N;i=1, 2, 3,...N;
以*表示第i户家庭在未来二十四小时内第t时刻调节后的功率,by *represents the adjusted power of the i-th household at the t-th time in the next 24 hours,
s.t. ∑*=∑。st ∑ *=∑ .
本发明的进一步方案是,步骤3以*表示第i户家庭在未来二十四小时调节后的m个时刻功率集合,以 total*表示N户家庭在未来二十四小时调节后的m个时刻总功率集合, total*=Σ*;以()max和 min分别表示N户家庭在未来二十四小时调节后的m个时刻总功率集合中的最大功率值和最小功率值,求解总功率峰谷差最小化目标函数:min(()max- min)。The further scheme of the present invention is,
本发明的更进一步方案是,以粒子群算法求解总功率峰谷差最小化目标函数,包括:A further scheme of the present invention is to solve the total power peak-valley difference minimization objective function with particle swarm algorithm, including:
a. 以K表示总的粒子个数,以Xi表示第i个粒子的位置,分别以Xij表示第i个粒子位置中的第j户家庭未来二十四小时的功率集合,得到:a. K represents the total number of particles, X i represents the position of the ith particle, and X ij represents the power set of the jth household in the position of the ith particle in the next 24 hours, and we get:
Xi=[Xi1,Xi2,……,Xij,……,XiN],X i =[X i1 , X i2 ,...,X ij ,...,X iN ],
i=1,2,3,……K,i=1, 2, 3,...K,
j=1,2,3,……N;j=1, 2, 3, ... N;
以Pij(t)表示第i个粒子位置中第j户家庭未来二十四小时的第t时刻的功率,得到:Taking P ij(t) to represent the power of the j-th household at the ith particle position at the t-th time in the next twenty-four hours, we get:
Xij=[ Pij(1),Pij(2),……Pij(t),……Pij(m)],X ij =[ P ij (1) , P ij (2) , ... P ij (t) , ... P ij (m) ],
t=1,2,3,……m;t=1, 2, 3, ... m;
b. 将通过负荷预测得到的Xij在柔性功率可调节范围内随机调整,得到调整后的功率集合Xij*,将Xij和Xij*分别求和得到各自的总功率Xi(total)=ΣXij和Xi(total)*=ΣXij*,若Xi(total)*小于Xi(total)的总功率,则随机抽取Xij*中某一时刻的功率向上调整,若调整到柔性功率可调节范围的最大值还无法平衡Xi(total)和Xi(total)*,则再随机抽取除了该时刻以外的其它时刻进行调整,直到满足Xi(total)和Xi(total)*相同的约束条件;若Xi(total)*大于Xi(total),则随机抽取Xij*中某一时刻的功率向下调整,若调整到柔性功率可调节范围的最小值还无法平衡Xi(total)和Xi(total)*,则再随机抽取除了该时刻以外的其它时刻进行调整,直到满足Xi(total)和Xi(total)*相同的约束条件;b. Randomly adjust the X ij obtained through load forecasting within the flexible power adjustable range to obtain the adjusted power set X ij *, and sum X ij and X ij * respectively to obtain the respective total power X i (total) =ΣX ij and Xi (total) *=ΣX ij *, if Xi (total) * is less than the total power of Xi (total) , then randomly extract the power at a certain moment in Xi ij * to adjust upward, if adjusted to If the maximum value of the flexible power adjustable range cannot balance Xi (total) and Xi (total) *, then randomly select other times except this moment for adjustment until Xi (total) and Xi ( total) are satisfied. ) * the same constraints; if X i(total) * is greater than X i (total) , the power at a certain moment in X ij * is randomly selected and adjusted downward, if it is adjusted to the minimum value of the flexible power adjustable range Balance Xi (total) and Xi (total) *, then randomly select other times except this moment for adjustment until the same constraints of Xi (total) and Xi (total) * are satisfied;
c. 以Vi表示第i个粒子对应的速度,以Vij表示第i个粒子在第j维度上的分速度,得到:c. Denote the velocity corresponding to the i-th particle by V i , and denote the component velocity of the i-th particle in the j-th dimension by V ij , we get:
Vi=[Vi1,Vi2,……,Vij,……,ViN],V i =[V i1 , V i2 ,...,V ij ,...,V iN ],
i=1,2,3,……K,i=1, 2, 3,...K,
j=1,2,3,……N;j=1, 2, 3, ... N;
以Vij(t)表示第i个粒子在第j维度上分速度的第t时刻速度,得到:Taking V ij(t) to represent the velocity of the i-th particle at the t-th moment of the velocity in the j-th dimension, we get:
Vij=[Vi1(t),Vi2(t),……,Vij(t),……,ViN(t)],V ij =[V i1(t) , V i2(t) ,...,V ij(t) ,...,V iN(t) ],
t=1,2,3,……m;t=1, 2, 3, ... m;
初始化粒子速度,把N个维度上的分速度、分速度对应的m个时刻的速度都初始化为0;Initialize the particle velocity, and initialize the sub-velocity in N dimensions and the velocity at m times corresponding to the sub-velocity to 0;
d. 将第i个粒子的位置Xi代入目标函数,得到第i个粒子的适应值Fit(i),表示为:d. Substitute the position X i of the ith particle into the objective function to obtain the fitness value Fit(i) of the ith particle, which is expressed as:
Fit(i)=(Xi(total)*)max- min;Fit(i)=(X i(total) *) max - min ;
适应值Fit(i)越小,表示第i个粒子的位置越优,从而计算出粒子自身搜索到的历史最优位置Xpi和整个粒子群搜索到的最优位置Xpg;The smaller the fitness value Fit(i) is, the better the position of the ith particle is, so that the historical optimal position X pi searched by the particle itself and the optimal position X pg searched by the entire particle swarm are calculated;
e. 第k+1次迭代后粒子速度和位置的更新公式表示为:e. The update formula of particle velocity and position after the k+1th iteration is expressed as:
Vi k+1=ω·Vi k+ c1ε·(Xpi k -Xi k)+ c2η·(Xpg k -Xi k),V i k+1 =ω · V i k + c 1 ε · (X pi k -X i k ) + c 2 η · (X pg k -X i k ),
Xi k+1= Xi k+r·Vi k+1;X i k+1 = X i k +r·V i k+1 ;
式中ω是惯性权重,c1、 c2分别是粒子追踪自身搜索到的历史最优值和追踪全部粒子搜索到的最优值的系数;ε和η是取值在0到1之间的随机数,r是位置更新系数;where ω is the inertia weight, c 1 and c 2 are the coefficients of the historical optimal value searched by the particle tracking itself and the optimal value searched by all the particles; ε and η are values between 0 and 1. Random number, r is the position update coefficient;
f. 以标准粒子群算法进行峰值和谷值的差最小的负荷优化计算,得到负荷优化的未来二十四小时m个时刻的功率。f. Carry out the load optimization calculation with the smallest difference between the peak value and the valley value using the standard particle swarm algorithm, and obtain the power at m times in the next 24 hours for the load optimization.
本发明的进一步方案是,步骤3以price表示未来二十四小时m个时刻电价的集合,以p(t)表示未来二十四小时第t时刻的电价,得到:A further solution of the present invention is that in
price=[ P(1),P(2),……P(t),……P(m)],price=[P (1) , P (2) ,...P (t) ,...P (m) ],
t=1,2,3,……m;t=1, 2, 3, ... m;
求解电费最小化目标函数:min(*·price)。Solve the objective function of minimization of electricity cost: min ( * price).
本发明的更进一步方案是,求解电费最小化目标函数包括:A further solution of the present invention is that solving the objective function of minimizing electricity charges includes:
a. 将第i户家庭未来二十四小时内第t时刻的功率Pi(t)按照第t时刻电价升序排列,构成新的集合Pin=[Pin1,Pin2,……Pinz,……Pinm],z=1,2,……m;a. Arrange the power P i(t) of the ith household at time t in the next 24 hours in ascending order of electricity price at time t to form a new set P in =[P in1 , P in2 ,...P inz , ...P inm ], z = 1, 2, ... m;
b. 把每时刻的功率Pinz都调整到柔性功率可调节范围的最小值,调节后的功率集合Pin*=[ Pin1(min),Pin2(min),……Pinz(min),……Pinm(min)],再从Pin1开始将功率调节到柔性功率可调节范围的最大值Pin1(max),直到Pin z调整后的功率Pin z*小于Pinz(max)时,满足条件:b. Adjust the power P inz at each moment to the minimum value of the flexible power adjustable range, the adjusted power set P in *=[ P in1(min) , P in2(min) ,...P inz(min) ,... …P inm(min) ], and then adjust the power from P in1 to the maximum value of the flexible power adjustable range P in1(max) until the adjusted power P in z * is less than P inz(max) ,To meet the conditions:
Pin1+Pin2+……+Pinm= Pin1(max)+Pin2(max)+……Pin z*+……+Pinm(min);P in1 +P in2 +...+P inm= P in1(max) +P in2(max) +...P in z *+...+P inm(min) ;
c. 将Pin1(max)、Pin2(max)、……Pin z*、……、Pinm(min)按照时间顺序重新排列,得到电费优化的未来二十四小时m个时刻的功率。c. Rearrange Pin1(max), Pin2( max ) ,... Pinz *,..., Pinm(min) in chronological order to obtain the power at m moments in the next twenty-four hours for electricity tariff optimization.
本发明的进一步方案是,还包括步骤4、通过负荷预测,得到第i户家庭未来二十四小时的总功率Q,再根据总功率Q计算碳排放量E。A further scheme of the present invention further includes step 4: obtaining the total power Q of the i-th household in the next twenty-four hours through load prediction, and then calculating the carbon emission E according to the total power Q.
本发明的更进一步方案是,碳排放量E的计算公式为:A further solution of the present invention is that the calculation formula of the carbon emission amount E is:
E=Q·(ηre·ere+ηfossil·efossil);E=Q·(η re · e re +η fossil · e fossil );
其中表示用户的总功率Q中新能源所占比例,表示化石能源所占比例,是新能源的单位碳排放量,是化石能源单位碳排放量;新能源的单位碳排放量由总的新能源中各种新能源所占用电量百分比决定:in Represents the proportion of new energy in the total power Q of the user, represents the proportion of fossil energy, is the unit carbon emission of new energy, is the unit carbon emission of fossil energy; the unit carbon emission of new energy It is determined by the percentage of electricity occupied by various new energy sources in the total new energy sources:
=Σei·ai;i=1,2,……,M; =Σe i ·a i ; i=1, 2, ..., M;
其中ai表示M种新能源中第i种的电量占新能源总电量的百分比,ei表示第i种新能源的单位碳排放量。Among them, a i represents the percentage of the electricity of the ith type of new energy in the total electricity of the new energy sources, and e i represents the unit carbon emission of the ith type of new energy.
本发明与现有技术相比的优点在于:The advantages of the present invention compared with the prior art are:
一、针对区域总负荷削峰填谷和每户家庭用电经济性这两方面进行负荷优化;首先对负荷预测进行了模型抽象,并利用枚举法来实现,然后对基于峰谷荷差最小的负荷优化建立了相关的数学模型,并应用粒子群算法来求解目标函数非线性的优化问题,对基于用电经济性的负荷优化也建立了相应数学模型并采用一定的优化策略进行求解,方法具有较强的适应性;1. Carry out load optimization in terms of regional total load peak shaving and valley filling and electricity economy of each household; first, the model is abstracted for load prediction, and the enumeration method is used to realize it, and then the load prediction based on the minimum peak-valley load difference is carried out. The relevant mathematical model is established for the load optimization of the power consumption, and the particle swarm algorithm is used to solve the optimization problem of the nonlinear objective function. have strong adaptability;
二、对碳排放量进行了定义和定量分析,对绿色电网的发展有重大意义;2. Defined and quantitatively analyzed carbon emissions, which is of great significance to the development of green power grids;
三、应用广泛,具有显著的社会效益和经济效益。3. It is widely used and has significant social and economic benefits.
附图说明Description of drawings
图1为本发明的流程图。FIG. 1 is a flow chart of the present invention.
图2为本发明步骤1的流程图。FIG. 2 is a flowchart of
图3为实施例中通过负荷预测得到的用户未来二十四小时功率集合拟合而成的曲线图。FIG. 3 is a graph obtained by fitting a user's power set in the next twenty-four hours through load prediction in the embodiment.
图4为总功率峰谷差最小化的流程图。FIG. 4 is a flow chart showing the minimization of the total power peak-to-valley difference.
图5为实施例中用户未来二十四小时功率集合拟合而成的曲线的柔性功率可调节范围曲线示意图。FIG. 5 is a schematic diagram of a flexible power adjustable range curve of a curve fitted by a user's power set in the next twenty-four hours in an embodiment.
图6为以粒子群算法求解总功率峰谷差最小化目标函数的流程图。FIG. 6 is a flowchart of solving the objective function of minimizing the total power peak-to-valley difference by the particle swarm algorithm.
图7为实施例中负荷优化前后全部用户未来二十四小时总功率曲线对比图。FIG. 7 is a comparison diagram of total power curves of all users in the next 24 hours before and after load optimization in the embodiment.
图8为实施例中未来二十四小时m个时刻电价集合拟合而成的曲线图。FIG. 8 is a graph obtained by fitting a set of electricity prices at m times in the next twenty-four hours in the embodiment.
图9为实施例中电费最小化前后对比图。FIG. 9 is a comparison diagram before and after the minimization of electricity costs in the embodiment.
图10为实施例中电费最小化前后的功率集合拟合而成的曲线图。FIG. 10 is a graph obtained by fitting the power sets before and after the electricity cost is minimized in the embodiment.
具体实施方式Detailed ways
如图1所示的一种负荷主动管理决策优化的方法,包括如下步骤:As shown in Figure 1, a load active management decision optimization method includes the following steps:
步骤1、如图2所示,根据日负荷历史数据建立模型进行负荷预测;
以表示日负荷历史数据中第x天的24个时刻的功率集合,则Dx=[Dx1,Dx2,……Dxt,……Dx24],t=1,2……24,以P表示预测得到的未来二十四小时内24个时刻的功率集合,以a1~an分别对应表示当天的拟合系数,得到模型:by Represents the power set of 24 moments on the xth day in the daily load historical data, then Dx=[Dx 1 , Dx 2 ,...Dx t ,...Dx 24 ], t=1, 2...24, represented by P The predicted power set of 24 moments in the next 24 hours is represented by a 1 ~an corresponding to the fitting coefficient of the day, and the model is obtained:
P=a1D1+a2D2+……+axDx+……+anDn,P=a 1 D1+a 2 D2+…+a x Dx+…+a n Dn,
x=1,2,……,n,x=1,2,...,n,
s.t. a1+a2+……+ax+……+an=1;s. t. a 1 +a 2 +...+a x +...+a n =1;
将a1~an取值的集合记为α,采用枚举法求解最优α,a1~an的取值范围为0到1,最小间隔为0.05,最优α的判断标准是P的前两个时刻的预测值与实际值的接近程度,得到最优α解后再代入模型,由此预测得到如图3所示的未来二十四小时的功率集合。Denote the set of a 1 ~an values as α, and use the enumeration method to find the optimal α. The value range of a 1 ~an is 0 to 1, the minimum interval is 0.05, and the criterion for the optimal α is P The closeness between the predicted value and the actual value at the first two moments of , obtain the optimal α solution and then substitute it into the model, thus predicting the power set for the next 24 hours as shown in Figure 3.
步骤2如图4所示,通过负荷预测,分别得到10户家庭各自在未来二十四小时内24个时刻的功率集合,以Pi表示第i户家庭未来二十四小时内24个时刻的功率集合,以Pi(t)表示第i户家庭未来二十四小时内第t时刻的功率,t=1,2……24,得到:
Pi=[ Pi(1),Pi(2),……Pi(t),……Pi(24)],P i = [ P i (1) , P i (2) , ... P i (t) , ... P i (24) ],
i=1,2,3,……N;i=1, 2, 3,...N;
智能用户终端会通过柔性功率计算得到如图5所示每个时刻柔性功率可调节范围,以Pi(t)min表示第i户家庭在未来二十四小时内第t时刻的柔性功率可调节最小值,以表示第i户家庭在未来二十四小时内第t时刻的柔性功率可调节最大值,得到:The smart user terminal will obtain the adjustable range of flexible power at each moment through flexible power calculation as shown in Figure 5, and P i (t) min represents the flexible power adjustable range of the i-th household at the t-th moment in the next 24 hours. minimum, with Represents the maximum adjustable flexible power of the i-th household at the t-th time in the next 24 hours, and obtains:
Pi(t)min≤≤,P i (t) min ≤ ≤ ,
i=1,2,3,……N;i=1, 2, 3,...N;
步骤3、每户家庭未来二十四小时的功率曲线上每个时刻的功率都可以在柔性功率可调节范围内上下调节,但出于对用户用电需求的考虑,在保持每户家庭未来二十四小时内总功率不变的前提下,在可调节范围内调节10户家庭各自在未来二十四小时内24个时刻的功率,即:以*表示第i户家庭在未来二十四小时内第t时刻调节后的功率,
s.t. ∑*=∑。st ∑ *=∑ .
使10户家庭在未来二十四小时内24个时刻的总功率的峰值和谷值的差最小,即:以*表示第i户家庭在未来二十四小时调节后的24个时刻功率集合,以 total*表示10户家庭在未来二十四小时调节后的24个时刻总功率集合, total*=Σ*;以()max和 min分别表示10户家庭在未来二十四小时调节后的24个时刻总功率集合中的最大功率值和最小功率值,以粒子群算法求解总功率峰谷差最小化目标函数:min(()max- min),如图6所示,包括:Minimize the difference between the peak value and the valley value of the total power of 10 households at 24 moments in the next 24 hours, namely: *Indicates the power collection of the ith household at 24 moments adjusted in the next 24 hours, with total * represents the total power set of 10 households at 24 moments adjusted in the next 24 hours, total *=Σ *;by( ) max and min represents the maximum power value and the minimum power value of the total power set at 24 moments adjusted by 10 households in the next 24 hours respectively. The particle swarm algorithm is used to solve the objective function of minimizing the peak-to-valley difference of the total power: min (( ) max - min ), as shown in Figure 6, including:
a. 以K表示总的粒子个数,以Xi表示第i个粒子的位置,分别以Xij表示第i个粒子位置中的第j户家庭未来二十四小时的功率集合,得到:a. K represents the total number of particles, X i represents the position of the ith particle, and X ij represents the power set of the jth household in the position of the ith particle in the next 24 hours, and we get:
Xi=[Xi1,Xi2,……,Xij,……,XiN],X i =[X i1 , X i2 ,...,X ij ,...,X iN ],
i=1,2,3,……K,i=1, 2, 3,...K,
j=1,2,3,……N;j=1, 2, 3, ... N;
以Pij(t)表示第i个粒子位置中第j户家庭未来二十四小时的第t时刻的功率,得到:Taking P ij(t) to represent the power of the j-th household at the ith particle position at the t-th time in the next twenty-four hours, we get:
Xij=[ Pij(1),Pij(2),……Pij(t),……Pij(24)],X ij = [ P ij (1) , P ij (2) , ... P ij (t) , ... P ij (24) ],
t=1,2,3,……24;t=1, 2, 3, ... 24;
b. 将通过负荷预测得到的Xij在柔性功率可调节范围内随机调整,得到调整后的功率集合Xij*,将Xij和Xij*分别求和得到各自的总功率Xi(total)=ΣXij和Xi(total)*=ΣXij*,若Xi(total)*小于Xi(total)的总功率,则随机抽取Xij*中某一时刻的功率向上调整,若调整到柔性功率可调节范围的最大值还无法平衡Xi(total)和Xi(total)*,则再随机抽取除了该时刻以外的其它时刻进行调整,直到满足Xi(total)和Xi(total)*相同的约束条件;若Xi(total)*大于Xi(total),则随机抽取Xij*中某一时刻的功率向下调整,若调整到柔性功率可调节范围的最小值还无法平衡Xi(total)和Xi(total)*,则再随机抽取除了该时刻以外的其它时刻进行调整,直到满足Xi(total)和Xi(total)*相同的约束条件;b. Randomly adjust the X ij obtained through load forecasting within the flexible power adjustable range to obtain the adjusted power set X ij *, and sum X ij and X ij * respectively to obtain the respective total power X i (total) =ΣX ij and Xi (total) *=ΣX ij *, if Xi (total) * is less than the total power of Xi (total) , then randomly extract the power at a certain moment in Xi ij * to adjust upward, if adjusted to If the maximum value of the flexible power adjustable range cannot balance Xi (total) and Xi (total) *, then randomly select other times except this moment for adjustment until Xi (total) and Xi ( total) are satisfied. ) * the same constraints; if X i(total) * is greater than X i (total) , the power at a certain moment in X ij * is randomly selected and adjusted downward, if it is adjusted to the minimum value of the flexible power adjustable range Balance Xi (total) and Xi (total) *, then randomly select other times except this moment for adjustment until the same constraints of Xi (total) and Xi (total) * are satisfied;
c. 以Vi表示第i个粒子对应的速度,以Vij表示第i个粒子在第j维度上的分速度,得到:c. Denote the velocity corresponding to the i-th particle by V i , and denote the component velocity of the i-th particle in the j-th dimension by V ij , we get:
Vi=[Vi1,Vi2,……,Vij,……,ViN],V i =[V i1 , V i2 ,...,V ij ,...,V iN ],
i=1,2,3,……K,i=1, 2, 3,...K,
j=1,2,3,……N;j=1, 2, 3, ... N;
以Vij(t)表示第i个粒子在第j维度上分速度的第t时刻速度,得到:Taking V ij(t) to represent the velocity of the i-th particle at the t-th moment of the velocity in the j-th dimension, we get:
Vij=[Vi1(t),Vi2(t),……,Vij(t),……,ViN(t)],V ij =[V i1(t) , V i2(t) ,...,V ij(t) ,...,V iN(t) ],
t=1,2,3,……24;t=1, 2, 3, ... 24;
初始化粒子速度,把N个维度上的分速度、分速度对应的24个时刻的速度都初始化为0;Initialize the particle velocity, and initialize the sub-velocity in N dimensions and the velocity at 24 moments corresponding to the sub-velocity to 0;
d. 将第i个粒子的位置Xi代入目标函数,得到第i个粒子的适应值Fit(i),表示为:d. Substitute the position X i of the ith particle into the objective function to obtain the fitness value Fit(i) of the ith particle, which is expressed as:
Fit(i)=(Xi(total)*)max- min;Fit(i)=(X i(total) *) max - min ;
适应值Fit(i)越小,表示第i个粒子的位置越优,从而计算出粒子自身搜索到的历史最优位置Xpi和整个粒子群搜索到的最优位置Xpg;The smaller the fitness value Fit(i) is, the better the position of the ith particle is, so that the historical optimal position X pi searched by the particle itself and the optimal position X pg searched by the entire particle swarm are calculated;
e. 第k+1次迭代后粒子速度和位置的更新公式表示为:e. The update formula of particle velocity and position after the k+1th iteration is expressed as:
Vi k+1=ω·Vi k+ c1ε·(Xpi k -Xi k)+ c2η·(Xpg k -Xi k),V i k+1 =ω · V i k + c 1 ε · (X pi k -X i k ) + c 2 η · (X pg k -X i k ),
Xi k+1= Xi k+r·Vi k+1;X i k+1 = X i k +r·V i k+1 ;
式中ω是惯性权重,c1、 c2分别是粒子追踪自身搜索到的历史最优值和追踪全部粒子搜索到的最优值的系数;ε和η是取值在0到1之间的随机数,r是位置更新系数;where ω is the inertia weight, c 1 and c 2 are the coefficients of the historical optimal value searched by the particle tracking itself and the optimal value searched by all the particles; ε and η are values between 0 and 1. Random number, r is the position update coefficient;
f. 以标准粒子群算法进行峰值和谷值的差最小的负荷优化计算,得到如图7所示的负荷优化的未来二十四小时24个时刻的功率,优化前10户家庭总负荷的峰谷差是14.26kW,优化后峰谷差是8.63kW,降低了39.5%。f. Use the standard particle swarm algorithm to carry out the load optimization calculation with the smallest difference between the peak value and the valley value, and obtain the load optimization power at 24 times in the next 24 hours as shown in Figure 7, and optimize the peak value of the total load of the top 10 households The valley difference is 14.26kW, and the peak-to-valley difference after optimization is 8.63kW, a reduction of 39.5%.
配电网主站会通过电价预测计算得到未来二十四小时内24个时刻的电价,并下发给负荷主动管理上层系统。在保持每户家庭未来二十四小时内总功率不变的前提下,结合未来二十四小时内24个时刻的预测电价,在可调节范围内调节10户家庭各自在未来二十四小时内24个时刻的功率,使每户家庭在未来二十四小时内的用电费用最少,即:如图8所示,以price表示未来二十四小时24个时刻电价的集合,以p(t)表示未来二十四小时第t时刻的电价,得到:The main station of the distribution network will calculate the electricity price at 24 times in the next 24 hours through the electricity price forecast, and issue it to the upper-level system for active load management. On the premise of keeping the total power of each household unchanged in the next 24 hours, combined with the predicted electricity price at 24 moments in the next 24 hours, adjust the 10 households within the next 24 hours within the adjustable range. The power of 24 moments makes the electricity cost of each household in the next 24 hours to be the least, that is: as shown in Figure 8, price represents the set of electricity prices at 24 moments in the next 24 hours, and p (t ) represents the electricity price at time t in the next twenty-four hours, and we get:
price=[ P(1),P(2),……P(t),……P(24)],price=[P (1) , P (2) ,...P (t) ,...P (24) ],
t=1,2,3,……24;t=1, 2, 3, ... 24;
求解电费最小化目标函数:min(*·price),包括:Solve the objective function of minimization of electricity cost: min ( * price), including:
a. 将第i户家庭未来二十四小时内第t时刻的功率Pi(t)按照第t时刻电价升序排列,构成新的集合Pin=[Pin1,Pin2,……Pinz,……Pin24],z=1,2,……24;a. Arrange the power P i(t) of the ith household at time t in the next 24 hours in ascending order of electricity price at time t to form a new set P in =[P in1 , P in2 ,...P inz , ...P in24 ], z = 1, 2, ... 24;
b. 把每时刻的功率Pinz都调整到柔性功率可调节范围的最小值,调节后的功率集合Pin*=[ Pin1(min),Pin2(min),……Pinz(min),……Pin24(min)],再从Pin1开始将功率调节到柔性功率可调节范围的最大值Pin1(max),直到Pin z调整后的功率Pin z*小于Pinz(max)时,如图9所示,满足条件:b. Adjust the power P inz at each moment to the minimum value of the flexible power adjustable range, the adjusted power set P in *=[ P in1(min) , P in2(min) ,...P inz(min) ,... ...P in24(min) ], and then adjust the power from P in1 to the maximum value of the flexible power adjustable range P in1(max) , until the adjusted power P in z * is less than P inz (max) , as shown in Figure 9, the conditions are met:
Pin1+Pin2+……+Pin24= Pin1(max)+Pin2(max)+……Pin z*+……+Pin24(min);P in1 +P in2 +...+P in24= P in1(max) +P in2(max) +...P in z *+...+P in24(min) ;
c. 将Pin1(max)、Pin2(max)、……Pin z*、……、Pin24(min)按照时间顺序重新排列,得到如图10所示的电费优化的未来二十四小时24个时刻的功率,优化前A用户未来二十四小时用电费用为20.38元,优化后用电费用为18.48,减少了9.3%。c. Rearrange Pin1(max), Pin2( max ) ,... Pinz *,..., Pin24(min) in chronological order to get the electricity tariff optimized next twenty-four hours 24 as shown in Figure 10 For the power at this moment, the electricity consumption of user A in the next 24 hours before optimization is 20.38 yuan, and the electricity consumption after optimization is 18.48 yuan, a decrease of 9.3%.
步骤4、通过负荷预测,得到第i户家庭未来二十四小时的总功率Q,再根据总功率Q计算碳排放量E,计算公式为:Step 4. Obtain the total power Q of the i-th household in the next 24 hours through load prediction, and then calculate the carbon emission E according to the total power Q. The calculation formula is:
E=Q·(ηre·ere+ηfossil·efossil);E=Q·(η re · e re +η fossil · e fossil );
其中表示用户的总功率Q中新能源所占比例,表示化石能源所占比例,是新能源的单位碳排放量,是化石能源单位碳排放量;新能源的单位碳排放量由总的新能源中各种新能源所占用电量百分比决定:in Represents the proportion of new energy in the total power Q of the user, represents the proportion of fossil energy, is the unit carbon emission of new energy, is the unit carbon emission of fossil energy; the unit carbon emission of new energy It is determined by the percentage of electricity occupied by various new energy sources in the total new energy sources:
=Σei·ai;i=1,2,……,24; =Σe i ·a i ; i=1, 2, ..., 24;
其中ai表示24种新能源中第i种的电量占新能源总电量的百分比,ei表示第i种新能源的单位碳排放量。Among them, a i represents the percentage of the electricity of the ith in the 24 new energy sources in the total electricity of new energy, and e i represents the unit carbon emission of the ith new energy.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710754645.8A CN107609690B (en) | 2017-08-29 | 2017-08-29 | A method of load active management decision optimization |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710754645.8A CN107609690B (en) | 2017-08-29 | 2017-08-29 | A method of load active management decision optimization |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107609690A CN107609690A (en) | 2018-01-19 |
| CN107609690B true CN107609690B (en) | 2020-12-11 |
Family
ID=61056109
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710754645.8A Active CN107609690B (en) | 2017-08-29 | 2017-08-29 | A method of load active management decision optimization |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107609690B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108960487A (en) * | 2018-06-13 | 2018-12-07 | 北京天泽智云科技有限公司 | Air compressor machine group system energy consumption optimization method and device based on big data analysis |
| CN111555319B (en) * | 2020-05-29 | 2021-08-17 | 东南大学 | A demand response method for industrial user participation in peak shaving considering energy storage and distributed generation |
| CN116632839B (en) * | 2023-07-21 | 2023-11-07 | 国网浙江省电力有限公司宁波供电公司 | Park power management adjusting method and device based on carbon monitoring |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103729698A (en) * | 2014-01-16 | 2014-04-16 | 国家电网公司 | Requirement responding scheduling method for wind power uncertainty |
| CN105006843A (en) * | 2014-04-17 | 2015-10-28 | 国家电网公司 | Multi-time-scale flexible load scheduling method for handling wind power uncertainties |
-
2017
- 2017-08-29 CN CN201710754645.8A patent/CN107609690B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103729698A (en) * | 2014-01-16 | 2014-04-16 | 国家电网公司 | Requirement responding scheduling method for wind power uncertainty |
| CN105006843A (en) * | 2014-04-17 | 2015-10-28 | 国家电网公司 | Multi-time-scale flexible load scheduling method for handling wind power uncertainties |
Non-Patent Citations (1)
| Title |
|---|
| A Bilevel Planning Method of Active Distribution System for Renewable Energy Harvesting in a Deregulated Environment;Bo Zeng 等;《IEEE》;20151231;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107609690A (en) | 2018-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Lin et al. | Stochastic planning of integrated energy system via Frank-Copula function and scenario reduction | |
| Tang et al. | Entropy method combined with extreme learning machine method for the short-term photovoltaic power generation forecasting | |
| CN106410861B (en) | A kind of micro-capacitance sensor optimization operation real-time control method based on schedulable ability | |
| CN111641207A (en) | A system and method for virtual aggregation of regional energy complexes | |
| CN106532764B (en) | A kind of electric car charging load control method of on-site elimination photovoltaic power generation | |
| CN103580061B (en) | Microgrid operating method | |
| CN113452033B (en) | Method for controlling voltage of photovoltaic power distribution network with high proportion and partitioned and autonomous and storage medium | |
| CN115149586B (en) | Distributed energy aggregation regulation and control and autonomous regulation and control cooperative optimization method and system | |
| CN110796307B (en) | A distributed load forecasting method and system for an integrated energy system | |
| Tutkun | Minimization of operational cost for an off-grid renewable hybrid system to generate electricity in residential buildings through the SVM and the BCGA methods | |
| KR101544463B1 (en) | A control method for controlling energy of building based ob microgrid and system for same | |
| CN107609690B (en) | A method of load active management decision optimization | |
| CN115811135A (en) | Intelligent monitoring and regulation system for charging and battery replacing equipment based on power grid peak regulation and frequency modulation | |
| CN114819662B (en) | A method and system for scheduling electric heating of a group of thermal storage electric boilers taking into account user heat demand | |
| CN111092451A (en) | Photovoltaic consumption early warning method based on power distribution network grid | |
| CN109670694B (en) | Load prediction method for multi-energy supply system | |
| Kang et al. | Load profile synthesis and wind-power-generation prediction for an isolated power system | |
| CN106355286B (en) | Method and system for calculating power generation of water-cooled photovoltaic-photothermal power generation system | |
| CN114475331A (en) | Electric automobile aggregation optimization scheduling method considering load rebound | |
| Lukutin et al. | Application of a genetic algorithm for planning loads of a power supply system with a network photo-power plant and a heat active consumer | |
| CN104701841A (en) | Customer-side energy information sensing method of smart power grid | |
| Lei et al. | Net load segmented forecasting method for data center based on GS-LightGBM model | |
| CN115663832A (en) | Source network and storage interactive game operation strategy for multi-energy complementary power distribution system | |
| Venkateswaran et al. | Enhanced Demand-Side Management for Electric Vehicle Charging Stations Using Pyramidal Dilation Attention Neural Networks | |
| Han et al. | Load regulation application of university campus based on solar power generation forecasting |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |















































