CN116862068A - Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty - Google Patents

Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty Download PDF

Info

Publication number
CN116862068A
CN116862068A CN202310863480.3A CN202310863480A CN116862068A CN 116862068 A CN116862068 A CN 116862068A CN 202310863480 A CN202310863480 A CN 202310863480A CN 116862068 A CN116862068 A CN 116862068A
Authority
CN
China
Prior art keywords
substation
response
planning
load
demand response
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.)
Pending
Application number
CN202310863480.3A
Other languages
Chinese (zh)
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.)
Tianjin Tiandian Qingyuan Technology Co ltd
Tianjin University
Original Assignee
Tianjin Tiandian Qingyuan Technology Co ltd
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Tiandian Qingyuan Technology Co ltd, Tianjin University filed Critical Tianjin Tiandian Qingyuan Technology Co ltd
Priority to CN202310863480.3A priority Critical patent/CN116862068A/en
Publication of CN116862068A publication Critical patent/CN116862068A/en
Pending legal-status Critical Current

Links

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
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • 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

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a robust optimization method and a robust optimization system for transformer substation planning distribution, which are used for considering excitation type response uncertainty. Firstly, comprehensively considering subscription cost, response cost and punishment income of excitation type demand response, and establishing a substation site selection and volume fixation mixed integer linear programming model. And secondly, constructing a response power uncertainty fuzzy set based on the 1-norm and the ++norm, and establishing a transformer substation planning distribution robust optimization model considering excitation type response uncertainty on the basis of improving the mixed integer linear programming model. And finally, decomposing the model into a main problem and a sub problem, and providing a distributed robust optimization model iterative solving method generated based on the columns and the constraints. The method provided by the invention uses the distributed robust optimization model, can fully consider the randomness of the user demand response, calculates and matches the load characteristics in the model, effectively reduces the peak value of the load curve of the transformer substation, and ensures the economy and the robustness of the planning scheme.

Description

一种计及激励型响应不确定性的变电站规划分布鲁棒优化方 法及系统A distributed robust optimization method and system for substation planning considering incentive response uncertainty

技术领域Technical Field

本发明属于配电网规划领域,涉及一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法及系统。The present invention belongs to the field of distribution network planning, and relates to a robust optimization method and system for substation planning taking into account incentive response uncertainty.

背景技术Background Art

近年来,我国能源转型战略快速推进,终端能源的电气化程度不断提高,导致配电网尖峰负荷逐年攀升,为变电站规划投资带来巨大压力。需求响应是解决这一问题的有效手段。然而,需求响应虽能一定程度上降低负荷峰值,但由于人为决策因素的影响,其响应存在一定的不确定性。如何在变电站规划中精细地考虑需求响应及其不确定性,是当前亟待解决的重要问题。In recent years, my country's energy transformation strategy has been rapidly promoted, and the electrification degree of terminal energy has been continuously improved, resulting in the peak load of the distribution network rising year by year, which has brought huge pressure on the planning and investment of substations. Demand response is an effective means to solve this problem. However, although demand response can reduce the load peak to a certain extent, its response has certain uncertainties due to the influence of human decision-making factors. How to carefully consider demand response and its uncertainty in substation planning is an important issue that needs to be solved urgently.

变电站规划涉及变电站的选址、定容与供电范围划分,是一种包含多类型决策变量的大规模非线性优化问题,早期的规划方法主要有启发式方法和分层解耦法两类。启发式方法算法在求解大规模问题时能取得最优解或近似最优解,易陷入局部最优,且供电范围划分多采用就近分配,造成规划不合理以及负载率过低或过高等问题;分层解耦法的本质是对大规模非线性问题解耦为上下两层子问题,针对上层生成的每一种待选容量组合方案实现选址和供电范围划分,此类方法生成的容量组合方案存在无法列举完全的可能。Substation planning involves the site selection, capacity determination and power supply range division of substations. It is a large-scale nonlinear optimization problem involving multiple types of decision variables. Early planning methods mainly include heuristic methods and hierarchical decoupling methods. Heuristic method algorithms can obtain optimal solutions or approximate optimal solutions when solving large-scale problems, but are prone to fall into local optimality. In addition, the power supply range division often adopts the nearest allocation, resulting in unreasonable planning and problems such as too low or too high load rate. The essence of the hierarchical decoupling method is to decouple large-scale nonlinear problems into two layers of sub-problems, and realize site selection and power supply range division for each candidate capacity combination scheme generated by the upper layer. There is a possibility that the capacity combination schemes generated by this method cannot be fully listed.

许多研究已在变电站规划中计及需求响应,可以改善变电站综合负荷特性,降低变电站规划投资成本,但都未考虑需求响应的不确定性,导致规划方案可能会出现目标年规划投资不足。对变电站规划中的不确定性因素的考虑,一些研究基于随机优化方法,对目标年负荷预测的位置和大小的不确定性、光伏出力的不确定性等进行建模,但这种方法需要已知不确定因素概率分布,实际应用中难以获取,因而会导致目标年规划投资不足;还有一些研究采用鲁棒优化的方法对不确定性进行处理,即考虑最恶劣场景下的不确定因素概率分布,所得的规划方案又偏于保守。近年来,分布鲁棒优化方法在处理不确定性方面的优点逐渐受到学者们的关注,其结合了随机优化和鲁棒优化的特点,优化结果在经济性和保守性方面表现出良好的性能。Many studies have taken demand response into account in substation planning, which can improve the comprehensive load characteristics of substations and reduce the investment cost of substation planning. However, the uncertainty of demand response has not been considered, which may lead to insufficient investment in the target year planning scheme. Considering the uncertainty factors in substation planning, some studies have modeled the uncertainty of the location and size of the target year load forecast and the uncertainty of photovoltaic output based on stochastic optimization methods. However, this method requires the known probability distribution of uncertain factors, which is difficult to obtain in practical applications, thus leading to insufficient investment in the target year planning. Some studies have used robust optimization methods to deal with uncertainty, that is, considering the probability distribution of uncertain factors under the worst scenario, and the resulting planning scheme is conservative. In recent years, the advantages of the distributed robust optimization method in dealing with uncertainty have gradually attracted the attention of scholars. It combines the characteristics of stochastic optimization and robust optimization, and the optimization results show good performance in terms of economy and conservatism.

发明内容Summary of the invention

本发明所要解决的技术问题在于如何建立一种计及需求响应及其不确定性的变电站规划数学模型,并采用数学规划方法求解,克服传统变电站规划方法易陷入局部最优的同时,保证所得规划方案的经济性和鲁棒性。The technical problem to be solved by the present invention is how to establish a mathematical model for substation planning that takes into account demand response and its uncertainty, and adopt mathematical programming methods to solve it, so as to overcome the problem that traditional substation planning methods are prone to fall into local optimality while ensuring the economy and robustness of the resulting planning scheme.

本发明通过以下技术手段解决上述问题。The present invention solves the above-mentioned problems through the following technical means.

一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法,其特征在于:具体步骤如下:A distributed robust optimization method for substation planning taking into account the uncertainty of incentive-type response is characterized by: the specific steps are as follows:

Step1:综合考虑需求响应的签约成本、响应成本与惩罚收益,建立计及激励型需求响应的变电站选址定容混合整数线性规划模型;Step 1: Comprehensively consider the contract cost, response cost and penalty benefit of demand response, and establish a mixed integer linear programming model for substation location and sizing taking into account incentive-based demand response;

Step2:构建基于1-范数和∞-范数的响应功率不确定模糊集,在对混合整数线性规划模型改进的基础上,建立基于多离散场景的两阶段三层分布鲁棒优化模型;Step 2: Construct uncertain fuzzy sets of response power based on 1-norm and ∞-norm, and establish a two-stage three-layer distributed robust optimization model based on multiple discrete scenarios on the basis of improving the mixed integer linear programming model;

Step3:针对该分布鲁棒优化模型,提出基于列与约束生成的主问题和子问题迭代算法。Step 3: For this distributed robust optimization model, an iterative algorithm for the main problem and subproblems based on column and constraint generation is proposed.

而且,Step1中所述的混合整数线性规划模型的建立,包括:1)电网公司的需求响应成本模型Furthermore, the establishment of the mixed integer linear programming model described in Step 1 includes: 1) the demand response cost model of the power grid company

电力供用双方首先签订合约,规定好签约期内用户可响应的最大功率,签约容量P1,产生签约成本;配电网运行期间提前向用户发出在用电高峰时的响应指令,用户按指令响应功率Pt,累计产生响应成本;用户响应功率少于指令要求的部分为违约功率Pt,f,累计产生惩罚收益。电网公司每年支付给单个用户的需求响应成本计算公式如下:The power supply and user first sign a contract to stipulate the maximum power that the user can respond to during the contract period, the contract capacity P 1 , and generate contract costs; during the operation of the distribution network, the user is given a response instruction in advance during the peak power consumption period, and the user responds to the power P t according to the instruction, and the response cost is accumulated; the part of the user's response power that is less than the instruction requirement is the default power P t,f , and the penalty income is accumulated. The demand response cost calculation formula paid by the power grid company to a single user each year is as follows:

其中,CDR为电网公司每年需支付给该用户的需求响应费用;σ1、σ2、σ3分别为签约成本、响应成本和惩罚收益的单位价格;P为用户负荷量最大值;λ为用户的最大可签约容量与其最大负荷量的比值,代表了该负荷参与需求响应的能力;Among them, C DR is the demand response fee that the power grid company needs to pay to the user every year; σ 1 , σ 2 , σ 3 are the unit prices of contract cost, response cost and penalty benefit respectively; P is the maximum load of the user; λ is the ratio of the user's maximum contractable capacity to its maximum load, which represents the ability of the load to participate in demand response;

2)计及需求响应的变电站规划模型2) Substation planning model considering demand response

变电站规划目的为满足目标年负荷用电需求及各种规划约束的前提下,尽可能地降低变电站及主干线路的投资建设成本,同时还应考虑与需求响应相关的各项成本;The purpose of substation planning is to reduce the investment and construction costs of substations and trunk lines as much as possible under the premise of meeting the target annual load power demand and various planning constraints. At the same time, various costs related to demand response should also be considered;

