+

CN117313304B - Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network - Google Patents

Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network Download PDF

Info

Publication number
CN117313304B
CN117313304B CN202310546389.9A CN202310546389A CN117313304B CN 117313304 B CN117313304 B CN 117313304B CN 202310546389 A CN202310546389 A CN 202310546389A CN 117313304 B CN117313304 B CN 117313304B
Authority
CN
China
Prior art keywords
power flow
formula
distribution network
density function
variable
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
CN202310546389.9A
Other languages
Chinese (zh)
Other versions
CN117313304A (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.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong 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 Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN202310546389.9A priority Critical patent/CN117313304B/en
Publication of CN117313304A publication Critical patent/CN117313304A/en
Application granted granted Critical
Publication of CN117313304B publication Critical patent/CN117313304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/04Circuit arrangements for AC mains or AC distribution networks for connecting networks of the same frequency but supplied from different sources
    • H02J3/06Controlling transfer of power between connected networks; Controlling sharing of load between connected networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/10Power transmission or distribution systems management focussing at grid-level, e.g. load flow analysis, node profile computation, meshed network optimisation, active network management or spinning reserve management
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Power Engineering (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了配电网潮流全局灵敏度分析的高斯混合模型方法,涉及配电网领域,所述方法包括如下步骤:步骤1,建立配电网潮流输入变量与输出变量的联合概率密度函数的高斯混合模型;步骤2,获得配电网潮流输出变量的概率密度函数的解析式,并计算其方差;步骤3,获得配电网潮流输出变量关于输入变量的条件概率密度函数和条件方差的解析式,并计算条件方差的期望值;步骤4,根据步骤2和步骤3获得的结果计算配电网潮流全局灵敏度指标,完成配电网潮流全局灵敏度分析。本发明只需要较少次数的潮流计算,耗时很短,避免了耗时的代理模型构建和蒙特卡洛模拟计算过程,显著提升了配电网潮流全局灵敏度分析的计算效率。

The invention discloses a Gaussian mixture model method for global sensitivity analysis of distribution network power flow, and relates to the field of distribution network. The method includes the following steps: Step 1. Establish the Gaussian joint probability density function of the distribution network power flow input variables and output variables. Hybrid model; Step 2, obtain the analytical formula of the probability density function of the distribution network power flow output variable, and calculate its variance; Step 3, obtain the analytical formula of the conditional probability density function and conditional variance of the distribution network power flow output variable with respect to the input variable , and calculate the expected value of the conditional variance; step 4, calculate the distribution network power flow global sensitivity index based on the results obtained in steps 2 and 3, and complete the distribution network power flow global sensitivity analysis. The present invention only requires fewer times of power flow calculations, takes a short time, avoids the time-consuming agent model construction and Monte Carlo simulation calculation processes, and significantly improves the calculation efficiency of the global sensitivity analysis of the distribution network power flow.

Description

配电网潮流全局灵敏度分析的高斯混合模型方法Gaussian Mixture Model Method for Global Sensitivity Analysis of Distribution Network Power Flow

技术领域Technical field

本发明涉及配电网领域,具体是配电网潮流全局灵敏度分析的高斯混合模型方法。The invention relates to the field of distribution network, specifically a Gaussian mixture model method for global sensitivity analysis of power flow in distribution network.

背景技术Background technique

随着新型配电网建设的加快推进,大量强不确定的新型源/荷接入,导致配电网运行状态的不确定性突出。全局灵敏度分析是量化不确定性传播的关键技术,通过配电网潮流全局灵敏度分析能够获得各不确定源/荷的重要性量化结果,辨识导致配电网运行状态不确定性的关键源/荷,从而有针对地对关键源/荷的不确定性进行主动管理。配电网中的不确定源/荷具有复杂的概率分布特性和显著相关性,同时配电网潮流模型具有显著的非线性特征,配电网潮流全局灵敏度分析一般采用蒙特卡洛模拟方法。蒙特卡洛模拟方法的计算负担很重,基于代理模型的蒙特卡洛模拟方法能够降低配电网潮流计算模拟的耗时,但总体计算耗时仍较长。With the acceleration of the construction of new distribution networks, a large number of highly uncertain new sources/loads are connected, resulting in outstanding uncertainty in the operating status of the distribution network. Global sensitivity analysis is a key technology for quantifying uncertainty propagation. Through global sensitivity analysis of distribution network power flow, the importance quantification results of each uncertainty source/load can be obtained, and the key sources/loads that cause uncertainty in the operating status of the distribution network can be identified. , thereby proactively managing the uncertainty of key sources/charges in a targeted manner. The uncertain sources/loads in the distribution network have complex probability distribution characteristics and significant correlations. At the same time, the distribution network power flow model has significant nonlinear characteristics. The global sensitivity analysis of the distribution network power flow generally adopts Monte Carlo simulation method. The Monte Carlo simulation method has a heavy computational burden. The Monte Carlo simulation method based on the agent model can reduce the time-consuming calculation and simulation of distribution network power flow, but the overall calculation time is still long.

发明内容Contents of the invention

本发明的目的在于提供配电网潮流全局灵敏度分析的高斯混合模型方法,大幅提升了配电网潮流全局灵敏度分析的计算效率,以解决上述背景技术中提出的问题。The purpose of the present invention is to provide a Gaussian mixture model method for global sensitivity analysis of distribution network power flow, which greatly improves the calculation efficiency of global sensitivity analysis of distribution network power flow, so as to solve the problems raised in the above background technology.

为实现上述目的,本发明提供如下技术方案:In order to achieve the above objects, the present invention provides the following technical solutions:

本发明配电网潮流全局灵敏度分析的高斯混合模型方法,包括如下步骤:The Gaussian mixture model method for global sensitivity analysis of distribution network power flow in the present invention includes the following steps:

步骤1:建立配电网潮流输入变量与输出变量的联合概率密度函数的高斯混合模型;Step 1: Establish a Gaussian mixture model of the joint probability density function of the distribution network power flow input variables and output variables;

步骤2:获得配电网潮流输出变量的概率密度函数的解析式,并计算其方差;Step 2: Obtain the analytical formula of the probability density function of the power flow output variable of the distribution network and calculate its variance;

步骤3:获得配电网潮流输出变量关于输入变量的条件概率密度函数和条件方差的解析式,并计算条件方差的期望值;Step 3: Obtain the analytical expression of the conditional probability density function and conditional variance of the distribution network power flow output variable with respect to the input variable, and calculate the expected value of the conditional variance;

步骤4:根据步骤2和步骤3获得的结果计算配电网潮流全局灵敏度指标,完成配电网潮流全局灵敏度分析。Step 4: Calculate the distribution network power flow global sensitivity index based on the results obtained in steps 2 and 3, and complete the distribution network power flow global sensitivity analysis.

作为本发明进一步的方案,所述步骤1具体为:As a further solution of the present invention, the step 1 is specifically:

首先,建立配电网潮流输入变量联合概率密度函数的高斯混合模型;First, a Gaussian mixture model of joint probability density function of distribution network power flow input variables is established;

配电网潮流输入变量向量为x,其n个历史样本为X1、X2、…、Xn,采用非参数核密度估计方法建立x的联合概率密度函数:The distribution network power flow input variable vector is x, and its n historical samples are X 1 , X 2 ,..., X n . The non-parametric kernel density estimation method is used to establish the joint probability density function of x:

式中:N(·)表示高斯核函数,Hk表示第k个样本Xk对应的带宽矩阵,该基于非参数核密度估计的概率密度函数为基本高斯混合模型,其高斯成分数Kb等于n,第k个高斯成分的权重系数等于1/n,均值向量/>等于Xk,协方差矩阵/>等于HkIn the formula: N(·) represents the Gaussian kernel function, H k represents the bandwidth matrix corresponding to the k-th sample X k . The probability density function based on non-parametric kernel density estimation is the basic Gaussian mixture model, and its Gaussian component K b is equal n, the weight coefficient of the kth Gaussian component Equal to 1/n, mean vector/> Equal to X k , covariance matrix/> equal to H k ;

采用密度保留的分层期望最大化算法对式(1)所示的基本高斯混合模型作高斯成分数缩减,得到简化的高斯混合模型为:The density-preserving hierarchical expectation maximization algorithm is used to reduce the Gaussian components of the basic Gaussian mixture model shown in Equation (1), and the simplified Gaussian mixture model is obtained as:

式中:ωk、μx,k、Σx,k分别表示第k个高斯成分的权重系数、均值向量、协方差矩阵,K表示缩减后的高斯成分数;In the formula: ω k , μ x,k , Σ x,k respectively represent the weight coefficient, mean vector and covariance matrix of the kth Gaussian component, and K represents the number of reduced Gaussian components;

其次,在式(2)基础上,建立分段线性化的配电网潮流模型;Secondly, based on equation (2), a piecewise linearized distribution network power flow model is established;

非线性的配电网潮流模型的紧凑形式为:The compact form of the nonlinear distribution network power flow model is:

y=Γ(x) (3)y=Γ(x) (3)

式中:Γ(·)表示非线性的潮流方程,y表示配电网潮流的输出变量向量;In the formula: Γ(·) represents the nonlinear power flow equation, and y represents the output variable vector of the distribution network power flow;

给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),对式(3)所示非线性潮流模型在μx,k处线性化,得到第k个线性化模型:Given the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model of input variables shown in equation (2), for the nonlinear power flow model shown in equation (3) in Linearize at , and get the kth linearized model:

y=Tkx+[Γ(μx,k)-Tkμx,k] (4)y=T k x+[Γ(μ x,k )-T k μ x,k ] (4)

式中:Tk为非线性潮流方程在μx,k处的逆雅克比矩阵;式(2)所示输入变量联合概率密度函数的高斯混合模型的每个高斯成分将对应一个线性化的潮流模型,即建立了1个包含K个线性段的分段线性潮流模型;In the formula: T k is the inverse Jacobian matrix of the nonlinear power flow equation at μ model, that is, a piecewise linear power flow model containing K linear segments is established;

然后,在式(2)和式(4)基础上,建立配电网潮流输入变量与输出变量的联合概率密度函数;Then, based on equations (2) and (4), the joint probability density function of the distribution network power flow input variables and output variables is established;

对于给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),配电网潮流输入变量向量x表示为:For the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), the distribution network power flow input variable vector x is expressed as:

