CN117057227A - Equivalent modeling method and related device for photovoltaic power station - Google Patents
Equivalent modeling method and related device for photovoltaic power station Download PDFInfo
- Publication number
- CN117057227A CN117057227A CN202311002336.7A CN202311002336A CN117057227A CN 117057227 A CN117057227 A CN 117057227A CN 202311002336 A CN202311002336 A CN 202311002336A CN 117057227 A CN117057227 A CN 117057227A
- Authority
- CN
- China
- Prior art keywords
- equivalent
- cluster
- low voltage
- voltage ride
- inverter
- 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
- 238000000034 method Methods 0.000 title claims abstract description 45
- 239000013598 vector Substances 0.000 claims abstract description 25
- 238000011084 recovery Methods 0.000 claims description 28
- 238000007621 cluster analysis Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 21
- 238000005457 optimization Methods 0.000 claims description 19
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000004422 calculation algorithm Methods 0.000 claims description 11
- 238000012417 linear regression Methods 0.000 claims description 8
- 238000004088 simulation Methods 0.000 abstract description 6
- 238000004458 analytical method Methods 0.000 abstract description 4
- 238000010276 construction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 4
- 238000010248 power generation Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003064 k means clustering Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000003287 optical effect Effects 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
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/06—Power analysis or power optimisation
-
- 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
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/50—Photovoltaic [PV] energy
- Y02E10/56—Power conversion systems, e.g. maximum power point trackers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Probability & Statistics with Applications (AREA)
- Power Engineering (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Control Of Electrical Variables (AREA)
Abstract
本发明属于等值建模方法技术领域,为了解决现有的光伏电站等值方法存在参数设置准确度不足的技术问题,提供一种光伏电站等值建模方法及相关装置,先对用于表征光伏电站内逆变器的特征向量进行聚类分析,得到各聚类簇的簇中心,再计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理,最后,根据各聚类簇的簇中心、所述等值机参数,以及箱变和集电线路等值处理结果,得到光伏电站的等值模型。与现有建模方法相比,不需要输入等值机组数目,不会出现等值机数量设置于参数设置准确度不足的问题,大幅减小了仿真分析时出现偏差的概率,有效提高了建模结果的准确度。
The present invention belongs to the technical field of equivalent modeling methods. In order to solve the technical problem of insufficient parameter setting accuracy in existing photovoltaic power station equivalent methods, a photovoltaic power station equivalent modeling method and related devices are provided. The characteristic vectors of the inverters in the photovoltaic power station are clustered and analyzed to obtain the cluster centers of each cluster. Then the equivalent machine parameters of each cluster are calculated, and the box transformers and collector lines are equivalently processed. Finally , according to the cluster center of each cluster, the equivalent machine parameters, and the equivalent processing results of the box transformer and collector line, the equivalent model of the photovoltaic power station is obtained. Compared with the existing modeling method, there is no need to input the number of equivalent units, and there will be no problem of insufficient accuracy in setting the number of equivalent units when setting parameters. This greatly reduces the probability of deviations during simulation analysis, and effectively improves the construction efficiency. accuracy of model results.
Description
技术领域Technical Field
本发明属于等值建模方法技术领域,涉及一种光伏电站等值建模方法及相关装置。The invention belongs to the technical field of equivalent modeling methods, and relates to an equivalent modeling method for a photovoltaic power station and related devices.
背景技术Background Art
近年来,在双碳目标的引领下,以光伏为代表的可再生能源在电力系统中的占比逐渐增加。其中,光伏发电作为重要的可再生能源,对电力系统的稳定运行有重要影响,为以新能源为主体的新型电力系统带来了安全稳定方面的一系列挑战。目前,光伏逆变器容量多为1MW-3MW,仅一个场站内通常就有上百台逆变器,若在进行电网运行方式仿真和故障模拟时考虑每台逆变器的详细机电模型,则计算量过大,浪费计算资源,且导致仿真结果缺乏时效性,影响电力系统的安全稳定分析,因此,需在保证仿真精准度的基础上建立光伏电站的等值模型,以降低全网仿真计算复杂度。In recent years, under the guidance of the dual carbon goals, the proportion of renewable energy represented by photovoltaics in the power system has gradually increased. Among them, photovoltaic power generation, as an important renewable energy, has an important impact on the stable operation of the power system, and has brought a series of challenges in terms of safety and stability to the new power system with new energy as the main body. At present, the capacity of photovoltaic inverters is mostly 1MW-3MW, and there are usually hundreds of inverters in a single station. If the detailed electromechanical model of each inverter is considered when simulating the operation mode of the power grid and fault simulation, the calculation amount is too large, which wastes computing resources and leads to the lack of timeliness of the simulation results, affecting the safety and stability analysis of the power system. Therefore, it is necessary to establish an equivalent model of the photovoltaic power station on the basis of ensuring the accuracy of the simulation to reduce the complexity of the simulation calculation of the whole network.
现有的光伏电站等值方法中,大多需要优先确定分群,且未考虑对光伏逆变器低电压穿越控制参数进行参数辨识,因此,会导致参数设置准确度不足。Most of the existing equivalence methods for photovoltaic power stations require priority determination of grouping, and do not consider parameter identification of low voltage ride-through control parameters of photovoltaic inverters, which leads to insufficient accuracy of parameter setting.
发明内容Summary of the invention
本发明为了解决现有的光伏电站等值方法存在参数设置准确度不足的技术问题,提供一种光伏电站等值建模方法及相关装置。In order to solve the technical problem that the existing photovoltaic power station equivalent method has insufficient parameter setting accuracy, the present invention provides a photovoltaic power station equivalent modeling method and related devices.
为了实现上述目的,本发明采用以下技术方案予以实现:In order to achieve the above object, the present invention adopts the following technical solutions:
第一方面,本发明提出一种光伏电站等值建模方法,包括以下步骤:In a first aspect, the present invention provides a photovoltaic power station equivalent modeling method, comprising the following steps:
对光伏电站内的逆变器进行聚类分析,得到各聚类簇的簇中心;Perform cluster analysis on the inverters in the photovoltaic power station and obtain the cluster center of each cluster;
计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理;Calculate the equivalent machine parameters of each cluster, and perform equivalent processing on the box-type transformer and collector line;
根据各聚类簇的簇中心、所述等值机参数,以及箱变和集电线路等值处理结果,得到光伏电站的等值模型。According to the cluster center of each cluster, the equivalent machine parameters, and the equivalent processing results of the box transformer and the collector line, an equivalent model of the photovoltaic power station is obtained.
优选地,所述聚类分析具体为:Preferably, the cluster analysis is specifically:
步骤1,将用于表征光伏电站内逆变器的特征向量划分为k个聚类簇,并从所有特征向量中选定k个作为初始簇中心;Step 1: divide the feature vectors used to characterize the inverters in the photovoltaic power station into k clusters, and select k from all feature vectors as initial cluster centers;
步骤2,以每个特征向量作为一个样本,根据每个样本对应聚类指标的值,计算每个样本到k个初始簇中心的距离,再将各样本分别划分至最小距离的子簇中心对应的聚类簇中;Step 2: Take each feature vector as a sample, calculate the distance between each sample and the k initial cluster centers according to the value of the clustering index corresponding to each sample, and then divide each sample into the cluster corresponding to the sub-cluster center with the minimum distance;
步骤3,根据边缘样本百分比,计算每个聚类簇的边缘样本数量,得到每个聚类簇的边缘样本;Step 3, according to the marginal sample percentage, calculate the number of marginal samples of each cluster, and obtain the marginal samples of each cluster;
步骤4,考虑每个聚类簇的边缘样本,对所有聚类簇的初始簇中心进行迭代优化,直至相邻两次迭代间,所有样本到其所在聚类簇初始簇中心距离之和的差值满足预设要求,得到所有聚类簇的簇中心。Step 4: Consider the edge samples of each cluster and iteratively optimize the initial cluster centers of all clusters until the difference between the sum of the distances of all samples to the initial cluster centers of their clusters between two adjacent iterations meets the preset requirements, thus obtaining the cluster centers of all clusters.
优选地,步骤2中,所述聚类指标包括光伏逆变器正常运行期间的稳态电压平均值Us、故障期间逆变器输出的有功功率平均值Pe和故障期间逆变器输出的无功功率平均值Qe。Preferably, in step 2, the clustering index includes an average steady-state voltage value Us during normal operation of the photovoltaic inverter, an average active power value Pe output by the inverter during a fault, and an average reactive power value Qe output by the inverter during a fault.
优选地,步骤2中,所述计算每个样本到k个初始簇中心的距离,具体为通过下式进行计算:Preferably, in step 2, the distance between each sample and the centers of the k initial clusters is calculated by the following formula:
其中,dij(xi,cj)为样本xi到初始簇中心cj的欧式距离,j=1,2,…,k,u为变量,xiu为样本xi的第u个聚类指标的值,cju为初始簇中心cj的第u个聚类指标的值;Wherein, d ij ( xi , c j ) is the Euclidean distance from sample xi to the initial cluster center c j , j = 1, 2, ..., k, u is a variable, xiu is the value of the u-th clustering index of sample xi , and c ju is the value of the u-th clustering index of the initial cluster center c j ;
步骤4中,所述迭代优化具体为:In step 4, the iterative optimization is specifically as follows:
1)通过下式重新计算新的初始簇中心c′j:1) Recalculate the new initial cluster center c′ j by the following formula:
其中,g为第j个聚类簇的当前样本数量,Xm为光伏电站所有样本组成的样本集;Among them, g is the current number of samples in the jth cluster, and Xm is the sample set consisting of all samples of the photovoltaic power station;
Maη表示除了聚类簇a之外,其他聚类簇的边缘样本数量;mbη为第b个聚类簇中mb个样本的边缘样本数量;M aη represents the number of marginal samples in clusters other than cluster a; m bη is the number of marginal samples of m b samples in the bth cluster;
Yaη表示除了聚类簇a之外,其他聚类簇的边缘样本;Y aη represents the marginal samples of other clusters except cluster a;
2)返回步骤2,进行迭代优化,并在每次迭代后,计算所有样本到其所在聚类簇的初始簇中心距离之和P,直至相邻两次迭代计算之间的P差值满足预设要求,以当前每个聚类簇的初始簇中心,作为优化后新的簇中心,P通过下式计算:2) Return to step 2 and perform iterative optimization. After each iteration, calculate the sum P of the distances from all samples to the initial cluster center of their cluster clusters until the difference between two adjacent iterative calculations meets the preset requirements. The initial cluster center of each cluster cluster is used as the new cluster center after optimization. P is calculated by the following formula:
优选地,所述等值机参数包括等值机功率、等值机低电压穿越期间控制参数和等值机低电压穿越有功电流恢复控制参数;Preferably, the equivalent machine parameters include equivalent machine power, equivalent machine low voltage ride-through period control parameters and equivalent machine low voltage ride-through active current recovery control parameters;
所述计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理,具体为:The equivalent machine parameters of each cluster are calculated, and the equivalent processing is performed on the box-type transformer and the collector line, specifically:
1)定义每个聚类簇中的所有逆变器为一个机组群,将各机组群内所有逆变器的稳态有功功率、稳态无功功率分别相加,得到等值机的有功功率和等值机的无功功率,即等值机功率;1) Define all inverters in each cluster as a unit group, add the steady-state active power and steady-state reactive power of all inverters in each unit group respectively, and obtain the active power and reactive power of the equivalent machine, that is, the equivalent machine power;
2)采用梯度下降算法分别对各机组群内所有逆变器的低电压穿越有功电流和无功电流进行多元线性回归,获取低电压穿越有功电流设定值Ipset_LV、低电压穿越有功电流控制参数K1-Ip-LV和K2-Ip-LV、低电压穿越无功电流设定值Iqset_LV和低电压穿越无功电流控制参数K1-Iq-LV和K2-Iq-LV,通过下式得到逆变器低电压穿越有功电流IpLVRT和逆变器低电压穿越无功电流IqLVRT,作为等值机低电压穿越期间控制参数:2) The gradient descent algorithm is used to perform multivariate linear regression on the low voltage ride through active current and reactive current of all inverters in each unit group, and the low voltage ride through active current setting value Ip set_LV , low voltage ride through active current control parameters K 1-Ip-LV and K 2-Ip-LV , low voltage ride through reactive current setting value Iq set_LV and low voltage ride through reactive current control parameters K 1-Iq-LV and K 2-Iq-LV are obtained. The inverter low voltage ride through active current Ip LVRT and inverter low voltage ride through reactive current Iq LVRT are obtained by the following formula as the control parameters of the equivalent machine during low voltage ride through:
IpLVRT=K1-Ip-LV*Vt+K2-Ip-LV*Ip0+Ipset_LV Ip LVRT =K 1-Ip-LV *Vt+K 2-Ip-LV *Ip 0 +Ip set_LV
IqLVRT=K1-Iq-LV*(0.9-Vt)+K2-Iq-LV*Iq0+Iqset_LV Iq LVRT =K 1-Iq-LV *(0.9-Vt)+K 2-Iq-LV *Iq 0 +Iq set_LV
其中,Vt为故障期间的机端电压,Ip0为进入低电压穿越前有功电流,Iq0为进入低电压穿越前无功电流;Wherein, Vt is the terminal voltage during the fault period, Ip 0 is the active current before entering the low voltage ride through, and Iq 0 is the reactive current before entering the low voltage ride through;
3)通过下式得到等值机有功电流恢复速率参数作为等值机低电压穿越有功电流恢复控制参数:3) The equivalent machine active current recovery rate parameter is obtained by the following formula: As the control parameters of the active current recovery of the low voltage ride-through of the equivalent machine:
其中,m为机组群中逆变器的总数量,为第i台逆变器有功电流恢复速率参数 Where m is the total number of inverters in the group. is the active current recovery rate parameter of the i-th inverter
其中,In为逆变器的额定电流,为第i台逆变器故障恢复后有功电流曲线上稳态开始时刻t1和稳态结束时刻t2两个数据点间线段的斜率:Where, In is the rated current of the inverter, is the slope of the line segment between the two data points at the steady-state start time t1 and the steady-state end time t2 on the active current curve after the i-th inverter recovers from fault:
其中,为第i台逆变器故障恢复后t1时刻逆变器输出有功电流,为第i台逆变器故障恢复后t2时刻逆变器输出有功电流;in, is the inverter output active current at time t1 after the fault of the i-th inverter is restored, is the inverter output active current at time t2 after the fault of the i-th inverter is restored;
4)通过下式得到等值后箱变中变压器的总功耗ΔPTeq、等值阻抗ZTeq和等值容量STeq,作为箱变等值处理结果:4) The total power consumption ΔP Teq , equivalent impedance Z Teq and equivalent capacity S Teq of the transformer in the box-type transformer after equivalent treatment are obtained by the following formula as the box-type transformer equivalent treatment result:
ΔPTeq=(NIT)2ZTeq ΔP Teq =(NI T ) 2 Z Teq
ZTeq=ZT/NZ Teq = Z T /N
STeq=NST S Teq = NS T
其中,N为箱变总数量,IT为每台箱变电流,ZT为箱变阻抗,ST为单台箱变容量;Among them, N is the total number of box-type transformers, I T is the current of each box-type transformer, Z T is the impedance of the box-type transformer, and S T is the capacity of a single box-type transformer;
5)通过下式得到等值后集电线路功率损耗ΔPeq和总阻抗Zeq,作为集电线路等值处理结果:5) The power loss ΔP eq and total impedance Z eq of the collector line after equalization are obtained by the following formula as the result of equalization processing of the collector line:
ΔPeq=(FI)2Zeq ΔP eq =(FI) 2 Z eq
其中,I为光伏阵列的输出电流,Ze为第e条集电线路的阻抗,F为集电线路总数。Where I is the output current of the photovoltaic array, Ze is the impedance of the e-th collector line, and F is the total number of collector lines.
第二方面,本发明提出一种光伏电站等值建模系统,包括:In a second aspect, the present invention provides a photovoltaic power station equivalent modeling system, comprising:
聚类分析模块,用于对光伏电站内的逆变器进行聚类分析,得到各聚类簇的簇中心;A cluster analysis module is used to perform cluster analysis on the inverters in the photovoltaic power station and obtain the cluster center of each cluster;
等值模块,用于计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理;The equivalent module is used to calculate the equivalent machine parameters of each cluster and perform equivalent processing on the box-type transformer and the collector line;
建模模块,用于根据各聚类簇的簇中心、所述等值机参数,以及箱变和集电线路等值处理结果,得到光伏电站的等值模型。The modeling module is used to obtain an equivalent model of the photovoltaic power station according to the cluster center of each cluster, the equivalent machine parameters, and the equivalent processing results of the box transformer and the collector line.
优选地,所述聚类分析模块包括:Preferably, the cluster analysis module includes:
簇中心子模块,用于将用于表征光伏电站内逆变器的特征向量划分为k个聚类簇,并从所有的特征向量中选定k个作为初始簇中心;The cluster center submodule is used to divide the feature vectors used to characterize the inverters in the photovoltaic power station into k clusters, and select k from all the feature vectors as initial cluster centers;
归类子模块,用于以每个特征向量作为一个样本,根据每个样本对应聚类指标的值,计算每个样本到k个初始簇中心的距离,再将各样本分别划分至最小距离的簇中心对应的聚类簇中;The classification submodule is used to take each feature vector as a sample, calculate the distance between each sample and the k initial cluster centers according to the value of the clustering index corresponding to each sample, and then divide each sample into the cluster corresponding to the cluster center with the minimum distance;
边缘样本子模块,用于根据边缘样本百分比,计算每个聚类簇的边缘样本数量,得到每个聚类簇的边缘样本;The edge sample submodule is used to calculate the number of edge samples of each cluster according to the edge sample percentage, and obtain the edge samples of each cluster;
迭代优化子模块,用于考虑每个聚类簇的边缘样本,对所有聚类簇的初始簇中心进行迭代优化,直至相邻两次迭代间,所有样本到其所在聚类簇初始簇中心距离之和的差值满足预设要求,得到所有聚类簇的簇中心。The iterative optimization submodule is used to consider the edge samples of each cluster and iteratively optimize the initial cluster centers of all clusters until the difference between the sum of the distances of all samples to the initial cluster centers of their clusters between two adjacent iterations meets the preset requirements, thereby obtaining the cluster centers of all clusters.
优选地,所述等值机参数包括等值机功率、等值机低电压穿越期间控制参数和等值机低电压穿越有功电流恢复控制参数;Preferably, the equivalent machine parameters include equivalent machine power, equivalent machine low voltage ride-through period control parameters and equivalent machine low voltage ride-through active current recovery control parameters;
所述等值模块包括:The equivalent modules include:
等值机功率子模块,用于将各机组群内所有逆变器的稳态有功功率、稳态无功功率分别相加,得到等值机的有功功率和等值机的无功功率,即等值机功率;定义每个聚类簇中的所有逆变器为一个机组群;The equivalent machine power submodule is used to add the steady-state active power and steady-state reactive power of all inverters in each unit group to obtain the active power and reactive power of the equivalent machine, that is, the equivalent machine power; all inverters in each cluster are defined as a unit group;
低电压穿越控制子模块,用于采用梯度下降算法分别对各机组群内所有逆变器的低电压穿越有功电流和无功电流进行多元线性回归,获取低电压穿越有功电流设定值Ipset_LV、低电压穿越有功电流控制参数K1-Ip-LV和K2-Ip-LV、低电压穿越无功电流设定值Iqset_LV和低电压穿越无功电流控制参数K1-Iq-LV和K2-Iq-LV,通过下式得到逆变器低电压穿越有功电流IpLVRT和逆变器低电压穿越无功电流IqLVRT,作为等值机低电压穿越期间控制参数:The low voltage ride through control submodule is used to perform multivariate linear regression on the low voltage ride through active current and reactive current of all inverters in each unit group by using the gradient descent algorithm, obtain the low voltage ride through active current setting value Ip set_LV , low voltage ride through active current control parameters K 1-Ip-LV and K 2-Ip-LV , low voltage ride through reactive current setting value Iq set_LV and low voltage ride through reactive current control parameters K 1-Iq-LV and K 2-Iq-LV , and obtain the inverter low voltage ride through active current Ip LVRT and inverter low voltage ride through reactive current Iq LVRT by the following formula as the control parameters of the equivalent machine during low voltage ride through:
IpLVRT=K1-Ip-LV*Vt+K2-Ip-LV*Ip0+Ipset_LV Ip LVRT =K 1-Ip-LV *Vt+K 2-Ip-LV *Ip 0 +Ip set_LV
IqLVRT=K1-Iq-LV*(0.9-Vt)+K2-Iq-LV*Iq0+Iqset_LV Iq LVRT =K 1-Iq-LV *(0.9-Vt)+K 2-Iq-LV *Iq 0 +Iq set_LV
其中,Vt为故障期间的机端电压,Ip0为进入低电压穿越前有功电流,Iq0为进入低电压穿越前无功电流;Wherein, Vt is the terminal voltage during the fault period, Ip 0 is the active current before entering the low voltage ride through, and Iq 0 is the reactive current before entering the low voltage ride through;
再通过下式得到等值机有功电流恢复速率参数作为等值机低电压穿越有功电流恢复控制参数:Then the equivalent machine active current recovery rate parameter is obtained by the following formula: As the control parameters of the active current recovery of the low voltage ride-through of the equivalent machine:
其中,m为机组群中逆变器的总数量,为第i台逆变器有功电流恢复速率参数 Where m is the total number of inverters in the group. is the active current recovery rate parameter of the i-th inverter
其中,In为逆变器的额定电流,为第i台逆变器故障恢复后,有功电流曲线上稳态开始时刻t1和稳态结束时刻t2两个数据点间线段的斜率:Where, In is the rated current of the inverter, is the slope of the line segment between the two data points at the steady-state start time t1 and the steady-state end time t2 on the active current curve after the fault of the i-th inverter is restored:
其中,为第i台逆变器故障恢复后t1时刻逆变器输出有功电流,为第i台逆变器故障恢复后t2时刻逆变器输出有功电流;in, is the inverter output active current at time t1 after the fault of the i-th inverter is restored, is the inverter output active current at time t2 after the fault of the i-th inverter is restored;
箱变子模块,用于通过下式得到等值后箱变中变压器的总功耗ΔPTeq、等值阻抗ZTeq和等值容量STeq,作为箱变等值处理结果:The box-type transformer submodule is used to obtain the total power consumption ΔP Teq , equivalent impedance Z Teq and equivalent capacity S Teq of the transformer in the box-type transformer after equivalent value processing as the box-type transformer equivalent value processing result through the following formula:
ΔPTeq=(NIT)2ZTeq ΔP Teq =(NI T ) 2 Z Teq
ZTeq=ZT/NZ Teq = Z T /N
STeq=NST S Teq = NS T
其中,N为箱变总数量,IT为每台箱变电流,ZT为箱变阻抗,ST为单台箱变容量;Among them, N is the total number of box-type transformers, I T is the current of each box-type transformer, Z T is the impedance of the box-type transformer, and S T is the capacity of a single box-type transformer;
集电线路子模块,用于通过下式得到等值后集电线路功率损耗ΔPeq和总阻抗Zeq,作为集电线路等值处理结果:The collector line submodule is used to obtain the collector line power loss ΔP eq and total impedance Z eq after equivalent value processing through the following formula as the collector line equivalent value processing result:
ΔPeq=(FI)2Zeq ΔP eq =(FI) 2 Z eq
其中,I为光伏阵列的输出电流,Ze为第e条集电线路的阻抗,F为集电线路总数。Where I is the output current of the photovoltaic array, Ze is the impedance of the e-th collector line, and F is the total number of collector lines.
第三方面,本发明提出一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述方法的步骤。In a third aspect, the present invention proposes a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
第四方面,本发明提出一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述方法的步骤。In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the steps of the above method when executed by a processor.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明提出一种光伏电站等值建模方法,基于对用于表征逆变器的特征向量进行聚类分析,获取各聚类簇的簇中心,然后计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理,与现有建模方法相比,不需要输入等值机组数目,不会出现等值机数量设置于参数设置准确度不足的问题,大幅减小了仿真分析时出现偏差的概率,有效提高了建模结果的准确度。经实际验证,采用本发明的建模方法得到的等值模型,在与详细模型进行比较时,吻合度极高,也充分说明了本发明建模方法的有效性和准确性。The present invention proposes a photovoltaic power station equivalent modeling method, which is based on clustering analysis of characteristic vectors used to characterize inverters, obtaining the cluster center of each cluster cluster, and then calculating the equivalent machine parameters of each cluster cluster, and performing equivalent processing on the box transformer and the collector line. Compared with the existing modeling method, it does not need to input the number of equivalent units, and there will be no problem of insufficient accuracy in the number of equivalent units and parameter settings, which greatly reduces the probability of deviations in simulation analysis and effectively improves the accuracy of modeling results. It has been verified in practice that the equivalent model obtained by the modeling method of the present invention has a very high degree of consistency when compared with the detailed model, which also fully demonstrates the effectiveness and accuracy of the modeling method of the present invention.
进一步地,本发明中进行聚类分析时,在K-means聚类算法中考虑了边缘样本,通过迭代优化确认各聚类簇的簇中心,经验证,优化后得到的簇中心与实际情况相符度极高,对现有的聚类分析方法进行了充分优化。Furthermore, when performing cluster analysis in the present invention, edge samples are taken into account in the K-means clustering algorithm, and the cluster center of each cluster is confirmed through iterative optimization. It has been verified that the cluster center obtained after optimization is highly consistent with the actual situation, and the existing cluster analysis method is fully optimized.
进一步地,本发明中进行聚类分析时,选取的聚类指标包括光伏逆变器正常运行期间的稳态电压平均值、故障期间逆变器输出的有功功率平均值和故障期间逆变器输出的无功功率平均值,与光伏电站的实际运行情况更接近,充分考虑了光伏电站实际工况可能影响的指标,使本发明的建模方法与实际工况更加相符。Furthermore, when performing cluster analysis in the present invention, the selected clustering indicators include the average steady-state voltage during normal operation of the photovoltaic inverter, the average active power output of the inverter during faults, and the average reactive power output of the inverter during faults, which are closer to the actual operating conditions of the photovoltaic power station, and fully consider the indicators that may be affected by the actual operating conditions of the photovoltaic power station, so that the modeling method of the present invention is more consistent with the actual operating conditions.
进一步地,本发明中,在计算等值机参数时,提出采用基于梯度下降算法的多元线性回归对聚类后数据进行低电压穿越期间控制参数辨识,使得等值模型能够详细反映出详细模型的特性。Furthermore, in the present invention, when calculating the equivalent machine parameters, it is proposed to use multivariate linear regression based on the gradient descent algorithm to identify the control parameters during the low voltage ride-through period for the clustered data, so that the equivalent model can reflect the characteristics of the detailed model in detail.
进一步地,本发明还提出了一种光伏电站等值建模系统,通过聚类分析模块、等值模块和建模模块实现了上述等值建模方法,通过模块化的结构形式,能够得到光伏电站准确度极高的等值模型。Furthermore, the present invention also proposes a photovoltaic power station equivalent modeling system, which implements the above-mentioned equivalent modeling method through a cluster analysis module, an equivalent module and a modeling module. Through a modular structure, an extremely accurate equivalent model of a photovoltaic power station can be obtained.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚的说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
图1为本发明实施例一的流程示意图;FIG1 is a schematic diagram of a process flow of Embodiment 1 of the present invention;
图2为本发明实施例二的流程示意图;FIG2 is a schematic diagram of a flow chart of a second embodiment of the present invention;
图3为本发明实施例三的流程示意图;FIG3 is a schematic diagram of a flow chart of Embodiment 3 of the present invention;
图4为本发明实施例三中绘制的层次聚类数示意图;FIG4 is a schematic diagram of hierarchical clustering numbers drawn in Embodiment 3 of the present invention;
图5为本发明实施例三中,簇中心优化后光伏电站三项聚类指标的分布示意图;5 is a schematic diagram showing the distribution of three clustering indicators of a photovoltaic power station after cluster center optimization in Embodiment 3 of the present invention;
图6为本发明实施例三得到的等值模型与详细模型无功功率对比图;FIG6 is a comparison diagram of reactive power between the equivalent model and the detailed model obtained in Example 3 of the present invention;
图7为本发明实施例三得到的等值模型与详细模型有功功率对比图;FIG7 is a comparison diagram of active power between the equivalent model and the detailed model obtained in Example 3 of the present invention;
图8为本发明实施例四的连接示意图;FIG8 is a connection diagram of Embodiment 4 of the present invention;
图9为本发明一种光伏电站等值建模实施例中聚类分析模块的连接示意图;FIG9 is a schematic diagram of the connection of a cluster analysis module in an embodiment of equivalent modeling of a photovoltaic power station according to the present invention;
图10为本发明一种光伏电站等值建模实施例中等值模块的连接示意图。FIG. 10 is a schematic diagram showing the connection of equivalent modules in an embodiment of equivalent modeling of a photovoltaic power station according to the present invention.
其中,401-聚类分析模块、501-等值模块、601-建模模块、701-簇中心子模块、801-归类子模块、901-边缘样本子模块、1001-迭代优化子模块、1101-等值机功率子模块、1201-低电压穿越控制子模块、1301-箱变子模块、1401-集电线路子模块。Among them, 401-cluster analysis module, 501-equivalent module, 601-modeling module, 701-cluster center submodule, 801-classification submodule, 901-edge sample submodule, 1001-iterative optimization submodule, 1101-equivalent machine power submodule, 1201-low voltage ride-through control submodule, 1301-box transformer submodule, 1401-collection line submodule.
具体实施方式DETAILED DESCRIPTION
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not require further definition and explanation in the subsequent drawings.
在本发明实施例的描述中,需要说明的是,若出现术语“上”、“下”、“水平”、“内”等指示的方位或位置关系为基于附图所示的方位或位置关系,或者是该发明产品使用时惯常摆放的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
此外,若出现术语“水平”,并不表示要求部件绝对水平,而是可以稍微倾斜。如“水平”仅仅是指其方向相对“竖直”而言更加水平,并不是表示该结构一定要完全水平,而是可以稍微倾斜。In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.
在本发明实施例的描述中,还需要说明的是,除非另有明确的规定和限定,若出现术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
下面结合附图对本发明做进一步详细描述:The present invention is further described in detail below in conjunction with the accompanying drawings:
针对现有技术存在的问题,本发明提出了一种考虑低电压穿越的多聚类指标光伏电站等值方法,如下通过本发明的多个实施例对本发明的方案做详细说明。In view of the problems existing in the prior art, the present invention proposes a multi-clustering indicator photovoltaic power station equivalence method considering low voltage ride-through. The solution of the present invention is described in detail through multiple embodiments of the present invention as follows.
实施例一Embodiment 1
如图1所示,为本发明一种多聚类指标光伏电站等值方法的基础实施例,具体步骤如下:As shown in FIG1 , this is a basic embodiment of a multi-clustering index photovoltaic power station equivalent method of the present invention, and the specific steps are as follows:
S101,对用于表征光伏电站内逆变器的特征向量进行聚类分析,确定各聚类簇的簇中心。选取聚类指标。一般包括稳态电压指标、故障期间有功指标和故障期间无功指标。S101, cluster analysis is performed on the characteristic vectors used to characterize the inverters in the photovoltaic power station to determine the cluster center of each cluster and select clustering indicators, which generally include steady-state voltage indicators, active power indicators during faults, and reactive power indicators during faults.
S102,计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理,根据各聚类簇的簇中心、等值机参数、箱变和集电线路等值处理结果,得到光伏电站的等值模型。S102, calculating the equivalent machine parameters of each cluster, and performing equivalent processing on the box transformer and the collector line, and obtaining the equivalent model of the photovoltaic power station according to the cluster center, equivalent machine parameters, box transformer and the collector line equivalent processing results of each cluster.
S103,根据各聚类簇的簇中心、所述等值机参数,以及箱变和集电线路等值处理结果,得到光伏电站的等值模型。S103, obtaining an equivalent model of the photovoltaic power station according to the cluster center of each cluster, the equivalent machine parameters, and the equivalent processing results of the box transformer and the collector line.
实施例二Embodiment 2
如图2所示,为本发明一种光伏电站等值建模方法较为详细的实施例,具体步骤如下:As shown in FIG. 2 , a more detailed embodiment of a photovoltaic power station equivalent modeling method of the present invention is shown, and the specific steps are as follows:
S201,选取多个聚类指标。一般情况下,选取的聚类指标包括稳态电压指标、故障期间有功指标和故障期间无功指标。但实际上,本发明能够选取作为聚类指标的,还可以是其他指标项,实施例一中的三种指标能够使本发明的等值方法更接近于实际工况。S201, select multiple clustering indicators. Generally, the selected clustering indicators include a steady-state voltage indicator, an active power indicator during a fault, and a reactive power indicator during a fault. However, in fact, the present invention can select other indicators as clustering indicators. The three indicators in Example 1 can make the equivalent method of the present invention closer to the actual working condition.
获取稳态电压指标,能够表征机组正常运行时的机端电压分布。故障期间有功指标,是指故障期间各台逆变器输出的有功功率,能够表征机组低电压穿越期间的有功输出特性。故障期间无功指标,是指故障期间各台逆变器输出的无功功率,能够表征机组低电压穿越期间的无功输出特性。Obtaining the steady-state voltage index can characterize the terminal voltage distribution during normal operation of the unit. The active power index during the fault period refers to the active power output by each inverter during the fault period, which can characterize the active power output characteristics of the unit during the low voltage ride-through period. The reactive power index during the fault period refers to the reactive power output by each inverter during the fault period, which can characterize the reactive power output characteristics of the unit during the low voltage ride-through period.
对光伏电站内的逆变器进行聚类分析,得到各聚类簇的簇中心。Cluster analysis is performed on the inverters in the photovoltaic power station to obtain the cluster centers of each cluster.
S202,设置光伏电站的聚类数目为k,对应得到k个聚类簇。S202, setting the number of clusters of the photovoltaic power station to k, and correspondingly obtaining k clusters.
S203,将光伏电站中的所有逆变器用特征向量表征,每个特征向量作为一个样本,从所有样本中选定k个样本作为初始簇中心,得到k个初始簇中心c=c1,c2,…ck。S203, all inverters in the photovoltaic power station are characterized by feature vectors, each feature vector is used as a sample, k samples are selected from all samples as initial cluster centers, and k initial cluster centers c=c 1 ,c 2 ,…c k are obtained.
S204,根据每个样本对应各聚类指标的值,计算每个样本到k个初始簇中心的距离,并将各样本分别划分至最小距离的初始簇中心对应的聚类簇中。S204, calculating the distance between each sample and the k initial cluster centers according to the value of each clustering index corresponding to each sample, and dividing each sample into the cluster corresponding to the initial cluster center with the minimum distance.
S205,分别计算每个聚类簇的边缘样本数量,进而得到边缘样本。S205, respectively calculating the number of edge samples of each cluster, and then obtaining edge samples.
S206,结合每个聚类簇的边缘样本,对所有聚类簇的初始簇中心进行迭代优化,每次迭代计算后,计算所有样本到其所在聚类簇的初始簇中心距离之和P,直至相邻两次迭代计算之间的P差值满足预设要求,得到每个聚类簇优化后新的簇中心。S206, combining the edge samples of each cluster, iteratively optimize the initial cluster centers of all clusters. After each iterative calculation, calculate the sum P of the distances from all samples to the initial cluster centers of their clusters, until the P difference between two adjacent iterative calculations meets the preset requirements, and obtain the new cluster center of each cluster after optimization.
S207,计算光伏电站每个聚类簇的等值机参数:(1)等值机功率;(2)等值机低电压穿越期间控制参数;(3)等值机低电压穿越有功电流恢复控制参数。并分别对箱变和集电线路进行等值处理。S207, calculate the equivalent machine parameters of each cluster of the photovoltaic power station: (1) equivalent machine power; (2) equivalent machine low voltage ride-through control parameters; (3) equivalent machine low voltage ride-through active current recovery control parameters. And perform equivalent processing on the box transformer and the collector line respectively.
S208,由优化后的簇中心、每个聚类簇的等值机参数、箱变和集电线路的等值处理结果,得到光伏电站的等值模型。S208, obtaining an equivalent model of the photovoltaic power station based on the optimized cluster center, the equivalent machine parameters of each cluster, and the equivalent processing results of the box transformer and the collector line.
实施例三Embodiment 3
如图3所示,为本发明一种光伏电站等值建模方法更为具体的实施例,以含有30个逆变器的光伏电站为例,具体步骤如下:As shown in FIG3 , it is a more specific embodiment of a photovoltaic power station equivalent modeling method of the present invention. Taking a photovoltaic power station with 30 inverters as an example, the specific steps are as follows:
S301,选取在正常运行期间光伏逆变器的稳态电压平均值Us、故障期间各台逆变器输出的有功功率平均值Pe和故障期间各台逆变器输出的无功功率平均值Qe,作为聚类指标。S301, selecting the average steady-state voltage Us of the photovoltaic inverter during normal operation, the average active power Pe output by each inverter during a fault, and the average reactive power Qe output by each inverter during a fault as clustering indicators.
S302,绘制如图4所示的层次聚类树,图4中,纵坐标表示欧式距离,横坐标表示光伏电站中逆变器的序号。以0.01作为聚类分界线,则根据该聚类分界线确定光伏电站的聚类数目为k=2。S302, draw a hierarchical clustering tree as shown in Figure 4, in which the ordinate represents the Euclidean distance and the abscissa represents the serial number of the inverter in the photovoltaic power station. Taking 0.01 as the clustering boundary, the number of clusters of the photovoltaic power station is determined to be k=2 according to the clustering boundary.
步骤S302中,聚类分界线也可根据实际工况进行调整,另外,聚类数目的确定也可以采用除层次聚类树外的其他方法,即使使用层次聚类树的方法,还可以调整具体的聚类方法。In step S302, the clustering boundary line may also be adjusted according to the actual working conditions. In addition, the number of clusters may also be determined by other methods besides the hierarchical clustering tree. Even if the hierarchical clustering tree method is used, the specific clustering method may be adjusted.
S303,将光伏电站中的所有表征逆变器的特征向量作为样本,从所有样本中随机选定k个样本作为初始簇中心,得到k个初始簇中心c=c1,c2,…ck。S303: taking all feature vectors characterizing inverters in the photovoltaic power station as samples, randomly selecting k samples from all samples as initial cluster centers, and obtaining k initial cluster centers c=c 1 ,c 2 ,…c k .
S304,设所有样本的数量为n,n个样本记作xi,i=1,2,…n。通过下式计算样本xi到k个初始簇中心的欧式距离,即直线距离。由于步骤S301中选取了三个聚类指标,所以样本xi的维度w=3,欧式距离dij(xi,cj)的计算公式如下:S304, assuming that the number of all samples is n, and n samples are recorded as x i , i = 1, 2, ... n. The Euclidean distance, i.e., the straight-line distance, from sample x i to the centers of the k initial clusters is calculated by the following formula. Since three clustering indicators are selected in step S301, the dimension w of sample x i is 3, and the calculation formula of the Euclidean distance d ij (x i , c j ) is as follows:
其中,dij(xi,cj)为样本xi到初始簇中心cj的欧式距离,j=1,2,…,k,u为变量,xiu为样本xi的第u个聚类指标的值,cju为初始簇中心cj的第u个聚类指标的值。Wherein, d ij ( xi , c j ) is the Euclidean distance from sample xi to the initial cluster center c j , j = 1, 2,…, k, u is a variable, xiu is the value of the u-th clustering index of sample xi , and c ju is the value of the u-th clustering index of the initial cluster center c j .
S305,通过下式计算第a个聚类簇中ma个样本的边缘样本数量maη:S305, calculating the number of edge samples m aη of m a samples in the a th cluster by the following formula:
maη=ηma m a =ηm a
其中,因为实施例三中聚类数目为k=2,a等于1或2,η为边缘样本百分比,可进行设置。In the third embodiment, because the number of clusters is k=2, a is equal to 1 or 2, and η is the percentage of edge samples, which can be set.
则每个聚类簇中,与初始簇中心距离最大的maη个样本作为边缘样本,记作Xjη。Then in each cluster, the m aη samples with the largest distance from the center of the initial cluster are regarded as edge samples, denoted as X jη .
S306,通过下式重新计算新的初始簇中心cj′:S306, recalculate the new initial cluster center c j ′ by the following formula:
其中,g为第j个聚类簇的当前样本数量,Xm为光伏电站所有样本组成的样本集。Among them, g is the current number of samples in the jth cluster, and Xm is the sample set consisting of all samples of the photovoltaic power station.
Maη表示除了聚类簇a之外,其他聚类簇的边缘样本数量;mbη为第b个聚类簇中mb个样本的边缘样本数量。M aη represents the number of marginal samples in clusters other than cluster a; m bη is the number of marginal samples of m b samples in the bth cluster.
Yaη表示除了聚类簇a之外,其他聚类簇的边缘样本。Y aη represents the marginal samples of other clusters except cluster a.
重复执行步骤S304至步骤S306,进行迭代优化,并在每次重复执行后,计算所有样本到其所在聚类簇的初始簇中心距离之和P,直至相邻两次迭代计算之间的P差值满足预设要求,以当前每个聚类簇的初始簇中心,作为优化后新的簇中心。P通过下式计算:Repeat steps S304 to S306 for iterative optimization, and after each repetition, calculate the sum of the distances P from all samples to the initial cluster center of the cluster to which they belong, until the difference in P between two adjacent iterative calculations meets the preset requirements, and use the initial cluster center of each cluster as the new cluster center after optimization. P is calculated by the following formula:
进行迭代优化时,若发现两次迭代之间的P差值过大,也可以尝试调整边缘样本百分比η,减小边缘样本百分比η,再进行迭代优化。When performing iterative optimization, if you find that the P difference between two iterations is too large, you can also try to adjust the edge sample percentage η, reduce the edge sample percentage η, and then perform iterative optimization.
如图5所示,为光伏电站机组三项指标的分布示意图,能够看出本发明采用上述考虑边缘样本的K-means算法,对光伏电站内用于表征逆变器的特征向量进行聚类分析,效果符合预期。As shown in FIG5 , it is a schematic diagram of the distribution of the three indicators of the photovoltaic power station units. It can be seen that the present invention adopts the above-mentioned K-means algorithm considering edge samples to perform cluster analysis on the feature vectors used to characterize the inverters in the photovoltaic power station, and the effect is as expected.
S307,计算光伏电站每个聚类簇的等值机参数:(1)等值机功率;(2)等值机低电压穿越期间控制参数;(3)等值机低电压穿越有功电流恢复控制参数。以每个聚类簇中的逆变器作为一个机组群,完成聚类分析后得到k个机组群。参数(2)和(3)通过辨识机组群内光伏逆变器控制参数获得,各参数的具体计算方法如下:S307, calculate the equivalent machine parameters of each cluster of the photovoltaic power station: (1) equivalent machine power; (2) equivalent machine low voltage ride-through control parameters; (3) equivalent machine low voltage ride-through active current recovery control parameters. The inverters in each cluster are regarded as a unit group, and k unit groups are obtained after completing the cluster analysis. Parameters (2) and (3) are obtained by identifying the control parameters of the photovoltaic inverters in the unit group. The specific calculation method of each parameter is as follows:
1)等值机功率计算1) Calculation of equivalent machine power
将各机组群内所有逆变器的稳态有功功率、稳态无功功率分别相加,获得等值机的有功功率和等值机的无功功率,即得到各机组群的等值机功率。The steady-state active power and steady-state reactive power of all inverters in each unit group are added together to obtain the active power of the equivalent machine and the reactive power of the equivalent machine, that is, the equivalent machine power of each unit group is obtained.
2)等值机低电压穿越期间控制参数计算2) Calculation of control parameters during low voltage ride-through of equivalent machines
2.1)逆变器低电压穿越期间控制参数辨识2.1) Identification of control parameters during inverter low voltage ride-through
采用梯度下降算法分别对各机组群内所有逆变器的低电压穿越有功电流和无功电流进行多元线性回归。The gradient descent algorithm is used to perform multivariate linear regression on the low voltage ride through active current and reactive current of all inverters in each unit group.
(a)获取各机组群中所有逆变器的待辨识数据,包括低电压穿越期间有功电流IpLVRT、进入低电压穿越前有功电流Ip0(作为初始有功电流)、故障期间的机端电压Vt,并形成矩阵X:(a) Obtain the data to be identified of all inverters in each group, including the active current Ip LVRT during low voltage ride-through, the active current Ip 0 before entering low voltage ride-through (as the initial active current), and the terminal voltage Vt during the fault period, and form a matrix X:
其中,m表示机组群中逆变器的数量;Where m represents the number of inverters in the group;
令Y=[IpLVRT (1),IpLVRT (2),…,IpLVRT (m)]T, Let Y=[Ip LVRT (1) ,Ip LVRT (2) ,…,Ip LVRT (m) ] T ,
其中,K1-Ip-LV和K2-Ip-LV为两个低电压穿越有功电流控制参数,Ipset_LV为低电压穿越有功电流设定值。Among them, K1-Ip-LV and K2-Ip-LV are two low voltage ride through active current control parameters, and Ip set_LV is the low voltage ride through active current setting value.
(b)计算损失函数和损失函数梯度 (b) Calculate the loss function And the loss function gradient
(c)设置初始参数迭代步长ψ和迭代精度ε,根据如下公式进行迭代计算:(c) Setting initial parameters The iteration step size ψ and iteration accuracy ε are iteratively calculated according to the following formula:
直至完成迭代计算,得到相应的低电压穿越期间控制参数辨识结果:Ipset_LV、K1-Ip-LV和K2-Ip-LV。Until After completing the iterative calculation, the corresponding low voltage ride-through control parameter identification results are obtained: Ip set_LV , K 1-Ip-LV and K 2-Ip-LV .
2.2)采用与步骤2.1)相同的方法得到另一部分低电压穿越期间控制参数辨识结果:两个低电压穿越无功电流控制参数K1-Iq-LV和K2-Iq-LV,以及低电压穿越无功电流设定值Iqset_LV。2.2) The same method as step 2.1) is used to obtain another part of the control parameter identification results during the low voltage ride through period: two low voltage ride through reactive current control parameters K 1-Iq-LV and K 2-Iq-LV , and a low voltage ride through reactive current setting value Iq set_LV .
2.3)通过下式计算逆变器低电压穿越有功电流IpLVRT:2.3) Calculate the inverter low voltage ride-through active current Ip LVRT by the following formula:
IpLVRT=K1-Ip-LV*Vt+K2-Ip-LV*Ip0+Ipset_LV Ip LVRT =K 1-Ip-LV *Vt+K 2-Ip-LV *Ip 0 +Ip set_LV
通过下式计算逆变器低电压穿越无功电流IqLVRT:The inverter low voltage ride-through reactive current Iq LVRT is calculated by the following formula:
IqLVRT=K1-Iq-LV*(0.9-Vt)+K2-Iq-LV*Iq0+Iqset_LV Iq LVRT =K 1-Iq-LV *(0.9-Vt)+K 2-Iq-LV *Iq 0 +Iq set_LV
其中,Iq0为进入低电压穿越前无功电流。Among them, Iq 0 is the reactive current before entering the low voltage ride through.
有功电流IpLVRT和无功电流IqLVRT即为等值机低电压穿越期间控制参数。The active current Ip LVRT and the reactive current Iq LVRT are the control parameters during the low voltage ride-through period of the equivalent machine.
3)等值机低电压穿越有功电流恢复控制参数计算3) Calculation of active current recovery control parameters for low voltage ride-through of equivalent machine
3.1)对于有功电流恢复阶段,通过下式求取各逆变器故障恢复后有功电流曲线斜率:3.1) In the active current recovery stage, the slope of the active current curve after the fault recovery of each inverter is obtained by the following formula:
其中,为第i台逆变器故障恢复后有功电流曲线上稳态开始时刻t1和稳态结束时刻t2两个数据点间线段的斜率:为第i台逆变器故障恢复后t2时刻逆变器输出有功电流,为第i台逆变器故障恢复后t1时刻逆变器输出有功电流。in, is the slope of the line segment between the two data points at the steady-state start time t1 and the steady-state end time t2 on the active current curve after the i-th inverter recovers from fault: is the inverter output active current at time t2 after the fault of the i-th inverter is restored, is the active current output by the inverter at time t1 after the fault of the i-th inverter is restored.
3.2)通过下式计算第i台逆变器有功电流恢复速率参数 3.2) Calculate the active current recovery rate parameter of the i-th inverter by the following formula:
其中,In为逆变器的额定电流。Where In is the rated current of the inverter.
3.3)对于各机组群中的所有逆变器,分别根据第i台逆变器故障恢复后t1时刻逆变器输出有功电流对第i台逆变器有功电流恢复速率参数进行加权平均,具体通过下式进行加权平均,得到等值机有功电流恢复速率参数作为等值机低电压穿越有功电流恢复控制参数:3.3) For all inverters in each group, the output active current of the inverter at time t1 after the fault of the i-th inverter is restored is calculated as follows: Active current recovery rate parameter for the i-th inverter The weighted average is calculated by the following formula to obtain the active current recovery rate parameter of the equivalent machine: As the control parameters of the active current recovery of the low voltage ride-through of the equivalent machine:
S308,通过以下方法对箱变和集电线路进行等值处理S308, perform equivalent processing on the box-type transformer and the collector line by the following method
1)箱变的等值处理1) Equivalent processing of box-type transformers
对于单元变压器,等值前总功率损耗ΔPT为:For the unit transformer, the total power loss ΔPT before equalization is:
其中,N为箱变总数量,IT为每台箱变电流,ZT为箱变阻抗。Where N is the total number of box-type transformers, IT is the current of each box-type transformer, and ZT is the impedance of the box-type transformer.
等值后变压器总损耗ΔPTeq为:After equalization, the total transformer loss ΔP Teq is:
ΔPTeq=(NIT)2ZTeq ΔP Teq =(NI T ) 2 Z Teq
得到等值阻抗ZTeq为:The equivalent impedance Z Teq is obtained as:
ZTeq=ZT/NZ Teq = Z T /N
等值容量STeq为:The equivalent capacity S Teq is:
STeq=NST S Teq = NS T
其中,ST为单台箱变容量。Among them, ST is the capacity of a single box transformer.
箱变等值处理后得到箱变变压器的等值阻抗和等值容量。After the equivalent processing of the box-type transformer, the equivalent impedance and equivalent capacity of the box-type transformer are obtained.
2)集电线路的等值处理2) Equivalent treatment of collector lines
按照等值前后总损耗不变的原则,对于放射式拓扑,即各台发电单元在并网点处并联,考虑所有光伏发电单元,等值前线路功率损耗ΔP为:According to the principle that the total loss before and after the equalization is unchanged, for the radial topology, that is, each power generation unit is connected in parallel at the grid connection point, considering all photovoltaic power generation units, the line power loss ΔP before the equalization is:
其中,F为集电线路总数,Ie为第e条集电线路电流,Ze为第e条集电线路的阻抗,I为光伏阵列的输出电流。在光照条件及温度相同的情况下,所有光伏阵列输出电流均为I,等值后集电线路功率损耗ΔPeq为:Where F is the total number of collector lines, Ie is the current of the e-th collector line, Ze is the impedance of the e-th collector line, and I is the output current of the photovoltaic array. Under the same lighting conditions and temperature, the output current of all photovoltaic arrays is I, and the power loss of the collector line after equalization is ΔPeq :
ΔPeq=(FI)2Zeq ΔP eq =(FI) 2 Z eq
其中,Zeq为等值后集电线路的总阻抗。Wherein, Zeq is the total impedance of the collector line after equalization.
保证输电线路损耗相同,等值后集电线路的总阻抗Zeq为:To ensure that the transmission line losses are the same, the total impedance of the collector line Z eq after equalization is:
其中,等值后集电线路功率损耗ΔPeq和等值后集电线路的总阻抗Zeq即为集电线路等值处理后的结果。Among them, the power loss ΔP eq of the collector line after equalization and the total impedance Z eq of the collector line after equalization are the results after the collector line is equalized.
S309,由优化后的簇中心、每个聚类簇的等值机参数、箱变和集电线路的等值处理结果,得到光伏电站的等值模型。S309, obtaining an equivalent model of the photovoltaic power station based on the optimized cluster center, the equivalent machine parameters of each cluster, and the equivalent processing results of the box transformer and the collector line.
对实施例三中包含30台逆变器的光伏电站,聚类数目为2,考虑电网故障导致光伏电站进入低电压穿越,通过实施例三中的等值方法得到的等值结果,作为等值模型与详细模型进行对比,图6为无功功率对比图,图7为有功功率对比图,从图6和图7的对比结果能够看出,本发明得到的等值模型与详细模型吻合度极高。For the photovoltaic power station including 30 inverters in Example 3, the number of clusters is 2. Considering that the photovoltaic power station enters low voltage ride-through due to a grid failure, the equivalent result obtained by the equivalent method in Example 3 is used as an equivalent model for comparison with the detailed model. Figure 6 is a reactive power comparison diagram, and Figure 7 is an active power comparison diagram. It can be seen from the comparison results of Figures 6 and 7 that the equivalent model obtained by the present invention is highly consistent with the detailed model.
本发明的光伏电站等值建模方法,提出了基于考虑边缘样本的K-means算法对光伏电站多聚类指标进行聚类,采用基于梯度下降算法的多元线性回归对聚类后数据进行低电压穿越期间控制参数辨识,确定等值机控制参数,以此建立光伏电站机电暂态等值模型。The photovoltaic power station equivalent modeling method of the present invention proposes a K-means algorithm based on edge samples to cluster the multi-cluster indicators of the photovoltaic power station, and uses multivariate linear regression based on the gradient descent algorithm to identify the control parameters of the clustered data during the low voltage ride-through period, and determines the equivalent machine control parameters, thereby establishing the electromechanical transient equivalent model of the photovoltaic power station.
实施例四Embodiment 4
如图8所示,是本发明一种光伏电站等值建模系统的基础实施例,包括依次连接的聚类分析模块401、等值模块501和建模模块601。As shown in FIG. 8 , it is a basic embodiment of a photovoltaic power station equivalent modeling system of the present invention, which includes a cluster analysis module 401 , an equivalent module 501 and a modeling module 601 connected in sequence.
所述聚类分析模块401,用于对用于表征光伏电站内逆变器的特征向量进行聚类分析,得到各聚类簇的簇中心;The cluster analysis module 401 is used to perform cluster analysis on the feature vectors used to characterize the inverters in the photovoltaic power station to obtain the cluster center of each cluster;
所述等值模块501,用于计算每个聚类簇的等值机参数,并对箱变和集电线路进行等值处理;The equivalent module 501 is used to calculate the equivalent machine parameters of each cluster and perform equivalent processing on the box transformer and the collector line;
所述建模模块601,用于根据各聚类簇的簇中心、所述等值机参数,以及箱变和集电线路等值处理结果,得到光伏电站的等值模型。The modeling module 601 is used to obtain an equivalent model of the photovoltaic power station according to the cluster center of each cluster, the equivalent machine parameters, and the equivalent processing results of the box transformer and the collector line.
聚类分析模块401、等值模块501和建模模块601之间通过数据连接,实现各模块处理直接之间的传输。The cluster analysis module 401, the equivalent module 501 and the modeling module 601 are connected by data to realize the transmission between the processing of each module.
在本发明一种光伏电站等值建模系统的其他实施例中,聚类分析模块401和等值模块601还可以进一步划分为多个子模块,用于分别具体实现实施例二和实施例三中等值建模方法的优选步骤。In other embodiments of a photovoltaic power station equivalent modeling system of the present invention, the cluster analysis module 401 and the equivalent module 601 may be further divided into multiple submodules for respectively specifically implementing the preferred steps of the equivalent modeling method in the second embodiment and the third embodiment.
作为实施例四的一种优选实施例,如图9所示,聚类分析模块包括依次连接的簇中心子模块701、归类子模块801、边缘样本子模块901和迭代优化子模块1001。As a preferred embodiment of the fourth embodiment, as shown in FIG9 , the cluster analysis module includes a cluster center submodule 701 , a classification submodule 801 , an edge sample submodule 901 and an iterative optimization submodule 1001 which are connected in sequence.
所述簇中心子模块701,用于将用于表征光伏电站内逆变器的特征向量划分为k个聚类簇,并从所有的特征向量中选定k个作为簇中心;The cluster center submodule 701 is used to divide the feature vectors used to characterize the inverters in the photovoltaic power station into k clusters, and select k from all the feature vectors as cluster centers;
所述归类子模块801,用于以每个特征向量作为一个样本,根据每个样本对应聚类指标的值,计算每个样本到k个初始簇中心的距离,再将各样本分别划分至最小距离的簇中心对应的聚类簇中;The classification submodule 801 is used to take each feature vector as a sample, calculate the distance between each sample and the k initial cluster centers according to the value of the clustering index corresponding to each sample, and then classify each sample into the cluster corresponding to the cluster center with the minimum distance;
所述边缘样本子模块901,用于根据边缘样本百分比,计算每个聚类簇的边缘样本数量,得到每个聚类簇的边缘样本;The edge sample submodule 901 is used to calculate the number of edge samples of each cluster according to the edge sample percentage, and obtain the edge samples of each cluster;
所述迭代优化子模块1001,用于考虑每个聚类簇的边缘样本,对所有聚类簇的初始簇中心进行迭代优化,直至相邻两次迭代间,所有样本到其所在聚类簇初始簇中心距离之和的差值满足预设要求,得到所有聚类簇的簇中心。The iterative optimization submodule 1001 is used to consider the edge samples of each cluster and iteratively optimize the initial cluster centers of all clusters until the difference between the sum of the distances of all samples to the initial cluster centers of their clusters between two adjacent iterations meets the preset requirements, thereby obtaining the cluster centers of all clusters.
如图10所示,等值模块包括等值机功率子模块1101、低电压穿越控制子模块1201、箱变子模块1301和集电线路子模块1401。As shown in FIG. 10 , the equivalent module includes an equivalent machine power submodule 1101 , a low voltage ride through control submodule 1201 , a box transformer submodule 1301 and a collector line submodule 1401 .
所述等值机功率子模块1101,用于将各机组群内所有逆变器的稳态有功功率、稳态无功功率分别相加,得到等值机的有功功率和等值机的无功功率,即等值机功率;定义每个聚类簇中的所有逆变器为一个机组群;The equivalent machine power submodule 1101 is used to add the steady-state active power and steady-state reactive power of all inverters in each group of units to obtain the active power and reactive power of the equivalent machine, that is, the equivalent machine power; all inverters in each cluster are defined as a group of units;
所述低电压穿越控制子模块1201,用于采用梯度下降算法分别对各机组群内所有逆变器的低电压穿越有功电流和无功电流进行多元线性回归,获取低电压穿越有功电流设定值Ipset_LV、低电压穿越有功电流控制参数K1-Ip-LV和K2-Ip-LV、低电压穿越无功电流设定值Iqset_LV和低电压穿越无功电流控制参数K1-Iq-LV和K2-Iq-LV,通过下式得到逆变器低电压穿越有功电流IpLVRT和逆变器低电压穿越无功电流IqLVRT,作为等值机低电压穿越期间控制参数:The low voltage ride through control submodule 1201 is used to perform multivariate linear regression on the low voltage ride through active current and reactive current of all inverters in each unit group by using a gradient descent algorithm, obtain the low voltage ride through active current setting value Ip set_LV , low voltage ride through active current control parameters K 1-Ip-LV and K 2-Ip-LV , low voltage ride through reactive current setting value Iq set_LV and low voltage ride through reactive current control parameters K 1-Iq-LV and K 2-Iq-LV , and obtain the inverter low voltage ride through active current Ip LVRT and inverter low voltage ride through reactive current Iq LVRT as the control parameters during the low voltage ride through of the equivalent machine by the following formula:
IpLVRT=K1-Ip-LV*Vt+K2-Ip-LV*Ip0+Ipset_LV Ip LVRT =K 1-Ip-LV *Vt+K 2-Ip-LV *Ip 0 +Ip set_LV
IqLVRT=K1-Iq-LV*(0.9-Vt)+K2-Iq-LV*Iq0+Iqset_LV Iq LVRT =K 1-Iq-LV *(0.9-Vt)+K 2-Iq-LV *Iq 0 +Iq set_LV
其中,Vt为故障期间的机端电压,Ip0为进入低电压穿越前有功电流,Iq0为进入低电压穿越前无功电流;Wherein, Vt is the terminal voltage during the fault period, Ip 0 is the active current before entering the low voltage ride through, and Iq 0 is the reactive current before entering the low voltage ride through;
再通过下式得到等值机有功电流恢复速率参数作为等值机低电压穿越有功电流恢复控制参数:Then the equivalent machine active current recovery rate parameter is obtained by the following formula: As the control parameters of the active current recovery of the low voltage ride-through of the equivalent machine:
其中,m为机组群中逆变器的总数量,为第i台逆变器有功电流恢复速率参数 Where m is the total number of inverters in the group. is the active current recovery rate parameter of the i-th inverter
In为逆变器的额定电流,为第i台逆变器故障恢复后有功电流曲线上稳态开始时刻t1和稳态结束时刻t2两个数据点间线段的斜率:I n is the rated current of the inverter, is the slope of the line segment between the two data points at the steady-state start time t1 and the steady-state end time t2 on the active current curve after the i-th inverter recovers from fault:
为第i台逆变器故障恢复后t1时刻逆变器输出有功电流,为第i台逆变器故障恢复后t2时刻逆变器输出有功电流; is the inverter output active current at time t1 after the fault of the i-th inverter is restored, is the inverter output active current at time t2 after the fault of the i-th inverter is restored;
所述箱变子模块1301,用于通过下式得到等值后箱变中变压器的总功耗ΔPTeq、等值阻抗ZTeq和等值容量STeq,作为箱变等值处理结果:The box-type transformer submodule 1301 is used to obtain the total power consumption ΔP Teq , equivalent impedance Z Teq and equivalent capacity S Teq of the transformer in the box-type transformer after equivalent value processing as the box-type transformer equivalent value processing result through the following formula:
ΔPTeq=(NIT)2ZTeq ΔP Teq =(NI T ) 2 Z Teq
ZTeq=ZT/NZ Teq = Z T /N
STeq=NST S Teq = NS T
其中,N为箱变总数量,IT为每台箱变电流,ZT为箱变阻抗,ST为单台箱变容量;Among them, N is the total number of box-type transformers, I T is the current of each box-type transformer, Z T is the impedance of the box-type transformer, and S T is the capacity of a single box-type transformer;
所述集电线路子模块1401,用于通过下式得到等值后集电线路功率损耗ΔPeq和总阻抗Zeq,作为集电线路等值处理结果:The collector line submodule 1401 is used to obtain the collector line power loss ΔP eq and the total impedance Z eq after equalization as the collector line equalization processing result through the following formula:
ΔPeq=(FI)2Zeq ΔP eq =(FI) 2 Z eq
其中,I为光伏阵列的输出电流,Ze为第e条集电线路的阻抗,F为集电线路总数。Where I is the output current of the photovoltaic array, Ze is the impedance of the e-th collector line, and F is the total number of collector lines.
本发明还有一实施例提供了计算机设备。该实施例的计算机设备包括:处理器、存储器以及存储在所述存储器中并可在所述处理器上运行的计算机程序。所述处理器执行所述计算机程序时实现上述各个方法实施例中的步骤。或者,所述处理器执行所述计算机程序时实现上述各装置实施例中各模块/单元的功能。Another embodiment of the present invention provides a computer device. The computer device of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor executes the computer program, the functions of the modules/units in the above-mentioned device embodiments are implemented.
所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器中,并由所述处理器执行,以完成本发明。The computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory and executed by the processor to accomplish the present invention.
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可包括,但不仅限于,处理器、存储器。The computer device may be a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The computer device may include, but is not limited to, a processor and a memory.
所述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现所述计算机设备的各种功能。The memory may be used to store the computer programs and/or modules, and the processor implements various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory.
所述计算机设备集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the module/unit integrated in the computer device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311002336.7A CN117057227A (en) | 2023-08-09 | 2023-08-09 | Equivalent modeling method and related device for photovoltaic power station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311002336.7A CN117057227A (en) | 2023-08-09 | 2023-08-09 | Equivalent modeling method and related device for photovoltaic power station |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117057227A true CN117057227A (en) | 2023-11-14 |
Family
ID=88656586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311002336.7A Pending CN117057227A (en) | 2023-08-09 | 2023-08-09 | Equivalent modeling method and related device for photovoltaic power station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117057227A (en) |
-
2023
- 2023-08-09 CN CN202311002336.7A patent/CN117057227A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112803404B (en) | Self-healing reconstruction planning method and device for power distribution network and terminal | |
CN109670213B (en) | Multi-machine equivalent modeling method and device for wind power plant | |
CN108364117B (en) | Power grid risk assessment method considering reliability of photovoltaic power station element | |
CN113178864A (en) | Power distribution network power supply fault recovery method and device and terminal equipment | |
CN106067074A (en) | A kind of by optimizing the method that the on off state of link promotes network system robustness | |
CN115616412A (en) | Modeling method, device, equipment and readable storage medium of an energy storage battery pack | |
CN118052023A (en) | Topology optimization method, control device and medium for large wind farm current collection system | |
CN116826859A (en) | A power supply carbon-electricity collaborative planning method, device, equipment and storage medium | |
CN108122054B (en) | A real-time computing method of power system topology based on graph computing | |
CN116011153A (en) | Distribution Network Reliability Evaluation Method Based on Light-Load Correlation Enhanced Credibility | |
CN117150393B (en) | A method and system for identifying weak branches in power systems based on decision trees | |
CN118336803A (en) | A dynamic reconstruction method of distribution network considering reliability assessment | |
CN117057227A (en) | Equivalent modeling method and related device for photovoltaic power station | |
CN116049658B (en) | A method, system, device and medium for identifying abnormal data of a wind turbine | |
CN114972914B (en) | Power system dominant instability mode identification method based on Markov transfer field | |
CN115912493A (en) | Distributed power supply access method, electronic equipment, power distribution network and storage medium | |
CN116722589A (en) | Distributed energy power distribution network topological structure selection method and related device | |
CN115329487A (en) | Parameter setting method for photovoltaic power generation system and terminal equipment | |
CN116436057B (en) | Method, device, equipment and medium for determining operation strategy of energy storage station | |
CN118281883B (en) | Data adjustment method and system based on tide voltage intensity | |
CN115828515B (en) | Wind farm modeling method and device | |
CN119539520A (en) | Method, device, equipment and storage medium for planning equipment capacity of full-peer distribution system | |
Yuhui et al. | Research on dispersed wind generation planning in distributed systerm based on voltage maximum correntropy | |
CN111273124B (en) | A distribution network state estimation application function test system | |
CN118568491A (en) | Dynamic programming method, device, equipment and medium for reconfigurable battery pack |
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 |