a)决策变量:决策变量包括变电站位置与容量选择、负荷与变电站连接关系、需求响应签约容量和各时段的响应功率,xis为布尔变量,表示第i个变电站位置是否选择第s种变电站类型,每一种待选变电站类型对应不同的变电站容量,在待选变电站类型中增添容量为0的选项,若某变电站位置选择到0容量类型则表示该位置未被选择建设变电站,将位置选择与容量选择两个变量进行统一,解决了变电站建设成本计算中这两个变量需要相乘而造成的非线性问题;yij为布尔变量,表示第i个变电站位置是否与第j个负荷存在连接关系;为连续变量,表示第j个负荷的需求响应签约容量;为连续变量,表示第j个负荷在t时段的响应功率;a) Decision variables: Decision variables include substation location and capacity selection, load and substation connection relationship, demand response contract capacity and response power in each time period. x is a Boolean variable, indicating whether the ith substation location selects the sth substation type. Each substation type to be selected corresponds to a different substation capacity. An option with a capacity of 0 is added to the substation types to be selected. If a substation location selects the 0 capacity type, it means that the location is not selected for substation construction. The two variables of location selection and capacity selection are unified, which solves the nonlinear problem caused by the need to multiply these two variables in the calculation of substation construction cost; y ij is a Boolean variable, indicating whether the ith substation location has a connection relationship with the jth load; is a continuous variable, indicating the demand response contract capacity of the jth load; is a continuous variable, indicating the response power of the jth load in period t;

b)目标函数:b) Objective function:

minC=CS+CL+CDR1+CDR2 minC= CS + CL + CDR1 + CDR2

其中:C为总成本;CS、CL、CDR1和CDR2分别为变电站建设年费用、线路建设年费用、需求响应签约成本和响应成本;r0为贴现率;ms为变压器折旧年限;NP为变电站待选位置数量;NS为待选变电站类型数量;CSs为第s个待选变电站类型的建设成本;β为线路单位成本系数;ml为线路折旧年限;NL为负荷点个数;dij为变电站i到负荷j的距离;Pj为第j个负荷点的最大负荷量;σj,1和σj,2分别为第j个负荷的需求响应签约成本和响应成本的单位价格;Where: C is the total cost; CS , CL , CDR1 and CDR2 are the annual cost of substation construction, annual cost of line construction, demand response contract cost and response cost respectively; r0 is the discount rate; ms is the depreciation period of the transformer; NP is the number of substation locations to be selected; NS is the number of substation types to be selected; CSs is the construction cost of the sth substation type to be selected; β is the line unit cost coefficient; ml is the line depreciation period; NL is the number of load points; dij is the distance from substation i to load j; Pj is the maximum load of the jth load point; σj ,1 and σj ,2 are the unit prices of the demand response contract cost and response cost of the jth load respectively;

c)约束条件:c) Constraints:

变电站容量选择唯一性约束。一个变电站建设位置只能选择一种变电站类型:Substation capacity selection uniqueness constraint. Only one substation type can be selected for a substation construction location:

负荷点归属唯一性约束。在供电范围划分时,一个负荷点对应的上级变电站有且只有一个:Load point ownership uniqueness constraint. When dividing the power supply range, there is only one upper-level substation corresponding to a load point:

最大供电半径约束,rmax为供配电设计规范中规定的中压线路供电半径最大值:Maximum power supply radius constraint, r max is the maximum value of the power supply radius of the medium voltage line specified in the power supply and distribution design specification:

yi,jdij≤rmax i∈[1,NP],j∈[1,NL]y i,j d ij ≤r max i∈[1,N P ],j∈[1,N L ]

变电站N-1安全约束,基于电网安全运行原则,变电站内任一台变压器故障后,剩余变压器需满足带供电范围内所有负荷运行2小时,正常运行时变电站的最大负载率es,有如下不等式约束:Substation N-1 safety constraint, based on the principle of safe operation of the power grid, after any transformer in the substation fails, the remaining transformers must meet the requirements of operating with all loads within the power supply range for 2 hours. The maximum load rate of the substation during normal operation, e s , has the following inequality constraints:

式中,Ji为第i个变电站供电范围内的负荷集;Pj,t为第j个负荷在t时段的功率;为第j个负荷的功率因数;Ss为第s个待选变电站类型的容量;Where, Ji is the load set within the power supply range of the i-th substation; Pj,t is the power of the j-th load in the t-th period; is the power factor of the jth load; S s is the capacity of the sth substation type to be selected;

需求响应约束,各负荷点的需求响应签约容量不大于其最大响应能力,运行时用户响应容量不大于签约容量:Demand response constraints: the demand response contract capacity of each load point shall not be greater than its maximum response capacity, and the user response capacity during operation shall not be greater than the contract capacity:

而且,Step2中所述鲁棒优化模型的构建步骤包括:Furthermore, the steps for constructing the robust optimization model described in Step 2 include:

1)构建需求响应的不确定模糊集1) Constructing uncertain fuzzy sets for demand response

考虑到用户意愿的不确定性,实际响应结果Pt与电网需求响应指令存在偏差,并且Pt在一定范围内波动,对其不确定性的模糊集进行建模:Considering the uncertainty of user willingness, there is a deviation between the actual response result Pt and the grid demand response instruction, and Pt fluctuates within a certain range. The fuzzy set of its uncertainty is modeled:

首先是通过历史数据获得多个实际的场景,再通过场景聚类手段,筛选得到Nk个有限离散场景和各场景下的概率分布pk,0;再次,考虑到这些场景并不能代表实际的概率分布,构建基于1-范数和∞-范数的置信集合来限制概率分布的波动变化:First, we obtain multiple actual scenarios through historical data, and then screen N k finite discrete scenarios and the probability distribution p k,0 under each scenario by means of scenario clustering. Thirdly, considering that these scenarios cannot represent the actual probability distribution, we construct a confidence set based on the 1-norm and ∞-norm to limit the fluctuation of the probability distribution:

其中,Ψ1和Ψ分别表示1-范数和∞-范数限制的置信区间;P为场景概率pk的向量形式;P0为各场景初始概率pk,0的向量形式;为与P对应Nk个正实数组成的向量;K为样本场景数目;α1和α分别为Ψ1和Ψ成立的置信度。故概率分布置信度集合同时受到1-范数和∞-范数的限制,避免了过于极端的情形,Ψ=Ψ1∩Ψ,即:Where Ψ 1 and Ψ represent the confidence intervals restricted by 1-norm and ∞-norm respectively; P is the vector form of the scenario probability p k ; P 0 is the vector form of the initial probability p k,0 of each scenario; is a vector of N k positive real numbers corresponding to P; K is the number of sample scenarios; α 1 and α are the confidence levels for Ψ 1 and Ψ respectively. Therefore, the probability distribution confidence set is restricted by both the 1-norm and the ∞-norm, avoiding extreme situations, Ψ = Ψ 1 ∩Ψ , that is:

2)计及响应功率不确定性的两阶段分布鲁棒优化模型2) Two-stage distributed robust optimization model considering response power uncertainty

考虑的需求响应不确定性是用户在收到响应指令时不能完全满足其响应要求,响应功率存在不确定性,从而产生违约功率,故运行阶段的需求响应成本CDR2计算公式应重写如下:The uncertainty of demand response considered is that users cannot fully meet their response requirements when receiving response instructions, and there is uncertainty in the response power, which results in default power. Therefore, the calculation formula of demand response cost C DR2 in the operation stage should be rewritten as follows:

同时,需求响应不确定性会改变实际的响应功率,导致变电站供电范围内的负荷曲线波动,进而影响变电站的N-1安全约束,其约束公式应重写如下:At the same time, the uncertainty of demand response will change the actual response power, causing the load curve within the power supply range of the substation to fluctuate, which in turn affects the N-1 safety constraint of the substation. The constraint formula should be rewritten as follows:

用户需求响应的不确定性在运行阶段,进而会影响到规划阶段,因此,计及不确定性后可将规划模型分解为两个阶段,第一阶段是规划阶段,决策变量包括变电站位置与容量选择关系、负荷与变电站的连接关系以及需求响应签约容量;第二阶段是运行阶段,决策变量为用户的响应功率,而实际响应功率存在不确定性;第一阶段决策变量包括xis、yij用向量x表示,第二阶段决策变量用向量d表示。故基于离散场景的分布鲁棒模型可表达如下:The uncertainty of user demand response will affect the planning stage in the operation stage. Therefore, the planning model can be decomposed into two stages after taking into account the uncertainty. The first stage is the planning stage. The decision variables include the relationship between substation location and capacity selection, the connection relationship between load and substation, and the demand response contract capacity. The second stage is the operation stage. The decision variable is the user's response power, and the actual response power is uncertain. The decision variables in the first stage include x is , y ij and The second stage decision variables are represented by vector x. It is represented by vector d. Therefore, the distributed robustness model based on discrete scenarios can be expressed as follows:

其中:aT为第一阶段目标函数的线性系数矩阵;bT为第二阶段目标函数的线性系数矩阵;Nk表示概率分布的离散场景总数,k为每一个场景的编号,pk表示在k场景的概率,约束条件形式变换如下:Where: a T is the linear coefficient matrix of the objective function of the first stage; b T is the linear coefficient matrix of the objective function of the second stage; N k represents the total number of discrete scenarios of the probability distribution, k is the number of each scenario, p k represents the probability in the k scenario, and the constraint condition form is transformed as follows:

其中:C,E,F,G,H,m,n,u,v表示上文中变量相应的矩阵或向量形式,前两个公式对应第一阶段变量的等式约束和不等式约束;第三个不等式约束为第一阶段变量和第二阶段变量的容量耦合不等式;最后一个不等式约束对应第二阶段的需求响应不等式约束。Among them: C, E, F, G, H, m, n, u, v represent the corresponding matrix or vector form of the variables mentioned above. The first two formulas correspond to the equality constraints and inequality constraints of the first-stage variables; the third inequality constraint is the capacity coupling inequality of the first-stage variables and the second-stage variables; the last inequality constraint corresponds to the demand response inequality constraint of the second stage.

而且,Step3中所述迭代算法,包括:Furthermore, the iterative algorithm described in Step 3 includes:

基于列于约束生成算法,将模型分解为主问题MP和子问题SP,再通过迭代求取最优解,其中,MP求解的目的是,在有限离散场景条件下,得到满足已知概率分布约束的最优规划方案,MP的目标函数与约束条件描述如下:Based on the constraint generation algorithm, the model is decomposed into the main problem MP and the sub-problem SP, and then the optimal solution is obtained through iteration. The purpose of MP solution is to obtain the optimal planning solution that satisfies the known probability distribution constraints under the conditions of finite discrete scenarios. The objective function and constraint conditions of MP are described as follows:

其中,L为下层需求响应运行成本,上角标r表示第r次迭代,除第1次迭代外,其余每次迭代的概率分布均由SP求解得出。MP问题求解得到一个全局最优解C*和相应的规划决策变量x* Where L is the lower-level demand response operating cost, the superscript r indicates the rth iteration, and except for the first iteration, the probability distribution of each iteration is obtained by SP solution. The MP problem is solved to obtain a global optimal solution C * and the corresponding planning decision variable x * ;

SP求解目的是基于MP的优化结果x*,在已知变电站容量及供电范围、需求响应签约容量的情况下,对负荷时序特性和需求响应特性进行匹配,找到响应功率的最差概率分布Pk,然后将该分布提供给MP,以便进行下一步的迭代计算,同时根据所得L(x*)更新全局最优解,SP的目标函数可描述如下:The purpose of SP solution is to match the load timing characteristics and demand response characteristics based on the optimization result x * of MP, when the substation capacity, power supply range and demand response contract capacity are known, to find the worst probability distribution P k of the response power, and then provide this distribution to MP for the next iterative calculation, and update the global optimal solution according to the obtained L(x * ). The objective function of SP can be described as follows:

从上式可以看出,每个场景中的min问题都是独立的,使用并行方法同时计算,如第k个场景的内部优化结果为则SP的目标函数可转换为:It can be seen from the above formula that the min problem in each scenario is independent and is calculated simultaneously using a parallel method. For example, the internal optimization result of the kth scenario is Then the objective function of SP can be converted to:

上述MP和SP问题分别用MILP模型和线性规划模型进行求解,并将SP的优化结果Pk传递给MP进行迭代计算,直至前后相邻两次迭代的全局最优解C*差值小于规定阈值时停止迭代,得到最优规划成本和决策变量值。The above MP and SP problems are solved using the MILP model and linear programming model respectively, and the optimization result Pk of SP is passed to MP for iterative calculation until the difference between the global optimal solution C * of the two consecutive iterations is less than the specified threshold, and the iteration is stopped to obtain the optimal planning cost and decision variable value.

一种计及激励型响应不确定性的变电站规划分布鲁棒优化系统,其特征在于,所述系统包括:A distributed robust optimization system for substation planning taking into account incentive response uncertainty, characterized in that the system comprises:

(1)数据输入和处理模块,用于对输入的负荷预测数据及各类规划参数信息进行矩阵化处理;(1) Data input and processing module, used to perform matrix processing on the input load forecast data and various planning parameter information;

(2)主问题求解模块,在有限离散场景条件下,得到满足已知概率分布约束的最优规划方案和规划层决策变量;(2) The main problem solving module obtains the optimal planning scheme and planning-level decision variables that satisfy the known probability distribution constraints under the conditions of finite discrete scenarios;

(3)子问题求解模块,将主问题求解模块所得的规划层的决策变量固定,以运行成本最小为目标求解运行层决策变量,同时找到响应功率的最差概率分布。(3) The sub-problem solving module fixes the decision variables of the planning layer obtained by the main problem solving module, solves the decision variables of the operation layer with the goal of minimizing the operation cost, and finds the worst probability distribution of the response power.

而且,所述系统还包括以下模块:Furthermore, the system further comprises the following modules:

初始化模块,用于迭代求解参数的初始化设置,以及通过已知场景概率介入算法,求出相应的鲁棒性场景概率从而形成迭代;The initialization module is used to iteratively solve the initialization settings of parameters and intervene in the algorithm through known scene probabilities to find the corresponding robust scene probabilities to form iterations;

判定模块,用于规划结果是否收敛可以停止迭代求解;The judgment module is used to determine whether the planning results have converged and whether the iterative solution can be stopped;

输出模块,输出规划方案和决策变量。Output module, outputs planning schemes and decision variables.

一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至4任一项所述的方法。A non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method according to any one of claims 1 to 4.

一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至4任一项所述的方法。A computer program product, characterized in that the computer program product comprises a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, and when the program instructions are executed by a computer, the computer executes the method as described in any one of claims 1 to 4.

本发明的优点在于:The advantages of the present invention are:

(1)本发明所建模型及采用的求解方法均是基于数学规划法,有效解决了传统变电站规划易陷入局部最优的问题。(1) The model established and the solution method adopted by the present invention are based on mathematical programming, which effectively solves the problem that traditional substation planning is prone to fall into local optimality.

(2)因为变压器容量都是固定值,即规划变电站容量具有不连续性,计及需求响应的变电站规划可依据每个变电站供电范围内的负荷曲线特性,配置合理的需求响应策略,有效提高变电站利用效率。(2) Because the transformer capacity is a fixed value, that is, the planned substation capacity is discontinuous, the substation planning taking demand response into account can configure a reasonable demand response strategy based on the load curve characteristics within the power supply range of each substation, thereby effectively improving the utilization efficiency of the substation.

(3)考虑负荷及需求响应的时序功率,建立对应的矩阵模型,可充分考虑负荷及需求响应的时序特性匹配,有效降低了供电范围内的负荷曲线峰值,降低变电站规划的容量成本。(3) Considering the time series power of load and demand response, the corresponding matrix model is established, which can fully consider the matching of the time series characteristics of load and demand response, effectively reduce the peak value of the load curve within the power supply range, and reduce the capacity cost of substation planning.

(4)在响应功率不确定性的处理上,采用基于多离散场景的分布鲁棒优化方法,克服了随机优化依赖已知概率分布易导致规划不足的同时,有效减少了规划结果的保守性。(4) In dealing with the uncertainty of response power, a distributed robust optimization method based on multiple discrete scenarios is adopted. This overcomes the problem that random optimization relies on known probability distribution and is prone to insufficient planning, while effectively reducing the conservatism of the planning results.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

图1为本发明计及激励型响应不确定性的变电站规划分布鲁棒优化方法的流程图;FIG1 is a flow chart of a distributed robust optimization method for substation planning taking into account uncertainty of incentive-type response according to the present invention;

图2为本发明计及激励型响应不确定性的变电站规划分布鲁棒优化系统运行流程图;FIG2 is a flowchart of the operation of the substation planning distribution blue stick optimization system taking into account the uncertainty of the incentive-type response of the present invention;

图3为实施例中各类负荷典型日24h负荷曲线;FIG3 is a typical daily 24-hour load curve of various loads in the embodiment;

图4为实施例中规划区域内负荷及待选站址分布;FIG4 is a diagram showing the distribution of loads and candidate sites within the planning area in an embodiment;

图5为实施例中案例1的供电范围划分结果;FIG5 is a power supply range division result of case 1 in the embodiment;

图6为实施例中案例2的供电范围划分结果。FIG. 6 is a result of dividing the power supply range of Case 2 in the embodiment.

图7为实施例中案例3的供电范围划分结果;FIG7 is a power supply range division result of case 3 in the embodiment;

图8为实施例中案例3规划成本随样本场景数目的变化趋势。FIG8 shows the variation trend of planning cost of Case 3 with the number of sample scenarios in the embodiment.

具体实施方式DETAILED DESCRIPTION

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

结合附图1详细阐述本发明所提一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法及整体求解流程,具体步骤如下:In conjunction with FIG1 , a substation planning distributed robust optimization method and an overall solution process considering the uncertainty of the incentive-type response proposed by the present invention are described in detail, and the specific steps are as follows:

Step1:综合考虑需求响应的签约成本、响应成本与惩罚收益,建立计及激励型需求响应的变电站选址定容混合整数线性规划模型。Step 1: Considering the contracting cost, response cost and penalty benefit of demand response, a mixed integer linear programming model for substation site selection and sizing considering incentive-based demand response is established.

Step2:构建基于1-范数和∞-范数的响应功率不确定模糊集,在对混合整数线性规划模型改进的基础上,建立基于多离散场景的两阶段三层分布鲁棒优化模型。Step 2: Construct uncertain fuzzy sets of response power based on 1-norm and ∞-norm, and establish a two-stage three-layer distributed robust optimization model based on multiple discrete scenarios on the basis of improving the mixed integer linear programming model.

Step3:针对该分布鲁棒模型,提出基于列与约束生成的主问题和子问题迭代算法。Step 3: For this distributed robust model, an iterative algorithm for the main problem and subproblems based on column and constraint generation is proposed.

在算例系统上,阐明了所提出的模型和方法的有效性。本发明选用某占地面积97.56km2的区域算例进行测试。根据用地规划将其分为351个小区进行目标年空间负荷预测,其中居民负荷曲线峰值功率616.56MW,商业负荷曲线峰值功率434.73MW,工业负荷曲线峰值功率625.23MW,三类负荷时序匹配后总峰值功率为1385.66MW。三类负荷中各有一定比例的可削减负荷,详细负荷时序见图3,负荷及变电站位置分布见图4。规划区内有可选变电站建设位置22个,详细变电站位置信息见附录表A2。待选变电站的容量包括2×40,2×50,3×40,3×50MVA四种,建设费用分别为2200,2500,3200,3600万元。变电站及线路使用年限为30年,线路成本为0.025万元/(km·kW),贴现率取0.045。各类负荷需求响应签约价格,响应价格,惩罚价格详细见表1。在不确定性参数设置方面,DRO模型采用的置信度水平和分别取50%和99%,分别选择居民、商业、工业三种负荷各20个不确定性场景作为样本。The effectiveness of the proposed model and method is illustrated on the example system. The present invention uses a regional example covering an area of 97.56km2 for testing. According to the land use planning, it is divided into 351 communities for target year spatial load forecasting, among which the peak power of the residential load curve is 616.56MW, the peak power of the commercial load curve is 434.73MW, and the peak power of the industrial load curve is 625.23MW. After the three types of load sequence matching, the total peak power is 1385.66MW. There is a certain proportion of load that can be reduced in each of the three types of loads. The detailed load sequence is shown in Figure 3, and the distribution of load and substation location is shown in Figure 4. There are 22 optional substation construction locations in the planning area. The detailed substation location information is shown in Appendix Table A2. The capacity of the substations to be selected includes 2×40, 2×50, 3×40, and 3×50MVA, and the construction costs are 22 million, 25 million, 32 million, and 36 million yuan respectively. The service life of the substation and line is 30 years, the line cost is 0.025 million yuan/(km·kW), and the discount rate is 0.045. The contract price, response price, and penalty price of various load demand response are detailed in Table 1. In terms of uncertainty parameter setting, the confidence levels and adopted by the DRO model are 50% and 99% respectively, and 20 uncertainty scenarios of residential, commercial, and industrial loads are selected as samples.