x=Lku+μx,k (5)x=L k u+μ x,k (5)

式中:Lk为由Σx,k乔列斯基分解得到的下三角矩阵,u为满足标准正态分布的变量向量;In the formula: L k is the lower triangular matrix obtained by Σ x, k Choleski decomposition, u is a variable vector that satisfies the standard normal distribution;

根据式(4)和式(5),对于给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),配电网潮流输入变量与输出变量的联合变量向量为:According to equations (4) and (5), for the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), the distribution network power flow The joint variable vector of input variables and output variables is:

根据式(6)和乔列斯基分解原理,对于给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),配电网潮流输入变量与输出变量的联合概率密度函数为:According to equation (6) and the Choleski decomposition principle, for the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), the power distribution The joint probability density function of the grid power flow input variables and output variables is:

式中:Θk表示给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k)的事件,其概率为P(Θk)=ωkIn the formula: Θ k represents the event of the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), and its probability is P(Θ k ) = ωk ;

根据式(7)和全概率公式,最终获得配电网潮流输入变量与输出变量的联合概率密度函数为:According to equation (7) and the full probability formula, the joint probability density function of the distribution network power flow input variables and output variables is finally obtained:

作为本发明进一步的方案,所述步骤2具体为:As a further solution of the present invention, the step 2 is specifically:

根据式(8)所示配电网潮流输入变量与输出变量的联合概率密度函数的解析式,配电网潮流的第l个输出变量yl的概率分布为式(8)的边缘概率分布,获得yl的概率密度函数解析式为:According to the analytical formula of the joint probability density function of the distribution network power flow input variables and output variables shown in Equation (8), the probability distribution of the l-th output variable y l of the distribution network power flow is the marginal probability distribution of Equation (8), The analytical formula of the probability density function to obtain y l is:

式中:μl,k=μy,k(l)、Σll,k=Σy,k(l,l),(l)、(l,l)分别表示向量和矩阵元素的索引;In the formula: μ l,ky,k (l), Σ ll,k = Σ y,k (l,l), (l), (l,l) represent the index of vector and matrix elements respectively;

根据式(9),yl的M阶原点矩的表示为:According to equation (9), the M-order origin moment of y l is expressed as:

式中:E[N(yll,kll,k)M]表示高斯分布N(yll,kll,k)的M阶原点矩;In the formula: E[N(y ll,kll,k ) M ] represents the M-order origin moment of Gaussian distribution N(y ll,kll,k );

根据式(10),yl的方差表示为:According to equation (10), the variance of y l is expressed as:

根据式(11)计算得到配电网潮流输出变量的方差。The variance of the power flow output variable of the distribution network is calculated according to Equation (11).

作为本发明进一步的方案,所述步骤3具体为:As a further solution of the present invention, the step 3 is specifically:

首先,将配电网潮流输入变量向量x划分为互补子集xc和xd,即x={xc,xd};First, divide the distribution network power flow input variable vector x into complementary subsets x c and x d , that is, x = {x c , x d };

其次,计算输出变量yl关于输入变量xc的条件方差的期望值;Secondly, calculate the expected value of the conditional variance of the output variable y l with respect to the input variable x c ;

将xc作为待分析的输入变量,xc与第l个输出变量yl构成的联合变量向量表示为w,即:Taking x c as the input variable to be analyzed, the joint variable vector composed of x c and the l-th output variable y l is expressed as w, that is:

w的概率分布为式(8)的边缘分布,获得w的联合概率密度函数解析式为:The probability distribution of w is the marginal distribution of equation (8), and the analytical formula of the joint probability density function of w is:

