CN118841943A - Power grid harmonic distribution calculation method and device, storage medium and computer equipment - Google Patents
Power grid harmonic distribution calculation method and device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN118841943A CN118841943A CN202410793681.5A CN202410793681A CN118841943A CN 118841943 A CN118841943 A CN 118841943A CN 202410793681 A CN202410793681 A CN 202410793681A CN 118841943 A CN118841943 A CN 118841943A
- Authority
- CN
- China
- Prior art keywords
- harmonic
- measurement
- node
- branch
- orders
- 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
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 90
- 238000005259 measurement Methods 0.000 claims abstract description 291
- 238000000034 method Methods 0.000 claims abstract description 72
- 238000002347 injection Methods 0.000 claims abstract description 31
- 239000007924 injection Substances 0.000 claims abstract description 31
- 239000000243 solution Substances 0.000 claims abstract description 24
- 239000011159 matrix material Substances 0.000 claims description 43
- 230000001360 synchronised effect Effects 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 11
- 238000010276 construction Methods 0.000 claims description 5
- 101150036841 minJ gene Proteins 0.000 claims 1
- 238000009434 installation Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 12
- 238000013178 mathematical model Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 4
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000010521 absorption reaction Methods 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000013485 heteroscedasticity test Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/01—Arrangements for reducing harmonics or ripples
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/10—Power 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E40/00—Technologies for an efficient electrical power generation, transmission or distribution
- Y02E40/40—Arrangements for reducing harmonics
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Power Engineering (AREA)
- Operations Research (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本申请提供的电网谐波分布计算方法、装置、存储介质及计算机设备,在基于关键节点谐波电压、支路谐波电流以及量测误差构建量测方程后,可以使用加权最小二乘法对量测方程进行求解,得到电力系统中的各个节点在不同谐波次数下的支路谐波电流,这样可以在不依赖仿真软件的情况下,降低对电网中宽频测量装置安装数量的需求,进而在装设较少宽频测量装置的情况下,实现对系统谐波分布情况的准确计算;本申请还可根据各个节点的支路谐波电流计算各个节点向电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。该过程考虑了多种谐波源注入的情况,从而为大规模交流电网的谐波分布计算提供新的解决方案。
The power grid harmonic distribution calculation method, device, storage medium and computer equipment provided by the present application, after constructing the measurement equation based on the key node harmonic voltage, branch harmonic current and measurement error, can use the weighted least square method to solve the measurement equation to obtain the branch harmonic current of each node in the power system at different harmonic orders, so that the demand for the installation of broadband measurement devices in the power grid can be reduced without relying on simulation software, and then the accurate calculation of the system harmonic distribution can be achieved when fewer broadband measurement devices are installed; the present application can also calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value. This process takes into account the injection of multiple harmonic sources, thereby providing a new solution for the harmonic distribution calculation of large-scale AC power grids.
Description
技术领域Technical Field
本申请涉及电力系统技术领域,尤其涉及一种电网谐波分布计算方法、装置、存储介质及计算机设备。The present application relates to the technical field of power systems, and in particular to a method, device, storage medium and computer equipment for calculating harmonic distribution of a power grid.
背景技术Background Art
随着直流输电技术的不断发展,电网呈现交直流混联发展趋势,同时新能源发电技术及电力电子技术的大量应用,在提升系统可控性和灵活性的同时,也向系统中注入了大量的谐波,致使系统中的谐波情况复杂化,导致了电能质量恶化,并引起电能损耗上升、设备加速老化等问题。由于电力电子装置的非线性特性,含高比例电力电子装备电力系统的谐波问题呈现宽频化、多源化特征,对谐波的精确量测与状态估计,准确计算出电网内谐波分布情况是开展电能质量治理、确保电网安全可靠稳定运行的前提。With the continuous development of DC transmission technology, the power grid is showing a trend of AC-DC hybrid development. At the same time, the extensive application of new energy power generation technology and power electronics technology has injected a large number of harmonics into the system while improving the controllability and flexibility of the system, which has complicated the harmonic situation in the system, led to the deterioration of power quality, and caused problems such as increased power loss and accelerated aging of equipment. Due to the nonlinear characteristics of power electronic devices, the harmonic problems of power systems containing a high proportion of power electronic equipment are broadband and multi-source. Accurate measurement and state estimation of harmonics and accurate calculation of the harmonic distribution in the power grid are the prerequisites for carrying out power quality management and ensuring safe, reliable and stable operation of the power grid.
现有技术中,计算电网内谐波分布情况时,一般是基于谐波源特征提取的动态谐波分布计算模型,该模型通过小波滤波得到谐波源波动的特征分量,将慢波动分量用于计算状态转移矩阵,将快波动分量用于计算系统噪声协方差矩阵,但该模型仅针对普通谐波源,未将目前存在的柔性直流输电、分布式能源等新型谐波源纳入考虑范围;另外,现有技术还建立了含DG配电网的谐波分布分析数学模型,并提出了与暂态仿真相结合的含DG配电网的谐波分布计算方法,但该方法未被证明是否能够适用于大规模输电网,且该方法依赖仿真软件,难以独立使用。In the prior art, when calculating the harmonic distribution in the power grid, a dynamic harmonic distribution calculation model is generally used based on the extraction of harmonic source characteristics. The model obtains the characteristic components of the harmonic source fluctuations through wavelet filtering, uses the slow fluctuation components to calculate the state transfer matrix, and uses the fast fluctuation components to calculate the system noise covariance matrix. However, the model only targets ordinary harmonic sources and does not take into account the existing new harmonic sources such as flexible direct current transmission and distributed energy. In addition, the prior art has also established a mathematical model for harmonic distribution analysis of a DG distribution network, and proposed a harmonic distribution calculation method for a DG distribution network combined with transient simulation, but this method has not been proven to be applicable to large-scale transmission networks, and the method relies on simulation software and is difficult to use independently.
发明内容Summary of the invention
本申请的目的旨在至少能解决上述的技术缺陷之一,特别是现有技术中无法对含有新型谐波源的电网内谐波分布情况进行准确量测并计算的技术缺陷。The purpose of the present application is to solve at least one of the above-mentioned technical defects, especially the technical defect that the prior art cannot accurately measure and calculate the harmonic distribution in the power grid containing new harmonic sources.
本申请提供了一种电网谐波分布计算方法,所述方法包括:The present application provides a method for calculating power grid harmonic distribution, the method comprising:
通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与所述宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及所述宽频测量装置在不同谐波次数下测量时的量测误差;Obtaining, by means of a broadband measuring device installed in the power system, node harmonic voltages of key nodes at different harmonic orders, branch harmonic currents of branches connected to the broadband measuring device at different harmonic orders, and measurement errors of the broadband measuring device when measuring at different harmonic orders;
基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程;Based on the node harmonic voltage, branch harmonic current and measurement error at different harmonic orders, the measurement equations at different harmonic orders are constructed;
使用加权最小二乘法对所述量测方程进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流;The measurement equation is solved using a weighted least square method to obtain branch harmonic currents of various nodes in the power system at different harmonic orders;
根据各个节点的支路谐波电流计算各个节点向所述电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定所述电力系统中的谐波源所在位置。The harmonic active power value injected by each node into the power system is calculated according to the branch harmonic current of each node, and the location of the harmonic source in the power system is determined according to the numerical value of each harmonic active power value.
可选地,所述通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压之前,还包括:Optionally, before obtaining the node harmonic voltages of key nodes at different harmonic orders by a broadband measurement device installed in the power system, the method further includes:
基于电力系统的谐波分布计算需求,构建0-1整数规划模型;Based on the harmonic distribution calculation requirements of the power system, a 0-1 integer programming model is constructed;
对所述0-1整数规划模型进行求解后,根据求解结果确定在电力系统中装设宽频测量装置的位置。After solving the 0-1 integer programming model, the location where the broadband measurement device is installed in the power system is determined according to the solution result.
可选地,所述基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程,包括:Optionally, constructing measurement equations at different harmonic orders based on node harmonic voltages, branch harmonic currents and measurement errors at different harmonic orders includes:
根据不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差,构建不同谐波次数下的节点电压量测方程和支路注入电流量测方程;According to the node harmonic voltage, branch harmonic current and measurement error under different harmonic orders, the node voltage measurement equation and branch injection current measurement equation under different harmonic orders are constructed;
确定所述电力系统中与不同谐波次数下的节点谐波电压、支路谐波电流对应的量测矩阵;Determine a measurement matrix corresponding to node harmonic voltages and branch harmonic currents at different harmonic orders in the power system;
根据不同谐波次数下的节点电压量测方程、支路注入电流量测方程及对应的量测矩阵,构建同步相量量测方程。According to the node voltage measurement equations under different harmonic orders, the branch injection current measurement equations and the corresponding measurement matrices, the synchronous phasor measurement equations are constructed.
可选地,所述节点电压量测方程为:Optionally, the node voltage measurement equation is:
上式中,下标M表示为量测量,下标S表示为状态量,表示节点i的h次节点谐波电压量测量,表示节点i的h次节点谐波电压状态量,I表示与节点谐波电压量测量维数相同的单位矩阵,ηi表示h次谐波情况下节点i处的节点谐波电压量测误差;In the above formula, the subscript M represents the quantity measurement, and the subscript S represents the state quantity. It represents the hth node harmonic voltage measurement of node i, represents the h-order node harmonic voltage state quantity of node i, I represents the unit matrix with the same dimension as the node harmonic voltage measurement quantity, η i represents the node harmonic voltage measurement error at node i in the case of h-order harmonic;
所述支路注入电流量测方程为:The branch injection current measurement equation is:
上式中,表示节点i注入的h次支路谐波电流量测量,表示h次谐波情况下节点j的节点谐波电压状态量,表示h次谐波情况下节点导纳矩阵中节点i与节点j的h次谐波之间相关的矩阵元素,n表示电力系统中的节点总数;表示h次谐波情况下节点i与节点j之间注入电流的量测量, 表示h次谐波情况下节点i导纳矩阵中的自导纳,表示h次谐波情况下节点i与节点j之间的导纳;In the above formula, It represents the measurement of the hth branch harmonic current injected into node i, It represents the node harmonic voltage state quantity of node j under the condition of h-order harmonic, represents the matrix element related to the hth harmonic of node i and node j in the node admittance matrix under the condition of hth harmonic, and n represents the total number of nodes in the power system; It represents the measurement of the amount of current injected between nodes i and j under the condition of harmonic h. represents the self-admittance in the admittance matrix of node i in the case of hth harmonic, represents the admittance between nodes i and j in the case of hth harmonic;
所述同步相量量测方程为:The synchronized phasor measurement equation is:
上式中,表示装设宽频测量装置的关键节点的节点谐波电压量测量,表示与装设宽频测量装置的关键节点相连的支路谐波电流量测量,表示待求的各节点的支路谐波电流状态量,表示量测量为节点谐波电压的量测矩阵,表示量测量为支路谐波电流的量测矩阵。In the above formula, Indicates the node harmonic voltage measurement of key nodes where broadband measurement devices are installed. It indicates the measurement of branch harmonic current connected to the key node where the broadband measurement device is installed. represents the branch harmonic current state quantity of each node to be determined, The quantity measured is the measurement matrix of node harmonic voltage, The measured quantity is the measurement matrix of branch harmonic current.
可选地,所述使用加权最小二乘法对所述量测方程进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流,包括:Optionally, the method of using a weighted least square method to solve the measurement equation to obtain branch harmonic currents of various nodes in the power system at different harmonic orders includes:
根据不同谐波次数下的节点电压量测方程和支路注入电流量测方程,以及所述同步相量量测方程,构建谐波分布计算模型;Constructing a harmonic distribution calculation model according to the node voltage measurement equation and the branch injection current measurement equation under different harmonic orders, and the synchronous phasor measurement equation;
使用加权最小二乘法对所述谐波分布计算模型进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流。The harmonic distribution calculation model is solved using a weighted least square method to obtain branch harmonic currents of various nodes in the power system at different harmonic orders.
可选地,所述谐波分布计算模型为:Optionally, the harmonic distribution calculation model is:
Z=HX+εZ=HX+ε
其中,Z为m×1维量测量相量,X为n×1维待求状态量相量,Z与X根据所选量测量和状态量及相量量测方程确定,H为m×n维量测矩阵,量测矩阵主要由电力系统中的网路拓扑结构、元件谐波参数决定,ε表示m×l维量测误差相量,m表示量测量数目,n表示待求状态量数目;Wherein, Z is the m×1-dimensional measurement phasor, X is the n×1-dimensional state quantity phasor to be determined, Z and X are determined according to the selected measurement and state quantity and phasor measurement equations, H is the m×n-dimensional measurement matrix, which is mainly determined by the network topology and component harmonic parameters in the power system, ε represents the m×l-dimensional measurement error phasor, m represents the number of measurement, and n represents the number of state quantities to be determined;
加权最小二乘法的目标函数为:The objective function of the weighted least squares method is:
J(x)=(Z-HX)TW(Z-HX)J(x)=(Z-HX) T W(Z-HX)
上式中,表示状态量X的估计值;In the above formula, Represents the estimated value of the state quantity X;
当时,目标函数取到最小值,即:when When , the objective function reaches its minimum value, that is:
min J(x)=(Z-HX)TW(Z-HX)min J(x)=(Z-HX) T W(Z-HX)
对残差平方和进行微分求最值,得到基于加权最小二乘原理的谐波分布计算方程:Differentiate the residual sum of squares to find the maximum value, and obtain the harmonic distribution calculation equation based on the weighted least squares principle:
其中,W=R-1,W为m阶量测权重矩阵,R为各量测数据的量测误差方差的对角矩阵;Wherein, W=R -1 , W is the m-th order measurement weight matrix, and R is the diagonal matrix of the measurement error variance of each measurement data;
求解上式得到谐波分布计算模型的加权最小二乘解:Solving the above equation, we can get the weighted least squares solution of the harmonic distribution calculation model:
可选地,所述根据各个谐波有功功率值的数值大小确定所述电力系统中的谐波源所在位置,包括:Optionally, determining the location of the harmonic source in the power system according to the numerical values of each harmonic active power value includes:
若至少一个谐波有功功率值的数值为正,且超过预设数值大小,则确定向所述电力系统注入的该至少一个谐波有功功率值的节点为谐波源所在位置。If the value of at least one harmonic active power value is positive and exceeds a preset value, the node of the at least one harmonic active power value injected into the power system is determined to be the location of the harmonic source.
本申请还提供了一种电网谐波分布计算装置,包括:The present application also provides a power grid harmonic distribution calculation device, comprising:
数据获取模块,用于通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与所述宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及所述宽频测量装置在不同谐波次数下测量时的量测误差;A data acquisition module, used to acquire, through a broadband measurement device installed in the power system, node harmonic voltages of key nodes at different harmonic orders, branch harmonic currents of branches connected to the broadband measurement device at different harmonic orders, and measurement errors of the broadband measurement device when measuring at different harmonic orders;
量测方程构建模块,用于基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程;A measurement equation construction module is used to construct measurement equations under different harmonic orders based on node harmonic voltages, branch harmonic currents and measurement errors under different harmonic orders;
谐波电流确定模块,用于使用加权最小二乘法对所述量测方程进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流;A harmonic current determination module, used to solve the measurement equation using a weighted least square method to obtain branch harmonic currents of various nodes in the power system at different harmonic orders;
谐波源定位模块,用于根据各个节点的支路谐波电流计算各个节点向所述电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定所述电力系统中的谐波源所在位置。The harmonic source positioning module is used to calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value.
本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如上述实施例中任一项所述电网谐波分布计算方法的步骤。The present application also provides a computer-readable storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the power grid harmonic distribution calculation method as described in any of the above embodiments.
本申请还提供了一种计算机设备,包括:一个或多个处理器,以及存储器;The present application also provides a computer device, comprising: one or more processors, and a memory;
所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,执行如上述实施例中任一项所述电网谐波分布计算方法的步骤。The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the method for calculating power grid harmonic distribution as described in any one of the above embodiments are performed.
从以上技术方案可以看出,本申请实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
本申请提供的电网谐波分布计算方法、装置、存储介质及计算机设备,在计算电网谐波分布情况时,可以通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差;接着,本申请可以基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程;再使用加权最小二乘法对量测方程进行求解,进而得到电力系统中的各个节点在不同谐波次数下的支路谐波电流;并且,基于加权最小二乘法的谐波分布方程求解方法,可以降低对电网中宽频测量装置安装数量的需求,进而在装设较少宽频测量装置的情况下,实现对系统谐波分布情况的准确计算;最后,本申请可以根据各个节点的支路谐波电流计算各个节点向电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。该过程不仅考虑了多种谐波源注入的情况,从而为大规模交流电网的谐波分布计算提供了新的解决方案,还可以在不依赖仿真软件的情况下,仅通过获取少量宽频测量装置的量测数据就能够实现谐波分布情况的精确计算,另外,本申请还可用于不确定性谐波潮流计算中,作为不确定性谐波潮流计算的中间步骤参与迭代,实现谐波潮流实时展示。The present application provides a method, device, storage medium and computer equipment for calculating the harmonic distribution of a power grid. When calculating the harmonic distribution of a power grid, a broadband measurement device installed in the power system can be used to obtain the node harmonic voltages of key nodes at different harmonic orders, the branch harmonic currents of each branch connected to the broadband measurement device at different harmonic orders, and the measurement errors of the broadband measurement device when measuring at different harmonic orders; then, the present application can construct measurement equations at different harmonic orders based on the node harmonic voltages, branch harmonic currents and measurement errors at different harmonic orders; and then use the weighted least squares method to calculate the harmonic distribution of a power grid. The measurement equation is solved by multiplication, and then the branch harmonic current of each node in the power system at different harmonic orders is obtained; and the method for solving the harmonic distribution equation based on the weighted least squares method can reduce the demand for the number of broadband measurement devices installed in the power grid, and then the accurate calculation of the system harmonic distribution can be achieved when fewer broadband measurement devices are installed; finally, the present application can calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value. This process not only takes into account the injection of multiple harmonic sources, thereby providing a new solution for the harmonic distribution calculation of large-scale AC power grids, but also can achieve accurate calculation of harmonic distribution by obtaining measurement data of a small number of broadband measurement devices without relying on simulation software. In addition, the present application can also be used in the calculation of uncertain harmonic currents, as an intermediate step in the calculation of uncertain harmonic currents, to participate in iteration and realize real-time display of harmonic currents.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1为本申请实施例提供的一种电网谐波分布计算方法的流程示意图;FIG1 is a schematic diagram of a flow chart of a method for calculating harmonic distribution of a power grid provided in an embodiment of the present application;
图2为本申请实施例提供的谐波分布计算的基本框架示意图;FIG2 is a schematic diagram of a basic framework for harmonic distribution calculation provided in an embodiment of the present application;
图3为本申请实施例提供的输电线路或变压器支路的π型等效谐波模型的结构示意图;FIG3 is a schematic structural diagram of a π-type equivalent harmonic model of a transmission line or transformer branch provided in an embodiment of the present application;
图4为本申请实施例提供的IEEE14节点交直流系统的拓扑关系图;FIG4 is a topological diagram of an IEEE 14-node AC/DC system provided in an embodiment of the present application;
图5为本申请实施例提供的一种电网谐波分布计算装置的结构示意图;FIG5 is a schematic diagram of the structure of a power grid harmonic distribution calculation device provided in an embodiment of the present application;
图6为本申请实施例提供的一种计算机设备的内部结构示意图。FIG6 is a schematic diagram of the internal structure of a computer device provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
在一个实施例中,如图1所示,图1为本申请实施例提供的一种电网谐波分布计算方法的流程示意图;本申请提供了一种电网谐波分布计算方法,所述方法可以包括:In one embodiment, as shown in FIG1 , FIG1 is a flow chart of a method for calculating harmonic distribution of a power grid provided by an embodiment of the present application; the present application provides a method for calculating harmonic distribution of a power grid, and the method may include:
S110:通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差。S110: Obtain node harmonic voltages of key nodes at different harmonic orders, branch harmonic currents of branches connected to the broadband measuring device at different harmonic orders, and measurement errors of the broadband measuring device when measuring at different harmonic orders through a broadband measuring device installed in the power system.
本实施例中,为应对电网的谐波问题,可以将已有的高性能宽频测量装置投入应用,进而实现1~50次谐波及间谐波的精确同步测量,为进一步开展谐波分布计算提供良好的硬件基础和数据支撑。In this embodiment, in order to deal with the harmonic problem of the power grid, the existing high-performance broadband measurement device can be put into use to achieve accurate synchronous measurement of 1st to 50th harmonics and interharmonics, providing a good hardware foundation and data support for further harmonic distribution calculation.
进一步地,本申请将宽频测量装置投入到电力系统后,可以通过装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差,这样便可以以节点谐波电压和支路谐波电流作为量测量,以支路谐波电流作为状态量进行谐波分布计算,并考虑宽频测量装置在不同谐波次数下测量时的量测误差,进而有效提升谐波分布计算结果的准确性。Furthermore, after the present application puts the broadband measuring device into the power system, the node harmonic voltage of the key nodes at different harmonic orders, the branch harmonic current of each branch connected to the broadband measuring device at different harmonic orders, and the measurement error of the broadband measuring device when measuring at different harmonic orders can be obtained through the installed broadband measuring device. In this way, the node harmonic voltage and branch harmonic current can be used as measurement quantities, and the branch harmonic current can be used as a state quantity to calculate the harmonic distribution, and the measurement error of the broadband measuring device when measuring at different harmonic orders can be taken into account, thereby effectively improving the accuracy of the harmonic distribution calculation results.
可以理解的是,本申请中的关键节点指的是电力系统中装设宽频测量装置的节点,本申请通过获取装设宽频测量装置的关键节点的节点谐波电压,以及与宽频测量装置相连的各支路的支路谐波电流和量测误差来构建量测方程,以通过对量测方程进行求解来获得电力系统中所有节点的支路谐波电流,这样既可以有效节省谐波分布计算时间,又可以提高计算效率。It can be understood that the key nodes in the present application refer to the nodes in the power system where the broadband measurement device is installed. The present application constructs a measurement equation by obtaining the node harmonic voltage of the key nodes where the broadband measurement device is installed, as well as the branch harmonic current and measurement error of each branch connected to the broadband measurement device, so as to obtain the branch harmonic current of all nodes in the power system by solving the measurement equation. This can effectively save the harmonic distribution calculation time and improve the calculation efficiency.
S120:基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程。S120: Constructing measurement equations at different harmonic orders based on node harmonic voltages, branch harmonic currents, and measurement errors at different harmonic orders.
本步骤中,通过S110获取到不同谐波次数下的节点谐波电压和支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差后,可以基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程,这样便可以通过对该量测方程进行求解来得到对应的状态量。In this step, after obtaining the node harmonic voltage and branch harmonic current at different harmonic orders and the measurement error of the wideband measurement device at different harmonic orders through S110, the measurement equations at different harmonic orders can be constructed based on the node harmonic voltage, branch harmonic current and measurement error at different harmonic orders, so that the corresponding state quantity can be obtained by solving the measurement equation.
可以理解的是,谐波分布计算需要建立能将量测量与状态量联系起来的基本数学模型,该模型通常通过电流量测、电压量测或其变化形式组合而成,再结合基本的电路原理便可以建立针对谐波分布计算问题的基本数学模型,即本申请的量测方程,通过对该量测方程进行求解后,即可得到状态量的数值,进而确定电力系统中谐波源的位置。It can be understood that the calculation of harmonic distribution requires the establishment of a basic mathematical model that can link quantity measurement with state quantity. This model is usually composed of current measurement, voltage measurement or their variations. Combined with basic circuit principles, it is possible to establish a basic mathematical model for the harmonic distribution calculation problem, that is, the measurement equation of the present application. By solving the measurement equation, the value of the state quantity can be obtained, and then the location of the harmonic source in the power system can be determined.
S130:使用加权最小二乘法对量测方程进行求解,得到电力系统中的各个节点在不同谐波次数下的支路谐波电流。S130: Solve the measurement equation using the weighted least square method to obtain branch harmonic currents of various nodes in the power system at different harmonic orders.
本步骤中,通过S120根据不同谐波次数下的量测矩阵和量测误差,建立不同谐波次数下的量测方程后,本申请可以使用加权最小二乘法对量测方程进行求解,这样便可以得到电力系统中的各个节点在不同谐波次数下的支路谐波电流。In this step, after establishing the measurement equations under different harmonic orders according to the measurement matrix and measurement error under different harmonic orders through S120, the present application can use the weighted least squares method to solve the measurement equations, so that the branch harmonic currents of each node in the power system under different harmonic orders can be obtained.
需要说明的是,对谐波分布计算模型的求解,本质上是对目标函数的求解,即依照选定的准则进行计算,得到目标函数的最优估计值。因此,本申请可以从搭建的基本数学模型的特性出发来选择相应的求解方法,例如,本申请基于同步相量量测装置的量测特点以及搭建的基本数学模型的线性特征,可以采用改善不同量测数据间的误差分布的加权最小二乘法对谐波分布计算模型进行求解,这样便可以快速得到电力系统中的各个节点在不同谐波次数下的支路谐波电流。It should be noted that solving the harmonic distribution calculation model is essentially solving the objective function, that is, calculating according to the selected criteria to obtain the optimal estimate of the objective function. Therefore, the present application can select the corresponding solution method based on the characteristics of the basic mathematical model constructed. For example, based on the measurement characteristics of the synchronous phasor measurement device and the linear characteristics of the basic mathematical model constructed, the present application can use the weighted least squares method to improve the error distribution between different measurement data to solve the harmonic distribution calculation model, so that the branch harmonic currents of each node in the power system at different harmonic orders can be quickly obtained.
S140:根据各个节点的支路谐波电流计算各个节点向电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。S140: Calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value.
本步骤中,通过S130得到电力系统中的各个节点在不同谐波次数下的支路谐波电流后,可以进一步对谐波源定位进行分析。例如,本申请可以根据各个节点的支路谐波电流计算各个节点向电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。In this step, after obtaining the branch harmonic currents of each node in the power system at different harmonic orders through S130, the harmonic source location can be further analyzed. For example, the present application can calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value.
举例来说,本申请获取到各个节点在不同谐波次数下的支路谐波电流后,可以利用节点注入电流方程进一步获得各个节点的谐波电压值,并根据节点注入有功功率公式计算得到各个节点注入的谐波有功功率值,接着再根据根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。For example, after obtaining the branch harmonic currents of each node at different harmonic orders, the present application can use the node injection current equation to further obtain the harmonic voltage value of each node, and calculate the harmonic active power value injected into each node according to the node injection active power formula, and then determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value.
其中,上述的节点注入有功功率公式可通过现有技术获得,上述的节点注入电流方程表示如下:The above node injected active power formula can be obtained through the prior art, and the above node injected current equation is expressed as follows:
上式中,表示节点i注入的h次支路谐波电流量测量,表示h次谐波情况下节点j的节点谐波电压状态量,表示h次谐波情况下节点导纳矩阵中节点i与节点j的h次谐波之间相关的矩阵元素,n表示电力系统中的节点总数。In the above formula, It represents the measurement of the hth branch harmonic current injected into node i, It represents the node harmonic voltage state quantity of node j under the condition of h-order harmonic, It represents the matrix element related to the hth harmonic of node i and node j in the node admittance matrix under the condition of hth harmonic, and n represents the total number of nodes in the power system.
上述实施例中,在计算电网谐波分布情况时,可以通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差;接着,本申请可以基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程;再使用加权最小二乘法对量测方程进行求解,进而得到电力系统中的各个节点在不同谐波次数下的支路谐波电流;并且,基于加权最小二乘法的谐波分布方程求解方法,可以降低对电网中宽频测量装置安装数量的需求,进而在装设较少宽频测量装置的情况下,实现对系统谐波分布情况的准确计算;最后,本申请可以根据各个节点的支路谐波电流计算各个节点向电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。该过程不仅考虑了多种谐波源注入的情况,从而为大规模交流电网的谐波分布计算提供了新的解决方案,还可以在不依赖仿真软件的情况下,仅通过获取少量宽频测量装置的量测数据就能够实现谐波分布情况的精确计算,另外,本申请还可用于不确定性谐波潮流计算中,作为不确定性谐波潮流计算的中间步骤参与迭代,实现谐波潮流实时展示。In the above embodiment, when calculating the harmonic distribution of the power grid, the node harmonic voltage of the key node at different harmonic orders, the branch harmonic current of each branch connected to the broadband measurement device at different harmonic orders, and the measurement error of the broadband measurement device when measuring at different harmonic orders can be obtained through the broadband measurement device installed in the power system; then, the present application can construct measurement equations at different harmonic orders based on the node harmonic voltage, branch harmonic current and measurement error at different harmonic orders; then the weighted least squares method is used to solve the measurement equation, and then the branch harmonic current of each node in the power system at different harmonic orders is obtained; and the harmonic distribution equation solving method based on the weighted least squares method can reduce the demand for the number of broadband measurement devices installed in the power grid, and then realize the accurate calculation of the system harmonic distribution when fewer broadband measurement devices are installed; finally, the present application can calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value. This process not only takes into account the injection of multiple harmonic sources, thus providing a new solution for the harmonic distribution calculation of large-scale AC power grids, but also can achieve accurate calculation of harmonic distribution by acquiring measurement data from a small number of broadband measurement devices without relying on simulation software. In addition, the present application can also be used in uncertain harmonic power flow calculations, as an intermediate step in uncertain harmonic power flow calculations, to participate in iterations and achieve real-time display of harmonic power flows.
在一个实施例中,S110中通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压之前,还可以包括:In one embodiment, before obtaining the node harmonic voltages of key nodes at different harmonic orders by a broadband measurement device installed in the power system in S110, the following steps may also be included:
S101:基于电力系统的谐波分布计算需求,构建0-1整数规划模型。S101: Construct a 0-1 integer programming model based on the harmonic distribution calculation requirements of the power system.
S102:对所述0-1整数规划模型进行求解后,根据求解结果确定在电力系统中装设宽频测量装置的位置。S102: After solving the 0-1 integer programming model, determine the location where the broadband measurement device is installed in the power system according to the solution result.
本实施例中,在通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、支路谐波电流之前,本申请还可以基于电力系统的谐波分布计算需求来构建0-1整数规划模型,并对0-1整数规划模型进行求解后,根据求解结果来确定电力系统中装设宽频测量装置的位置,继而通过对应位置处的宽频测量装置来获取不同谐波次数下的节点谐波电压、支路谐波电流。In this embodiment, before obtaining the node harmonic voltages and branch harmonic currents of key nodes at different harmonic orders through the broadband measurement device installed in the power system, the present application can also construct a 0-1 integer programming model based on the harmonic distribution calculation requirements of the power system, and after solving the 0-1 integer programming model, determine the location of the broadband measurement device installed in the power system according to the solution result, and then obtain the node harmonic voltages and branch harmonic currents at different harmonic orders through the broadband measurement device at the corresponding position.
其中,本申请的谐波分布计算需求包括但不限于考虑柔性直流输电、分布式能源等新型谐波源情况,以及在装设较少宽频测量装置的情况下,实现对系统谐波分布情况的准确计算等,具体的计算需求可视实际情况进行设置,在此不做限制。当确定谐波分布计算需求后,即可根据该需求来建立0-1整数规划模型,接着,本申请可以通过穷举法或者隐枚举法等方法来对该0-1整数规划模型进行求解,进而得到求解结果,该求解结果即为本申请的电力系统中装设宽频测量装置的位置。Among them, the harmonic distribution calculation requirements of this application include but are not limited to considering new harmonic sources such as flexible direct current transmission and distributed energy, as well as realizing accurate calculation of the system harmonic distribution when fewer broadband measurement devices are installed. The specific calculation requirements can be set according to the actual situation and are not limited here. After the harmonic distribution calculation requirements are determined, a 0-1 integer programming model can be established according to the requirements. Then, this application can solve the 0-1 integer programming model by exhaustive enumeration or implicit enumeration methods, and then obtain the solution result, which is the location of the broadband measurement device installed in the power system of this application.
在一个实施例中,S120中基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程,可以包括:In one embodiment, in S120, measurement equations at different harmonic orders are constructed based on node harmonic voltages, branch harmonic currents, and measurement errors at different harmonic orders, which may include:
S121:根据不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差,构建不同谐波次数下的节点电压量测方程和支路注入电流量测方程。S121: Construct node voltage measurement equations and branch injection current measurement equations at different harmonic orders according to node harmonic voltages, branch harmonic currents, and measurement errors at different harmonic orders.
S122:确定所述电力系统中与不同谐波次数下的节点谐波电压、支路谐波电流对应的量测矩阵。S122: Determine a measurement matrix corresponding to node harmonic voltages and branch harmonic currents at different harmonic orders in the power system.
S123:根据不同谐波次数下的节点电压量测方程、支路注入电流量测方程及对应的量测矩阵,构建同步相量量测方程。S123: Constructing a synchronous phasor measurement equation according to the node voltage measurement equation under different harmonic orders, the branch injection current measurement equation and the corresponding measurement matrix.
本实施例中,当获取到不同谐波次数下的节点谐波电压和支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差后,本申请可以基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程,这样便可以通过对该量测方程进行求解来得到对应的状态量。In this embodiment, after obtaining the node harmonic voltages and branch harmonic currents at different harmonic orders, as well as the measurement errors of the wideband measurement device when measuring at different harmonic orders, the present application can construct measurement equations at different harmonic orders based on the node harmonic voltages, branch harmonic currents and measurement errors at different harmonic orders, so that the corresponding state quantities can be obtained by solving the measurement equations.
具体而言,本申请在获取到不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差后,可以基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差来分别构建不同谐波次数下的节点电压量测方程和支路注入电流量测方程。其中,节点电压量测方程是以节点谐波电压相量作为量测量,计算谐波情况下的节点谐波电压;而根据基尔霍夫电流定律,电路中的任意节点在任何时刻流出的电流之和与流入电流之和始终相等,由此可以选择安装宽频测量装置的节点的谐波注入电流作为量测量,并结合网络拓扑结构和元件谐波参数等得到其他节点的谐波电压,还可以将与该节点相连的支路的电流作为量测量,即为支路注入电流量测。Specifically, after obtaining the node harmonic voltage, branch harmonic current and measurement error at different harmonic orders, the present application can respectively construct the node voltage measurement equation and branch injection current measurement equation at different harmonic orders based on the node harmonic voltage, branch harmonic current and measurement error at different harmonic orders. Among them, the node voltage measurement equation uses the node harmonic voltage phasor as the quantity measurement to calculate the node harmonic voltage under harmonic conditions; and according to Kirchhoff's current law, the sum of the current flowing out of any node in the circuit at any time is always equal to the sum of the current flowing into it, so the harmonic injection current of the node where the broadband measurement device is installed can be selected as the quantity measurement, and the harmonic voltage of other nodes can be obtained by combining the network topology and component harmonic parameters, etc., and the current of the branch connected to the node can also be measured as the quantity, that is, the branch injection current measurement.
接着,本申请可以根据电力系统中的网路拓扑结构、元件谐波参数来确定与不同谐波次数下的节点谐波电压、支路谐波电流对应的量测矩阵,这样便可以根据不同谐波次数下的节点电压量测方程、支路注入电流量测方程及对应的量测矩阵,构建同步相量量测方程。示意性地,如图2所示,图2为本申请实施例提供的谐波分布计算的基本框架示意图;由图2可见,本申请在得到量测矩阵,并确定量测量和状态量后,即可建立谐波状态估计数学模型,即本申请的同步相量量测方程,接着,本申请可以对该同步相量量测方程进行求解,进而根据求解结果来确定状态量。Next, the present application can determine the measurement matrix corresponding to the node harmonic voltage and branch harmonic current under different harmonic orders according to the network topology and component harmonic parameters in the power system, so that the synchronous phasor measurement equation can be constructed according to the node voltage measurement equation, branch injection current measurement equation and corresponding measurement matrix under different harmonic orders. Schematically, as shown in Figure 2, Figure 2 is a basic framework diagram of the harmonic distribution calculation provided by the embodiment of the present application; as can be seen from Figure 2, after obtaining the measurement matrix and determining the measurement and state quantities, the present application can establish a harmonic state estimation mathematical model, that is, the synchronous phasor measurement equation of the present application, and then the present application can solve the synchronous phasor measurement equation, and then determine the state quantity according to the solution result.
在一个实施例中,所述节点电压量测方程为:In one embodiment, the node voltage measurement equation is:
上式中,下标M表示为量测量,下标S表示为状态量,表示节点i的h次节点谐波电压量测量,表示节点i的h次节点谐波电压状态量,I表示与节点谐波电压量测量维数相同的单位矩阵,ηi表示h次谐波情况下节点i处的节点谐波电压量测误差;In the above formula, the subscript M represents the quantity measurement, and the subscript S represents the state quantity. It represents the hth node harmonic voltage measurement of node i, represents the h-order node harmonic voltage state quantity of node i, I represents the unit matrix with the same dimension as the node harmonic voltage measurement quantity, η i represents the node harmonic voltage measurement error at node i in the case of h-order harmonic;
所述支路注入电流量测方程为:The branch injection current measurement equation is:
上式中,表示节点i注入的h次支路谐波电流量测量,表示h次谐波情况下节点j的节点谐波电压状态量,表示h次谐波情况下节点导纳矩阵中节点i与节点j的h次谐波之间相关的矩阵元素,n表示电力系统中的节点总数;表示h次谐波情况下节点i与节点j之间注入电流的量测量, 表示h次谐波情况下节点i导纳矩阵中的自导纳,表示h次谐波情况下节点i与节点j之间的导纳。In the above formula, It represents the measurement of the hth branch harmonic current injected into node i, It represents the node harmonic voltage state quantity of node j under the condition of h-order harmonic, represents the matrix element related to the hth harmonic of node i and node j in the node admittance matrix under the condition of hth harmonic, and n represents the total number of nodes in the power system; It represents the measurement of the amount of current injected between nodes i and j under the condition of harmonic h. represents the self-admittance in the admittance matrix of node i in the case of hth harmonic, It represents the admittance between nodes i and j in the case of hth harmonic.
可以理解的是,如果节点i处装设了宽频测量装置,那么可将与节点i相连的支路的电流作为量测量,即为支路注入电流量测,测量支路注入电流时,可以通过π型等效谐波模型来建立上述支路注入电流量测方程。示意性地,如图3所示,图3为本申请实施例提供的输电线路或变压器支路的π型等效谐波模型的结构示意图;通过图3可以清楚地了解各个参数之间的关系,进而建立支路注入电流量测方程。It can be understood that if a broadband measurement device is installed at node i, the current of the branch connected to node i can be measured as a quantity, that is, the branch injection current measurement. When measuring the branch injection current, the above branch injection current measurement equation can be established through the π-type equivalent harmonic model. Schematically, as shown in Figure 3, Figure 3 is a structural schematic diagram of the π-type equivalent harmonic model of the transmission line or transformer branch provided in an embodiment of the present application; Figure 3 can clearly understand the relationship between the various parameters, and then establish the branch injection current measurement equation.
进一步地,本申请还可以将上述的支路注入电流量测方程进行变形,变式如下所示:Furthermore, the present application can also transform the above branch injection current measurement equation, and the variation is as follows:
通过该变式,即可构建同步相量量测方程,同步相量量测方程的公式如下:Through this variation, the synchronous phasor measurement equation can be constructed. The formula of the synchronous phasor measurement equation is as follows:
上式中,表示装设宽频测量装置的关键节点的节点谐波电压量测量,表示与装设宽频测量装置的关键节点相连的支路谐波电流量测量,表示待求的各节点的支路谐波电流状态量,表示量测量为节点谐波电压的量测矩阵,表示量测量为支路谐波电流的量测矩阵。In the above formula, Indicates the node harmonic voltage measurement of key nodes where broadband measurement devices are installed. It indicates the measurement of branch harmonic current connected to the key node where the broadband measurement device is installed. represents the branch harmonic current state quantity of each node to be determined, The quantity measured is the measurement matrix of node harmonic voltage, The measured quantity is the measurement matrix of branch harmonic current.
在一个实施例中,S130中使用加权最小二乘法对所述量测方程进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流,可以包括:In one embodiment, in S130, the measurement equation is solved using the weighted least square method to obtain branch harmonic currents of each node in the power system at different harmonic orders, which may include:
S131:根据不同谐波次数下的节点电压量测方程和支路注入电流量测方程,以及所述同步相量量测方程,构建谐波分布计算模型。S131: Construct a harmonic distribution calculation model according to the node voltage measurement equation and the branch injection current measurement equation at different harmonic orders, as well as the synchronous phasor measurement equation.
S132:使用加权最小二乘法对所述谐波分布计算模型进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流。S132: Use the weighted least square method to solve the harmonic distribution calculation model to obtain branch harmonic currents of various nodes in the power system at different harmonic orders.
本实施例中,在得到量测方程,即同步相量量测方程后,本申请可以根据不同谐波次数下的节点电压量测方程和支路注入电流量测方程,以及同步相量量测方程,构建谐波分布计算模型,这样便可以使用加权最小二乘法对所述谐波分布计算模型进行求解,进而得到电力系统中的各个节点在不同谐波次数下的支路谐波电流。In this embodiment, after obtaining the measurement equation, that is, the synchronous phasor measurement equation, the present application can construct a harmonic distribution calculation model based on the node voltage measurement equation and the branch injection current measurement equation under different harmonic orders, as well as the synchronous phasor measurement equation. In this way, the weighted least squares method can be used to solve the harmonic distribution calculation model, and then the branch harmonic currents of each node in the power system under different harmonic orders can be obtained.
可以理解的是,由于本申请的同步相量量测方程、不同谐波次数下的节点电压量测方程和支路注入电流量测方程均可以通过同一类型的公式进行表示,因此,本申请可以通过三者的共性来建立针对谐波分布计算的通用数学模型,即谐波分布计算模型。另外,由于对谐波分布计算模型的求解,本质上是对目标函数的求解,即依照选定的准则进行计算,得到目标函数的最优估计值。因此,本申请可以基于同步相量量测装置的量测特点以及搭建的基本数学模型的线性特征,采用改善不同量测数据间的误差分布的加权最小二乘法对谐波分布计算模型进行求解,这样便可以快速得到电力系统中的各个节点在不同谐波次数下的支路谐波电流。It can be understood that, since the synchronous phasor measurement equation, the node voltage measurement equation under different harmonic orders and the branch injection current measurement equation of the present application can all be expressed by the same type of formula, therefore, the present application can establish a general mathematical model for harmonic distribution calculation through the commonality of the three, that is, the harmonic distribution calculation model. In addition, since the solution to the harmonic distribution calculation model is essentially the solution to the objective function, that is, the calculation is performed according to the selected criteria to obtain the optimal estimate of the objective function. Therefore, based on the measurement characteristics of the synchronous phasor measurement device and the linear characteristics of the basic mathematical model constructed, the present application can solve the harmonic distribution calculation model by using the weighted least squares method that improves the error distribution between different measurement data, so that the branch harmonic currents of each node in the power system at different harmonic orders can be quickly obtained.
在一个实施例中,所述谐波分布计算模型为:In one embodiment, the harmonic distribution calculation model is:
Z=HX+εZ=HX+ε
其中,z为m×1维量测量相量,X为n×1维待求状态量相量,Z与X根据所选量测量和状态量及相量量测方程确定,H为m×n维量测矩阵,量测矩阵主要由电力系统中的网路拓扑结构、元件谐波参数决定,ε表示m×1维量测误差相量,m表示量测量数目,n表示待求状态量数目。Wherein, z is the m×1-dimensional measurement phasor, X is the n×1-dimensional state quantity phasor to be determined, Z and X are determined according to the selected measurement and state quantity and phasor measurement equations, H is the m×n-dimensional measurement matrix, which is mainly determined by the network topology and component harmonic parameters in the power system, ε represents the m×1-dimensional measurement error phasor, m represents the number of measurement, and n represents the number of state quantities to be determined.
由于加权最小二乘法是对原模型进行加权,使之成为一个不存在异方差性的模型,然后采用最小二乘法估计其参数,从而得到目标函数的最优解。因此,本申请可以构建加权最小二乘法的目标函数,其表达式如下:Since the weighted least squares method is to weight the original model to make it a model without heteroscedasticity, and then use the least squares method to estimate its parameters, so as to obtain the optimal solution of the objective function. Therefore, the objective function of the weighted least squares method can be constructed in this application, and its expression is as follows:
J(x)=(Z-HX)TW(Z-HX)J(x)=(Z-HX) T W(Z-HX)
上式中,表示状态量X的估计值。In the above formula, Represents the estimated value of the state quantity X.
当时,目标函数取到最小值,即:when When , the objective function reaches the minimum value, that is:
min J(x)=(Z-HX)TW(Z-HX)min J(x)=(Z-HX) T W(Z-HX)
对残差平方和进行微分求最值,得到基于加权最小二乘原理的谐波分布计算方程:Differentiate the residual sum of squares to find the maximum value, and obtain the harmonic distribution calculation equation based on the weighted least squares principle:
其中,W=R-1,W为m阶量测权重矩阵,R为各量测数据的量测误差方差的对角矩阵。Wherein, W=R −1 , W is an m-order measurement weight matrix, and R is a diagonal matrix of measurement error variances of each measurement data.
求解上式得到谐波分布计算模型的加权最小二乘解:Solving the above equation, we can get the weighted least squares solution of the harmonic distribution calculation model:
在一种具体的实现方式,本申请可以通过如下示例来对上述实施例中记载的技术方案进行验证。示意性地,如图4所示,图4为本申请实施例提供的IEEE14节点交直流系统的拓扑关系图;本申请可以基于图4所示的IEEE14节点系统构造算例对上述谐波分布计算方法进行验证,图4中,G表示传统发电机,在系统中设置四个谐波源,分别是一个交流负载(包含分布式电源)和两个三相六脉波换相换流器终端(LCC),以及一个模块化多电平换流器终端(MMC),其中交流负载接在11号节点,LCC接在5号和14号节点,MMC接在4号节点,谐波源向系统中注入谐波电流。本申请可以使用MATLAB中的MATPOWER对IEEE14节点系统进行潮流计算,得到基波状态下系统的潮流情况。接着通过谐波电流的典型频谱和基波状态下的电流确定各次谐波电流的幅值和相角,建立谐波分布计算的量测数据库和校验数据库。In a specific implementation, the present application can verify the technical solutions recorded in the above embodiments through the following examples. Schematically, as shown in FIG4, FIG4 is a topological relationship diagram of the IEEE 14-node AC/DC system provided in the embodiment of the present application; the present application can verify the above harmonic distribution calculation method based on the IEEE 14-node system construction example shown in FIG4, in which G represents a traditional generator, and four harmonic sources are set in the system, namely an AC load (including a distributed power supply) and two three-phase six-pulse commutation converter terminals (LCC), and a modular multilevel converter terminal (MMC), wherein the AC load is connected to node 11, the LCC is connected to nodes 5 and 14, and the MMC is connected to node 4, and the harmonic source injects harmonic current into the system. The present application can use MATPOWER in MATLAB to perform power flow calculation on the IEEE 14-node system to obtain the power flow of the system under the fundamental state. Then, the amplitude and phase angle of each harmonic current are determined by the typical spectrum of the harmonic current and the current under the fundamental state, and a measurement database and a verification database for harmonic distribution calculation are established.
可以理解的是,交直流电网处于稳定运行工况时,交流电网中主要含有12k±1(k=1,2,3,……)次谐波,直流部分主要含有12k(k=1,2,3,……)次谐波。由于MMC诱发的谐振频率取决于端口电网等效阻抗参数、自身控制及拓扑参数等一系列因素,无数值规律,不失一般性,本申请可以将MMC注入的谐波电流等效为515Hz的高频谐波电流源,将其谐波电流幅值设置为基波电流的5%。越高次的谐波幅值越小,重要性越低,因此在下述算例中重点关注影响最大的11次和13次谐波以及MMC带来的非整数次间谐波。It is understandable that when the AC and DC power grids are in stable operating conditions, the AC power grid mainly contains 12k±1 (k=1, 2, 3, ...) harmonics, and the DC part mainly contains 12k (k=1, 2, 3, ...) harmonics. Since the resonant frequency induced by MMC depends on a series of factors such as the equivalent impedance parameters of the port power grid, its own control and topological parameters, there is no numerical law, without loss of generality, this application can be equivalent to the harmonic current injected by MMC as a high-frequency harmonic current source of 515Hz, and its harmonic current amplitude is set to 5% of the fundamental current. The higher the harmonic amplitude, the smaller the importance, so in the following examples, the focus is on the 11th and 13th harmonics with the greatest impact and the non-integer interharmonics brought by MMC.
举例来说,本申请可以输入谐波次数h,构建对应谐波次数的谐波分布计算的量测数据库用于提取宽频测量装置量测数据和校验,具体如表1所示:For example, the present application can input the harmonic order h, construct a measurement database for harmonic distribution calculation corresponding to the harmonic order for extracting broadband measurement device measurement data and verification, as shown in Table 1:
表1谐波负荷频谱表Table 1 Harmonic load spectrum
接着,本申请可以基于构造的算例建立相应的0-1整数规划模型,求解模型得到装设宽频测量装置的位置,接着从量测库中提取相应数据,结合算例建立h次谐波节点导纳矩阵,形成谐波分布计算的量测矩阵H,利用加权最小二乘法对谐波分布计算方程进行求解,得到谐波分布值并与实际值进行比较校验谐波分布计算的准确性。Next, the present application can establish a corresponding 0-1 integer programming model based on the constructed example, solve the model to obtain the location where the broadband measurement device is installed, and then extract the corresponding data from the measurement library, and combine the example to establish the h-th harmonic node admittance matrix to form the measurement matrix H for harmonic distribution calculation. The harmonic distribution calculation equation is solved using the weighted least squares method to obtain the harmonic distribution value and compare it with the actual value to verify the accuracy of the harmonic distribution calculation.
例如,本申请根据0-1整数规划模型获得配置宽频测量装置的位置为节点2、节点8、节点10和节点13,选取节点谐波电压为量测量,支路谐波电流为状态量,通过装设宽频测量装置得到的数据装设宽频测量装置处的节点谐波电压值以及与装设宽频测量装置处相连的各支路的支路谐波电流值,从而分别构建11次、13次谐波以及MMC带来的非整数次间谐波的量测量矩阵H。接着,本申请可以在宽频测量装置量测数据中加入均值为0、标准差为0.2%的随机量测误差,分别建立多谐波源情况下IEEE14节点系统在515Hz、11次谐波和13次谐波情况下的量测方程,并使用加权最小二乘法对基于同步相量量测的谐波分布计算方程进行求解,得到状态量——各节点的支路谐波电流。515Hz谐波情况下重点关注MMC的注入谐波电流,11次谐波和13次谐波情况下重点关注交流负载及LCC,谐波源节点的计算偏差如表2-4所示。For example, the present application obtains the locations where the broadband measurement device is configured as nodes 2, 8, 10 and 13 according to the 0-1 integer programming model, selects the node harmonic voltage as the quantity measurement, and the branch harmonic current as the state quantity, and obtains the node harmonic voltage value at the broadband measurement device installed by the broadband measurement device and the branch harmonic current value of each branch connected to the broadband measurement device installed, thereby respectively constructing the quantity measurement matrix H of the 11th and 13th harmonics and the non-integer interharmonics brought by MMC. Then, the present application can add a random measurement error with a mean of 0 and a standard deviation of 0.2% to the measurement data of the broadband measurement device, respectively establish the measurement equations of the IEEE14-node system under the condition of multiple harmonic sources at 515Hz, 11th harmonic and 13th harmonic, and use the weighted least squares method to solve the harmonic distribution calculation equation based on synchronous phasor measurement to obtain the state quantity-the branch harmonic current of each node. In the case of 515Hz harmonic, focus on the injected harmonic current of MMC. In the case of 11th and 13th harmonic, focus on AC load and LCC. The calculated deviation of harmonic source node is shown in Table 2-4.
表2IEEE14仿真系统MMC处515Hz谐波电流结果比较Table 2 Comparison of 515Hz harmonic current results at MMC of IEEE14 simulation system
表3IEEE14仿真系统谐波源节点11次谐波电流结果比较Table 3 Comparison of 11th harmonic current results of harmonic source nodes in IEEE14 simulation system
表4IEEE14仿真系统谐波源节点13次谐波电流结果比较Table 4 Comparison of 13th harmonic current results of harmonic source nodes in IEEE14 simulation system
由表2-4可知,515Hz、11次谐波和13次谐波情况下谐波分布计算的幅值平均相对误差均小于3%,即平均计算精度达到97%以上,谐波分布计算的相角平均相对误差均小于3.5%,即平均计算精度达到96.5%以上,说明设计的基于宽频同步相量量测的谐波分布计算求解方法可以实现对多谐波源情况下的IEEE14节点系统谐波分布情况的有效计算。It can be seen from Table 2-4 that the average relative error of the amplitude of the harmonic distribution calculation in the cases of 515Hz, 11th harmonic and 13th harmonic is less than 3%, that is, the average calculation accuracy is more than 97%, and the average relative error of the phase angle of the harmonic distribution calculation is less than 3.5%, that is, the average calculation accuracy is more than 96.5%. This shows that the designed harmonic distribution calculation and solution method based on wide-band synchronous phasor measurement can realize the effective calculation of the harmonic distribution of the IEEE14-node system under multiple harmonic sources.
在一个实施例中,S140中根据各个谐波有功功率值的数值大小确定所述电力系统中的谐波源所在位置,可以包括:In one embodiment, determining the location of the harmonic source in the power system according to the numerical values of each harmonic active power value in S140 may include:
S141:若至少一个谐波有功功率值的数值为正,且超过预设数值大小,则确定向所述电力系统注入的该至少一个谐波有功功率值的节点为谐波源所在位置。S141: If the value of at least one harmonic active power value is positive and exceeds a preset value, determine that the node of the at least one harmonic active power value injected into the power system is the location of the harmonic source.
本实施例中,当得到各个节点注入的谐波有功功率值后,本申请可以根据各个谐波有功功率值的数值大小确定所述电力系统中的谐波源所在位置。例如,本申请可以基于谐波分布计算的谐波源定位依据节点向系统中注入谐波有功功率的正负判断节点是否为谐波源,若注入系统的谐波有功功率为正,则该节点为谐波注入源,反之若为负,则该节点为谐波吸收源。另外,为了得到更为准确的定位结果,本申请还可以将数值为正的谐波有功功率值与预设数值大小进行比较,若超过预设数值大小,才最终确定为谐波源所在位置。In this embodiment, after obtaining the harmonic active power value injected by each node, the present application can determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value. For example, the present application can determine whether a node is a harmonic source based on the positive and negative harmonic active power injected by the node into the system based on the harmonic source positioning calculated by the harmonic distribution. If the harmonic active power injected into the system is positive, the node is a harmonic injection source, and vice versa, if it is negative, the node is a harmonic absorption source. In addition, in order to obtain a more accurate positioning result, the present application can also compare the harmonic active power value with a positive value with a preset numerical value. If it exceeds the preset numerical value, it is finally determined to be the location of the harmonic source.
示意性地,本申请由节点注入有功功率公式可得各节点的谐波有功功率值如表5所示:Indicatively, the present application obtains the harmonic active power value of each node from the node injection active power formula as shown in Table 5:
表5各节点注入的谐波有功功率值Table 5 Harmonic active power values injected into each node
根据上表易知,系统内存在四个谐波源,分别位于节点4、节点5、节点11和节点14,其中节点4的谐波源类型为515Hz的非整数次间谐波,节点5、节点11和节点14的谐波源类型为11次、13次,这与设置的谐波源情况相符。除这四个谐波源外,也有其他个别节点的谐波有功功率为正值,但由于其值极小,可以判断是量测和分布计算过程中存在的容许范围内的误差。因此,本申请采用的基于谐波分布计算的谐波源定位方法可以基本正确的实现对系统内的谐波源定位。According to the above table, it is easy to know that there are four harmonic sources in the system, located at nodes 4, 5, 11 and 14, respectively. The harmonic source type of node 4 is a non-integer interharmonic of 515Hz, and the harmonic source types of nodes 5, 11 and 14 are 11th and 13th, which is consistent with the set harmonic source situation. In addition to these four harmonic sources, there are also other individual nodes whose harmonic active power is positive, but because its value is extremely small, it can be judged that it is an error within the allowable range in the measurement and distribution calculation process. Therefore, the harmonic source positioning method based on harmonic distribution calculation adopted in this application can basically and correctly realize the positioning of the harmonic sources in the system.
下面对本申请实施例提供的电网谐波分布计算装置进行描述,下文描述的电网谐波分布计算装置与上文描述的电网谐波分布计算方法可相互对应参照。The power grid harmonic distribution calculation device provided in an embodiment of the present application is described below. The power grid harmonic distribution calculation device described below and the power grid harmonic distribution calculation method described above can be referenced to each other.
在一个实施例中,如图5所示,图5为本申请实施例提供的一种电网谐波分布计算装置的结构示意图;本申请还提供了一种电网谐波分布计算装置,可以包括数据获取模块210、量测方程构建模块220、谐波电流确定模块230、谐波源定位模块240,具体包括如下:In one embodiment, as shown in FIG5 , FIG5 is a schematic diagram of the structure of a power grid harmonic distribution calculation device provided by an embodiment of the present application; the present application also provides a power grid harmonic distribution calculation device, which may include a data acquisition module 210, a measurement equation construction module 220, a harmonic current determination module 230, and a harmonic source positioning module 240, specifically including the following:
数据获取模块210,用于通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与所述宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及所述宽频测量装置在不同谐波次数下测量时的量测误差。The data acquisition module 210 is used to obtain the node harmonic voltage of the key node at different harmonic orders, the branch harmonic current of each branch connected to the broadband measurement device at different harmonic orders, and the measurement error of the broadband measurement device when measuring at different harmonic orders through a broadband measurement device installed in the power system.
量测方程构建模块220,用于基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程。The measurement equation construction module 220 is used to construct measurement equations at different harmonic orders based on node harmonic voltages, branch harmonic currents and measurement errors at different harmonic orders.
谐波电流确定模块230,用于使用加权最小二乘法对所述量测方程进行求解,得到所述电力系统中的各个节点在不同谐波次数下的支路谐波电流。The harmonic current determination module 230 is used to solve the measurement equation using a weighted least square method to obtain branch harmonic currents of various nodes in the power system at different harmonic orders.
谐波源定位模块240,用于根据各个节点的支路谐波电流计算各个节点向所述电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定所述电力系统中的谐波源所在位置。The harmonic source positioning module 240 is used to calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value.
上述实施例中,在计算电网谐波分布情况时,可以通过电力系统中装设的宽频测量装置获取关键节点在不同谐波次数下的节点谐波电压、与宽频测量装置相连的各支路在不同谐波次数下的支路谐波电流,以及宽频测量装置在不同谐波次数下测量时的量测误差;接着,本申请可以基于不同谐波次数下的节点谐波电压、支路谐波电流以及量测误差构建不同谐波次数下的量测方程;再使用加权最小二乘法对量测方程进行求解,进而得到电力系统中的各个节点在不同谐波次数下的支路谐波电流;并且,基于加权最小二乘法的谐波分布方程求解方法,可以降低对电网中宽频测量装置安装数量的需求,进而在装设较少宽频测量装置的情况下,实现对系统谐波分布情况的准确计算;最后,本申请可以根据各个节点的支路谐波电流计算各个节点向电力系统注入的谐波有功功率值,并根据各个谐波有功功率值的数值大小确定电力系统中的谐波源所在位置。该过程不仅考虑了多种谐波源注入的情况,从而为大规模交流电网的谐波分布计算提供了新的解决方案,还可以在不依赖仿真软件的情况下,仅通过获取少量宽频测量装置的量测数据就能够实现谐波分布情况的精确计算,另外,本申请还可用于不确定性谐波潮流计算中,作为不确定性谐波潮流计算的中间步骤参与迭代,实现谐波潮流实时展示。In the above embodiment, when calculating the harmonic distribution of the power grid, the node harmonic voltage of the key node at different harmonic orders, the branch harmonic current of each branch connected to the broadband measurement device at different harmonic orders, and the measurement error of the broadband measurement device when measuring at different harmonic orders can be obtained through the broadband measurement device installed in the power system; then, the present application can construct measurement equations at different harmonic orders based on the node harmonic voltage, branch harmonic current and measurement error at different harmonic orders; then the weighted least squares method is used to solve the measurement equation, and then the branch harmonic current of each node in the power system at different harmonic orders is obtained; and the harmonic distribution equation solving method based on the weighted least squares method can reduce the demand for the number of broadband measurement devices installed in the power grid, and then realize the accurate calculation of the system harmonic distribution when fewer broadband measurement devices are installed; finally, the present application can calculate the harmonic active power value injected by each node into the power system according to the branch harmonic current of each node, and determine the location of the harmonic source in the power system according to the numerical value of each harmonic active power value. This process not only takes into account the injection of multiple harmonic sources, thus providing a new solution for the harmonic distribution calculation of large-scale AC power grids, but also can achieve accurate calculation of harmonic distribution by acquiring measurement data from a small number of broadband measurement devices without relying on simulation software. In addition, the present application can also be used in uncertain harmonic power flow calculations, as an intermediate step in uncertain harmonic power flow calculations, to participate in iterations and achieve real-time display of harmonic power flows.
在一个实施例中,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如上述实施例中任一项所述电网谐波分布计算方法的步骤。In one embodiment, the present application also provides a computer-readable storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the power grid harmonic distribution calculation method as described in any of the above embodiments.
在一个实施例中,本申请还提供了一种计算机设备,包括:一个或多个处理器,以及存储器。In one embodiment, the present application also provides a computer device, including: one or more processors, and a memory.
所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,执行如上述实施例中任一项所述电网谐波分布计算方法的步骤。The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the method for calculating power grid harmonic distribution as described in any one of the above embodiments are performed.
示意性地,如图6所示,图6为本申请实施例提供的一种计算机设备的内部结构示意图,该计算机设备300可以被提供为一服务器。参照图6,计算机设备300包括处理组件302,其进一步包括一个或多个处理器,以及由存储器301所代表的存储器资源,用于存储可由处理组件302的执行的指令,例如应用程序。存储器301中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件302被配置为执行指令,以执行上述任意实施例的电网谐波分布计算方法。Schematically, as shown in FIG6 , FIG6 is a schematic diagram of the internal structure of a computer device provided in an embodiment of the present application, and the computer device 300 can be provided as a server. Referring to FIG6 , the computer device 300 includes a processing component 302, which further includes one or more processors, and a memory resource represented by a memory 301, for storing instructions that can be executed by the processing component 302, such as an application. The application stored in the memory 301 may include one or more modules, each of which corresponds to a set of instructions. In addition, the processing component 302 is configured to execute instructions to execute the power grid harmonic distribution calculation method of any of the above-mentioned embodiments.
计算机设备300还可以包括一个电源组件303被配置为执行计算机设备300的电源管理,一个有线或无线网络接口304被配置为将计算机设备300连接到网络,和一个输入输出(I/O)接口305。计算机设备300可以操作基于存储在存储器301的操作系统,例如WindowsServer TM、Mac OS XTM、Unix TM、Linux TM、Free BSDTM或类似。The computer device 300 may further include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input/output (I/O) interface 305. The computer device 300 may operate based on an operating system stored in the memory 301, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, Free BSD TM, or the like.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will understand that the structure shown in FIG. 6 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间可以根据需要进行组合,且相同相似部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410793681.5A CN118841943A (en) | 2024-06-19 | 2024-06-19 | Power grid harmonic distribution calculation method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410793681.5A CN118841943A (en) | 2024-06-19 | 2024-06-19 | Power grid harmonic distribution calculation method and device, storage medium and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118841943A true CN118841943A (en) | 2024-10-25 |
Family
ID=93143353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410793681.5A Pending CN118841943A (en) | 2024-06-19 | 2024-06-19 | Power grid harmonic distribution calculation method and device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118841943A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119401457A (en) * | 2024-12-31 | 2025-02-07 | 山东大学 | A harmonic state estimation method and system considering harmonic coupling |
-
2024
- 2024-06-19 CN CN202410793681.5A patent/CN118841943A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119401457A (en) * | 2024-12-31 | 2025-02-07 | 山东大学 | A harmonic state estimation method and system considering harmonic coupling |
CN119401457B (en) * | 2024-12-31 | 2025-05-09 | 山东大学 | A harmonic state estimation method and system considering harmonic coupling |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995034B (en) | Regional power grid harmonic comprehensive treatment method considering harmonic coupling characteristics | |
CN111555339B (en) | Converter grid-connected general sequence impedance model for stability analysis and modeling method | |
Azzouz et al. | Multivariable grid admittance identification for impedance stabilization of active distribution networks | |
CN115201563B (en) | A multi-harmonic source positioning method and system based on joint entropy | |
CN114301055A (en) | Method and system for obtaining interharmonic power flow in power system based on broadband measurement | |
CN118841943A (en) | Power grid harmonic distribution calculation method and device, storage medium and computer equipment | |
CN110601196A (en) | Optimal installation point selection method for active filter in power distribution network | |
CN113987795A (en) | A method for calculating modal sensitivity of DC/DC converters based on node admittance matrix | |
Kaufhold et al. | Measurement-based identification of DC-link capacitance of single-phase power electronic devices for grey-box modeling | |
Kaufhold et al. | Black-box identification of grid-side filter circuit for improved modelling of single-phase power electronic devices for harmonic studies | |
Xie et al. | A measurement-based dynamic harmonic model for single-phase diode bridge rectifier-type devices | |
Yu et al. | 2m+ 1 point estimate method for probabilistic harmonic power flow | |
CN111130109B (en) | Yyn0 low-voltage power distribution network theoretical line loss calculation method and system | |
CN116224831A (en) | Multi-grid-connected inverter harmonic resonance frequency ash box identification method based on apparent impedance | |
Kaufhold et al. | Measurement framework for analysis of dynamic behavior of single-phase power electronic devices | |
CN112131816B (en) | Method, device, medium and equipment for determining harmonic source amplitude of harmonic impedance scanning | |
Su et al. | An Adaptive Compensated Virtual Impedance Method for Oscillation Suppression in DC Distribution Power Systems | |
CN118868066A (en) | A power system control method and system based on oscillation mode analysis | |
CN105610156B (en) | A kind of concurrent cyclization method of multi-line | |
CN117491804A (en) | A method for locating harmonic sources in distribution network | |
Adebayo et al. | Online thévenin equivalent impedance measuring system | |
CN110896218B (en) | A Harmonic Modeling Method and System for Establishing Aggregate Residential Loads | |
Li et al. | Dynamic harmonic state estimation of power system based on sage-husa square-root unscented Kalman filter | |
Bracale et al. | Comparison of Frequency Domain Modelling Techniques for Assessing the Harmonic Emissions of Low Voltage Photovoltaic Plants | |
CN113675883A (en) | Method for identifying control delay parameters of grid-connected inverter |
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 |