表1需求响应成本参数Table 1 Demand response cost parameters

(1)案例对比分析(1) Case comparative analysis

为便于分析计及需求响应及其不确定性对规划结果的影响,设置以下3种案例进行规划对比。分别为案例1不考虑需求响应的变电站规划;案例2考虑需求响应,但不计及其不确定性的变电站规划;案例3考虑需求响应及其不确定性的变电站规划。3个案例的规划成本见表2,变电站规划容量及各变电站负载率见表3,案例1-3的供电范围划分结果分别见图5-7。In order to analyze the impact of demand response and its uncertainty on planning results, the following three cases are set for planning comparison. Case 1 is substation planning without considering demand response; Case 2 is substation planning considering demand response but ignoring its uncertainty; Case 3 is substation planning considering demand response and its uncertainty. The planning costs of the three cases are shown in Table 2, the planned capacity of the substation and the load rate of each substation are shown in Table 3, and the power supply range division results of Cases 1-3 are shown in Figures 5-7 respectively.

表2三种案例的规划年成本Table 2 Annual planning costs for three cases

表3三种案例规划变电站容量和负载率Table 3 Planned substation capacity and load rate for three cases

注:考虑到变电站的N-1安全原则,算例中设置的两主变负载率上限为65%,三主变负载率上限为86%。案例2-3未在2#位置规划建设变电站。Note: Considering the N-1 safety principle of the substation, the upper limit of the load rate of the two main transformers in the calculation example is 65%, and the upper limit of the load rate of the three main transformers is 86%. Case 2-3 does not plan to build a substation at the 2# position.

对3个案例的规划结果进行分析。案例2较案例1可少规划变电站1座,虽然每年需承担116.5万元的需求响应成本,但每年可节约建设投资费用337.7万元。案例3较案例2多考虑了需求响应的不确定性,其规划成本和需求响应成本均有明显增加,变电站投资中有一座40×3MVA的变电站改为了一座50×3MVA的变电站,提高了规划容量,可有效应对需求响应不确定性带来的影响;需求响应的签约成本和响应成本共增加13.85万元,但因为有惩罚收益9.34万元,总需求响应成本提高仅为4.51万元,需求响应成本提高是因为考虑不确定性后需增加响应强度,可以应对需求响应不确定性带来的负荷曲线峰值过高。案例3较案例2的总成本每年增加了19.69万元,但仍然明显低于案例1不考虑需求响应的规划成本。The planning results of the three cases are analyzed. Case 2 can plan one less substation than Case 1. Although it needs to bear a demand response cost of 1.165 million yuan per year, it can save 3.377 million yuan in construction investment costs per year. Case 3 considers the uncertainty of demand response more than Case 2. Its planning cost and demand response cost have increased significantly. In the substation investment, a 40×3MVA substation was changed to a 50×3MVA substation, which increased the planning capacity and effectively coped with the impact of demand response uncertainty. The contract cost and response cost of demand response increased by 138,500 yuan in total, but because of the penalty income of 93,400 yuan, the total demand response cost increased by only 45,100 yuan. The increase in demand response cost is because the response intensity needs to be increased after considering uncertainty, which can cope with the excessive peak of the load curve caused by the uncertainty of demand response. The total cost of Case 3 increased by 196,900 yuan per year compared with Case 2, but it is still significantly lower than the planning cost of Case 1 without considering demand response.

(2)需求响应效果分析(2) Analysis of Demand Response Effect

本发明所提的变电站规划方法充分考虑了负荷时序特性匹配,有效降低了供电范围内的负荷曲线峰值,同时考虑规划变电站容量的不连续性,依据每个变电站供电范围内的负荷曲线特性,配置了合理的需求响应策略,可以有效提高变电站利用效率。分析表3中的各变电负载率可以发现,本发明所提方法规划的变电站负载率明显高于传统规划方法的算例结果,即变电站利用效率较传统规划方法有明显提高。The substation planning method proposed in the present invention fully considers the matching of load timing characteristics, effectively reduces the peak value of the load curve within the power supply range, and considers the discontinuity of the planned substation capacity. According to the load curve characteristics within the power supply range of each substation, a reasonable demand response strategy is configured, which can effectively improve the utilization efficiency of the substation. By analyzing the load rates of each substation in Table 3, it can be found that the load rate of the substation planned by the method proposed in the present invention is significantly higher than the calculation result of the traditional planning method, that is, the utilization efficiency of the substation is significantly improved compared with the traditional planning method.

案例2和案例3考虑需求响应的变电站负载率较案例1不考虑需求响应有明显提升,案例3考虑需求响应的不确定性后多数变电站负载率较案例2有所下降,原因是变电站留出了一定的容量裕度,在实际需求响应出现偏差时变电站仍能满足N-1的安全约束。The load rates of substations in Case 2 and Case 3 considering demand response are significantly improved compared with those in Case 1 without considering demand response. After considering the uncertainty of demand response in Case 3, the load rates of most substations are lower than those in Case 2. The reason is that the substation has reserved a certain capacity margin, and the substation can still meet the N-1 safety constraint when the actual demand response deviates.

此外,案例2未计及需求响的不确定性,大多数变电站负载率均达上限,但1#、13#、21#和22#四所变电站的负载率未达上限,且在方案3中负载率还略有提高。分析原因是这四所变电站供电范围内的负荷曲线峰值低于所规划的变电站容量,无需采用需求响应策略;而其它变电站峰值较高采用了需求响应,在负荷曲线峰值电网可向用户下发响应指令,将峰值功率削减至变电站供电能力上限值,又未考虑不确定性,故其负载率均可达到变电站的负载率上限。In addition, Case 2 did not take into account the uncertainty of demand response, and the load rates of most substations reached the upper limit, but the load rates of the four substations 1#, 13#, 21# and 22# did not reach the upper limit, and the load rates were slightly increased in Scheme 3. The reason for the analysis is that the peak value of the load curve within the power supply range of these four substations is lower than the planned substation capacity, and there is no need to adopt a demand response strategy; while other substations have higher peak values and adopt demand response. At the peak of the load curve, the power grid can send a response instruction to the user to reduce the peak power to the upper limit of the substation's power supply capacity, and the uncertainty is not considered, so their load rates can all reach the upper limit of the substation's load rate.

(3)不确定性模型分析(3) Uncertainty model analysis

1)不确定性方法对比1) Comparison of uncertainty methods

分别采用随机优化、鲁棒优化和本发明所提的分布鲁棒优化三种方法对案例3进行规划。规划成本及变电站容量选择结果如下。Three methods, namely, random optimization, robust optimization and the distributed robust optimization proposed by the present invention, are used to plan Case 3. The planning cost and substation capacity selection results are as follows.

表4三种方法的规划年成本Table 4 Annual planning costs of three methods

表5三种方法规划的变电站容量Table 5 Substation capacity planned by three methods

分析三种方法的规划结果,在建设投资费用和需求响应成本上均有差异,本发明提出的采用分布鲁棒优化模型所得规划成本介于随机优化模型和鲁棒优化模型之间,克服了随机优化依赖已知概率分布易导致规划不足的同时,有效减少了规划结果的保守性。Analysis of the planning results of the three methods shows that there are differences in construction investment costs and demand response costs. The planning cost obtained by using the distributed robust optimization model proposed in the present invention is between the random optimization model and the robust optimization model. It overcomes the problem that random optimization relies on known probability distribution and is prone to insufficient planning, while effectively reducing the conservatism of the planning results.

2)置信度水平和样本场景数目对规划的影响2) Impact of confidence level and number of sample scenarios on planning

为验证本发明所提分布鲁棒优化模型的合理性和有效性,设置不同置信度水平和不确定样本场景数目进行测试。不同置信水平下的规划年成本见表6;规划成本随样本场景数目的变化趋势见图8。In order to verify the rationality and effectiveness of the proposed distributed robust optimization model, different confidence levels and uncertain sample scenario numbers are set for testing. The annual planning costs under different confidence levels are shown in Table 6; the changing trend of planning costs with the number of sample scenarios is shown in Figure 8.

表6不同置信水平下的DRO模型规划年成本Table 6 Annual cost of DRO model planning under different confidence levels

注:成本单位为万元。Note: The cost unit is ten thousand yuan.

结合允许偏差值公式对规划结果分析,随着置信度水平和不确定性样本数量的增加,DRO求解时允许偏差范围越大,有利于找到更恶劣的不确定性场景,规划成本也在不断上升。从图8可以看出,随着总不确定样本数目的增加,规划成本在样本场景数目较少时有明显上升,但在样本场景数目达到60个左右时增速趋于平缓,再增加样本场景数目对规划结果影响不大。Combining the allowable deviation value formula to analyze the planning results, as the confidence level and the number of uncertainty samples increase, the allowable deviation range is larger when DRO is solved, which is conducive to finding worse uncertainty scenarios, and the planning cost is also rising. As can be seen from Figure 8, as the total number of uncertain samples increases, the planning cost increases significantly when the number of sample scenarios is small, but the growth rate tends to slow down when the number of sample scenarios reaches about 60, and increasing the number of sample scenarios has little effect on the planning results.

一方面,本发明提出了一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法,所述方法包括以下步骤:On the one hand, the present invention proposes a robust optimization method for substation planning taking into account the uncertainty of incentive response, the method comprising the following steps:

(1)建立一种计及激励型需求响应的变电站规划确定性模型。综合考虑需求响应的签约成本、响应成本与惩罚收益,对激励型需求响应的削峰能力和响应成本进行数学建模;再结合变电站建设投资、线路投资,建立以电网投资总成本最小为目标的混合整数线性规划模型。(1) Establish a deterministic substation planning model that takes into account incentive-based demand response. Taking into account the contracting cost, response cost, and penalty benefits of demand response, mathematical modeling is conducted on the peak shaving capacity and response cost of incentive-based demand response. Combined with the substation construction investment and line investment, a mixed integer linear programming model is established with the goal of minimizing the total grid investment cost.