式中:μc,k=μx,k(c)、Σcc,k=Σx,k(c,c)、Σcl,k=Σxy,k(c,l)、Σlc,k=Σyx,k(l,c),c表示xc在x中的索引,l表示yl在y中的索引;In the formula: μ c,kx,k (c), Σ cc,k = Σ x,k (c,c), Σ cl,k = Σ xy,k (c,l), Σ lc,kyx,k (l,c), c represents the index of x c in x, l represents the index of y l in y;

根据式(13)和贝叶斯定理,获得yl关于xc的条件概率密度函数的解析式为:According to equation (13) and Bayes’ theorem, the analytical formula for obtaining the conditional probability density function of y l with respect to x c is:

式中:In the formula:

根据式(14)-(17),获得yl关于xc的条件方差解析式为:According to equations (14)-(17), the analytical formula of the conditional variance of y l with respect to x c is obtained:

根据式(18)计算yl关于xc的条件方差的期望值E[Var(yl|xc)];Calculate the expected value E[Var(y l |x c )] of the conditional variance of y l with respect to x c according to equation (18);

E[Var(yl|xc)]的计算式为:The calculation formula of E[Var(y l |x c )] is:

E[Var(yl|xc)]=∫Var(yl|xc)f(xc)dxc (19)E[Var(y l |x c )]=∫Var(y l |x c )f(x c )dx c (19)

式中:In the formula:

采用数值积分方法计算式(19),具体为:The numerical integration method is used to calculate equation (19), specifically:

式中:Xc,1、Xc,2、…、Xc,N为根据式(20)生成的xc的N个样本;In the formula: X c, 1 ,

然后,计算输出变量yl关于输入变量xd的条件方差的期望值;Then, calculate the expected value of the conditional variance of the output variable y l with respect to the input variable x d ;

将xd作为待分析的输入变量,xd与第l个输出变量yl构成的联合变量向量表示为v,即:Taking x d as the input variable to be analyzed, the joint variable vector composed of x d and the l-th output variable y l is expressed as v, that is:

v的概率分布为式(8)的边缘分布,获得v的联合概率密度函数解析式为:The probability distribution of v is the marginal distribution of equation (8), and the analytical formula of the joint probability density function of v is obtained:

式中:μd,k=μx,k(d)、Σdd,k=Σx,k(d,d)、Σdl,k=Σxy,k(d,l)、Σld,k=Σyx,k(l,d),d表示xd在x中的索引,l表示yl在y中的索引;In the formula: μ d,kx,k (d), Σ dd,k = Σ x,k (d,d), Σ dl,k = Σ xy,k (d,l), Σ ld,kyx,k (l,d), d represents the index of x d in x, l represents the index of y l in y;

根据式(23)和贝叶斯定理,获得yl关于xd的条件概率密度函数的解析式为:According to equation (23) and Bayes’ theorem, the analytical formula for obtaining the conditional probability density function of y l with respect to x d is:

式中:In the formula:

根据式(24)-(27),获得yl关于xd的条件方差解析式为:According to equations (24)-(27), the analytical formula of the conditional variance of y l with respect to x d is obtained:

根据式(28)计算yl关于xd的条件方差的期望值E[Var(yl|xd)];Calculate the expected value E[Var(y l |x d )] of the conditional variance of y l with respect to x d according to Equation (28);

E[Var(yl|xd)]的计算式为:The calculation formula of E[Var(y l |x d )] is:

E[Var(yl|xd)]=∫Var(yl|xd)f(xd)dxd (29)E[Var(y l |x d )]=∫Var(y l |x d )f(x d )dx d (29)

式中:In the formula:

采用数值积分方法计算式(29),具体为:The numerical integration method is used to calculate equation (29), specifically:

式中:Xd,1、Xd,2、…、Xd,N为根据式(30)生成的xd的N个样本;In the formula : X d, 1 ,

作为本发明进一步的方案,所述步骤4具体为:As a further solution of the present invention, the step 4 is specifically:

根据步骤2获得的Var(yl)和步骤3获得的E[Var(yl|xc)],计算输出变量yl关于输入变量xc的主效应全局灵敏度指标:According to Var(y l ) obtained in step 2 and E[Var(y l |x c )] obtained in step 3, calculate the main effect global sensitivity index of the output variable y l with respect to the input variable x c :

根据步骤2获得的Var(yl)和步骤3获得的E[Var(yl|xd)],计算输出变量yl关于输入变量xc的总效应全局灵敏度指标:According to Var(y l ) obtained in step 2 and E[Var(y l |x d )] obtained in step 3, calculate the global sensitivity index of the total effect of the output variable y l on the input variable x c :

综上,完成配电网潮流全局灵敏度分析。In summary, the global sensitivity analysis of distribution network power flow is completed.

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

1)基于高斯混合模型和分段线性化的潮流模型,能够获得配电网潮流输入变量与输出变量的联合概率密度函数的解析式,该联合概率密度函数包括了输入变量、输出变量完整的概率信息以及分段线性化的配电网潮流模型信息,其构建过程只需要较少次数的潮流计算,避免了耗时的代理模型构建过程;1) Based on the Gaussian mixture model and piecewise linearized power flow model, the analytical formula of the joint probability density function of the distribution network power flow input variables and output variables can be obtained. The joint probability density function includes the complete probabilities of the input variables and the output variables. Information and piecewise linearized distribution network power flow model information, the construction process only requires a smaller number of power flow calculations, avoiding the time-consuming proxy model construction process;

2)基于配电网潮流输入变量与输出变量的联合概率密度函数的解析式,获得了输出变量方差的解析式、输出变量关于输入变量的条件方差的解析式,避免了耗时的配电网潮流的蒙特卡洛模拟计算过程;2) Based on the analytical formula of the joint probability density function of the power flow input variables and output variables of the distribution network, the analytical formula of the variance of the output variable and the analytical formula of the conditional variance of the output variable with respect to the input variable are obtained, avoiding the time-consuming construction of the distribution network Monte Carlo simulation calculation process of power flow;

得益于上述特点,本发明方案实现了配电网潮流全局灵敏度分析的解析方法,显著提升了配电网潮流全局灵敏度分析的计算效率。Thanks to the above characteristics, the solution of the present invention realizes the analytical method of global sensitivity analysis of distribution network power flow, and significantly improves the calculation efficiency of global sensitivity analysis of distribution network power flow.

附图说明Description of drawings

图1为本发明方法的流程图。Figure 1 is a flow chart of the method of the present invention.

具体实施方式Detailed ways

下面对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

本发明实施例中,本发明配电网潮流全局灵敏度分析的高斯混合模型方法,包括如下步骤:In the embodiment of the present invention, the Gaussian mixture model method for global sensitivity analysis of distribution network power flow includes the following steps:

步骤1:建立配电网潮流输入变量与输出变量的联合概率密度函数的高斯混合模型。Step 1: Establish a Gaussian mixture model of the joint probability density function of the distribution network power flow input variables and output variables.

详细过程如下:The detailed process is as follows:

首先,建立配电网潮流输入变量联合概率密度函数的高斯混合模型。First, a Gaussian mixture model of joint probability density function of distribution network power flow input variables is established.

