[go: up one dir, main page]

CN111598612B - Time-sharing electricity price making method - Google Patents

Time-sharing electricity price making method Download PDF

Info

Publication number
CN111598612B
CN111598612B CN202010350680.5A CN202010350680A CN111598612B CN 111598612 B CN111598612 B CN 111598612B CN 202010350680 A CN202010350680 A CN 202010350680A CN 111598612 B CN111598612 B CN 111598612B
Authority
CN
China
Prior art keywords
time
wind power
peak
period
valley
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
Application number
CN202010350680.5A
Other languages
Chinese (zh)
Other versions
CN111598612A (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.)
Xian University of Technology
Original Assignee
Xian University of Technology
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 Xian University of Technology filed Critical Xian University of Technology
Priority to CN202010350680.5A priority Critical patent/CN111598612B/en
Publication of CN111598612A publication Critical patent/CN111598612A/en
Application granted granted Critical
Publication of CN111598612B publication Critical patent/CN111598612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23213Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Evolutionary Biology (AREA)
  • Primary Health Care (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Probability & Statistics with Applications (AREA)
  • Game Theory and Decision Science (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a time-sharing electricity price making method, which comprises the following steps: predicting a wind power interval at a moment to be predicted; randomly sampling in a wind power interval at a moment to be predicted to generate 100 groups of wind power scenes; reducing the scenes into 10 groups of wind power scenes; adding a wind power scene into a user load to generate a net load scene graph; dividing a peak-valley period in a net load scene into H time periods, and then dividing the H time periods into a peak period, a flat period and a valley period; calculating the wind power scene expectation, and generating an equivalent net load curve; constructing a time-of-use electricity price model according to the equivalent net load; and (4) performing multi-objective solution on the time-sharing electricity price model by adopting an NSGA-II algorithm. Compared with a method without considering wind power uncertainty, the method has the advantages that the randomness of the wind power is fully considered, the user is effectively guided to respond to the time-of-use electricity price, the goals of balancing system load and load shifting are achieved, and meanwhile the electricity utilization habits of the user are not influenced.

Description

一种分时电价制定方法A method for formulating time-of-use electricity prices

技术领域Technical Field

本发明属于新能源技术领域,涉及一种分时电价制定方法。The invention belongs to the technical field of new energy and relates to a time-of-use electricity price formulation method.

背景技术Background Art

分时电价是一种基于价格的需求响应措施,它可以针对用户用电的不同时段设定不同电价,引导用户合理用电,可有效调整用户用电行为,达到削峰填谷、优化负荷曲线的目的。Time-of-use electricity pricing is a price-based demand response measure. It can set different electricity prices for users at different times of electricity consumption, guide users to use electricity rationally, and effectively adjust users' electricity consumption behavior to achieve the purpose of peak shaving and valley filling and optimizing the load curve.

目前中国风电储备丰富,政府鼓励新能源优先入网。风功率可以作为负负荷接入系统,但由于风功率波动性强、规律性差,难以预测,导致其具有很大的不确定性。因此它的接入会增加系统运行压力,使得原来系统的峰谷差增大,影响到系统的安全稳定运行。考虑风电不确定性的分时电价研究作为一种用户侧需求响应可以充分利用需求侧资源,促进新能源消纳,有效调节系统峰谷差,提高系统经济稳定运行能力,成为当前重要的研究方向。很多研究者将风电出力看成随机变量,建立机会约束模型、随机模糊模型,随机概率模型描述风电功率。有文献假定风速服从Rayleigh分布或Weibull分布,并将不确定性的随机过程分解为若干典型的离散概率场景,结合风电机组的功率特性计算出各个场景的概率。场景法是处理风电不确定性的一种重要方法,多数研究在得到模拟风功率后采用蒙特卡洛抽样、拉丁超立方体抽样等方法生成风功率场景,并应用后向缩减法(BR法)、快速前向选择法(FFS法)、场景树构建法(STC法)、聚类划分法等对不确定性场景进行缩减生成典型风功率场景。区间预测作为一种预测的手段,可以准确地预测风功率的所在的上下限,从而为调度运行提供较为准确的信息,可作为分时电价中处理风电不确定性的方法,但风功率在区间内有无数的取值,很难与现有的负荷对接,影响分时电价的制定,需要将区间预测的不确定性转化为确定性场景研究。At present, China has abundant wind power reserves, and the government encourages new energy to access the grid first. Wind power can be connected to the system as a negative load, but due to its strong volatility, poor regularity, and difficulty in prediction, it has great uncertainty. Therefore, its access will increase the operating pressure of the system, increase the peak-to-valley difference of the original system, and affect the safe and stable operation of the system. The study of time-of-use electricity prices considering the uncertainty of wind power as a user-side demand response can make full use of demand-side resources, promote the consumption of new energy, effectively adjust the peak-to-valley difference of the system, and improve the economic and stable operation ability of the system, which has become an important research direction at present. Many researchers regard wind power output as a random variable, and establish chance constraint models, random fuzzy models, and random probability models to describe wind power. Some literature assumes that wind speed obeys Rayleigh distribution or Weibull distribution, and decomposes the random process of uncertainty into several typical discrete probability scenarios, and calculates the probability of each scenario in combination with the power characteristics of wind turbines. The scenario method is an important method for dealing with wind power uncertainty. Most studies use Monte Carlo sampling, Latin hypercube sampling and other methods to generate wind power scenarios after obtaining simulated wind power, and use backward reduction method (BR method), fast forward selection method (FFS method), scenario tree construction method (STC method), clustering partitioning method and other methods to reduce uncertainty scenarios to generate typical wind power scenarios. As a means of prediction, interval prediction can accurately predict the upper and lower limits of wind power, thereby providing more accurate information for scheduling and operation. It can be used as a method to deal with wind power uncertainty in time-of-use electricity prices. However, wind power has countless values within the interval, which is difficult to connect with existing loads, affecting the formulation of time-of-use electricity prices. It is necessary to convert the uncertainty of interval prediction into deterministic scenario research.

尽管上述研究对于分时电价和处理风电不确定性方面等内容有一定的探讨,但是目前处理风电不确定性分时电价方法存在两类问题:Although the above studies have discussed time-of-use electricity prices and handling wind power uncertainty, there are two types of problems in the current methods of handling wind power uncertainty time-of-use electricity prices:

(1)现有的加入风电的分时电价研究中一般用理论的概率模型模拟风功率,未能考虑到现实环境的复杂性,使得模拟的风功率与现实的风电场出力存在一定的误差;(1) Existing studies on time-of-use electricity prices that incorporate wind power generally use theoretical probability models to simulate wind power, but fail to take into account the complexity of the real environment, resulting in a certain error between the simulated wind power and the actual wind farm output;

(2)目前的场景缩减方法可以方便解决小规模场景缩减问题,但随着时刻的增加场景规模呈现指数增长,场景缩减结果准确度降低,存在不能给出最佳聚类结果的缺点。(2) The current scene reduction method can easily solve the problem of small-scale scene reduction, but as time increases, the scene scale grows exponentially, the accuracy of the scene reduction results decreases, and there is a disadvantage that it cannot give the best clustering results.

风电功率接入能较大缓解供电压力,分时电价作为一种重要的需求侧响应能有效提高资源利用率,将两者结合起来能够更加充分利用资源,优化资源配置。而由于风电功率的随机性与波动性,导致加入风电功率的分时电价计算难度较大。The access of wind power can greatly alleviate the pressure on power supply. As an important demand-side response, time-of-use electricity price can effectively improve resource utilization. Combining the two can make fuller use of resources and optimize resource allocation. However, due to the randomness and volatility of wind power, it is difficult to calculate the time-of-use electricity price with wind power.

发明内容Summary of the invention

本发明的目的是提供一种分时电价制定方法,解决了现有技术中存在的模拟风功率与现实风电场出力存在误差的问题。The purpose of the present invention is to provide a time-of-use electricity price formulation method, which solves the problem of error between simulated wind power and actual wind farm output existing in the prior art.

本发明所采用的技术方案是,一种分时电价制定方法,包括以下步骤:The technical solution adopted by the present invention is a method for formulating time-of-use electricity prices, comprising the following steps:

步骤1、利用风电场连续风功率样本预测待预测时刻的风电功率区间;Step 1: Use continuous wind power samples of the wind farm to predict the wind power range at the time to be predicted;

步骤2、在待预测时刻风电功率区间内随机抽样生成100组风功率场景;Step 2: randomly sample and generate 100 groups of wind power scenarios within the wind power range at the time to be predicted;

步骤3、采用二分K-means聚类算法缩减场景为10组风功率场景;Step 3: Use the binary K-means clustering algorithm to reduce the scenarios to 10 groups of wind power scenarios;

步骤4、在用户负荷中加入步骤3得到的风功率场景,生成净负荷场景图;Step 4: Add the wind power scenario obtained in step 3 to the user load to generate a net load scenario diagram;

步骤5、采用0-1整数规划将净负荷场景中的峰谷时段划分为H个时间段,再将H个时间段划分为峰、平、谷时段;Step 5: Use 0-1 integer programming to divide the peak and valley periods in the net load scenario into H time periods, and then divide the H time periods into peak, flat, and valley periods;

步骤6、计算风功率场景期望,生成等效净负荷曲线;Step 6: Calculate the wind power scenario expectation and generate an equivalent net load curve;

步骤7、根据等效净负荷构建分时电价模型,其中,目标函数为实行峰谷电价后系统等效净负荷峰谷差最小、用户用电不满意度最小;Step 7: construct a time-of-use electricity price model based on the equivalent net load, wherein the objective function is to minimize the peak-to-valley difference of the system equivalent net load and minimize the user's electricity dissatisfaction after implementing the peak-to-valley electricity price;

步骤8、采用NSGA-II算法对分时电价模型进行多目标求解,得到Pareto最优解集,并对目标函数进行评价,选出最优解。Step 8: Use the NSGA-II algorithm to solve the multi-objective problem of the time-of-use electricity price model, obtain the Pareto optimal solution set, evaluate the objective function, and select the optimal solution.

本发明的特点还在于,The present invention is also characterized in that:

步骤1具体包括:Step 1 specifically includes:

步骤1.1、设置条件数τ、分割区间数K,置信水平β;Step 1.1, set the condition number τ, the number of segmentation intervals K, and the confidence level β;

步骤1.2、根据风电场连续风功率样本和对应边缘分布函数得到离散概率分布函数

Figure GDA0004125979690000031
Step 1.2: Obtain the discrete probability distribution function based on the continuous wind power samples of the wind farm and the corresponding marginal distribution function
Figure GDA0004125979690000031

步骤1.3、将离散概率分布函数

Figure GDA0004125979690000032
的概率Pj由大到小依次进行累加,假设当累加到j=q时,
Figure GDA0004125979690000033
则在置信度水平β下的边缘分布函数位于区间
Figure GDA0004125979690000034
所属子区间的并集内,通过逆函数计算得到待预测时刻风电功率区间
Figure GDA0004125979690000035
Step 1.3: Discrete probability distribution function
Figure GDA0004125979690000032
The probability Pj of is accumulated from large to small. Assume that when j=q,
Figure GDA0004125979690000033
Then the marginal distribution function at the confidence level β is located in the interval
Figure GDA0004125979690000034
In the union of the sub-intervals, the wind power interval at the time to be predicted is obtained by inverse function calculation
Figure GDA0004125979690000035

还包括采用PIAW、PICP指标对待预测时刻风电功率区间进行精度评价。It also includes the use of PIAW and PICP indicators to evaluate the accuracy of the wind power range at the time of prediction.

步骤3具体包括:Step 3 specifically includes:

步骤3.1、先将100组风功率场景组成簇;Step 3.1, first group 100 wind power scenarios into clusters;

步骤3.2、从簇表中选取簇;Step 3.2, select a cluster from the cluster table;

步骤3.3、采用K-means算法对该簇进行二分得到两个簇;Step 3.3: Use K-means algorithm to divide the cluster into two clusters;

步骤3.4、重复步骤3.3,直至达到预置实验次数;Step 3.4: Repeat step 3.3 until the preset number of experiments is reached;

步骤3.5、从步骤3.4得到的簇中选取总误差最小的两个簇;Step 3.5: Select two clusters with the smallest total error from the clusters obtained in step 3.4;

步骤3.6、将步骤3.5得到的两个簇添到簇表中;Step 3.6, add the two clusters obtained in step 3.5 to the cluster table;

步骤3.7、重复步骤3.2-3.6,直到簇表中含有10个簇。Step 3.7. Repeat steps 3.2-3.6 until the cluster table contains 10 clusters.

步骤5具体包括:Step 5 specifically includes:

步骤5.1、将净负荷场景中的峰谷时段划分为H个时间段,假设i为某一划分时段的开始时刻,j为结束时刻,定义对象i、j之间的距离为dij,则矩阵[dij]为N×N矩阵,行列标为0,1,…N-1;Step 5.1, divide the peak and valley periods in the net load scenario into H time periods, assuming that i is the start time of a certain divided period and j is the end time, and define the distance between objects i and j as d ij , then the matrix [d ij ] is an N×N matrix with rows and columns labeled 0, 1, …N-1;

峰谷时段划分为H个聚类时段的模型的目标函数为The objective function of the model that divides the peak and valley periods into H cluster periods is

Figure GDA0004125979690000041
Figure GDA0004125979690000041

上式中,zij为0-1变量,当某时段开始时刻为i,结束时刻为j时,zij值为1,否则为0;Dij为同一个时间段中所有dij的和:In the above formula, z ij is a 0-1 variable. When the start time of a period is i and the end time is j, the value of z ij is 1, otherwise it is 0; Dij is the sum of all dij in the same time period:

Figure GDA0004125979690000042
Figure GDA0004125979690000042

上式中,mod为取模运算;In the above formula, mod is the modulo operation;

峰谷时段划分为H个聚类时段的模型的约束条件为:The constraints of the model that divides the peak and valley periods into H cluster periods are:

Figure GDA0004125979690000043
Figure GDA0004125979690000043

Figure GDA0004125979690000044
Figure GDA0004125979690000044

步骤5.2、将H个时间段划分为峰、平、谷时段。Step 5.2: Divide the H time periods into peak, flat, and valley periods.

步骤6具体包括:Step 6 specifically includes:

步骤6.1、步骤3得到的风功率场景得期望为:The expected wind power scenario obtained in step 6.1 and step 3 is:

Figure GDA0004125979690000051
Figure GDA0004125979690000051

上式中,θ表示某一可能存在的风功率场景,

Figure GDA0004125979690000052
为每个场景的概率值,Pwind为风电出力功率,θw为风功率场景集;In the above formula, θ represents a possible wind power scenario.
Figure GDA0004125979690000052
is the probability value of each scenario, P wind is the wind power output, and θ w is the wind power scenario set;

步骤6.2、实行峰谷电价前等效净负荷表达式为:Step 6.2: The equivalent net load expression before implementing the peak-valley electricity price is:

Figure GDA0004125979690000053
Figure GDA0004125979690000053

上式中,Q(t)为用户负荷。In the above formula, Q(t) is the user load.

步骤7具体包括:Step 7 specifically includes:

步骤7.1、根据等效净负荷构建目标函数:Step 7.1: Construct the objective function based on the equivalent net load:

目标函数1、实行峰谷电价后系统峰、谷时段的等效净负荷差最小:Objective function 1: After implementing the peak-valley electricity price, the difference in equivalent net load between the peak and valley periods of the system is minimized:

minC=min[maxL(t)-minL(t)] (16);minC=min[maxL(t)-minL(t)] (16);

上式中,L(t)为实施峰谷电价之后的系统等效净负荷;In the above formula, L(t) is the equivalent net load of the system after the implementation of peak and valley electricity prices;

目标函数2、用户用电不满意度最小:Objective function 2: Minimize user dissatisfaction with electricity consumption:

Figure GDA0004125979690000054
Figure GDA0004125979690000054

上式中,

Figure GDA0004125979690000055
表示t时段用户用电量的变化率;In the above formula,
Figure GDA0004125979690000055
Indicates the rate of change of user electricity consumption during period t;

步骤7.2、计算负荷转移率,并根据历史数据拟合得到用户响应曲线:Step 7.2: Calculate the load transfer rate and obtain the user response curve based on historical data fitting:

Figure GDA0004125979690000056
Figure GDA0004125979690000056

上式中,Δpab为时段a和时段b的电价差,hab为电价差的饱和区阈值,lab为电价差的死区阈值,Kab为负荷转移过程中线性区的斜率,λmax为最大负荷转移率;In the above formula, Δp ab is the price difference between period a and period b, h ab is the saturation threshold of the price difference, l ab is the dead zone threshold of the price difference, K ab is the slope of the linear region during the load transfer process, and λ max is the maximum load transfer rate;

同理可得,等效净负荷的峰时段到平时段负荷转移率λfp、等效净负荷的峰时段到谷时段负荷转移率λfg、等效净负荷的平时段到谷时段负荷转移率λpg,由此得到执行分时电价后各时段的负荷为:Similarly, the load transfer rate from the peak period to the normal period of the equivalent net load is obtained as follows: λ fp , the load transfer rate from the peak period to the valley period of the equivalent net load is obtained as follows: λ fg , the load transfer rate from the normal period to the valley period of the equivalent net load is obtained as follows:

Figure GDA0004125979690000061
Figure GDA0004125979690000061

上式中,Tf、Tp、Tg分别代表峰平谷三个时段,Lk0,Lk为执行分时电价前、后的负荷;

Figure GDA0004125979690000062
为执行分时电价前各个时段的等效净负荷平均值;步骤7.3、构建约束条件:In the above formula, Tf , Tp , Tg represent the peak, flat and valley periods respectively, Lk0 , Lk are the loads before and after the implementation of time-of-use electricity price;
Figure GDA0004125979690000062
The equivalent net load average value of each period before the implementation of the time-of-use electricity price; Step 7.3, construct the constraint conditions:

约束条件1、时间约束:Constraints 1. Time constraints:

T=Tf+Tp+Tg=24 (20);T=T f +T p +T g =24 (20);

约束条件2、负荷约束:Constraint 2: Load constraint:

L=Lf+Lp+Lg (21);L = L f + L p + L g (21);

约束条件3、实施分时电价后用户电费支出小于等于实施分时电价前支出成本:Constraint 3: After the implementation of time-of-use electricity prices, the user's electricity expenditure is less than or equal to the expenditure cost before the implementation of time-of-use electricity prices:

Figure GDA0004125979690000063
Figure GDA0004125979690000063

Figure GDA0004125979690000064
Figure GDA0004125979690000064

U0≥UTOU (24);U 0 ≥ U TOU (24);

约束条件4、限定实施分时电价后峰谷电价比:Constraint 4: Limit the peak-to-valley price ratio after implementing time-of-use electricity prices:

Figure GDA0004125979690000065
Figure GDA0004125979690000065

上式中,k1和k2是限制峰谷电价比的常数。In the above formula, k1 and k2 are constants that limit the peak-valley electricity price ratio.

本发明的有益效果是:The beneficial effects of the present invention are:

本发明一种分时电价制定方法,建立待预测时刻的离散概率分布函数,挖掘相邻时段风电功率序列间的相关关系对风电功率区间进行预测,能提升风功率预测精度,减小与实际风功率的差距;通过预测区间与随机抽样结合将区间预测的不确定性转化为确定性场景,并运用二分K-means缩减场景,不仅准确性高效,而且无需寻找复杂的替代模型,能提高计算效率,解决了区间预测结果与分时电价定制相结合问题;在考虑多场景的情况下,采用整数规划法划分峰平谷时段,可有效处理时段的连续性问题;基于消费者心理学响应的基础上以峰谷差最小和用户满意度最小建立多目标优化分时电价模型,采用NSGA-II多目标方法对模型参数进行寻优,得到分时电价模型的非劣解集;与未考虑风电不确定性的方法相比,充分考虑风功率的随机性,并有效地指导用户对分时电价做出响应,实现均衡系统负荷、削峰填谷的目标,同时保证用户的用电习惯不受影响。The invention discloses a time-of-use electricity price formulation method, which establishes a discrete probability distribution function of a time to be predicted, mines the correlation between wind power sequences in adjacent time periods to predict the wind power interval, can improve the wind power prediction accuracy, and reduce the gap with the actual wind power; by combining the prediction interval with random sampling, the uncertainty of the interval prediction is converted into a deterministic scenario, and the binary K-means is used to reduce the scenario, which is not only accurate and efficient, but also does not need to find a complex alternative model, can improve the calculation efficiency, and solves the problem of combining the interval prediction result with the time-of-use electricity price customization; in the case of considering multiple scenarios, the integer programming method is used to divide the peak, flat and valley time periods, which can effectively deal with the continuity problem of the time periods; based on the consumer psychological response, a multi-objective optimization time-of-use electricity price model is established with the minimum peak-valley difference and the minimum user satisfaction, and the NSGA-II multi-objective method is used to optimize the model parameters to obtain the non-inferior solution set of the time-of-use electricity price model; compared with the method that does not consider the uncertainty of wind power, the randomness of wind power is fully considered, and the user is effectively guided to respond to the time-of-use electricity price, so as to achieve the goal of balancing the system load and shaving the peak and filling the valley, while ensuring that the user's electricity consumption habits are not affected.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明一种分时电价制定方法的流程图;FIG1 is a flow chart of a method for formulating a time-of-use electricity price according to the present invention;

图2是本发明一种分时电价制定方法的负荷转移率曲线图;FIG2 is a load transfer rate curve diagram of a time-of-use electricity price setting method of the present invention;

图3是本发明一种分时电价制定方法采用的NSGA-II算法流程图。FIG3 is a flow chart of the NSGA-II algorithm used in a time-of-use electricity price setting method of the present invention.

具体实施方式DETAILED DESCRIPTION

下面结合附图和具体实施方式对本发明进行详细说明。The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

一种分时电价制定方法,如图1所示,包括以下步骤:A time-of-use electricity price formulation method, as shown in FIG1 , comprises the following steps:

步骤1、利用风电场连续风功率样本预测待预测时刻的风电功率区间;Step 1: Use continuous wind power samples of the wind farm to predict the wind power range at the time to be predicted;

步骤1.1、设置条件数τ、分割区间数K,置信水平β;Step 1.1, set the condition number τ, the number of segmentation intervals K, and the confidence level β;

步骤1.2、根据风电场连续风功率样本和对应边缘分布函数得到离散概率分布函数

Figure GDA0004125979690000071
步骤1.2.1、假设连续t+1时刻的风功率序列为[XT-t,XT-t-1,…,XT]:Step 1.2: Obtain the discrete probability distribution function based on the continuous wind power samples of the wind farm and the corresponding marginal distribution function
Figure GDA0004125979690000071
Step 1.2.1, assume that the wind power sequence at the consecutive time t+1 is [X Tt ,X Tt-1 ,…,X T ]:

Figure GDA0004125979690000081
Figure GDA0004125979690000081

上式中,每一行代表一个在X域的样本;In the above formula, each row represents a sample in the X domain;

计算风电功率历史样本对应的边缘分布函数值为:The marginal distribution function value corresponding to the historical sample of wind power is calculated as:

Figure GDA0004125979690000082
Figure GDA0004125979690000082

上式中,FT-t,…FT分别为第T-t,…T时段的风电功率边缘分布函数,每一行代表一个在F域的样本,共有N个样本;In the above formula, F Tt ,…F T are the marginal distribution functions of wind power in the Tt,…T periods respectively. Each row represents a sample in the F domain, and there are N samples in total.

步骤1.2.2、假设FT-t,…FT所属区间(0,1)包括K个区间,分别为区间S1,…SK,其中S1=[0,δ],δ=1/K,Sj=[(j-1)δ,jδ],j=2,…K,K为正整数,则风功率序列[XT-t,XT-t-1,…,XT]组成Kt+1个子空间,那么F域中的任意一个样本

Figure GDA0004125979690000083
必然落入风功率序列的子空间
Figure GDA0004125979690000084
其中,P1,…,Pl…Pt∈{1,2,…,K};即FT-t(xT-t-1)∈((P1-1)δ,P1δ],…,FT(xT)∈((Pt+1-1)δ,Pt+1δ];Step 1.2.2: Assume that the interval (0, 1) to which F Tt, …F T belongs includes K intervals, namely intervals S 1 , …S K , where S 1 = [0, δ], δ = 1/K, S j = [(j-1)δ, jδ], j = 2, …K, K is a positive integer, then the wind power sequence [X Tt, X Tt-1, …, X T ] forms K t+1 subspaces, then any sample in the F domain
Figure GDA0004125979690000083
It must fall into the subspace of the wind power series
Figure GDA0004125979690000084
Among them, P 1 ,…,P l …P t ∈{1,2,…,K}; that is, F Tt (x Tt-1 )∈((P 1 -1)δ,P 1 δ],…,F T (x T )∈((P t+1 -1)δ,P t+1 δ];

选择公式(2)中的N1个样本组成条件矩阵,每个样本的前t个元素分别与

Figure GDA0004125979690000085
落在相同区间内,条件矩阵为:Select N 1 samples in formula (2) to form a conditional matrix, and the first t elements of each sample are respectively
Figure GDA0004125979690000085
Falling in the same interval, the conditional matrix is:

Figure GDA0004125979690000086
Figure GDA0004125979690000086

步骤1.2.3、对公式(3)中的N1个样本分为J类,将第t+1列中所有元素都落在相同子区间的样本归为同一类,每类样本的样本数量分别为:M1,…Mj,…,MJStep 1.2.3: Divide the N 1 samples in formula (3) into J categories, and classify the samples whose elements in the t+1th column fall in the same subinterval into the same category. The number of samples in each category is: M 1 ,…M j ,…,M J ;

步骤1.2.4、每类样本的第t+1个元素所在的区间相同,但是数值不同;为了得到一个相同的值代表各类样本中的第t+1个元素,利用公式(4)计算每类样本第t+1列的数值

Figure GDA0004125979690000091
每类样本出现的概率Pj:Step 1.2.4: The interval of the t+1th element of each class of samples is the same, but the value is different; in order to obtain a same value to represent the t+1th element in each class of samples, use formula (4) to calculate the value of the t+1th column of each class of samples:
Figure GDA0004125979690000091
The probability of each type of sample appearing P j is:

Figure GDA0004125979690000092
Figure GDA0004125979690000092

若将

Figure GDA00041259796900000918
作为场景,Pj为该场景出现的概率,
Figure GDA0004125979690000093
为以
Figure GDA0004125979690000094
为条件
Figure GDA0004125979690000095
的离散概率分布函数。If you will
Figure GDA00041259796900000918
As a scenario, Pj is the probability of the scenario occurring,
Figure GDA0004125979690000093
For
Figure GDA0004125979690000094
Condition
Figure GDA0004125979690000095
The discrete probability distribution function of .

步骤1.3、将所述离散概率分布函数

Figure GDA0004125979690000096
的概率Pj由大到小依次进行累加,假设当累加到j=q时,
Figure GDA0004125979690000097
则在置信度水平β下的边缘分布函数位于区间
Figure GDA0004125979690000098
所属子区间的并集内,通过逆函数计算得到待预测时刻风电功率区间
Figure GDA0004125979690000099
Step 1.3: Substitute the discrete probability distribution function
Figure GDA0004125979690000096
The probability Pj of is accumulated from large to small. Assume that when j=q,
Figure GDA0004125979690000097
Then the marginal distribution function at the confidence level β is located in the interval
Figure GDA0004125979690000098
In the union of the sub-intervals, the wind power interval at the time to be predicted is obtained by inverse function calculation
Figure GDA0004125979690000099

具体的,将离散概率分布函数

Figure GDA00041259796900000910
按照概率进行降序排列,记排列后离散概率分布函数为
Figure GDA00041259796900000911
P(1)为最大概率,P(J)为最小概率;从j=1开始对P(1)进行累加,直至累加和大于等于β停止;假设当累加到j=q时,
Figure GDA00041259796900000912
则在置信度水平β下的边缘分布函数位于区间
Figure GDA00041259796900000913
所属子区间的并集内,假设:Specifically, the discrete probability distribution function
Figure GDA00041259796900000910
Arrange in descending order according to probability, and the discrete probability distribution function after arrangement is:
Figure GDA00041259796900000911
P (1) is the maximum probability, P (J) is the minimum probability; start accumulating P (1) from j = 1 until the accumulated sum is greater than or equal to β; suppose that when the accumulated sum reaches j = q,
Figure GDA00041259796900000912
Then the marginal distribution function at the confidence level β is located in the interval
Figure GDA00041259796900000913
In the union of the subintervals, assume that:

Figure GDA00041259796900000914
Figure GDA00041259796900000914

则边缘分布函数的区间为:Then the interval of the marginal distribution function is:

Figure GDA00041259796900000915
Figure GDA00041259796900000915

通过逆函数

Figure GDA00041259796900000916
计算在置信度水平β下,风电功率在第T时刻发生的区间
Figure GDA00041259796900000917
即得到待预测时刻风电功率区间。Through the inverse function
Figure GDA00041259796900000916
Calculate the interval of wind power generation at time T under the confidence level β
Figure GDA00041259796900000917
That is, the wind power range at the time to be predicted is obtained.

利用PIAW和PICP两个指标对m、K取值下的离散概率分布函数预测结果进行精度评价。The PIAW and PICP indices are used to evaluate the accuracy of the discrete probability distribution function prediction results under different values of m and K.

具体的,采用区间覆盖率(prediction interval coverage probability,PICP)和区间平均宽度(prediction interval average width,PIAW)作为评价标准,对所提算法的预测精度进行验证,区间覆盖率(PICP)的计算式为:Specifically, prediction interval coverage probability (PICP) and prediction interval average width (PIAW) are used as evaluation criteria to verify the prediction accuracy of the proposed algorithm. The calculation formula of interval coverage probability (PICP) is:

Figure GDA0004125979690000101
Figure GDA0004125979690000101

上式中,U为待预测风电功率的总个数,u=1,2,…,U;Au为示性函数,定义为:In the above formula, U is the total number of wind power to be predicted, u = 1, 2, ..., U; Au is the indicative function, defined as:

Figure GDA0004125979690000102
Figure GDA0004125979690000102

即当待预测时刻的风电功率实际值落到预测区间中时,Au取值1,否则取0;式中

Figure GDA0004125979690000103
Vu 分别为预测区间的上下边界,Vu为预测时刻的风电功率实际值。区间平均宽度(PIAW)的计算式为:That is, when the actual value of wind power at the time to be predicted falls within the prediction interval, Au takes the value of 1, otherwise it takes the value of 0;
Figure GDA0004125979690000103
and Vu are the upper and lower boundaries of the prediction interval, respectively, and Vu is the actual value of wind power at the prediction moment. The calculation formula for the average width of the interval (PIAW) is:

Figure GDA0004125979690000104
Figure GDA0004125979690000104

PICP表示风电功率实际值落在预测区间内的数目,在满足置信水平的基础上,其值越大表明实际风电功率落入预测区间的个数越多,意味着预测效果越好。PIAW表示区间上下边界的平均宽度,当满足相同的置信度水平下,其值越小,表明预测区间越窄,意味着预测区间与实际发生的数值越贴近。PICP indicates the number of actual wind power values falling within the prediction interval. On the basis of meeting the confidence level, the larger its value, the more actual wind power falls within the prediction interval, which means the better the prediction effect. PIAW indicates the average width of the upper and lower boundaries of the interval. When the same confidence level is met, the smaller its value, the narrower the prediction interval, which means the prediction interval is closer to the actual value.

步骤2、在待预测时刻风电功率区间内随机抽样生成100组风功率场景;Step 2: randomly sample and generate 100 groups of wind power scenarios within the wind power range at the time to be predicted;

步骤3、采用二分K-means聚类算法缩减场景为10组风功率场景;Step 3: Use the binary K-means clustering algorithm to reduce the scenarios to 10 groups of wind power scenarios;

步骤3.1、对100组风功率场景进行初始化后,将100组风功率场景组成簇;Step 3.1, after initializing 100 groups of wind power scenarios, group the 100 groups of wind power scenarios into clusters;

步骤3.2、从簇表中选取簇;Step 3.2, select a cluster from the cluster table;

步骤3.3、采用K-means算法对该簇进行二分得到两个簇;Step 3.3: Use K-means algorithm to divide the cluster into two clusters;

步骤3.4、重复步骤3.3,直至达到预置实验次数;Step 3.4: Repeat step 3.3 until the preset number of experiments is reached;

步骤3.5、从步骤3.4得到的簇中选取总误差最小的两个簇;Step 3.5: Select two clusters with the smallest total error from the clusters obtained in step 3.4;

步骤3.6、将步骤3.5得到的两个簇添到簇表中;Step 3.6, add the two clusters obtained in step 3.5 to the cluster table;

步骤3.7、重复步骤3.2-3.6,直到簇表中含有10个簇。Step 3.7. Repeat steps 3.2-3.6 until the cluster table contains 10 clusters.

步骤4、在用户负荷中加入步骤3得到的风功率场景,生成净负荷场景图;Step 4: Add the wind power scenario obtained in step 3 to the user load to generate a net load scenario diagram;

步骤5、对净负荷场景进行时段划分;Step 5: Divide the net load scenario into time periods;

先采用0-1整数规划将净负荷场景划分为H个时间段,峰谷时段的总时刻数为T,H可根据用户负荷情况设置为1-24小时的任意整数;再根据负荷将H个时间段划分为峰、平、谷时段。First, the net load scenario is divided into H time periods using 0-1 integer programming. The total number of peak and valley time periods is T, and H can be set to any integer from 1 to 24 hours according to the user load situation. Then, the H time periods are divided into peak, flat, and valley time periods according to the load.

步骤5.1、先采用0-1整数规划将净负荷场景划分为H个时间段,假设i为某一划分时段的开始时刻,j为结束时刻。在时段的划分中需要考虑时段的连续性问题,如果若某一划分时段开始时刻i小于结束时刻j,对任意的时刻r(i<r<j)都应该属于同一时段;如果开始时刻i大于结束时刻j,则该时段范围为i≤r≤T及1≤r≤j。Step 5.1: First, use 0-1 integer programming to divide the net load scenario into H time periods, assuming that i is the start time of a certain divided time period and j is the end time. The continuity of the time period needs to be considered in the division of the time period. If the start time i of a certain divided time period is less than the end time j, any time r (i<r<j) should belong to the same time period; if the start time i is greater than the end time j, the time period range is i≤r≤T and 1≤r≤j.

本实施例中待分析对象为待划分的T个时刻,某一时刻的参数为该时刻不同场景下的净负荷数值向量,在实际应用中应对净负荷数值进行归一化处理。定义时刻i、j之间的距离为dij,则矩阵[dij]为N×N矩阵,行列标为0,1,…N-1;峰谷时段划分为H个聚类时段的模型的目标函数为In this embodiment, the object to be analyzed is the T moments to be divided, and the parameter of a certain moment is the net load value vector under different scenarios at that moment. In practical applications, the net load value should be normalized. Define the distance between moments i and j as d ij , then the matrix [d ij ] is an N×N matrix, with rows and columns labeled 0, 1, ... N-1; the objective function of the model that divides the peak and valley periods into H cluster periods is

Figure GDA0004125979690000111
Figure GDA0004125979690000111

上式中,zij为0-1变量,当某时段开始时刻为i,结束时刻为j时,zij值为1,否则为0;Dij为同一时段内所有dij的和:In the above formula, z ij is a 0-1 variable. When the start time of a period is i and the end time is j, the value of z ij is 1, otherwise it is 0; Dij is the sum of all dij in the same period:

Figure GDA0004125979690000121
Figure GDA0004125979690000121

上式中,mod为取模运算;In the above formula, mod is the modulo operation;

峰谷时段划分为H个聚类时段的模型的约束条件为:The constraints of the model that divides the peak and valley periods into H cluster periods are:

Figure GDA0004125979690000122
Figure GDA0004125979690000122

Figure GDA0004125979690000123
Figure GDA0004125979690000123

其中约束条件式(12)表示时刻w只能包含在单一时段中,其左侧为所有可能包含时刻w的划分之和。在包含w的时段中,可分为以下3种情况:0≤i≤w≤j≤N-1、0≤j<i≤w≤N-1及0≤w≤j<i≤N-1;约束条件式(13)中,划分后所得总的时段个数为H个;The constraint condition (12) indicates that time w can only be included in a single time period, and its left side is the sum of all possible partitions that may include time w. In the time period that includes w, it can be divided into the following three cases: 0≤i≤w≤j≤N-1, 0≤j<i≤w≤N-1 and 0≤w≤j<i≤N-1; in the constraint condition (13), the total number of time periods obtained after the partition is H;

步骤5.2、将H个时间段划分为峰、平、谷时段。Step 5.2: Divide the H time periods into peak, flat, and valley periods.

步骤6、计算风功率场景期望,生成等效净负荷曲线;Step 6: Calculate the wind power scenario expectation and generate an equivalent net load curve;

通过步骤3得到的风功率场景得期望为:The wind power scenario obtained in step 3 is expected to be:

Figure GDA0004125979690000124
Figure GDA0004125979690000124

上式中,θ表示某一可能存在的风功率场景,

Figure GDA0004125979690000125
为每个场景的概率值,Pwind为风电出力功率,θw为风功率场景集;In the above formula, θ represents a possible wind power scenario.
Figure GDA0004125979690000125
is the probability value of each scenario, P wind is the wind power output, and θ w is the wind power scenario set;

实行峰谷电价前系统等效净负荷表达式为:The equivalent net load expression of the system before implementing the peak-valley electricity price is:

Figure GDA0004125979690000126
Figure GDA0004125979690000126

上式中,Q(t)为用户负荷。In the above formula, Q(t) is the user load.

步骤7、根据等效净负荷构建分时电价模型,其中,目标函数为实行峰谷电价后系统等效净负荷峰谷差最小、用户用电不满意度最小;Step 7: construct a time-of-use electricity price model based on the equivalent net load, wherein the objective function is to minimize the peak-to-valley difference of the system equivalent net load and minimize the user's electricity dissatisfaction after implementing the peak-to-valley electricity price;

步骤7.1、构建目标函数:Step 7.1: Construct the objective function:

目标函数1、实行峰谷电价后系统峰、谷时段的等效净负荷差最小:Objective function 1: After implementing the peak-valley electricity price, the difference in equivalent net load between the peak and valley periods of the system is minimized:

minC=min[maxL(t)-minL(t)] (16);minC=min[maxL(t)-minL(t)] (16);

上式中,L(t)为实施峰谷电价之后的系统等效净负荷,C表示峰谷之差;In the above formula, L(t) is the equivalent net load of the system after the implementation of peak-valley electricity prices, and C represents the difference between peak and valley.

目标函数2、用户用电不满意度最小:Objective function 2: Minimize user dissatisfaction with electricity consumption:

Figure GDA0004125979690000131
Figure GDA0004125979690000131

上式中,

Figure GDA0004125979690000132
表示t时段用户用电量的变化率;In the above formula,
Figure GDA0004125979690000132
Indicates the rate of change of user electricity consumption during period t;

步骤7.2、在目标函数的求解过程中要考虑用户的响应度,本发明根据消费者心理学的理论,考虑用户对于不同的电价有着不同程度的响应,也就会引发不同的消费行为。电价是对用户的一种刺激,针对这种刺激的响应并不是无限的,而是存在一个差别阈值。当刺激过大超过阈值上限,用户将达到饱和状态基本不再转移负荷,大于阈值上限的电价范围被称为响应饱和区;同理当刺激过小低于阈值下限,用户将无法觉知同样不作出反应,这个低于阈值下限的电价范围被称为死区。而在阈值范围内用户将会对刺激做出反应,且响应程度与刺激大小近似成线性关系,被称为线性区,由此可以得到一个近似的分段函数,该函数由三个参数决定,分别是:死区阈值、线性段斜率和饱和区阈值。不同类型的用户响应将以不同的参数体现出来。Step 7.2: In the process of solving the objective function, the user's responsiveness should be considered. According to the theory of consumer psychology, the present invention considers that users have different degrees of response to different electricity prices, which will also trigger different consumption behaviors. The electricity price is a stimulus to the user. The response to this stimulus is not infinite, but there is a difference threshold. When the stimulus is too large and exceeds the upper limit of the threshold, the user will reach saturation and basically no longer transfer the load. The electricity price range greater than the upper limit of the threshold is called the response saturation zone; similarly, when the stimulus is too small and below the lower limit of the threshold, the user will not be able to perceive and will not respond. This electricity price range below the lower limit of the threshold is called the dead zone. Within the threshold range, the user will respond to the stimulus, and the degree of response is approximately linear with the size of the stimulus, which is called the linear zone. From this, an approximate piecewise function can be obtained, which is determined by three parameters: the dead zone threshold, the linear segment slope, and the saturation zone threshold. Different types of user responses will be reflected in different parameters.

在此引入负荷转移率的概念:定义负荷转移率为实施峰谷电价后,用户负荷从高电价时段向低电价时段转移量与高电价时段负荷之比。假设负荷转移率与峰平、峰谷、平谷之间的电价差是成比例的。基于大量的历史数据计算峰、平、谷不同时段的电价差和负荷转移率,可拟合出向用户实际的响应曲线逼近的分段函数曲线,如图2所示,横坐标表示不同时段的电价差,纵坐标表示负荷转移率:The concept of load transfer rate is introduced here: the load transfer rate is defined as the ratio of the amount of user load transferred from the high electricity price period to the low electricity price period after the implementation of the peak-valley electricity price to the load in the high electricity price period. It is assumed that the load transfer rate is proportional to the price difference between peak and flat, peak and valley, and flat and valley. Based on a large amount of historical data, the price difference and load transfer rate of different peak, flat and valley periods are calculated, and a piecewise function curve that approximates the actual response curve of the user can be fitted, as shown in Figure 2. The horizontal axis represents the price difference of different periods, and the vertical axis represents the load transfer rate:

Figure GDA0004125979690000141
Figure GDA0004125979690000141

上式中,Δpab为时段a和时段b的电价差,hab为电价差的饱和区阈值,lab为电价差的死区阈值,Kab为负荷转移过程中线性区的斜率,λmax为最大负荷转移率;In the above formula, Δp ab is the price difference between period a and period b, h ab is the saturation threshold of the price difference, l ab is the dead zone threshold of the price difference, K ab is the slope of the linear region during the load transfer process, and λ max is the maximum load transfer rate;

同理可得,等效净负荷的峰时段到平时段负荷转移率λfp、等效净负荷的峰时段到谷时段负荷转移率λfg、等效净负荷的平时段到谷时段负荷转移率λpg,并由此得到执行分时电价后各时段的负荷为:Similarly, we can obtain the load transfer rate from peak period to normal period of equivalent net load λ fp , the load transfer rate from peak period to valley period of equivalent net load λ fg , and the load transfer rate from normal period to valley period λ pg , and thus the load of each period after the implementation of time-of-use electricity price is obtained as follows:

Figure GDA0004125979690000142
Figure GDA0004125979690000142

上式中,Tf、Tp、Tg分别代表峰平谷三个时段,Lk0,Lk为执行分时电价前、后的负荷;

Figure GDA0004125979690000143
为执行分时电价前各个时段的等效净负荷平均值。In the above formula, Tf , Tp , Tg represent the peak, flat and valley periods respectively, Lk0 , Lk are the loads before and after the implementation of time-of-use electricity price;
Figure GDA0004125979690000143
It is the average value of equivalent net load in each period before the implementation of time-of-use electricity price.

步骤7.3、构建约束条件:Step 7.3: Construct constraints:

约束条件1、时间约束:Constraints 1. Time constraints:

T=Tf+Tp+Tg=24 (20)T=Tf+ Tp + Tg =24 (20)

约束条件2、电量(负荷)约束:Constraint 2: Power (load) constraint:

L=Lf+Lp+Lg (21)L= Lf + Lp + Lg (21)

约束条件3、为了使用户积极地将高峰时的负荷转移向低谷时段,实施分时电价后用户电费支出等于小于实施分时电价前支出成本:Constraint 3: In order to enable users to actively transfer loads from peak hours to off-peak hours, the electricity expenditure of users after the implementation of time-of-use electricity prices is equal to or less than the expenditure cost before the implementation of time-of-use electricity prices:

Figure GDA0004125979690000144
Figure GDA0004125979690000144

Figure GDA0004125979690000151
Figure GDA0004125979690000151

U0≥UTOU (24);U 0 ≥ U TOU (24);

约束条件4、为避免实施分时电价之后,峰谷电价差别太大,出现用户响应过度,峰谷倒置;或者峰谷电价不明显,用户响应不足,达不到预期目标,故而限定峰谷电价比的范围:Constraint 4: To avoid the situation where the difference between peak and valley electricity prices is too large after the implementation of time-of-use electricity prices, resulting in excessive user response and peak-valley inversion; or the peak and valley electricity prices are not obvious, the user response is insufficient, and the expected target cannot be achieved, the range of the peak-valley electricity price ratio is limited:

Figure GDA0004125979690000152
Figure GDA0004125979690000152

上式中,k1和k2是限制峰谷电价比的常数,在我国,峰谷电价比的取值一般在2~5之间。In the above formula, k1 and k2 are constants that limit the peak-to-valley electricity price ratio. In China, the value of the peak-to-valley electricity price ratio is generally between 2 and 5.

步骤8、采用NSGA-II算法对分时电价模型进行多目标求解,如图3所示,得到Pareto最优解集,并对目标函数进行评价,选出最优解。Step 8: Use the NSGA-II algorithm to solve the multi-objective problem of the time-of-use electricity price model, as shown in Figure 3, to obtain the Pareto optimal solution set, evaluate the objective function, and select the optimal solution.

步骤8.1:读入等效净负荷数据,进行算法参数设置和变量范围设置,设置参数包括最优个体系数、种群大小、最大进化代数、适应度函数偏差;变量范围指决策变量(峰、平、谷电价的允许范围);Step 8.1: Read in equivalent net load data, set algorithm parameters and variable ranges, including optimal individual coefficient, population size, maximum evolutionary generation, and fitness function deviation; variable range refers to decision variables (the allowable range of peak, flat, and valley electricity prices);

步骤8.2:随机产生初始种群P0并进行非支配排序;Step 8.2: Randomly generate an initial population P 0 and perform non-dominated sorting;

步骤8.3:非支配排序后经过选择、交叉、变异三个基本操作得到第一代子代种群;Step 8.3: After non-dominated sorting, the first generation of offspring population is obtained through three basic operations: selection, crossover, and mutation;

步骤8.3:将父代种群与子代种群合并,进行快速非支配排序,同时对每个非支配层中的个体进行拥挤度计算;Step 8.3: Merge the parent population with the child population, perform fast non-dominated sorting, and calculate the crowding degree of individuals in each non-dominated layer;

步骤8.4:根据非支配关系以及个体的拥挤度选取合适的个体组成新的父代种群;Step 8.4: Select appropriate individuals to form a new parent population based on the non-dominated relationship and the crowding degree of the individuals;

步骤8.5:通过选择、交叉、变异三个基本操作得到下一代子代种群,并执行步骤8.3,直至达到最大进化代数。Step 8.5: Obtain the next generation population through the three basic operations of selection, crossover, and mutation, and execute step 8.3 until the maximum number of evolutionary generations is reached.

步骤8.6:迭代结束后得到Pareto最优解集,并根据下述方法选出最优解;首先利用式(26)对对Pareto最优解集中的峰谷差和用户不满意度数据进行标准化处理;式中xi为待标准化数值,xj为标准化后的数值,MIN=min(xi)。Step 8.6: After the iteration, the Pareto optimal solution set is obtained, and the optimal solution is selected according to the following method; first, the peak-to-valley difference and user dissatisfaction data in the Pareto optimal solution set are standardized using formula (26); where xi is the value to be standardized, xj is the value after standardization, and MIN = min( xi ).

Figure GDA0004125979690000161
Figure GDA0004125979690000161

进行数据标准化后,根据峰谷差与用户不满意度两个精度指标的重要程度,设置峰谷差与用户不满意度的权重;最后对Pareto最优解中所有点的两个评价指标进行加权计算,加权值最小的点即为最优解。After data standardization, the weights of the peak-to-valley difference and user dissatisfaction are set according to the importance of the two accuracy indicators. Finally, the two evaluation indicators of all points in the Pareto optimal solution are weightedly calculated, and the point with the smallest weighted value is the optimal solution.

通过以上方式,本发明一种分时电价制定方法,建立待预测时刻的离散概率分布函数,挖掘相邻时段风电功率序列间的相关关系对风电功率区间进行预测,能提升风功率预测精度,减小与实际风功率的差距;通过预测区间与随机抽样结合将区间预测的不确定性转化为确定性场景,并运用二分K-means缩减场景,不仅准确性高效,而且无需寻找复杂的替代模型,能提高计算效率,解决了区间预测结果与分时电价定制相结合问题;在考虑多场景的情况下,采用整数规划法划分峰平谷时段,可有效处理时段的连续性问题;基于消费者心理学响应的基础上以峰谷差最小和用户满意度最小建立多目标优化分时电价模型,采用NSGA-II多目标方法对模型参数进行寻优,得到分时电价模型的非劣解集;与未考虑风电不确定性的方法相比,充分考虑风功率的随机性,并有效地指导用户对分时电价做出响应,实现均衡系统负荷、削峰填谷的目标,同时保证用户的用电习惯不受影响。Through the above methods, a time-of-use electricity price formulation method of the present invention establishes a discrete probability distribution function of the time to be predicted, mines the correlation between wind power sequences in adjacent time periods to predict the wind power interval, can improve the wind power prediction accuracy, and reduce the gap with the actual wind power; by combining the prediction interval with random sampling, the uncertainty of the interval prediction is converted into a deterministic scenario, and the binary K-means is used to reduce the scenario, which is not only accurate and efficient, but also does not need to find a complex alternative model, can improve the calculation efficiency, and solves the problem of combining the interval prediction result with the time-of-use electricity price customization; when considering multiple scenarios, the integer programming method is used to divide the peak, flat and valley time periods, which can effectively deal with the continuity problem of the time period; based on the consumer psychology response, a multi-objective optimization time-of-use electricity price model is established with the minimum peak-valley difference and the minimum user satisfaction, and the NSGA-II multi-objective method is used to optimize the model parameters to obtain a non-inferior solution set of the time-of-use electricity price model; compared with the method that does not consider the uncertainty of wind power, the randomness of wind power is fully considered, and the user is effectively guided to respond to the time-of-use electricity price, so as to achieve the goal of balancing the system load and shaving the peak and filling the valley, while ensuring that the user's electricity consumption habits are not affected.

Claims (7)

1. A time-sharing electricity price making method is characterized by comprising the following steps:
step 1, predicting a wind power interval at a time to be predicted by using a continuous wind power sample of a wind power plant;
step 2, randomly sampling and generating 100 groups of wind power scenes in the wind power interval at the moment to be predicted;
step 3, adopting a binary K-means clustering algorithm to reduce the scenes into 10 groups of wind power scenes;
step 4, adding the wind power scene obtained in the step 3 into the user load to generate a net load scene graph;
step 5, dividing a peak-valley period in a net load scene into H time periods by adopting 0-1 integer programming, and then dividing the H time periods into a peak period, a flat period and a valley period;
step 6, calculating the wind power scene expectation, and generating an equivalent net load curve;
step 7, constructing a time-of-use electricity price model according to the equivalent net load, wherein the target function is that the peak-to-valley difference of the equivalent net load of the system is minimum and the electricity utilization dissatisfaction of a user is minimum after the peak-to-valley electricity price is implemented;
and 8, performing multi-target solution on the time-of-use electricity price model by adopting an NSGA-II algorithm to obtain a Pareto optimal solution set, evaluating a target function and selecting an optimal solution.
2. The time-sharing electricity price making method according to claim 1, wherein the step 1 specifically comprises:
1.1, setting a condition number tau, a segmentation interval number K and a confidence level beta;
step 1.2, obtaining a discrete probability distribution function according to a continuous wind power sample and a corresponding edge distribution function of a wind power plant
Figure FDA0004125979670000011
Step 1.3, the discrete probability distribution function
Figure FDA0004125979670000012
Probability P of j Accumulation is performed in sequence from large to small, assuming that when j = q is accumulated, a combination is selected>
Figure FDA0004125979670000013
The edge distribution function at the confidence level β is located in the interval ∑ er>
Figure FDA0004125979670000014
In the union of the sub-intervals, the wind power interval and the time to be predicted are calculated through an inverse function to obtain the wind power interval>
Figure FDA0004125979670000021
3. The time-sharing electricity price making method according to claim 1 or 2, characterized by further comprising the step of performing precision evaluation on the wind power interval at the time to be predicted by using PIAW and PICP indexes.
4. The method for formulating a time-of-use electricity price according to claim 1, wherein the step 3 specifically comprises:
step 3.1, firstly, forming 100 groups of wind power scenes into clusters;
3.2, selecting the cluster from a cluster table;
3.3, dividing the cluster into two clusters by adopting a K-means algorithm;
step 3.4, repeating the step 3.3 until the preset experiment times are reached;
3.5, selecting two clusters with the minimum total error from the clusters obtained in the step 3.4;
step 3.6, adding the two clusters obtained in the step 3.5 into a cluster table;
and 3.7, repeating the steps 3.2-3.6 until the cluster table contains 10 clusters.
5. The time-sharing electricity price making method according to claim 1, wherein the step 5 specifically comprises:
step 5.1, dividing the peak-valley period in the net load scene into H time periods, assuming that i is the starting time of a certain divided period, j is the ending time, and defining the distance between the objects i and j as d ij Then matrix [ d ij ]Is an NxN matrix, and the row and column marks are 0,1, \ 8230and N-1;
the objective function of the model divided into H clustering periods in the peak-valley period is
Figure FDA0004125979670000022
In the above formula, z ij Is a variable of 0 to 1When the starting time of a certain period is i and the ending time is j, z ij The value is 1, otherwise 0; d ij For all d in the same time period ij The sum of (1):
Figure FDA0004125979670000031
in the above formula, mod is a modulo operation;
the constraint conditions of the model for dividing the peak-valley period into H clustering periods are as follows:
Figure FDA0004125979670000032
Figure FDA0004125979670000033
and 5.2, dividing the H time periods into peak time periods, flat time periods and valley time periods.
6. The method for formulating a time-of-use electricity price according to claim 1, wherein the step 6 specifically comprises:
the wind power scene obtained in step 6.1 and step 3 is expected to be:
Figure FDA0004125979670000034
in the above equation, theta represents a certain possible wind power scenario,
Figure FDA0004125979670000035
for each scene probability value, P wind For wind power output power, theta w A set of wind power scenarios;
step 6.2, executing an equivalent net load expression before peak-valley electricity price as follows:
Figure FDA0004125979670000036
in the above equation, Q (t) is the user load.
7. The method for formulating a time-of-use electricity price according to claim 1, wherein the step 7 specifically includes:
step 7.1, constructing an objective function according to the equivalent net load:
the target function 1, the minimum equivalent net load difference of the system in the peak and valley period after the peak-valley electricity price is implemented:
min C=min[max L(t)-min L(t)] (16);
in the above formula, L (t) is the system equivalent payload after peak-to-valley electricity prices are implemented;
objective function 2, minimum user electricity dissatisfaction:
Figure FDA0004125979670000041
in the above formula, the first and second carbon atoms are,
Figure FDA0004125979670000042
representing the change rate of the electricity consumption of the user in the t period;
and 7.2, calculating the load transfer rate, and fitting according to historical data to obtain a user response curve:
Figure FDA0004125979670000043
in the above formula,. DELTA.p ab Is the difference in electricity prices of the time period a and the time period b, h ab Saturation region threshold for electricity price difference,/ ab Dead zone threshold for electrovalence difference, K ab Is the slope of the linear region, λ, during load transfer max The maximum load transfer rate;
the load from the peak period to the ordinary period of the equivalent net load can be obtained by the same methodTransfer rate lambda fp Load transfer rate lambda from peak period to valley period of equivalent net load fg Load transfer rate lambda from flat period to valley period of equivalent net load pg The load of each period after the time-of-use electricity price is executed is thus obtained as:
Figure FDA0004125979670000044
in the above formula, T f 、T p 、T g Respectively represent three periods of peak-to-valley, L k0 ,L k Loads before and after the time-of-use electricity price are executed;
Figure FDA0004125979670000045
the equivalent net load average value of each time interval before the time-of-use electricity price is executed;
and 7.3, constructing constraint conditions:
constraint 1, time constraint:
T=T f +T p +T g =24 (20);
constraint 2, load constraint:
L=L f +L p +L g (21);
constraint condition 3, the expenditure of the user electricity rate after the implementation of the time-of-use electricity rate is less than or equal to the expenditure cost before the implementation of the time-of-use electricity rate:
Figure FDA0004125979670000051
Figure FDA0004125979670000052
U 0 ≥U TOU (24);
constraint condition 4, limiting the peak-to-valley electrovalence ratio after implementation of time-of-use electrovalence:
Figure FDA0004125979670000053
in the above formula, k 1 And k 2 Is a constant that limits the peak-to-valley electrovalence ratio.
CN202010350680.5A 2020-04-28 2020-04-28 Time-sharing electricity price making method Active CN111598612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010350680.5A CN111598612B (en) 2020-04-28 2020-04-28 Time-sharing electricity price making method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010350680.5A CN111598612B (en) 2020-04-28 2020-04-28 Time-sharing electricity price making method

Publications (2)

Publication Number Publication Date
CN111598612A CN111598612A (en) 2020-08-28
CN111598612B true CN111598612B (en) 2023-04-18

Family

ID=72185584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010350680.5A Active CN111598612B (en) 2020-04-28 2020-04-28 Time-sharing electricity price making method

Country Status (1)

Country Link
CN (1) CN111598612B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112271721B (en) * 2020-09-24 2022-12-20 西安理工大学 Wind power prediction method based on conditional Copula function
CN113888202B (en) * 2021-09-03 2025-03-25 西安峰频能源科技有限公司 A training method and application method of electricity price prediction model

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069236A (en) * 2015-08-13 2015-11-18 山东大学 Generalized load joint probability modeling method considering node spatial correlation of wind power plant
CN105244870A (en) * 2015-10-16 2016-01-13 西安交通大学 Method for rapidly calculating wind curtailment rate of power grid wind power plant and generating capacity of unit
CN106485362A (en) * 2016-10-18 2017-03-08 江苏省电力试验研究院有限公司 A kind of power generation dispatching method based on higher-dimension wind-powered electricity generation forecast error model and dimensionality reduction technology
CN107681691A (en) * 2017-09-30 2018-02-09 太原理工大学 The wind-electricity integration system operation reliability appraisal procedure of meter and uncertain factor
CN107798426A (en) * 2017-10-16 2018-03-13 武汉大学 Wind power interval Forecasting Methodology based on Atomic Decomposition and interactive fuzzy satisfying method
CN107944622A (en) * 2017-11-21 2018-04-20 华北电力大学 Wind power forecasting method based on continuous time cluster
EP3343496A1 (en) * 2016-12-28 2018-07-04 Robotina d.o.o. Method and system for energy management in a facility
CN109066651A (en) * 2018-07-20 2018-12-21 国网四川省电力公司经济技术研究院 The calculation method of wind-powered electricity generation-load scenarios limit transmitted power
CN110112779A (en) * 2019-05-17 2019-08-09 华北电力大学 Electric heating based on multimode probability distribution dissolves wind-powered electricity generation Calculating model

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070128899A1 (en) * 2003-01-12 2007-06-07 Yaron Mayer System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows
US7590589B2 (en) * 2004-09-10 2009-09-15 Hoffberg Steven M Game theoretic prioritization scheme for mobile ad hoc networks permitting hierarchal deference
US8874477B2 (en) * 2005-10-04 2014-10-28 Steven Mark Hoffberg Multifactorial optimization system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069236A (en) * 2015-08-13 2015-11-18 山东大学 Generalized load joint probability modeling method considering node spatial correlation of wind power plant
CN105244870A (en) * 2015-10-16 2016-01-13 西安交通大学 Method for rapidly calculating wind curtailment rate of power grid wind power plant and generating capacity of unit
CN106485362A (en) * 2016-10-18 2017-03-08 江苏省电力试验研究院有限公司 A kind of power generation dispatching method based on higher-dimension wind-powered electricity generation forecast error model and dimensionality reduction technology
EP3343496A1 (en) * 2016-12-28 2018-07-04 Robotina d.o.o. Method and system for energy management in a facility
CN107681691A (en) * 2017-09-30 2018-02-09 太原理工大学 The wind-electricity integration system operation reliability appraisal procedure of meter and uncertain factor
CN107798426A (en) * 2017-10-16 2018-03-13 武汉大学 Wind power interval Forecasting Methodology based on Atomic Decomposition and interactive fuzzy satisfying method
CN107944622A (en) * 2017-11-21 2018-04-20 华北电力大学 Wind power forecasting method based on continuous time cluster
CN109066651A (en) * 2018-07-20 2018-12-21 国网四川省电力公司经济技术研究院 The calculation method of wind-powered electricity generation-load scenarios limit transmitted power
CN110112779A (en) * 2019-05-17 2019-08-09 华北电力大学 Electric heating based on multimode probability distribution dissolves wind-powered electricity generation Calculating model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Yutian LIU ; Rui FAN ; Vladimir TERZIJA ; .Power system restoration: a literature review from 2006 to 2016.Journal of Modern Power Systems and Clean Energy.2016,(第03期),全文. *
马瑞 ; 王京生 ; .智慧社区多能流随机响应面模型预测控制方法.电力系统自动化.2018,(第04期),全文. *

Also Published As

Publication number Publication date
CN111598612A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
Hu et al. A new clustering approach for scenario reduction in multi-stochastic variable programming
CN118484666B (en) Energy storage power station evaluation method and system for source network load multi-element application
Zhou et al. Multi-energy net load forecasting for integrated local energy systems with heterogeneous prosumers
CN118739276B (en) A control method and system based on distributed photovoltaic energy storage
CN119340975B (en) Power grid hybrid energy storage optimization regulation and control method based on source network charge storage
CN112184479A (en) A research method for adaptability of reservoir group scheduling rules and parameters to climate change
CN111598612B (en) Time-sharing electricity price making method
Zhang et al. Time-of-use pricing model considering wind power uncertainty
CN115186915A (en) Load prediction scene construction method considering extreme learning machine parameter optimization
Bharathi et al. Load forecasting for demand side management in smart grid using non-linear machine learning technique
CN112633565A (en) Photovoltaic power aggregation interval prediction method
CN116777153A (en) Distribution network flexibility attribution analysis method considering distributed energy access
CN108694475B (en) Short-time-scale photovoltaic cell power generation capacity prediction method based on hybrid model
CN119602272A (en) An optimization control method based on the source-load operation scenario model considering uncertainty
Caliano et al. Consumption based-only load forecasting for individual households in nanogrids: A case study
CN113659631A (en) Wind-solar power station group output description method considering time-varying characteristics
CN118734257A (en) A method and system for ultra-short-term power load forecasting
Wenhao et al. An analytical method for intelligent electricity use pattern with demand response
CN117791551A (en) New energy station power prediction error probability modeling method based on multi-source characteristics
Jose et al. Impact of demand response contracts on short-term load forecasting in smart grid using SVR optimized by GA
Nanda et al. BayesForSG: A Bayesian model for forecasting thermal load in smart grids
Hu et al. Refining Short-Term Power Load Forecasting: An Optimized Model with Long Short-Term Memory Network
Liu et al. Industrial Flexible Load Scheduling Optimization Method Based on Probabilistic Demand Response Potential Evaluation
Raha et al. Artificial Neural Network based Short-Term Residential Load Forecasting
Abdelhamid et al. Deep Learning with Dipper Throated Optimization Algorithm for Energy Consumption Forecasting in Smart Households. Energies 2022, 15, 9125

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
OL01 Intention to license declared
OL01 Intention to license declared