(2)构建考虑需求响应不确定性的变电站规划分布鲁棒模型。考虑用户主观决策带来的响应功率不确定性,构建基于1-范数和∞-范数的不确定模糊集;在对混合整数线性规划模型改进的基础上,建立基于多离散场景的两阶段三层分布鲁棒优化模型。(2) Construct a distributed robust model for substation planning considering the uncertainty of demand response. Considering the uncertainty of response power caused by user subjective decision-making, an uncertain fuzzy set based on 1-norm and ∞-norm is constructed; based on the improvement of the mixed integer linear programming model, a two-stage three-layer distributed robust optimization model based on multiple discrete scenarios is established.

(3)提出分布鲁棒模型的求解算法。将模型分解为子问题与主问题,提出基于列与约束生成的迭代算法。(3) Propose a solution algorithm for the distributed robust model. Decompose the model into sub-problems and a main problem, and propose an iterative algorithm based on column and constraint generation.

所述步骤(1)建立一种计及激励型需求响应的变电站规划确定性模型,包括:The step (1) establishes a deterministic model for substation planning taking into account incentive-based demand response, including:

1)电网公司的需求响应成本模型1) Demand response cost model of power grid companies

基于激励的需求响应,响应对象为规划区域内的可削减负荷,是一种建立在合同约定基础上的激励型需求响应技术。电力供用双方首先签订合约,规定好签约期内用户可响应的最大功率,即签约容量P1,产生签约成本;配电网运行期间提前向用户发出在用电高峰时的响应指令,用户按指令响应功率Pt,累计产生响应成本;用户响应功率少于指令要求的部分为违约功率Pt,f,累计产生惩罚收益。电网公司每年支付给单个用户的需求响应成本计算公式如下:Incentive-based demand response, the response object is the load that can be reduced in the planning area, and it is an incentive-based demand response technology based on contractual agreements. The power supply and user parties first sign a contract to stipulate the maximum power that the user can respond to during the contract period, that is, the contract capacity P1 , and generate contract costs; during the operation of the distribution network, the user is given a response instruction in advance during the peak power consumption period, and the user responds to the power Pt according to the instruction, and the response cost is accumulated; the part of the user's response power that is less than the instruction requirement is the default power Pt,f , and the penalty income is accumulated. The demand response cost calculation formula paid by the power grid company to a single user each year is as follows:

其中,CDR为电网公司每年需支付给该用户的需求响应费用;σ1、σ2、σ3分别为签约成本、响应成本和惩罚收益的单位价格;P为用户负荷量最大值;λ为用户的最大可签约容量与其最大负荷量的比值,代表了该负荷参与需求响应的能力。Among them, C DR is the demand response fee that the power grid company needs to pay to the user every year; σ 1 , σ 2 , and σ 3 are the unit prices of contract cost, response cost, and penalty benefit respectively; P is the maximum load of the user; λ is the ratio of the user's maximum contractable capacity to its maximum load, which represents the ability of the load to participate in demand response.

2)计及需求响应的变电站规划模型2) Substation planning model considering demand response

变电站规划目的为满足目标年负荷用电需求及各种规划约束的前提下,尽可能地降低变电站及主干线路的投资建设成本,同时还应考虑与需求响应相关的各项成本。The purpose of substation planning is to reduce the investment and construction costs of substations and trunk lines as much as possible while meeting the target annual load electricity demand and various planning constraints. At the same time, various costs related to demand response should also be considered.

a)决策变量:决策变量包括变电站位置与容量选择、负荷与变电站连接关系、需求响应签约容量和各时段的响应功率。xis为布尔变量,表示第i个变电站位置是否选择第s种变电站类型,每一种待选变电站类型对应不同的变电站容量,在待选变电站类型中增添容量为0的选项,若某变电站位置选择到0容量类型则表示该位置未被选择建设变电站,如此可以将位置选择与容量选择两个变量进行统一,解决了变电站建设成本计算中这两个变量需要相乘而造成的非线性问题;yij为布尔变量,表示第i个变电站位置是否与第j个负荷存在连接关系;为连续变量,表示第j个负荷的需求响应签约容量;为连续变量,表示第j个负荷在t时段的响应功率。a) Decision variables: Decision variables include substation location and capacity selection, load and substation connection relationship, demand response contract capacity and response power in each time period. x is a Boolean variable, indicating whether the ith substation location selects the sth substation type. Each substation type to be selected corresponds to a different substation capacity. An option with a capacity of 0 is added to the substation type to be selected. If a substation location selects the 0 capacity type, it means that the location has not been selected to build a substation. In this way, the two variables of location selection and capacity selection can be unified, solving the nonlinear problem caused by the need to multiply these two variables in the calculation of substation construction cost; y ij is a Boolean variable, indicating whether the ith substation location has a connection relationship with the jth load; is a continuous variable, indicating the demand response contract capacity of the jth load; is a continuous variable, representing the response power of the jth load in period t.

b)目标函数:b) Objective function:

minC=CS+CL+CDR1+CDR2 minC= CS + CL + CDR1 + CDR2

其中:C为总成本;CS、CL、CDR1和CDR2分别为变电站建设年费用、线路建设年费用、需求响应签约成本和响应成本;r0为贴现率;ms为变压器折旧年限;NP为变电站待选位置数量;NS为待选变电站类型数量;CSs为第s个待选变电站类型的建设成本;β为线路单位成本系数;ml为线路折旧年限;NL为负荷点个数;dij为变电站i到负荷j的距离;Pj为第j个负荷点的最大负荷量;σj,1和σj,2分别为第j个负荷的需求响应签约成本和响应成本的单位价格。Where: C is the total cost; CS , CL , CDR1 and CDR2 are the annual cost of substation construction, annual cost of line construction, demand response contract cost and response cost respectively; r0 is the discount rate; ms is the depreciation period of the transformer; NP is the number of substation locations to be selected; NS is the number of substation types to be selected; CSs is the construction cost of the sth substation type to be selected; β is the line unit cost coefficient; ml is the line depreciation period; NL is the number of load points; dij is the distance from substation i to load j; Pj is the maximum load of the jth load point; σj ,1 and σj ,2 are the unit prices of the demand response contract cost and response cost of the jth load respectively.

c)约束条件:c) Constraints:

变电站容量选择唯一性约束。一个变电站建设位置只能选择一种变电站类型。Substation capacity selection uniqueness constraint: Only one substation type can be selected for a substation construction location.

负荷点归属唯一性约束。在供电范围划分时,一个负荷点对应的上级变电站有且只有一个。Load point ownership uniqueness constraint: When dividing the power supply range, there is only one upper-level substation corresponding to a load point.

最大供电半径约束。rmax为供配电设计规范中规定的中压线路供电半径最大值,也可在规划时根据实际情况进行设计,但原则上不允许大于规范值。Maximum power supply radius constraint. r max is the maximum value of the power supply radius of the medium voltage line specified in the power supply and distribution design specifications. It can also be designed according to actual conditions during planning, but in principle it is not allowed to be greater than the specified value.

yi,jdij≤rmax i∈[1,NP],j∈[1,NL]y i,j d ij ≤r max i∈[1,N P ],j∈[1,N L ]

变电站N-1安全约束。基于电网安全运行原则,变电站内任一台变压器故障后,剩余变压器需满足带供电范围内所有负荷运行2小时,以此可推出正常运行时变电站的最大负载率es。有如下不等式约束:Substation N-1 safety constraint. Based on the principle of safe operation of the power grid, after any transformer in the substation fails, the remaining transformers must meet the requirements of operating with all loads within the power supply range for 2 hours. This can be used to derive the maximum load rate e s of the substation during normal operation. There are the following inequality constraints:

式中,Ji为第i个变电站供电范围内的负荷集;Pj,t为第j个负荷在t时段的功率;为第j个负荷的功率因数;Ss为第s个待选变电站类型的容量。Where, Ji is the load set within the power supply range of the i-th substation; Pj,t is the power of the j-th load in the t-th period; is the power factor of the jth load; S s is the capacity of the sth substation type to be selected.

需求响应约束。各负荷点的需求响应签约容量不大于其最大响应能力,运行时用户响应容量不大于签约容量。Demand response constraints: The demand response contract capacity of each load point shall not be greater than its maximum response capacity, and the user response capacity during operation shall not be greater than the contract capacity.

所述步骤(2)构建考虑需求响应不确定性的变电站规划分布鲁棒模型,包括:The step (2) constructs a robust model for substation planning considering uncertainty in demand response, including:

1)构建需求响应的不确定模糊集1) Constructing uncertain fuzzy sets for demand response

考虑到用户意愿的不确定性,实际响应结果Pt与电网需求响应指令存在偏差,并且Pt在一定范围内波动。由于历史数据信息的局限性,我们很难得到完备而准确的场景概率分布,但可以对其不确定性的模糊集进行建模。首先是通过历史数据获得多个实际的场景,再通过场景聚类手段,筛选得到Nk个有限离散场景和各场景下的概率分布pk,0;再次,考虑到这些场景并不能代表实际的概率分布,可以构建基于1-范数和∞-范数的置信集合来限制概率分布的波动变化。Considering the uncertainty of user willingness, the actual response result Pt deviates from the grid demand response instruction, and Pt fluctuates within a certain range. Due to the limitations of historical data information, it is difficult to obtain a complete and accurate scenario probability distribution, but the fuzzy set of its uncertainty can be modeled. First, multiple actual scenarios are obtained through historical data, and then Nk finite discrete scenarios and the probability distribution pk,0 under each scenario are screened through scenario clustering; thirdly, considering that these scenarios cannot represent the actual probability distribution, a confidence set based on the 1-norm and ∞-norm can be constructed to limit the fluctuation of the probability distribution.

其中,Ψ1和Ψ分别表示1-范数和∞-范数限制的置信区间;P为场景概率pk的向量形式;P0为各场景初始概率pk,0的向量形式;为与P对应Nk个正实数组成的向量;K为样本场景数目;α1和α分别为Ψ1和Ψ成立的置信度。故概率分布置信度集合同时受到1-范数和∞-范数的限制,避免了过于极端的情形,Ψ=Ψ1∩Ψ,即:Where Ψ 1 and Ψ represent the confidence intervals restricted by 1-norm and ∞-norm respectively; P is the vector form of the scenario probability p k ; P 0 is the vector form of the initial probability p k,0 of each scenario; is a vector of N k positive real numbers corresponding to P; K is the number of sample scenarios; α 1 and α are the confidence levels for Ψ 1 and Ψ respectively. Therefore, the probability distribution confidence set is restricted by both the 1-norm and the ∞-norm, avoiding extreme situations, Ψ = Ψ 1 ∩Ψ , that is:

2)计及响应功率不确定性的两阶段分布鲁棒优化模型2) Two-stage distributed robust optimization model considering response power uncertainty

考虑的需求响应不确定性是用户在收到响应指令时不能完全满足其响应要求,即响应功率存在不确定性,从而产生违约功率,电网公司可按合约对其进行惩罚。故运行阶段的需求响应成本CDR2计算公式应重写如下:The uncertainty of demand response considered is that users cannot fully meet their response requirements when receiving response instructions, that is, there is uncertainty in the response power, which results in default power, and the power grid company can punish them according to the contract. Therefore, the calculation formula of demand response cost C DR2 in the operation stage should be rewritten as follows:

同时,需求响应不确定性会改变实际的响应功率,导致变电站供电范围内的负荷曲线波动,进而影响变电站的N-1安全约束,其约束公式应重写如下:At the same time, the uncertainty of demand response will change the actual response power, causing the load curve within the power supply range of the substation to fluctuate, which in turn affects the N-1 safety constraint of the substation. The constraint formula should be rewritten as follows:

用户需求响应的不确定性在运行阶段,进而会影响到规划阶段。因此,计及不确定性后可将规划模型分解为两个阶段。第一阶段是规划阶段,决策变量包括变电站位置与容量选择关系、负荷与变电站的连接关系以及需求响应签约容量。第二阶段是运行阶段,决策变量为用户的响应功率,而实际响应功率存在不确定性。本发明将第一阶段决策变量包括xis、yij用向量x表示,第二阶段决策变量用向量d表示。故基于离散场景的分布鲁棒模型可表达如下:The uncertainty of user demand response will affect the planning stage in the operation stage. Therefore, the planning model can be decomposed into two stages after taking into account the uncertainty. The first stage is the planning stage, and the decision variables include the relationship between the substation location and capacity selection, the connection relationship between the load and the substation, and the demand response contract capacity. The second stage is the operation stage, and the decision variable is the user's response power, and the actual response power is uncertain. The present invention divides the first stage decision variables into x is , y ij and The second stage decision variables are represented by vector x. It is represented by vector d. Therefore, the distributed robustness model based on discrete scenarios can be expressed as follows:

其中:aT为第一阶段目标函数的线性系数矩阵;bT为第二阶段目标函数的线性系数矩阵;Nk表示概率分布的离散场景总数,k为每一个场景的编号,pk表示在k场景的概率。约束条件形式变换如下:Among them: a T is the linear coefficient matrix of the objective function of the first stage; b T is the linear coefficient matrix of the objective function of the second stage; N k represents the total number of discrete scenarios of probability distribution, k is the number of each scenario, and p k represents the probability in the k scenario. The constraint condition form is transformed as follows:

其中:C,E,F,G,H,m,n,u,v表示上文中变量相应的矩阵或向量形式。前两个公式对应第一阶段变量的等式约束和不等式约束;第三个不等式约束为第一阶段变量和第二阶段变量的容量耦合不等式;最后一个不等式约束对应第二阶段的需求响应不等式约束。Among them: C, E, F, G, H, m, n, u, v represent the corresponding matrix or vector form of the variables mentioned above. The first two formulas correspond to the equality constraints and inequality constraints of the first-stage variables; the third inequality constraint is the capacity coupling inequality of the first-stage variables and the second-stage variables; the last inequality constraint corresponds to the demand response inequality constraint of the second stage.

所述步骤(3)提出分布鲁棒模型的求解算法,包括:The step (3) proposes a solution algorithm for the distributed robust model, including:

上述两阶段分布鲁棒模型中的目标函数和约束条件均为线性。基于列于约束生成算法,可将模型分解为主问题(MP)和子问题(SP),再通过迭代求取最优解。The objective function and constraints in the above two-stage robust model are linear. Based on the constraint generation algorithm, the model can be decomposed into the main problem (MP) and sub-problems (SP), and then the optimal solution is obtained through iteration.

其中,MP求解的目的是,在有限离散场景条件下,得到满足已知概率分布约束的最优规划方案。MP的目标函数与约束条件可描述如下:The purpose of MP solution is to obtain the optimal planning solution that satisfies the known probability distribution constraints under the conditions of finite discrete scenarios. The objective function and constraints of MP can be described as follows:

其中,L为下层需求响应运行成本,上角标r表示第r次迭代,除第1次迭代外,其余每次迭代的概率分布均由SP求解得出。MP问题求解可得到一个全局最优解C*和相应的规划决策变量x*Where L is the lower-level demand response operating cost, the superscript r indicates the rth iteration, and the probability distribution of each iteration except the first iteration is obtained by SP solution. The MP problem can be solved to obtain a global optimal solution C * and the corresponding planning decision variable x * .

SP求解目的是基于MP的优化结果x*,在已知变电站容量及供电范围、需求响应签约容量的情况下,对负荷时序特性和需求响应特性进行匹配,找到响应功率的最差概率分布Pk,然后将该分布提供给MP,以便进行下一步的迭代计算,同时根据所得L(x*)更新全局最优解。SP的目标函数可描述如下:The purpose of SP solution is to match the load timing characteristics and demand response characteristics based on the optimization result x * of MP, when the substation capacity, power supply range and demand response contract capacity are known, to find the worst probability distribution P k of the response power, and then provide the distribution to MP for the next iterative calculation, and update the global optimal solution according to the obtained L(x * ). The objective function of SP can be described as follows:

从上式可以看出,每个场景中的min问题都是独立的,因此可以使用并行方法同时计算,如第k个场景的内部优化结果为则SP的目标函数可转换为:It can be seen from the above formula that the min problem in each scenario is independent, so it can be calculated simultaneously using a parallel method. For example, the internal optimization result of the kth scenario is Then the objective function of SP can be converted to:

上述MP和SP问题分别可用MILP模型和线性规划模型进行求解,可通过商业求解器快速求解,并将SP的优化结果Pk传递给MP进行迭代计算,直至前后相邻两次迭代的全局最优解C*差值小于规定阈值时停止迭代,得到最优规划成本和决策变量值。The above MP and SP problems can be solved using the MILP model and linear programming model respectively, and can be quickly solved using commercial solvers. The optimization result Pk of SP is passed to MP for iterative calculation until the difference between the global optimal solution C * of the two consecutive iterations is less than the specified threshold, and the iteration is stopped to obtain the optimal planning cost and decision variable value.

另一方面,本发明还提供了一种计及激励型响应不确定性的变电站规划分布鲁棒优化系统,所述系统包括:On the other hand, the present invention also provides a robust optimization system for substation planning taking into account the uncertainty of incentive-type response, the system comprising:

(1)数据输入和处理模块,用于对输入的负荷预测数据及各类规划参数信息进行矩阵化处理。(1) Data input and processing module, used to perform matrix processing on the input load forecast data and various planning parameter information.

(2)主问题求解模块,在有限离散场景条件下(已知分布或子问题求解模块所得的概率分布),得到满足已知概率分布约束的最优规划方案和规划层决策变量。(2) The main problem solving module obtains the optimal planning scheme and planning layer decision variables that satisfy the known probability distribution constraints under finite discrete scenario conditions (known distribution or probability distribution obtained by the sub-problem solving module).

(3)子问题求解模块,将主问题求解模块所得的规划层的决策变量固定,以运行成本最小为目标求解运行层决策变量,同时找到响应功率的最差概率分布。(3) The sub-problem solving module fixes the decision variables of the planning layer obtained by the main problem solving module, solves the decision variables of the operation layer with the goal of minimizing the operation cost, and finds the worst probability distribution of the response power.

进一步地,完整的规划系统还应包括以下模块:Furthermore, a complete planning system should also include the following modules:

初始化模块,用于迭代求解参数的初始化设置,以及通过已知场景概率介入算法,求出相应的鲁棒性场景概率从而形成迭代。The initialization module is used to iteratively solve the initialization settings of parameters, and to intervene in the algorithm through known scene probabilities to obtain the corresponding robust scene probabilities to form iterations.

判定模块,用于规划结果是否收敛可以停止迭代求解。The judgment module is used to determine whether the planning results have converged and whether the iterative solution can be stopped.

输出模块,输出规划方案和决策变量。Output module, outputs planning schemes and decision variables.

第三方面本发明提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述方法。In a third aspect, the present invention provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the above method.

第四方面本发明提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述方法。In a fourth aspect, the present invention provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes the above method.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims (8)