配电网潮流输入变量向量为x,其n个历史样本为X1、X2、…、Xn,采用非参数核密度估计方法建立x的联合概率密度函数:The distribution network power flow input variable vector is x, and its n historical samples are X 1 , X 2 ,..., X n . The non-parametric kernel density estimation method is used to establish the joint probability density function of x:

式中:N(·)表示高斯核函数,Hk表示第k个样本Xk对应的带宽矩阵。该基于非参数核密度估计的概率密度函数为基本高斯混合模型,其高斯成分数Kb等于n,第k个高斯成分的权重系数等于1/n,均值向量/>等于Xk,协方差矩阵/>等于HkIn the formula: N(·) represents the Gaussian kernel function, and H k represents the bandwidth matrix corresponding to the k-th sample X k . The probability density function based on non-parametric kernel density estimation is a basic Gaussian mixture model, whose number of Gaussian components K b is equal to n, and the weight coefficient of the kth Gaussian component Equal to 1/n, mean vector/> Equal to X k , covariance matrix/> Equal to H k .

采用密度保留的分层期望最大化算法对式(1)所示的基本高斯混合模型作高斯成分数缩减,得到简化的高斯混合模型为:The density-preserving hierarchical expectation maximization algorithm is used to reduce the Gaussian components of the basic Gaussian mixture model shown in Equation (1), and the simplified Gaussian mixture model is obtained as:

式中:ωk、μx,k、Σx,k分别表示第k个高斯成分的权重系数、均值向量、协方差矩阵,K表示缩减后的高斯成分数。In the formula: ω k , μ x,k , Σ x,k respectively represent the weight coefficient, mean vector and covariance matrix of the kth Gaussian component, and K represents the number of reduced Gaussian components.

其次,在式(2)基础上,建立分段线性化的配电网潮流模型。Secondly, based on equation (2), a piecewise linearized distribution network power flow model is established.

非线性的配电网潮流模型的紧凑形式为:The compact form of the nonlinear distribution network power flow model is:

y=Γ(x) (3)y=Γ(x) (3)

式中:Γ(·)表示非线性的潮流方程,y表示配电网潮流的输出变量向量。In the formula: Γ(·) represents the nonlinear power flow equation, and y represents the output variable vector of the distribution network power flow.

给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),对式(3)所示非线性潮流模型在μx,k处线性化,得到第k个线性化模型:Given the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model of input variables shown in equation (2), for the nonlinear power flow model shown in equation (3) in Linearize at , and get the kth linearized model:

y=Tkx+[Γ(μx,k)-Tkμx,k] (4)y=T k x+[Γ(μ x,k )-T k μ x,k ] (4)

式中:Tk为非线性潮流方程在μx,k处的逆雅克比矩阵。式(2)所示输入变量联合概率密度函数的高斯混合模型的每个高斯成分将对应一个线性化的潮流模型,即建立了1个包含K个线性段的分段线性潮流模型。In the formula: T k is the inverse Jacobian matrix of the nonlinear power flow equation at μ x,k . Each Gaussian component of the Gaussian mixture model of the joint probability density function of the input variables shown in Equation (2) will correspond to a linearized power flow model, that is, a piecewise linear power flow model containing K linear segments is established.

然后,在式(2)和式(4)基础上,建立配电网潮流输入变量与输出变量的联合概率密度函数。Then, based on equations (2) and (4), the joint probability density function of the distribution network power flow input variables and output variables is established.

对于给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),配电网潮流输入变量向量x表示为:For the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), the distribution network power flow input variable vector x is expressed as:

x=Lku+μx,k (5)x=L k u+μ x,k (5)

式中:Lk为由Σx,k乔列斯基分解得到的下三角矩阵,u为满足标准正态分布的变量向量。In the formula: L k is the lower triangular matrix obtained by Σ x, k Choleski decomposition, and u is a variable vector that satisfies the standard normal distribution.

根据式(4)和式(5),对于给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),配电网潮流输入变量与输出变量的联合变量向量为:According to equations (4) and (5), for the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), the distribution network power flow The joint variable vector of input variables and output variables is:

根据式(6)和乔列斯基分解原理,对于给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k),配电网潮流输入变量与输出变量的联合概率密度函数为:According to equation (6) and the Choleski decomposition principle, for the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), the power distribution The joint probability density function of the grid power flow input variables and output variables is:

式中:Θk表示给定式(2)所示输入变量的高斯混合模型的第k个高斯成分N(x|μx,kx,k)的事件,其概率为P(Θk)=ωkIn the formula: Θ k represents the event of the kth Gaussian component N(x|μ x,kx,k ) of the Gaussian mixture model given the input variables shown in equation (2), and its probability is P(Θ k ) =ω k .

根据式(7)和全概率公式,最终获得配电网潮流输入变量与输出变量的联合概率密度函数为:According to equation (7) and the full probability formula, the joint probability density function of the distribution network power flow input variables and output variables is finally obtained:

步骤2:获得配电网潮流输出变量的概率密度函数的解析式,并计算其方差。Step 2: Obtain the analytical formula of the probability density function of the power flow output variable of the distribution network and calculate its variance.

详细过程如下:The detailed process is as follows:

根据式(8)所示配电网潮流输入变量与输出变量的联合概率密度函数的解析式,配电网潮流的第l个输出变量yl的概率分布为式(8)的边缘概率分布,获得yl的概率密度函数解析式为:According to the analytical formula of the joint probability density function of the distribution network power flow input variables and output variables shown in Equation (8), the probability distribution of the l-th output variable y l of the distribution network power flow is the marginal probability distribution of Equation (8), The analytical formula of the probability density function to obtain y l is:

式中:μl,k=μy,k(l)、Σll,k=Σy,k(l,l),(l)、(l,l)分别表示向量和矩阵元素的索引。In the formula: μ l,ky,k (l), Σ ll,k = Σ y,k (l,l), (l), (l,l) represent the index of vector and matrix elements respectively.

根据式(9),yl的M阶原点矩的表示为:According to equation (9), the M-order origin moment of y l is expressed as:

式中:E[N(yll,kll,k)M]表示高斯分布N(yll,kll,k)的M阶原点矩。In the formula: E[N(y ll,kll,k ) M ] represents the M-order origin moment of Gaussian distribution N(y ll,kll,k ).

根据式(10),yl的方差表示为:According to equation (10), the variance of y l is expressed as:

根据式(11)计算得到配电网潮流输出变量的方差。The variance of the power flow output variable of the distribution network is calculated according to Equation (11).

步骤3:获得配电网潮流输出变量关于输入变量的条件概率密度函数和条件方差的解析式,并计算条件方差的期望值。Step 3: Obtain the analytical expression of the conditional probability density function and conditional variance of the distribution network power flow output variable with respect to the input variable, and calculate the expected value of the conditional variance.

详细过程如下:The detailed process is as follows:

首先,将配电网潮流输入变量向量x划分为互补子集xc和xd,即x={xc,xd}。First, the distribution network power flow input variable vector x is divided into complementary subsets x c and x d , that is, x = {x c , x d }.

其次,计算输出变量yl关于输入变量xc的条件方差的期望值;Secondly, calculate the expected value of the conditional variance of the output variable y l with respect to the input variable x c ;

将xc作为待分析的输入变量,xc与第l个输出变量yl构成的联合变量向量表示为w,即:Taking x c as the input variable to be analyzed, the joint variable vector composed of x c and the l-th output variable y l is expressed as w, that is:

w的概率分布为式(8)的边缘分布,获得w的联合概率密度函数解析式为:The probability distribution of w is the marginal distribution of equation (8), and the analytical formula of the joint probability density function of w is:

式中:μc,k=μx,k(c)、Σcc,k=Σx,k(c,c)、Σcl,k=Σxy,k(c,l)、Σlc,k=Σyx,k(l,c),c表示xc在x中的索引,l表示yl在y中的索引。In the formula: μ c,kx,k (c), Σ cc,k = Σ x,k (c,c), Σ cl,k = Σ xy,k (c,l), Σ lc,kyx,k (l,c), c represents the index of x c in x, and l represents the index of y l in y.

根据式(13)和贝叶斯定理,获得yl关于xc的条件概率密度函数的解析式为:According to equation (13) and Bayes’ theorem, the analytical formula for obtaining the conditional probability density function of y l with respect to x c is:

式中:In the formula:

根据式(14)-(17),获得yl关于xc的条件方差解析式为:According to equations (14)-(17), the analytical formula of the conditional variance of y l with respect to x c is obtained:

根据式(18)计算yl关于xc的条件方差的期望值E[Var(yl|xc)]。Calculate the expected value E[Var(y l |x c )] of the conditional variance of y l with respect to x c according to equation (18).

E[Var(yl|xc)]的计算式为:The calculation formula of E[Var(y l |x c )] is:

E[Var(yl|xc)]=∫Var(yl|xc)f(xc)dxc (19)E[Var(y l |x c )]=∫Var(y l |x c )f(x c )dx c (19)

式中:In the formula:

采用数值积分方法计算式(19),具体为:The numerical integration method is used to calculate equation (19), specifically:

式中:Xc,1、Xc,2、…、Xc,N为根据式(20)生成的xc的N个样本。In the formula: X c,1 , X c,2 , ..., X c,N are N samples of x c generated according to formula (20).

然后,计算输出变量yl关于输入变量xd的条件方差的期望值;Then, calculate the expected value of the conditional variance of the output variable y l with respect to the input variable x d ;

将xd作为待分析的输入变量,xd与第l个输出变量yl构成的联合变量向量表示为v,即:Taking x d as the input variable to be analyzed, the joint variable vector composed of x d and the l-th output variable y l is expressed as v, that is:

v的概率分布为式(8)的边缘分布,获得v的联合概率密度函数解析式为:The probability distribution of v is the marginal distribution of equation (8), and the analytical formula of the joint probability density function of v is obtained:

式中:μd,k=μx,k(d)、Σdd,k=Σx,k(d,d)、Σdl,k=Σxy,k(d,l)、Σld,k=Σyx,k(l,d),d表示xd在x中的索引,l表示yl在y中的索引。In the formula: μ d,kx,k (d), Σ dd,k = Σ x,k (d,d), Σ dl,k = Σ xy,k (d,l), Σ ld,kyx,k (l,d), d represents the index of x d in x, and l represents the index of y l in y.

根据式(23)和贝叶斯定理,获得yl关于xd的条件概率密度函数的解析式为:According to equation (23) and Bayes’ theorem, the analytical formula for obtaining the conditional probability density function of y l with respect to x d is:

式中:In the formula:

根据式(24)-(27),获得yl关于xd的条件方差解析式为:According to equations (24)-(27), the analytical formula of the conditional variance of y l with respect to x d is obtained:

根据式(28)计算yl关于xd的条件方差的期望值E[Var(yl|xd)]。Calculate the expected value E[Var(y l |x d )] of the conditional variance of y l with respect to x d according to equation (28).

E[Var(yl|xd)]的计算式为:The calculation formula of E[Var(y l |x d )] is:

E[Var(yl|xd)]=∫Var(yl|xd)f(xd)dxd (29)E[Var(y l |x d )]=∫Var(y l |x d )f(x d )dx d (29)

式中:In the formula:

采用数值积分方法计算式(29),具体为:The numerical integration method is used to calculate equation (29), specifically:

式中:Xd,1、Xd,2、…、Xd,N为根据式(30)生成的xd的N个样本。In the formula: X d , 1 ,

步骤4:根据步骤2和步骤3获得的结果计算配电网潮流全局灵敏度指标,完成配电网潮流全局灵敏度分析。Step 4: Calculate the distribution network power flow global sensitivity index based on the results obtained in steps 2 and 3, and complete the distribution network power flow global sensitivity analysis.

详细过程如下:The detailed process is as follows:

根据步骤2获得的Var(yl)和步骤3获得的E[Var(yl|xc)],计算输出变量yl关于输入变量xc的主效应全局灵敏度指标:According to Var(y l ) obtained in step 2 and E[Var(y l |x c )] obtained in step 3, calculate the main effect global sensitivity index of the output variable y l with respect to the input variable x c :

根据步骤2获得的Var(yl)和步骤3获得的E[Var(yl|xd)],计算输出变量yl关于输入变量xc的总效应全局灵敏度指标:According to Var(y l ) obtained in step 2 and E[Var(y l |x d )] obtained in step 3, calculate the global sensitivity index of the total effect of the output variable y l on the input variable x c :

综上,完成配电网潮流全局灵敏度分析。In summary, the global sensitivity analysis of distribution network power flow is completed.

作为本发明一个优选的实施例,具体如下:As a preferred embodiment of the present invention, the details are as follows:

仿真案例分析Simulation case analysis