1.一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法,其特征在于:具体步骤如下:1. A robust optimization method for substation planning considering incentive response uncertainty, characterized in that the specific steps are as follows: Step1:综合考虑需求响应的签约成本、响应成本与惩罚收益,建立计及激励型需求响应的变电站选址定容混合整数线性规划模型;Step 1: Comprehensively consider the contract cost, response cost and penalty benefit of demand response, and establish a mixed integer linear programming model for substation location and sizing taking into account incentive-based demand response; Step2:构建基于1-范数和∞-范数的响应功率不确定模糊集,在对混合整数线性规划模型改进的基础上,建立基于多离散场景的两阶段三层分布鲁棒优化模型;Step 2: Construct uncertain fuzzy sets of response power based on 1-norm and ∞-norm, and establish a two-stage three-layer distributed robust optimization model based on multiple discrete scenarios on the basis of improving the mixed integer linear programming model; Step3:针对该分布鲁棒优化模型,提出基于列与约束生成的主问题和子问题迭代算法。Step 3: For this distributed robust optimization model, an iterative algorithm for the main problem and subproblems based on column and constraint generation is proposed. 2.根据权利要求1所述一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法,其特征在于,Step1中所述的混合整数线性规划模型的建立,包括:2. According to the method for optimizing substation planning based on incentive response uncertainty in claim 1, the method is characterized in that the establishment of the mixed integer linear programming model in Step 1 comprises: 1)电网公司的需求响应成本模型1) Demand response cost model of power grid companies 电力供用双方首先签订合约,规定好签约期内用户可响应的最大功率,签约容量P1,产生签约成本;配电网运行期间提前向用户发出在用电高峰时的响应指令,用户按指令响应功率Pt,累计产生响应成本;用户响应功率少于指令要求的部分为违约功率Pt,f,累计产生惩罚收益。电网公司每年支付给单个用户的需求响应成本计算公式如下:The power supply and user first sign a contract to stipulate the maximum power that the user can respond to during the contract period, the contract capacity P 1 , and generate contract costs; during the operation of the distribution network, the user is given a response instruction in advance during the peak power consumption period, and the user responds to the power P t according to the instruction, and the response cost is accumulated; the part of the user's response power that is less than the instruction requirement is the default power P t,f , and the penalty income is accumulated. The demand response cost calculation formula paid by the power grid company to a single user each year is as follows: 其中,CDR为电网公司每年需支付给该用户的需求响应费用;σ1、σ2、σ3分别为签约成本、响应成本和惩罚收益的单位价格;P为用户负荷量最大值;λ为用户的最大可签约容量与其最大负荷量的比值,代表了该负荷参与需求响应的能力;Among them, C DR is the demand response fee that the power grid company needs to pay to the user every year; σ 1 , σ 2 , σ 3 are the unit prices of contract cost, response cost and penalty benefit respectively; P is the maximum load of the user; λ is the ratio of the user's maximum contractable capacity to its maximum load, which represents the ability of the load to participate in demand response; 2)计及需求响应的变电站规划模型2) Substation planning model considering demand response 变电站规划目的为满足目标年负荷用电需求及各种规划约束的前提下,尽可能地降低变电站及主干线路的投资建设成本,同时还应考虑与需求响应相关的各项成本;The purpose of substation planning is to reduce the investment and construction costs of substations and trunk lines as much as possible under the premise of meeting the target annual load power demand and various planning constraints. At the same time, various costs related to demand response should also be considered; a)决策变量:决策变量包括变电站位置与容量选择、负荷与变电站连接关系、需求响应签约容量和各时段的响应功率,xis为布尔变量,表示第i个变电站位置是否选择第s种变电站类型,每一种待选变电站类型对应不同的变电站容量,在待选变电站类型中增添容量为0的选项,若某变电站位置选择到0容量类型则表示该位置未被选择建设变电站,将位置选择与容量选择两个变量进行统一,解决了变电站建设成本计算中这两个变量需要相乘而造成的非线性问题;yij为布尔变量,表示第i个变电站位置是否与第j个负荷存在连接关系;为连续变量,表示第j个负荷的需求响应签约容量;为连续变量,表示第j个负荷在t时段的响应功率;a) Decision variables: Decision variables include substation location and capacity selection, load and substation connection relationship, demand response contract capacity and response power in each time period. x is a Boolean variable, indicating whether the ith substation location selects the sth substation type. Each substation type to be selected corresponds to a different substation capacity. An option with a capacity of 0 is added to the substation types to be selected. If a substation location selects the 0 capacity type, it means that the location is not selected for substation construction. The two variables of location selection and capacity selection are unified, which solves the nonlinear problem caused by the need to multiply these two variables in the calculation of substation construction cost; y ij is a Boolean variable, indicating whether the ith substation location has a connection relationship with the jth load; is a continuous variable, indicating the demand response contract capacity of the jth load; is a continuous variable, indicating the response power of the jth load in period t; b)目标函数:b) Objective function: minC=CS+CL+CDR1+CDR2 minC= CS + CL + CDR1 + CDR2 其中:C为总成本;CS、CL、CDR1和CDR2分别为变电站建设年费用、线路建设年费用、需求响应签约成本和响应成本;r0为贴现率;ms为变压器折旧年限;NP为变电站待选位置数量;NS为待选变电站类型数量;CSs为第s个待选变电站类型的建设成本;β为线路单位成本系数;ml为线路折旧年限;NL为负荷点个数;dij为变电站i到负荷j的距离;Pj为第j个负荷点的最大负荷量;σj,1和σj,2分别为第j个负荷的需求响应签约成本和响应成本的单位价格;Where: C is the total cost; CS , CL , CDR1 and CDR2 are the annual cost of substation construction, annual cost of line construction, demand response contract cost and response cost respectively; r0 is the discount rate; ms is the depreciation period of the transformer; NP is the number of substation locations to be selected; NS is the number of substation types to be selected; CSs is the construction cost of the sth substation type to be selected; β is the line unit cost coefficient; ml is the line depreciation period; NL is the number of load points; dij is the distance from substation i to load j; Pj is the maximum load of the jth load point; σj ,1 and σj,2 are the unit prices of the demand response contract cost and response cost of the jth load respectively; c)约束条件:c) Constraints: 变电站容量选择唯一性约束。一个变电站建设位置只能选择一种变电站类型:Substation capacity selection uniqueness constraint. Only one substation type can be selected for a substation construction location: 负荷点归属唯一性约束。在供电范围划分时,一个负荷点对应的上级变电站有且只有一个:Load point ownership uniqueness constraint. When dividing the power supply range, there is only one upper-level substation corresponding to a load point: 最大供电半径约束,rmax为供配电设计规范中规定的中压线路供电半径最大值:Maximum power supply radius constraint, r max is the maximum value of the power supply radius of the medium voltage line specified in the power supply and distribution design specification: yi,jdij≤rmax i∈[1,NP],j∈[1,NL]y i,j d ij ≤r max i∈[1,N P ],j∈[1,N L ] 变电站N-1安全约束,基于电网安全运行原则,变电站内任一台变压器故障后,剩余变压器需满足带供电范围内所有负荷运行2小时,正常运行时变电站的最大负载率es,有如下不等式约束:Substation N-1 safety constraint, based on the principle of safe operation of the power grid, after any transformer in the substation fails, the remaining transformers must meet the requirements of operating with all loads within the power supply range for 2 hours. The maximum load rate of the substation during normal operation, e s , has the following inequality constraints: 式中,Ji为第i个变电站供电范围内的负荷集;Pj,t为第j个负荷在t时段的功率;为第j个负荷的功率因数;Ss为第s个待选变电站类型的容量;Where, Ji is the load set within the power supply range of the i-th substation; Pj,t is the power of the j-th load in the t-th period; is the power factor of the jth load; S s is the capacity of the sth substation type to be selected; 需求响应约束,各负荷点的需求响应签约容量不大于其最大响应能力,运行时用户响应容量不大于签约容量:Demand response constraints: the demand response contract capacity of each load point shall not be greater than its maximum response capacity, and the user response capacity during operation shall not be greater than the contract capacity: 3.根据权利要求1所述一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法,其特征在于,Step2中所述鲁棒优化模型的构建步骤包括:3. According to the robust optimization method for substation planning considering the uncertainty of incentive-based response according to claim 1, it is characterized in that the step of constructing the robust optimization model in Step 2 comprises: 1)构建需求响应的不确定模糊集1) Constructing uncertain fuzzy sets for demand response 考虑到用户意愿的不确定性,实际响应结果Pt与电网需求响应指令存在偏差,并且Pt在一定范围内波动,对其不确定性的模糊集进行建模:Considering the uncertainty of user willingness, there is a deviation between the actual response result Pt and the grid demand response instruction, and Pt fluctuates within a certain range. The fuzzy set of its uncertainty is modeled: 首先是通过历史数据获得多个实际的场景,再通过场景聚类手段,筛选得到Nk个有限离散场景和各场景下的概率分布pk,0;再次,考虑到这些场景并不能代表实际的概率分布,构建基于1-范数和∞-范数的置信集合来限制概率分布的波动变化:First, we obtain multiple actual scenarios through historical data, and then screen N k finite discrete scenarios and the probability distribution p k,0 under each scenario by means of scenario clustering. Thirdly, considering that these scenarios cannot represent the actual probability distribution, we construct a confidence set based on the 1-norm and ∞-norm to limit the fluctuation of the probability distribution: 其中,Ψ1和Ψ分别表示1-范数和∞-范数限制的置信区间;P为场景概率pk的向量形式;P0为各场景初始概率pk,0的向量形式;为与P对应Nk个正实数组成的向量;K为样本场景数目;α1和α分别为Ψ1和Ψ成立的置信度。故概率分布置信度集合同时受到1-范数和∞-范数的限制,避免了过于极端的情形,Ψ=Ψ1∩Ψ,即:Where Ψ 1 and Ψ represent the confidence intervals restricted by 1-norm and ∞-norm respectively; P is the vector form of the scenario probability p k ; P 0 is the vector form of the initial probability p k,0 of each scenario; is a vector of N k positive real numbers corresponding to P; K is the number of sample scenarios; α 1 and α are the confidence levels for Ψ 1 and Ψ respectively. Therefore, the probability distribution confidence set is restricted by both the 1-norm and the ∞-norm, avoiding extreme situations, Ψ = Ψ 1 ∩Ψ , that is: 2)计及响应功率不确定性的两阶段分布鲁棒优化模型2) Two-stage distributed robust optimization model considering response power uncertainty 考虑的需求响应不确定性是用户在收到响应指令时不能完全满足其响应要求,响应功率存在不确定性,从而产生违约功率,故运行阶段的需求响应成本CDR2计算公式应重写如下:The uncertainty of demand response considered is that users cannot fully meet their response requirements when receiving response instructions, and there is uncertainty in the response power, which results in default power. Therefore, the calculation formula of demand response cost C DR2 in the operation stage should be rewritten as follows: 同时,需求响应不确定性会改变实际的响应功率,导致变电站供电范围内的负荷曲线波动,进而影响变电站的N-1安全约束,其约束公式应重写如下:At the same time, the uncertainty of demand response will change the actual response power, causing the load curve within the power supply range of the substation to fluctuate, which in turn affects the N-1 safety constraint of the substation. The constraint formula should be rewritten as follows: 用户需求响应的不确定性在运行阶段,进而会影响到规划阶段,因此,计及不确定性后可将规划模型分解为两个阶段,第一阶段是规划阶段,决策变量包括变电站位置与容量选择关系、负荷与变电站的连接关系以及需求响应签约容量;第二阶段是运行阶段,决策变量为用户的响应功率,而实际响应功率存在不确定性;第一阶段决策变量包括xis、yij用向量x表示,第二阶段决策变量用向量d表示。故基于离散场景的分布鲁棒模型可表达如下:The uncertainty of user demand response will affect the planning stage in the operation stage. Therefore, the planning model can be decomposed into two stages after taking into account the uncertainty. The first stage is the planning stage. The decision variables include the relationship between substation location and capacity selection, the connection relationship between load and substation, and the demand response contract capacity. The second stage is the operation stage. The decision variable is the user's response power, and the actual response power is uncertain. The decision variables in the first stage include x is , y ij and The second stage decision variables are represented by vector x. It is represented by vector d. Therefore, the distributed robustness model based on discrete scenarios can be expressed as follows: 其中:aT为第一阶段目标函数的线性系数矩阵;bT为第二阶段目标函数的线性系数矩阵;Nk表示概率分布的离散场景总数,k为每一个场景的编号,pk表示在k场景的概率,约束条件形式变换如下:Where: a T is the linear coefficient matrix of the objective function of the first stage; b T is the linear coefficient matrix of the objective function of the second stage; N k represents the total number of discrete scenarios of the probability distribution, k is the number of each scenario, p k represents the probability in the k scenario, and the constraint condition form is transformed as follows: 其中:C,E,F,G,H,m,n,u,v表示上文中变量相应的矩阵或向量形式,前两个公式对应第一阶段变量的等式约束和不等式约束;第三个不等式约束为第一阶段变量和第二阶段变量的容量耦合不等式;最后一个不等式约束对应第二阶段的需求响应不等式约束。Among them: C, E, F, G, H, m, n, u, v represent the corresponding matrix or vector form of the variables mentioned above. The first two formulas correspond to the equality constraints and inequality constraints of the first-stage variables; the third inequality constraint is the capacity coupling inequality of the first-stage variables and the second-stage variables; the last inequality constraint corresponds to the demand response inequality constraint of the second stage. 4.根据权利要求1所述一种计及激励型响应不确定性的变电站规划分布鲁棒优化方法,其特征在于,Step3中所述迭代算法,包括:4. According to claim 1, a robust optimization method for substation planning considering incentive response uncertainty is characterized in that the iterative algorithm in Step 3 comprises: 基于列于约束生成算法,将模型分解为主问题MP和子问题SP,再通过迭代求取最优解,其中,MP求解的目的是,在有限离散场景条件下,得到满足已知概率分布约束的最优规划方案,MP的目标函数与约束条件描述如下:Based on the constraint generation algorithm, the model is decomposed into the main problem MP and the sub-problem SP, and then the optimal solution is obtained through iteration. The purpose of MP solution is to obtain the optimal planning solution that satisfies the known probability distribution constraints under the conditions of finite discrete scenarios. The objective function and constraint conditions of MP are described as follows: 其中,L为下层需求响应运行成本,上角标r表示第r次迭代,除第1次迭代外,其余每次迭代的概率分布均由SP求解得出。MP问题求解得到一个全局最优解C*和相应的规划决策变量x*Where L is the lower-level demand response operating cost, the superscript r indicates the rth iteration, and except for the first iteration, the probability distribution of each iteration is obtained by SP solution. The MP problem is solved to obtain a global optimal solution C * and the corresponding planning decision variable x * ; SP求解目的是基于MP的优化结果x*,在已知变电站容量及供电范围、需求响应签约容量的情况下,对负荷时序特性和需求响应特性进行匹配,找到响应功率的最差概率分布Pk,然后将该分布提供给MP,以便进行下一步的迭代计算,同时根据所得L(x*)更新全局最优解,SP的目标函数可描述如下:The purpose of SP solution is to match the load timing characteristics and demand response characteristics based on the optimization result x * of MP, when the substation capacity, power supply range and demand response contract capacity are known, to find the worst probability distribution P k of the response power, and then provide this distribution to MP for the next iterative calculation, and update the global optimal solution according to the obtained L(x * ). The objective function of SP can be described as follows: 从上式可以看出,每个场景中的min问题都是独立的,使用并行方法同时计算,如第k个场景的内部优化结果为则SP的目标函数可转换为:It can be seen from the above formula that the min problem in each scenario is independent and is calculated simultaneously using a parallel method. For example, the internal optimization result of the kth scenario is Then the objective function of SP can be converted to: 上述MP和SP问题分别用MILP模型和线性规划模型进行求解,并将SP的优化结果Pk传递给MP进行迭代计算,直至前后相邻两次迭代的全局最优解C*差值小于规定阈值时停止迭代,得到最优规划成本和决策变量值。The above MP and SP problems are solved using the MILP model and linear programming model respectively, and the optimization result Pk of SP is passed to MP for iterative calculation until the difference between the global optimal solution C * of the two consecutive iterations is less than the specified threshold, and the iteration is stopped to obtain the optimal planning cost and decision variable value. 5.一种计及激励型响应不确定性的变电站规划分布鲁棒优化系统,其特征在于,所述系统包括:5. A robust optimization system for substation planning considering incentive response uncertainty, characterized in that the system comprises: (1)数据输入和处理模块,用于对输入的负荷预测数据及各类规划参数信息进行矩阵化处理;(1) Data input and processing module, used to perform matrix processing on the input load forecast data and various planning parameter information; (2)主问题求解模块,在有限离散场景条件下,得到满足已知概率分布约束的最优规划方案和规划层决策变量;(2) The main problem solving module obtains the optimal planning scheme and planning-level decision variables that satisfy the known probability distribution constraints under the conditions of finite discrete scenarios; (3)子问题求解模块,将主问题求解模块所得的规划层的决策变量固定,以运行成本最小为目标求解运行层决策变量,同时找到响应功率的最差概率分布。(3) The sub-problem solving module fixes the decision variables of the planning layer obtained by the main problem solving module, solves the decision variables of the operation layer with the goal of minimizing the operation cost, and finds the worst probability distribution of the response power. 6.根据权利要求5所述的一种计及激励型响应不确定性的变电站规划分布鲁棒优化系统,其特征在于,所述系统还包括以下模块:6. A robust optimization system for substation planning considering incentive-based response uncertainty according to claim 5, characterized in that the system further comprises the following modules: 初始化模块,用于迭代求解参数的初始化设置,以及通过已知场景概率介入算法,求出相应的鲁棒性场景概率从而形成迭代;The initialization module is used to iteratively solve the initialization settings of parameters and intervene in the algorithm through known scene probabilities to find the corresponding robust scene probabilities to form iterations; 判定模块,用于规划结果是否收敛可以停止迭代求解;The judgment module is used to determine whether the planning results have converged and whether the iterative solution can be stopped; 输出模块,输出规划方案和决策变量。Output module, outputs planning schemes and decision variables. 7.一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至4任一项所述的方法。7. A non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method according to any one of claims 1 to 4. 8.一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至4任一项所述的方法。8. A computer program product, characterized in that the computer program product comprises a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 4.
CN202310863480.3A 2023-07-14 2023-07-14 Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty Pending CN116862068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310863480.3A CN116862068A (en) 2023-07-14 2023-07-14 Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310863480.3A CN116862068A (en) 2023-07-14 2023-07-14 Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty

Publications (1)

Publication Number Publication Date
CN116862068A true CN116862068A (en) 2023-10-10

Family

ID=88230125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310863480.3A Pending CN116862068A (en) 2023-07-14 2023-07-14 Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty

Country Status (1)

Country Link
CN (1) CN116862068A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117726151A (en) * 2024-02-08 2024-03-19 四川大学 EIPSCN collaborative planning method considering decision-dependent uncertainty and flow balance
CN118469101A (en) * 2024-07-12 2024-08-09 山东大学 Supply chain resilience optimization and recovery method and system based on conditional risk value

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117726151A (en) * 2024-02-08 2024-03-19 四川大学 EIPSCN collaborative planning method considering decision-dependent uncertainty and flow balance
CN117726151B (en) * 2024-02-08 2024-05-03 四川大学 EIPSCN collaborative planning method considering decision-dependent uncertainty and flow balance
CN118469101A (en) * 2024-07-12 2024-08-09 山东大学 Supply chain resilience optimization and recovery method and system based on conditional risk value

Similar Documents

Publication Publication Date Title
Yi et al. Coordinated operation strategy for a virtual power plant with multiple DER aggregators
Maghouli et al. A scenario-based multi-objective model for multi-stage transmission expansion planning
Yamin Review on methods of generation scheduling in electric power systems
US11824360B2 (en) Apparatus and method for optimizing carbon emissions in a power grid
Ghadimi et al. PSO based fuzzy stochastic long-term model for deployment of distributed energy resources in distribution systems with several objectives
CN107392395A (en) A kind of power distribution network and micro electric network coordination optimization method based on price competition mechanism
CN116862068A (en) Transformer substation planning distribution robust optimization method and system considering excitation type response uncertainty
Sang et al. Electricity price prediction for energy storage system arbitrage: A decision-focused approach
CN112084705A (en) Grid-connected coordination planning method and system for comprehensive energy system
CN106056290A (en) Power transmission network operating efficiency and benefit detection method considering new energy access
Yang et al. Network-constrained transactive control for multi-microgrids-based distribution networks with soft open points
Zhu et al. Stochastic economic dispatching strategy of the active distribution network based on comprehensive typical scenario set
CN111652759A (en) Comprehensive evaluation method and device for elastic load rapid response and adjustment demonstration project
Guan et al. A GAN-based fully model-free learning method for short-term scheduling of large power system
Wang et al. A multicriteria evaluation and cascaded optimization framework for integrated energy system of steel industry
Lu et al. A model for balance responsible distribution systems with energy storage to achieve coordinated load shifting and uncertainty mitigation
CN104935004B (en) Based on many microgrids polymerization coordination optimization operation method that panorama is theoretical
CN117709640A (en) Power grid planning construction evaluation method based on mixed multi-attribute group decision method
CN116976740A (en) Energy consumption equipment control method, system, electronic equipment and storage medium
CN116703646A (en) A method for site selection and capacity determination of energy storage power stations to improve the flexibility of distribution network operation in multiple scenarios
CN116050576A (en) Flexible resource coordination optimization method and system for active power distribution network
CN114548828A (en) A method, device and equipment for site selection and capacity determination of distributed photovoltaic power source
CN114781703A (en) A hierarchical multi-objective optimization method, terminal device and storage medium
Marcelino et al. A novel mathematical modeling approach to the electric dispatch problem: Case study using Differential Evolution algorithms
Nezhad et al. A VDS-NSGA-II algorithm for multiyear multiobjective dynamic generation and transmission expansion planning

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