采用含4台分布式光伏、1台分布式风电、1个电动汽车充电站的IEEE 33节点系统对本发明方案进行验证,传统蒙特卡洛模拟法所得结果作为基准,并将本发明方案与基于多项式混沌展开(PCE)和高斯随机过程回归(GPR)的代理模型的蒙特卡洛模拟法对比,基于代理模型的蒙特卡洛模拟法是与本发明最接近的现有技术方案,PCE和GPR是常用的2种代理模型。每台分布式光伏的额定有功功率为0.8MW、分布式风电的额定有功功率为1.2MW、电动汽车充电站安装有20台充电桩(每台充电桩的额定功率为42kW)。风、光分布式电源的出力数据分别由实测的风速和辐照强度转换获得,电动汽车充电站的负荷数据由实际电动充电站采集获得,IEEE 33节点原始负荷数据作为年平均值,归一化的负荷曲线由某实际系统获得,在每个小时时间窗内常规负荷满足正态分布,其标准差为均值的10%。本发明方案的高斯成分数为100,数值积分的样本数量为1000,代理模型建模的训练样本数量为100,蒙特卡洛模拟的样本数量为106。仿真程序在配置为Intel i7-10510U 1.8GHz CPU和16GB RAM的计算机上编制并运行。An IEEE 33-node system containing 4 distributed photovoltaics, 1 distributed wind power, and 1 electric vehicle charging station was used to verify the inventive solution. The results obtained by the traditional Monte Carlo simulation method were used as the benchmark, and the inventive solution was compared with the polynomial-based Comparing the Monte Carlo simulation methods of the agent model of Chaos Expansion (PCE) and Gaussian Random Process Regression (GPR), the Monte Carlo simulation method based on the agent model is the closest existing technical solution to the present invention, and PCE and GPR are commonly used 2 agency models. The rated active power of each distributed photovoltaic unit is 0.8MW, the rated active power of distributed wind power is 1.2MW, and the electric vehicle charging station is equipped with 20 charging piles (the rated power of each charging pile is 42kW). The output data of wind and solar distributed power sources are obtained by converting actual measured wind speed and irradiation intensity respectively. The load data of electric vehicle charging stations are collected and obtained by actual electric charging stations. The original load data of IEEE 33 nodes is used as the annual average and normalized The load curve is obtained from an actual system. The regular load in each hour time window satisfies the normal distribution, and its standard deviation is 10% of the mean. The number of Gaussian components of the solution of the present invention is 100, the number of samples for numerical integration is 1000, the number of training samples for agent model modeling is 100, and the number of samples for Monte Carlo simulation is 10 6 . The simulation program is compiled and run on a computer configured with Intel i7-10510U 1.8GHz CPU and 16GB RAM.

1.精度的对比1. Comparison of accuracy

表1所示为本发明方案获得的IEEE 33节点的部分全局灵敏度指标,选取的是4个代表性的输出变量:节点33电压幅值V33、支路31-32电流幅值I31-32、支路31-32有功功率P31-32、网络总有功损耗PL,考察的输入变量为第4台光伏发电的有功功率PPV4。SKM(V33,PPV4)、SKM(I31-32,PPV4)、SKM(P31-32,PPV4)、SKM(PL,PPV4)分别表示上述4个输出变量V33、I31-32、P31-32、PL关于PPV4的主效应全局灵敏度指标。结果表明本发明方案能够得到准确的配电网潮流全局灵敏度指标,且精度显著优于现有技术方案。Table 1 shows some global sensitivity indicators of the IEEE 33 node obtained by the scheme of the present invention. Four representative output variables are selected: node 33 voltage amplitude V 33 , branch 31-32 current amplitude I 31-32 , branch 31-32 active power P 31-32 , network total active loss PL , the input variable under investigation is the active power P PV4 of the fourth photovoltaic power generation unit. S KM (V 33 ,P PV4 ), S KM (I 31-32 ,P PV4 ), S KM (P 31-32 ,P PV4 ) and S KM (P L ,P PV4 ) respectively represent the above four output variables. V 33 , I 31-32 , P 31-32 , P L main effect global sensitivity index on P PV4 . The results show that the solution of the present invention can obtain accurate global sensitivity index of distribution network power flow, and the accuracy is significantly better than the existing technical solution.

表1全局灵敏度指标相对误差对比Table 1 Relative error comparison of global sensitivity indicators

2.效率的对比2. Comparison of efficiency

本仿真案例共包括98个输出变量(包括节点电压、支路电流、支路有功、总有功损耗、总电压偏差)和38个输入变量(32个常规负荷、4台光伏、1台风电、1个电动汽车充电站),全局灵敏度分析需要计算合计2×38×98个全局灵敏度指标,表2所示为不同方法的计算耗时对比。基于代理模型的蒙特卡洛模拟法在代理模型的构建和蒙特卡洛模拟过程中需要耗费较长时间,尽管代理模型法在蒙特卡洛模拟的计算耗时方面显著低于传统蒙特卡洛模拟法,但由于所要计算的指标数量较多,因此总耗时仍较长。相比现有技术方案,本发明技术方案避免了耗时的代理模型的构建和蒙特卡洛模拟过程,属于解析方法,因此计算耗时显著低于现有技术方案,计算效率具有数量级的提升。This simulation case includes a total of 98 output variables (including node voltage, branch current, branch active power, total active power loss, and total voltage deviation) and 38 input variables (32 conventional loads, 4 photovoltaics, 1 wind power, 1 electric vehicle charging stations), global sensitivity analysis requires calculating a total of 2×38×98 global sensitivity indicators. Table 2 shows the comparison of the calculation time of different methods. The Monte Carlo simulation method based on the surrogate model takes a long time in the construction of the surrogate model and the Monte Carlo simulation process, although the calculation time of the Monte Carlo simulation of the surrogate model method is significantly lower than that of the traditional Monte Carlo simulation method. , but due to the large number of indicators to be calculated, the total time is still long. Compared with the existing technical solutions, the technical solution of the present invention avoids the time-consuming construction of the agent model and the Monte Carlo simulation process, and is an analytical method. Therefore, the calculation time is significantly lower than that of the existing technical solutions, and the calculation efficiency is improved by an order of magnitude.

表2全局灵敏度指标计算耗时对比Table 2 Comparison of global sensitivity index calculation time

综上,本发明方案具有如下优点。In summary, the solution of the present invention has the following advantages.

(1)配电网潮流输入变量与输出变量的联合概率密度函数的高斯混合模型的建模过程只需要较少次数的潮流计算,耗时很短,避免了耗时的代理模型构建过程。(1) The modeling process of the Gaussian mixture model of the joint probability density function of the distribution network power flow input variables and output variables only requires a small number of power flow calculations, takes a very short time, and avoids the time-consuming surrogate model construction process.

(2)获得了配电网潮流输出变量方差的解析式、配电网潮流输出变量关于输入变量的条件方差的解析式,使得全局灵敏度指标的计算耗时很短,避免了耗时的配电网潮流的蒙特卡洛模拟计算过程。(2) The analytical formula of the variance of the distribution network power flow output variable and the analytical formula of the conditional variance of the distribution network power flow output variable with respect to the input variable are obtained, which makes the calculation of the global sensitivity index very short and avoids the time-consuming power distribution Monte Carlo simulation calculation process of network power flow.

综上所述,本发明方案显著提升了配电网潮流全局灵敏度分析的计算效率。To sum up, the solution of the present invention significantly improves the calculation efficiency of global sensitivity analysis of distribution network power flow.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化囊括在本发明内。It is obvious to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention. Therefore, the embodiments should be regarded as illustrative and non-restrictive from any point of view, and the scope of the present invention is defined by the appended claims rather than the above description, and it is therefore intended that all claims falling within the claims All changes within the meaning and scope of equivalent elements are included in the present invention.

此外,应当理解,虽然本说明书按照实施方式加以描述,但并非每个实施方式仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。In addition, it should be understood that although this specification is described in terms of implementations, not each implementation only contains an independent technical solution. This description of the specification is only for the sake of clarity, and those skilled in the art should take the specification as a whole. , the technical solutions in each embodiment can also be appropriately combined to form other implementations that can be understood by those skilled in the art.

Claims (2)

1. The Gaussian mixture model method for analyzing the overall sensitivity of the power flow of the power distribution network is characterized by comprising the following steps of:
step 1: establishing a Gaussian mixture model of a joint probability density function of a power flow input variable and an output variable of the power distribution network;
step 2: obtaining an analytic type of probability density function of a power flow output variable of the power distribution network, and calculating variance of the analytic type;
step 3: obtaining an analytic expression of a conditional probability density function and a conditional variance of a power flow output variable of the power distribution network relative to an input variable, and calculating an expected value of the conditional variance;
step 4: calculating a power flow global sensitivity index of the power distribution network according to the results obtained in the step 2 and the step 3, and completing power flow global sensitivity analysis of the power distribution network;
the step 1 specifically comprises the following steps:
firstly, establishing a Gaussian mixture model of a power flow input variable joint probability density function of a power distribution network;
the power flow input variable vector of the distribution network is X, and n historical samples of the power flow input variable vector are X 1 、X 2 、…、X n Establishing a joint probability density function of x by adopting a non-parameter kernel density estimation method:
wherein: n (·) represents a Gaussian kernel function, H k Represents the kth sample X k A corresponding bandwidth matrix, the probability density function based on non-parametric kernel density estimation being a basic Gaussian mixture model with Gaussian component number K b Weight coefficient equal to n, kth gaussian componentEqual to 1/n, mean vector->Equal to X k Covariance matrix->Equal to H k
And (3) adopting a layering expectation maximization algorithm of density retention to perform Gaussian component number reduction on the basic Gaussian mixture model shown in the formula (1), and obtaining a simplified Gaussian mixture model as follows:
wherein: omega k 、μ x,k 、Σ x,k Respectively representing a weight coefficient, a mean vector and a covariance matrix of the kth Gaussian component, wherein K represents the reduced Gaussian component number;
secondly, on the basis of the formula (2), establishing a piecewise linearization power flow model of the power distribution network;
the compact form of the nonlinear power distribution network power flow model is:
y=Γ(x) (3)
wherein: Γ (·) represents a nonlinear power flow equation, and y represents an output variable vector of power flow of the power distribution network;
the kth Gaussian component N (x|mu) of the Gaussian mixture model given the input variable of formula (2) x,kx,k ) For the nonlinear tide model shown in (3), the nonlinear tide model is shown in mu x,k Linearization is performed, and a kth linearization model is obtained:
y=T k x+pΓ(μ x,k )-T k μ x,k ] (4)
wherein: t (T) k Mu for nonlinear tide equation x,k An inverse jacobian matrix at; each Gaussian component of the Gaussian mixture model of the input variable joint probability density function shown in the formula (2) corresponds to a linearized power flow model, namely, 1 piecewise linear power flow model comprising K linear segments is established;
then, on the basis of the formula (2) and the formula (4), establishing a joint probability density function of the power flow input variable and the power flow output variable of the power distribution network;
the kth Gaussian component N (x|mu) of the Gaussian mixture model for the input variable of the given formula (2) x,kx,k ) The power flow input variable vector x of the power distribution network is expressed as:
x=L k u+μ x,k (5)
wherein: l (L) k Is sigma-delta x,k The lower triangular matrix obtained by the George decomposition is a variable vector meeting standard normal distribution;
according to the formulas (4) and (5), for the kth gaussian component N (x|μ) of the gaussian mixture model given the input variable represented by the formula (2) x,kx,k ) The combined variable vector of the power flow input variable and the power flow output variable of the power distribution network is as follows:
according to the formula (6) and the principle of the Georgi decomposition, the kth Gaussian component N (x|mu) of the Gaussian mixture model for the input variable represented by the given formula (2) x,kx,k ) The joint probability density function of the power flow input variable and the power flow output variable of the power distribution network is as follows:
wherein: theta (theta) k The kth Gaussian component N (x|mu) of the Gaussian mixture model representing the input variable of the given formula (2) x,kx,k ) With a probability P (Θ) k )=ω k
According to the formula (7) and the full probability formula, the final obtaining of the joint probability density function of the power flow input variable and the power flow output variable of the power distribution network is as follows:
the step 2 specifically comprises the following steps:
according to the analysis of the joint probability density function of the input variable and the output variable of the power flow of the power distribution network shown in the formula (8), the first output variable y of the power flow of the power distribution network l The probability distribution of (2) is the edge probability distribution of equation (8), and y is obtained l The probability density function of (2) is as follows:
wherein: mu (mu) l,k =μ y,k (l)、Σ ll,k =Σ y,k (l, l), (l, l) represent the indices of the vector and matrix elements, respectively;
according to formula (9), y l Is expressed as:
wherein: e [ N (y) ll,kll,k ) M ]Shows a Gaussian distribution N (y) ll,kll,k ) An M-order origin moment of (a);
according to formula (10), y l The variance of (c) is expressed as:
calculating to obtain the variance of the power flow output variable of the power distribution network according to the formula (11);
the step 3 specifically comprises the following steps:
first, the power distribution network power flow input variable vector x is divided into complementary subsets x c And x d I.e. x= { x c ,x d };
Next, the output variable y is calculated l With respect to input variable x c Is a desired value of conditional variance of (a);
will x c As input variable to be analyzed, x c And the first output variable y l The combined variable vector is represented as w, namely:
the probability distribution of w is the edge distribution of the formula (8), and the analytical formula of the joint probability density function of w is:
wherein: mu (mu) c,k =μ x,k (c)、Σ cc,k =Σ x,k (c,c)、Σ cl,k =Σ xy,k (c,l)、Σ lc,k =Σ yx,k (l, c), c represents x c Index in x, l denotes y l An index in y;
obtaining y according to formula (13) and Bayes theorem l In relation to x c The analytical formula of the conditional probability density function is:
wherein:
according to formulas (14) - (17), y is obtained l Concerning x c The conditional variance analysis formula of (2) is:
calculating y according to formula (18) l Concerning x c The expected value E [ Var (y) l |x c )];
E[Var(y l |x c )]The calculation formula of (2) is as follows:
E[Var(y l |x c )]=∫Var(y l |x c )f(x c )dx c (19)
wherein:
the numerical integration method is adopted to calculate the formula (19), and the method is specifically as follows:
wherein: x is X c,1 、X c,2 、…、X c,N For x generated according to formula (20) c Is a sample of N samples;
then, calculate the output variable y l With respect to input variable x d Is a desired value of conditional variance of (a);
will x d As input variable to be analyzed, x d And the first output variable y l The composed joint variable vector is denoted v, namely:
the probability distribution of v is the edge distribution of the formula (8), and the analytical formula of the joint probability density function for obtaining v is as follows:
wherein: mu (mu) d,k =μ x,k (d)、Σ dd,k =Σ x,k (d,d)、Σ dl,k =Σ xy,k (d,l)、Σ ld,k =Σ yx,k (l, d), d represents x d Index in x, l denotes y l An index in y;
obtaining y according to formula (23) and Bayes theorem l Concerning x d The analytical formula of the conditional probability density function is:
wherein:
according to formulae (24) - (27), y is obtained l Concerning x d The conditional variance analysis formula of (2) is:
calculating y according to formula (28) l Concerning x d The expected value E [ Var (y) l |x d )];
E[Var(y l |x d )]The calculation formula of (2) is as follows:
E[Var(y l |x d )]=∫Var(y l |x d )f(x d )dx d (29)
wherein:
the numerical integration method is adopted to calculate the formula (29), specifically:
wherein: x is X d,1 、X d,2 、…、X d,N For x generated according to formula (30) d Is a sample of the N samples.
2. The gaussian mixture model method for power distribution network power flow global sensitivity analysis according to claim 1, wherein said step 4 is specifically:
var (y) obtained according to step 2 l ) And E [ Var (y) obtained in step 3 l |x c )]Calculating the output variable y l With respect to input variable x c Main effect global sensitivity index of (2):
var (y) obtained according to step 2 l ) And E [ Var (y) obtained in step 3 l |x d )]Calculating the output variable y l With respect to input variable x c Global sensitivity index of the total effect of (a):
and comprehensively, completing the overall sensitivity analysis of the power flow of the power distribution network.
CN202310546389.9A 2023-05-16 2023-05-16 Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network Active CN117313304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310546389.9A CN117313304B (en) 2023-05-16 2023-05-16 Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310546389.9A CN117313304B (en) 2023-05-16 2023-05-16 Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network

Publications (2)

Publication Number Publication Date
CN117313304A CN117313304A (en) 2023-12-29
CN117313304B true CN117313304B (en) 2024-03-08

Family

ID=89248688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310546389.9A Active CN117313304B (en) 2023-05-16 2023-05-16 Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network

Country Status (1)

Country Link
CN (1) CN117313304B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018157691A1 (en) * 2017-02-28 2018-09-07 国网江苏省电力公司常州供电公司 Active distribution network safety quantifying method
CN109347110A (en) * 2018-10-29 2019-02-15 河海大学 An adaptive linearization probabilistic power flow calculation method with a high proportion of wind power grid-connected
CN110707704A (en) * 2019-10-08 2020-01-17 河海大学 Probabilistic power flow analysis method for power-heat interconnected integrated energy system based on GMM and multi-point linear semi-invariant method
CN111463793A (en) * 2020-04-23 2020-07-28 国网上海市电力公司 Analytic probabilistic power flow calculation method and system
CN114421483A (en) * 2022-02-10 2022-04-29 广东电网有限责任公司 An analytical probabilistic power flow calculation method, device and storage medium
CN115912428A (en) * 2022-12-20 2023-04-04 国网上海市电力公司 Configuration method of energy storage devices in resilient distribution network based on global sensitivity index
CN116109134A (en) * 2022-12-27 2023-05-12 贵州电网有限责任公司 Risk assessment method for voltage transgression based on analytical probabilistic power flow

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3709031B1 (en) * 2019-03-13 2021-12-15 DEPsys SA Method for determining sensitivity coefficients of an electric power network using metering data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018157691A1 (en) * 2017-02-28 2018-09-07 国网江苏省电力公司常州供电公司 Active distribution network safety quantifying method
CN109347110A (en) * 2018-10-29 2019-02-15 河海大学 An adaptive linearization probabilistic power flow calculation method with a high proportion of wind power grid-connected
CN110707704A (en) * 2019-10-08 2020-01-17 河海大学 Probabilistic power flow analysis method for power-heat interconnected integrated energy system based on GMM and multi-point linear semi-invariant method
CN111463793A (en) * 2020-04-23 2020-07-28 国网上海市电力公司 Analytic probabilistic power flow calculation method and system
CN114421483A (en) * 2022-02-10 2022-04-29 广东电网有限责任公司 An analytical probabilistic power flow calculation method, device and storage medium
CN115912428A (en) * 2022-12-20 2023-04-04 国网上海市电力公司 Configuration method of energy storage devices in resilient distribution network based on global sensitivity index
CN116109134A (en) * 2022-12-27 2023-05-12 贵州电网有限责任公司 Risk assessment method for voltage transgression based on analytical probabilistic power flow

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Combined Gaussian Mixture Model and cumulants for probabilistic power flow calculation of integrated wind power network;Lin Ye等;《Computers & Electrical Engineering》;20190331;全文 *
基于高斯混合模型及近似线性规划的风电系统校正控制方法;周海强等;《电力自动化设备》;20221231;第42卷(第12期);全文 *
微型同步相量测量单元在智能配电网运行状态估计中的应用;严正等;《上海交通大学学报》;20181031;第52卷(第10期);全文 *
用于含风电场的电力系统概率潮流计算的高斯混合模型;叶林;张亚丽;巨云涛;宋旭日;郎燕生;李强;;中国电机工程学报;20170228(第15期);全文 *

Also Published As

Publication number Publication date
CN117313304A (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US20200212681A1 (en) Method, apparatus and storage medium for transmission network expansion planning considering extremely large amounts of operation scenarios
CN107918103B (en) A Lithium-ion Battery Remaining Life Prediction Method Based on Gray Particle Filter
CN107831448B (en) A kind of state-of-charge estimation method of parallel connection type battery system
CN102082560A (en) Ensemble kalman filter-based particle filtering method
Liu et al. Validity analysis of maximum entropy distribution based on different moment constraints for wind energy assessment
CN107104442A (en) The computational methods of Probabilistic Load containing wind power plant of meter and parameter fuzzy
CN104332996A (en) Method for estimating power system reliability
CN105790261B (en) A Random Harmonic Power Flow Calculation Method
Kaplan et al. A novel method based on Weibull distribution for short-term wind speed prediction
Eidiani A new load flow method to assess the static available transfer capability
CN112766609A (en) Power consumption prediction method based on cloud computing
CN112540159A (en) Nuclear power plant atmospheric diffusion prediction correction method, system, medium and electronic equipment
Eidiani et al. A fast holomorphic method to evaluate available transmission capacity with large scale wind turbines
CN106786608A (en) A kind of uncertain harmonic flow calculation method accessed suitable for distributed power source
CN115630286A (en) Electric power prediction method, system and equipment based on hybrid deep learning model
Jiang et al. Data-driven low-rank tensor approximation for fast grid integration of commercial EV charging stations considering demand uncertainties
CN107634516A (en) A Distribution Network State Estimation Method Based on Gray-Markov Chain
CN104036118B (en) A kind of power system parallelization trace sensitivity acquisition methods
CN116307221A (en) Photovoltaic power generation power prediction method and computer equipment
Liu et al. A self-data-driven method for lifetime prediction of PV arrays considering the uncertainty and volatility
CN117313304B (en) Gaussian mixture model method for analyzing overall sensitivity of power flow of power distribution network
CN119167677A (en) Transmission tower line system reliability assessment method, device, equipment and storage medium
CN107846039A (en) Consider the cluster wind-electricity integration modeling and analysis methods and system of wind speed correlation
CN117689061A (en) A method and system for short-term power generation prediction of thermal power plants
CN107918920A (en) The output correlation analysis method of more photovoltaic plants

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载