CN116992776B - Voltage source converter stability domain construction method and system based on piecewise affine - Google Patents

Voltage source converter stability domain construction method and system based on piecewise affine Download PDF

Info

Publication number
CN116992776B
CN116992776B CN202311091069.5A CN202311091069A CN116992776B CN 116992776 B CN116992776 B CN 116992776B CN 202311091069 A CN202311091069 A CN 202311091069A CN 116992776 B CN116992776 B CN 116992776B
Authority
CN
China
Prior art keywords
model
voltage source
source converter
vsc
impedance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311091069.5A
Other languages
Chinese (zh)
Other versions
CN116992776A (en
Inventor
王鹏
马悦鑫
赵浩然
李少林
贺敬
郭敬梅
罗嘉
王金龙
王士柏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong University
Original Assignee
Shandong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong University filed Critical Shandong University
Priority to CN202311091069.5A priority Critical patent/CN116992776B/en
Publication of CN116992776A publication Critical patent/CN116992776A/en
Application granted granted Critical
Publication of CN116992776B publication Critical patent/CN116992776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (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)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

本发明属于变流器技术领域,具体涉及一种基于分段仿射的电压源变流器稳定域构造方法及系统,包括:获取电压源变流器的阻抗模型;基于分段仿射和所获取的阻抗模型,构建电压源变流器的分段仿射阻抗模型;求解所构建的分段仿射阻抗模型,完成电压源变流器稳定域的构造;其中,在求解所构建的分段仿射阻抗模型的过程中,采用双层优化求解模型,双层优化求解模型中的内层模型结合所构建的分段仿射阻抗模型和奈奎斯特判据判断电压源变流器小干扰稳定域中工况点的稳定性,将内层模型作为双层优化求解模型中的外层模型的非线性约束,完成模型的求解,实现电压源变流器稳定域的构建。

The invention belongs to the technical field of converters, and specifically relates to a method and system for constructing a stable domain of a voltage source converter based on segmented affine, which includes: obtaining an impedance model of the voltage source converter; based on segmented affine and the obtained Obtain the impedance model to construct the segmented affine impedance model of the voltage source converter; solve the constructed segmented affine impedance model to complete the construction of the stable domain of the voltage source converter; among them, after solving the constructed segmented affine impedance model In the process of affine impedance model, a double-layer optimization solution model is used. The inner layer model in the double-layer optimization solution model is combined with the constructed piecewise affine impedance model and the Nyquist criterion to determine the small interference of the voltage source converter. For the stability of the operating point in the stable domain, the inner model is used as the nonlinear constraint of the outer model in the double-layer optimization solution model to complete the solution of the model and realize the construction of the stable domain of the voltage source converter.

Description

Voltage source converter stability domain construction method and system based on piecewise affine
Technical Field
The invention belongs to the technical field of converters, and particularly relates to a voltage source converter stability domain construction method and system based on piecewise affine.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
With the rapid development of new energy, the access of high-proportion power electronic equipment easily causes the problem of small disturbance instability, restricts the transportation and the absorption of the new energy, and seriously threatens the safe operation of a power system.
New energy oscillation accidents often result from small disturbance negative damping instability. The existing stability analysis method aiming at the problems mainly adopts a state space method and an impedance method; however, the designated working conditions need to be analyzed, and it is difficult to comprehensively evaluate the overall operation stability of the system, so that a method capable of reflecting the stability of all the working conditions of the system needs to be established. Due to the time-varying nature of the grid, the stability domain needs to be updated in time according to the changes in the grid parameters. There is therefore a need for a stable domain construction method that can meet the requirements of online applications. At present, the research on the new energy full-working-condition stable domain is less, and two main challenges exist: the new energy station model has high order and complex impedance calculation; secondly, the construction of the stability domain boundaries is inefficient.
Aiming at the challenge of high order of the new energy station model, most researches adopt a reduced order or equivalent model when analyzing the new energy multi-machine model. Related researches adopt a balance realization theory to discard a non-dominant oscillation mode of a multi-voltage source converter (Voltage Source Converter, VSC for short) grid-connected system, but the non-dominant oscillation mode may cause partial coupling characteristic loss in a field; and when the operation working condition changes, the dominant oscillation mode reserved by the reduced order model is difficult to ensure to have consistent small disturbance characteristics. The related research adopts an equivalent method to equivalent the new energy station model to a single machine or multiple machine model; however, the equivalent method only focuses on the interaction mechanism of the whole new energy station and the power grid, and ignores the coupling characteristic between single machines.
The key to constructing a small perturbation stability domain is to determine its stability domain boundaries. The parameter stability domain is analyzed by related research, but the constructed stability domain changes along with the change of working conditions, so that guidance is difficult to provide in practical application. The related research adopts a point-by-point method to calculate the system stability under different serial complement values, and establishes a stable domain boundary of single parameters related to the serial complement values; however, the point-by-point method has the problem of large calculation amount, and is difficult to apply online. Related researches aim at micro-grid application scenes, active power stability domain boundaries of two VSCs are fitted based on kernel ridge regression, but the fitting method does not consider time-varying characteristics of the power grid. The related research is based on the offline construction of the stable domain boundary of the polymerization impedance and the prediction correction method, and compared with a traversal method, the calculation efficiency is improved; however, the calculation time of the adopted method is still long, and the method is difficult to be suitable for online application of stable domain solving.
Disclosure of Invention
In order to solve the problems, the invention provides a voltage source converter stable domain construction method and a system based on piecewise affine.
According to some embodiments, the first scheme of the invention provides a voltage source converter stability domain construction method based on piecewise affine, which adopts the following technical scheme:
a voltage source converter stable domain construction method based on piecewise affine comprises the following steps:
obtaining an impedance model of the voltage source converter;
constructing a segmented affine impedance model of the voltage source converter based on the segmented affine and the acquired impedance model;
solving the constructed piecewise affine impedance model to finish the construction of the stable domain of the voltage source converter;
in the process of solving the constructed segmented affine impedance model, a double-layer optimization solving model is adopted, an inner layer model in the double-layer optimization solving model is combined with the constructed segmented affine impedance model and a Nyquist criterion to judge the stability of the working point in the small interference stable domain of the voltage source converter, the inner layer model is used as the nonlinear constraint of an outer layer model in the double-layer optimization solving model, so that the solving of the model is completed, and the construction of the stable domain of the voltage source converter is realized.
As a further technical definition, in the process of constructing the piecewise affine impedance model of the voltage source converter, the acquired impedance model of the voltage source converter is converted into a piecewise low-order linear sub-model based on the piecewise affine theory.
As a further technical definition, the piecewise affine comprises constructing a voltage source converter impedance dataset, constructing dataset partitions according to a clustering algorithm, and implementing parameter estimation of an affine sub-model based on a least squares method.
As a further technical definition, the constructed piecewise affine impedance model of the voltage source converter is a dq coordinate system based on the voltage orientation of the grid-connected point of the voltage source converter itself; when a plurality of voltage source converters are connected in a grid, each constructed voltage source converter impedance model is transformed to the same dq coordinate system, and a multi-machine impedance model is obtained.
As a further technical limitation, in the process of judging the stability of the operating point in the small-interference stable domain of the voltage source converter, analyzing whether the return rate matrix meets the generalized nyquist criterion or not, namely, when the root tracks of two characteristic roots of the return rate matrix are not surrounded by (0, 1) on a complex plane, the operating point in the small-interference stable domain of the voltage source converter is stable; otherwise unstable.
As a further technical limitation, in the process of carrying out model solving, an inner layer model in the double-layer optimization solving model is solved by adopting an improved Nyquist stability criterion, and an outer layer model in the double-layer optimization solving model is solved by adopting a complex shape method.
As a further technical definition, the nonlinear constraint of the outer layer model in the double-layer optimization solution model is thatWherein P is VSC Is the active output of the voltage source converter, Q VSC Reactive power output of the voltage source converter; f (P) VSC ,Q VSC ) =0 satisfies the tide equation for the running operating point; p (P) min And P max The upper limit and the lower limit of the active output of the voltage source converter are respectively set; q (Q) min And Q max The reactive power output upper limit and the reactive power output lower limit of the voltage source converter are respectively; v rate Output rated voltage for voltage source converter port, v s The actual output voltage of the voltage source converter port; alpha is the power growth direction.
According to some embodiments, the second scheme of the invention provides a voltage source converter stability domain construction system based on piecewise affine, which adopts the following technical scheme:
a piecewise affine-based voltage source converter stability domain construction system comprising:
an acquisition module configured to acquire an impedance model of the voltage source converter;
a building block configured to build a segmented affine impedance model of the voltage source converter based on the segmented affine and the acquired impedance model;
the solving module is configured to solve the constructed piecewise affine impedance model to complete the construction of the stable domain of the voltage source converter;
In the process of solving the constructed segmented affine impedance model, a double-layer optimization solving model is adopted, an inner layer model in the double-layer optimization solving model is combined with the constructed segmented affine impedance model and a Nyquist criterion to judge the stability of the working point in the small interference stable domain of the voltage source converter, the inner layer model is used as the nonlinear constraint of an outer layer model in the double-layer optimization solving model, so that the solving of the model is completed, and the construction of the stable domain of the voltage source converter is realized.
According to some embodiments, a third aspect of the present invention provides a computer-readable storage medium, which adopts the following technical solutions:
a computer readable storage medium having stored thereon a program which when executed by a processor implements the steps in a method for piecewise affine-based voltage source converter stability domain construction according to the first aspect of the present invention.
According to some embodiments, a fourth aspect of the present invention provides an electronic device, which adopts the following technical solutions:
an electronic device comprising a memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the steps in the piecewise affine-based voltage source converter stability domain construction method according to the first aspect of the present invention when the program is executed.
Compared with the prior art, the invention has the beneficial effects that:
the method is based on a piecewise affine theory and establishes a VSC impedance piecewise affine model; and a method for establishing a data set and a partition is provided for the VSC small disturbance model, so that the searching efficiency of affine coefficients and the accuracy of the affine model are ensured. And establishing a multi-machine VSC segmented affine model, retaining the frequency domain impedance information of the original system, and greatly reducing the model order.
The invention provides a construction method of a boundary of a VSC stable domain, which comprises the steps of constructing a double-layer optimization model for solving boundary points of the VSC stable domain, and solving the optimization model based on an improved generalized Nyquist stability criterion and a complex shape method; and then searching boundary points by changing the solving direction of the double-layer optimization model and performing segmentation fitting, so that the accuracy of the boundary of the stable domain is ensured and the construction efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments and are incorporated in and constitute a part of this specification, illustrate and explain the embodiments and together with the description serve to explain the embodiments.
Fig. 1 is a diagram of a single VSC grid-connected structure in a first embodiment of the present invention;
FIG. 2 is a schematic illustration of a piecewise affine in accordance with one embodiment of the present invention;
FIG. 3 is a schematic diagram of a segmented affine partition according to a first embodiment of the invention;
fig. 4 is a diagram of a multi-VSC grid-connected structure in a first embodiment of the present invention;
FIG. 5 is a schematic diagram of a VSC small disturbance stability domain boundary according to a first embodiment of the present invention;
FIG. 6 is a schematic diagram of an improved generalized Nyquist stability criterion in accordance with a first embodiment of the present invention;
FIG. 7 is a flow chart of a solution for boundary conditions of a VSC stability domain based on a complex shape method according to a first embodiment of the invention;
FIG. 8 is a schematic diagram of iterative solution of a complex method in accordance with a first embodiment of the present invention;
FIG. 9 is a schematic diagram of a VSC small disturbance stability domain boundary solution in accordance with a first embodiment of the present invention;
FIG. 10 is a flow chart of an online quick construction of a VSC stability domain boundary in accordance with a first embodiment of the present invention;
FIG. 11 is a graph showing the stability domain accuracy contrast of the method and the spread point traversal method according to the first embodiment of the invention at different SCRs;
fig. 12 is a schematic diagram of single VSC stability domain boundary time domain verification at scr=1.7 in the first embodiment of the present invention;
FIG. 13 is a comparison of multiple VSC stability domains under different SCRs in accordance with an embodiment of the present invention
Fig. 14 is a schematic diagram of multi-machine VSC stability domain boundary time domain verification at scr=1.7 in the first embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the present application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
Example 1
The embodiment of the invention introduces a voltage source converter stability domain construction method based on piecewise affine.
The embodiment adopts a piecewise affine theory to convert VSC impedance into a linear form, and simultaneously provides a stable domain construction method capable of meeting online application; for complex high-order VSC impedance small disturbance models, the segmentation method of segmented affines and affine sub-model parameter identification are challenging. And, how to further improve the stability domain boundary rapid construction efficiency based on the piecewise affine impedance model is also challenging.
According to the VSC model shown in fig. 1, which mainly comprises a current loop control and a phase-locked loop control of the current transformer, an impedance model is established, which analyzes small disturbance stability. In the dq coordinate system, the two-dimensional matrix of VSC impedance is as follows:
wherein P is VSC And Q VSC Active and reactive power of VSC output, v s Representing the grid tie point voltage. In the frequency domain s=j2pi f is a complex state variable, where f is frequency.
The VSC impedance characteristics are affected by the operating point, and are related to active, reactive and port voltages. In order to construct a VSC segmented affine model more suitable for practical applications, the running operating point state variables are defined as:
x=[P VSC Q VSC v s ] (2)
as shown in fig. 2, the complex high-order VSC impedance model with respect to the operating points x and s is converted into a piecewise low-order linear submodel based on piecewise affine theory. The piecewise affine specifically comprises three steps: constructing a VSC impedance data set, constructing a data set partition according to a clustering algorithm, and realizing parameter estimation of an affine submodel based on a least square method.
1) Impedance data set construction method
Since the input variables have different units and ranges, normalization processing is performed on all the input variables x. And calculating the corresponding VSC output impedance under different x and s within the operable range, and constructing a sample data set.
The present embodiment proposes to construct the VSC impedance dataset by linearity analysis to avoid the influence of sample set density on the accuracy and computational efficiency of the segmented affine model.
Formula (1) relates to P VSC ,Q VSC ,v s And s have different linearities. With impedance element Z dd For the example of linearity of s, a linear correlation coefficient r is defined as:
where Cov is the covariance calculation symbol and Var is the standard deviation calculation symbol. The molecules of the linear correlation coefficient are Z dd (s) real and imaginary covariance. The denominator of the linear correlation coefficient is Z dd (s) the product of the real and imaginary standard deviations. The linear correlation coefficient is between 0 and 1, the closer it is to 1, the higher the linearity of the two variables.
According to the linearity of the VSC working points x and s with respect to the impedance, scattering is performed when constructing a sample set, and the sample space is preliminarily divided into different data sets.
2) Data clustering and partition space solving
The data set obtained in the step 1) contains a large number of sample points, and a data clustering method is adopted to divide a sample space. A data set space may be divided into disjoint subspaces, each of which may be represented by a low-order linear analytical formula.
In the embodiment, a hierarchical clustering method is adopted to cluster the data of the data set. The main idea is that initially each data is considered as a class, the Euclidean distance is used to calculate the sample class S 1 ,S 2 Is a distance of (3). In Z dd (x, s) for example, the Euclidean distance e between its samples is:
the maximum sample distance between the two classes is taken as the true distance E (S 1 ,S 2 ):
When E (S) 1 ,S 2 ) Beyond the set threshold value psi, aggregation between the two classes is not performed, and the number and the accuracy of clusters are adjusted by adjusting the size of the threshold value psi.
After determining the sample set partition based on the clustering algorithm, solving the interface coefficient of the partition by adopting support vector classification (support vector classification, SVC) [21] . With χ u The partitions of the running points x and s of the piecewise affine model are represented, the subscript u represents the number of the partition, and the expression of the interface can be expressed as:
χ u ={F u [x s] T +g u ,,0} (6)
wherein F is u And g u Is an interface coefficient matrix.
As shown in FIG. 3, in Z dd Visual partition indications are given for the examples. When the parameters of the power grid are determined, the port voltage can be determined according to the active and reactive power flow, s is taken to be 5-15Hz, P VSC At 0-25kW, Q VSC Between 0 and 10kVar as a data set. The segmented affine partitioning result is shown in fig. 3, and the hierarchical clustering algorithm divides the sample space into 4 pieces, and the interface coefficient matrix of each subspace is obtained according to SVC.
3) Affine sub-model parameter estimation
Based on the data in the partition of step 2), the sub-model parameter beta is identified by utilizing a parameter estimation method u . After decomposing the dataset according to step 1) and clustering the partitions according to step 2), the sub-partitions are then partitionedThe linearity of the internal data is high, and a first-order linear expression fitting can be adopted. In Z dd For example, its piecewise affine model is expressed as:
wherein beta is u =[β u,1 β u,2 β u,3 β u,4 β u,5 ]Coefficient parameter of the u-th affine sub-model, χ u And the U state variable partition space is represented, and U is the total number of partitions in the operation point and the full frequency domain space.
Realizing parameter beta in (7) based on least square method u Is a single-chip microcomputer. For the (u) th χ u The v-th sample point x within the partition u,v Defining an error distance as follows:
where v is the sample point number. By making J u The sum of squares of the distances from each sample point to the fitting equation is minimum, and the optimal affine sub-model parameter beta is obtained u
Each partition executes least square fitting, and a segmented affine impedance model of the VSC under the full working condition and the full frequency band can be obtained, which is expressed as follows:
wherein the VSCThe other three terms of the impedance matrix are equally available from (7).
And establishing a piecewise affine impedance model about the operation working points x and s for the VSC, converting the high-order nonlinear model into a partitioned first-order piecewise affine model, and greatly reducing the impedance order of the VSC. In practical application, the port characteristic of the VSC can be obtained according to the load flow operation, and then the partition submodel is searched to obtain a low-order impedance expression.
When the VSCs are connected, each VSC impedance model is built based on a dq coordinate system oriented by the voltage of the self-connected point. Because of the influence of the current collecting circuit, the voltages of the grid connection points are different, and the grid connection points cannot be directly connected to form an impedance network. The multi-machine impedance model is built by transforming each VSC impedance model into a unified dq coordinate system. The multi-machine VSC grid-connected structure is shown in fig. 4, wherein grid nodes are used as reference nodes, and the rest VSC nodes are used as PQ nodes. The operating point x of each VSC is obtained through load flow calculation, and meanwhile, the angle difference theta between the VSC node and the reference node can also be obtained VSC,k
According to (10), the impedance model of the kth VSC transformed into the unified dq coordinate system is:
wherein x is VSC,k Is an operating point state variable, T, of the kth VSC defined according to equation (2) dq,k Is defined as follows:
the line impedance and the output impedance of the VSC are adopted for series-parallel connection to obtain the aggregate impedance Z of the multi-VSC field farm Finally, a multi-VSC segmented affine impedance model can be obtained,
wherein x is farm =[x VSC,1 ,…,x VSC,k ,…,x VSC,K ] (14)
The impedance characteristics are accurately reflected according to x and s, so that the effectiveness of actual operation is greatly improved.
In a multi-VSC application, the impedance characteristics of each VSC may directly determine the low-order impedance expression based on the port characteristics. The problem that when the working condition changes, the high-order impedance of each VSC needs to be recalculated is avoided. And as the number of VSCs becomes larger, the advantage of the piecewise affine model is more obvious, so that the computational complexity can be greatly reduced.
The key to constructing a stability domain is to quickly determine a stability boundary, which consists of a series of operating points at critical steady state. Therefore, the embodiment provides a double-layer optimization model for quickly solving the boundary points of the stable domain, so that the construction efficiency and accuracy of the boundary of the small-interference stable domain of the VSC system can be improved.
As shown in fig. 5, the VSC small disturbance stability domain is surrounded by a series of discrete operating condition critical points (black dots) on the boundary. And judging the stability of each working condition point according to the generalized Nyquist criterion. VSC grid-connection stability can be determined by analyzing whether the return rate matrix L(s) satisfies the generalized nyquist criterion: on the complex plane, when two characteristic roots lambda of L(s) 1 ,λ 2 When none of the trajectory curves of (1, 0) is enclosed, the system is stable; otherwise, the system is unstable. Wherein the recovery matrix is expressed as:
wherein the equivalent impedance at the grid side is denoted as Z grid
In fig. 5 d represents the power limit for safe and stable operation in the power increase direction α. Solving the stability domain boundary problem may translate into solving a critical stable operating point for each power increase direction.
Aiming at the problems, the embodiment provides a double-layer optimization solving model which is divided into an inner layer model and an outer layer model: solving the stability of each working point by the inner layer model based on a generalized Nyquist criterion; and solving the power limit which can stably run under the power increasing direction by the outer layer model. The inner layer model needs to determine the operation condition for solving, and the power increase limit of the outer layer model is limited by the stability margin of the inner layer model.
1) Inner layer optimization model
g RE For when the imaginary part of the characteristic root trace is equal to 0, i.e. Im (lambda) 1,2 (s,P VSC ,Q VSC ) For example, =0), the abscissa of the smallest intersection point on the real axis. When g RE When the total weight of the total weight is greater than-1, the system is stable, g RE And the system is critically stable when being equal to-1. Otherwise, the system is unstable. The decision variable of the inner layer model is P VSC ,Q VSC And s, the optimization target is according to the characteristic root lambda 1 ,λ 2 Solving g by trajectory curve of (2) RE . The inner layer optimization problem thus constructed is:
wherein f (P VSC ,Q VSC ) =0 satisfies the tide equation for the running operating point; p (P) min And P max The upper and lower limits of active force of the VSC; q (Q) min And Q max The reactive output upper and lower limits of the VSC are respectively set; v rate The rated voltage is output to the VSC port, and the VSC is required to meet the condition that the port voltage is not out of limit during operation.
According to the optimization target g RE Defining stability margin M of a system G
M G (s,P VSC ,Q VSC )=-20log(|g RE (s,P VSC ,Q VSC )|) (17)
2) Outer layer optimization model
The optimization goal of the stability domain boundary outer layer optimization model is the maximum power limit d along a certain power increase direction, and the decision variable is P VSC And Q VSC . The outer layer optimization problem thus constructed is:
wherein M is G Is coming fromStability margin constraints solved from the inner layer model. According to equation (18), after the power growth direction is determined, the problem of solving the boundary point of the critical stable domain can be converted into the maximum active and reactive output under the condition that the solution meets the constraint condition.
In solving the double-layer optimization problem, the inner layer and the outer layer are mutually limited, which greatly increases the calculation time. The section proposes to construct an improved generalized Nyquist criterion suitable for double-layer optimization model calculation, which mainly solves the problem of long solving time of an inner-layer model.
As shown in fig. 6, an improved generalized nyquist stabilization criterion is proposed, delineating forbidden viable domains. And a rectangular area with a real axis less than xi and a height epsilon taking the real axis as a center on the complex plane is shown as the following formula:
compared with the Middlebrook criterion and the GMPM criterion, the criterion method provided by the embodiment has lower conservation in stability judgment and is more suitable for practical application. When ε=0, the forbidden feasible region becomes the forbidden region of generalized Nyquist. The improved nyquist criterion is shown in formula (20):
when the nyquist curve passes through the red region, it is noted as-1, indicating instability. Otherwise, it is denoted as 1, indicating stability.
Latin hypercube sampling is carried out on s, and g is avoided by judging whether sampling points are located in forbidden domains or not RE Is a solution to the problem. And the symbol operation is converted into the numerical value calculation by utilizing a sampling point mode, so that the calculation efficiency can be remarkably improved.
Introducing an improved generalized Nyquist criterion according to the double-layer optimization model and the inner-layer optimization model, and introducing M label (P VSC ,Q VSC ) Substituting the constraints into the outer layer optimization model. Thereby changing the inner layer optimizing model into the outer layer optimizing modelNonlinear constraint of the form, formula (18) becomes the following formula:
the complex method is a nonlinear global optimization algorithm and does not need an explicit analytical expression of an optimization target or constraint condition. In solving the problem of equation (21), the complex method may better incorporate equation (20) into the constraint. The algorithm flow chart shown in fig. 7 mainly takes n points, and finds the worst solution and the best solution of the target result during iteration. The worst solution is then mapped to the center of the remaining n-1 points. If the mapped target result does not meet the limit of the optimization problem or the target result is worse, the mapping distance is reduced. When the errors of the n points are all iteratively converged to be smaller than the set threshold value, the iteration is stopped. n is typically 10 times the number of variables.
P with a constant power growth direction in the application of the present embodiment VSC And Q VSC Is fixed, thus taking the variable P in the complex method VSC And n=10. The principle of iterative solution of the complex method shown in FIG. 8, P w Representing the worst solution in this iteration, P b Represents the optimal solution, P c Representing the centroid, calculated according to the following formula:
P map is P w According to P c The mapped points are calculated according to the following equation:
P map =P c +γ(P c -P w ) (23)
where γ represents a mapping coefficient, and is set to 1.3 in this embodiment.
For P in 10 points in each iteration w And mapping, wherein when the 10 points are subjected to iterative mapping and all meet the set threshold range, iteration is stopped, and an optimal solution is obtained.
As shown in FIG. 9, in the construction of VWhen SC stabilizes a domain boundary, a series of discrete points on the boundary are required, each of which can be found by the complex method. The search is performed by a step size of delta alpha over a range of angles alpha (-90 deg., 90 deg.). Where Δα is searched in initially large angular increments. As indicated by blue arrows, each two adjacent discrete points are calculated at alpha i Boundary point (P) in +Δα/2 power increase direction check ,Q check ) As an error detection point. The linearization analytical formula for obtaining the boundary according to the ith and the (i+1) th points on the boundary is as follows:
calculation (P) check ,Q check ) Distance d to line segment shown in (23) error The method comprises the following steps:
when 0 is<d error <d limit When the boundary line segment is considered to meet the set boundary precision; when d error >d limit At this time, the angle increment Δα=Δα/2 is adjusted, and then d is calculated error Until it meets the boundary error accuracy.
Error of the j-th line segment as shown in fig. 9. When d error <At 0, the boundary of the stable region formed at this time has a small unstable region inside. At this time, an improved generalized Nyquist stability criterion is utilized for the inner layer optimization model. By increasing the rectangular forbidden domain shown in FIG. 6, i.e., increasing the values of ε and ζ, the stable domain is made more conservative, up to 0 <d error <d limit The occurrence of unstable small areas is avoided.
As shown in fig. 10, specific steps of an online rapid construction method for a stability domain boundary of a VSC piecewise affine impedance model are given: first, data is initialized, and a starting angle and an increment thereof are set. And then solving boundary points based on a complex shape method, and performing error detection between every two points. And correcting the points which are not satisfied by the errors. And finally, obtaining an analytic expression by segment fitting to obtain a complete boundary. By reasonably changing the growth direction of the search power, the stable domain can be ensured to have higher calculation efficiency and more accurate boundary, and the online construction is completed.
Calculation case analysis
The single-machine VSC simulation model shown in the figure 1 is built, and compared with the existing method from the two angles of accuracy and calculation efficiency of single-machine VSC stable domain construction respectively; firstly, comparing a point-by-point traversal method with a double-layer optimization method proposed by the embodiment, and comparing the boundary differences of stable domains under different short circuit ratios (Short circuit ratio, SCR); and when scr=1.7, stability domain boundary validity verification is performed. Secondly, comparing the calculation time of different methods, verifying the stability domain construction method based on the VSC segmented affine model has high calculation efficiency.
The method and the point-by-point traversal method provided by the embodiment are adopted to establish the stable domains of the active power and the reactive power of the VSC. As shown in fig. 11, the boundary errors are compared in three cases of scr=1.4, scr=1.7, and scr=2.0, respectively. As can be seen, the point-by-point traversal method and the method proposed in this example yields consistent boundaries with minimal errors. Therefore, the method provided by the embodiment can accurately search the stability domain boundary. By comparing the stability domain boundaries under different SCRs, the smaller the grid SCR, the smaller the stability domain the system can operate. For a given example, the change rule of active power and reactive power is observed, which shows that the VSC under the weak current network can appear under the unstable condition along with the increase of active power, and the stability of the system can be improved by properly increasing reactive power.
Three operating points, operating 1, are shown in FIG. 11: p (P) VSC =22kW,Q VSC =0 kVar; working condition 2: p (P) VSC =23kW,Q VSC =0 kVar; working condition 3: p (P) VSC =23kW,Q VSC =2kvar. As shown in fig. 12, the stability under these three conditions was compared in the simulation. Before t is less than 5s, the system is operated under the working condition 1 and is in stable operation. The system increases the active power output at 5 s. At 6.5s the system is at regime 2 and the system begins to oscillate at 9Hz, with a subsequent gradual increase in oscillation amplitude. Reactive output increase at 7.5sUp to 2kVar, the system is at regime 3. The oscillation amplitude then begins to decrease and the system gradually resumes steady state operation. The accuracy of the boundary of FIG. 11 is verified by the time domain simulation result, and in practical application, the operation condition can be adjusted according to the stability domain, so that the stable operation of the system is ensured.
Aiming at four methods of a point-by-point traversal method, a prediction correction method, a double-layer optimization method of a VSC full-order model and a double-layer optimization method of a VSC segmented affine model, the search efficiency of a comparison boundary is ensured under the same search precision. The calculated time comparisons for the four methods are shown in Table 1:
TABLE 1 grid-connected stability Domain boundary calculation time comparison
The boundary search method has an advantage in the calculation speed of each operating point over the point-by-point traversal method and the prediction correction method. And in the number of working condition points to be calculated, the traversal method is the most, the prediction correction is less, and the embodiment has the advantage in calculation speed by the least calculation of the optimization method. The method 4 greatly improves the speed of solving the impedance during calculation by adopting the piecewise affine model, improves the calculation efficiency by more than 2 times compared with the third method, and proves the effectiveness of adopting the piecewise affine model. The calculation efficiency (inverse proportion of calculation time) of the comparison traversal method and the prediction correction method in the method proposed by the embodiment is 54 and 6.45, and the calculation time meets the requirement of on-line operation.
The method of the embodiment supports the online construction of the stable domains of a plurality of VSCs. And building a four-machine VSC simulation model according to the VSC parallel structure shown in FIG. 4. Stability between VSCs is analyzed under a weak current network, and for convenience and intuitionistic presentation, the stability domain of active power between the branch 1 and the branch 2 is focused in verification of the embodiment. Setting the reactive power output of 4 VSCs to 0, fixing the active power output of the third VSC to 23kW, and the active power output of the fourth VSC to 20kW. As shown in fig. 13, P at scr=1.6, scr=1.7, and scr=1.8 was compared VSC1 And P VSC2 Is a stable domain of operation of (a). The smaller the SCR, the smaller the operational stability domain. Three working conditions are set, namely, working condition 1: p (P) VSC1 =14kW,P VSC2 =20 kW; working condition 2: p (P) VSC1 =16kW,P VSC2 =20 kW; working condition 3: p (P) VSC1 =16kW,P VSC2 =17kW。
As shown in FIG. 14, the accuracy of the stability domain boundary was verified by simulation. The system is in a steady state at condition 1, the active power of the VSC connected to branch 1 begins to increase at 5s, condition 2 is reached at 7.5s, and the system begins to generate an oscillation frequency of 8 Hz. And at 8s, the VSC connected through the branch circuit 2 reduces the power output to the working condition 3, and the system gradually recovers to be stable. The time domain simulation result verifies the effectiveness and accuracy of the method in the multi-machine VSC stability domain structure. In actual operation, a stable domain among the multi-machine interconnected VSCs can be constructed, and the output of each VSC is distributed through field control, so that the system is in a stable state. If oscillation occurs, the output of each VSC can be reasonably regulated and controlled to enable the system to restrain the oscillation.
As shown in table 2, the computational efficiency of the four-machine VSC stability domain boundary configuration was compared with method 3 and method 4. The efficiency ratio is calculated to be 5.98 by a double-layer optimization method based on the segmented affine impedance model and the impedance full-order model. The necessity of a segmented affine model to be applied to the stable domain boundary construction is demonstrated. The application of the piecewise affine impedance model can increase the computational efficiency by a factor of 2 compared to a single VSC stability domain configuration, indicating that the piecewise affine impedance model has more significant advantages in a larger scale system.
Table 2 4 VSC grid-connected stability area boundary calculation time comparison
The embodiment establishes a VSC impedance piecewise affine model based on piecewise affine theory; providing a method for establishing a data set and a partition for the VSC small disturbance model, and ensuring the searching efficiency of affine coefficients and the accuracy of the affine model; and establishing a multi-machine VSC segmented affine model, retaining the frequency domain impedance information of the original system, and greatly reducing the model order.
The embodiment provides a construction method of a boundary of a VSC stability domain, a double-layer optimization model for solving boundary points of the VSC stability domain is constructed, and the optimization model is solved based on an improved generalized Nyquist stability criterion and a complex method; and then searching boundary points by changing the solving direction of the double-layer optimization model and performing segmentation fitting, so that the accuracy of the boundary of the stable domain is ensured and the construction efficiency is improved.
The embodiment verifies the accuracy of the piecewise affine model by comparing the errors with the impedance full-order model. And the accuracy and the effectiveness of the method in the aspect of constructing the stable domain are verified through single VSC and multi-VSC simulation. Compared with the existing method, the method in the embodiment can remarkably improve the calculation efficiency.
Example two
The second embodiment of the invention introduces a voltage source converter stability domain construction system based on piecewise affine.
A piecewise affine-based voltage source converter stability domain construction system comprising:
an acquisition module configured to acquire an impedance model of the voltage source converter;
a building block configured to build a segmented affine impedance model of the voltage source converter based on the segmented affine and the acquired impedance model;
the solving module is configured to solve the constructed piecewise affine impedance model to complete the construction of the stable domain of the voltage source converter;
in the process of solving the constructed segmented affine impedance model, a double-layer optimization solving model is adopted, an inner layer model in the double-layer optimization solving model is combined with the constructed segmented affine impedance model and a Nyquist criterion to judge the stability of the working point in the small interference stable domain of the voltage source converter, the inner layer model is used as the nonlinear constraint of an outer layer model in the double-layer optimization solving model, so that the solving of the model is completed, and the construction of the stable domain of the voltage source converter is realized.
The detailed steps are the same as those of the voltage source converter stability domain construction method based on piecewise affine provided in the first embodiment, and are not described herein again.
Example III
The third embodiment of the invention provides a computer readable storage medium.
A computer readable storage medium having stored thereon a program which when executed by a processor performs the steps in a method for piecewise affine-based voltage source converter stability domain construction according to an embodiment of the present invention.
The detailed steps are the same as those of the voltage source converter stability domain construction method based on piecewise affine provided in the first embodiment, and are not described herein again.
Example IV
The fourth embodiment of the invention provides electronic equipment.
An electronic device comprising a memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the steps in a method for constructing a voltage source converter stability domain based on piecewise affine according to an embodiment of the invention when the program is executed.
The detailed steps are the same as those of the voltage source converter stability domain construction method based on piecewise affine provided in the first embodiment, and are not described herein again.
The above description is only a preferred embodiment of the present embodiment, and is not intended to limit the present embodiment, and various modifications and variations can be made to the present embodiment by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment should be included in the protection scope of the present embodiment.

Claims (5)

1.一种基于分段仿射的电压源变流器稳定域构造方法,其特征在于,包括:1. A method for constructing the stable domain of a voltage source converter based on piecewise affine, which is characterized by including: 获取电压源变流器的阻抗模型;Obtain the impedance model of the voltage source converter; 基于分段仿射和所获取的阻抗模型,构建电压源变流器的分段仿射阻抗模型;Based on the piecewise affine and the obtained impedance model, a piecewise affine impedance model of the voltage source converter is constructed; 求解所构建的分段仿射阻抗模型,完成电压源变流器稳定域的构造;Solve the constructed piecewise affine impedance model to complete the construction of the stable domain of the voltage source converter; 其中,在求解所构建的分段仿射阻抗模型的过程中,采用双层优化求解模型,双层优化求解模型中的内层模型结合所构建的分段仿射阻抗模型和奈奎斯特判据判断电压源变流器小干扰稳定域中工况点的稳定性,将内层模型作为双层优化求解模型中的外层模型的非线性约束,完成模型的求解,实现电压源变流器稳定域的构建;Among them, in the process of solving the constructed piecewise affine impedance model, a double-layer optimization solving model is used. The inner-layer model in the double-layer optimization solving model combines the constructed piecewise affine impedance model and the Nyquist criterion. Based on the judgment of the stability of the operating point in the small interference stable domain of the voltage source converter, the inner model is used as the nonlinear constraint of the outer model in the double-layer optimization solution model to complete the solution of the model and realize the voltage source converter. Construction of stable domains; 所述基于分段仿射和所获取的阻抗模型,构建电压源变流器的分段仿射阻抗模型;具体为:Based on the segmented affine and the obtained impedance model, a segmented affine impedance model of the voltage source converter is constructed; specifically: 电压源变流器模型主要包含变流器电流环控制和锁相环控制,建立其分析小扰动稳定的阻抗模型;在dq坐标系下,VSC阻抗的二维矩阵如式:The voltage source converter model mainly includes converter current loop control and phase-locked loop control, and an impedance model that analyzes small disturbance stability is established. In the dq coordinate system, the two-dimensional matrix of VSC impedance is as follows: 其中,PVSC和QVSC是VSC输出的有功和无功功率,vs表示并网点电压;在频域内s=j2πf为复数状态变量,其中f为频率;Among them, P VSC and Q VSC are the active and reactive power output by VSC, v s represents the grid connection point voltage; in the frequency domain, s = j2πf is a complex state variable, where f is the frequency; 电压源变流器阻抗特性受到运行工作点的影响,跟有功,无功和端口电压有关;为了构建更适用于实际应用的电压源变流器分段仿射模型,将运行工作点状态变量定义为:The impedance characteristics of the voltage source converter are affected by the operating operating point, which is related to the active power, reactive power and port voltage; in order to build a piecewise affine model of the voltage source converter that is more suitable for practical applications, the operating operating point state variables are defined for: x=[PVSC QVSC vs] (2)x=[P VSC Q VSC v s ] (2) 基于分段仿射理论,将关于运行工作点x和s的复杂高阶电压源变流器阻抗模型,转化为分段低阶线性子模型;分段仿射具体包含三个步骤:构造电压源变流器阻抗数据集、根据聚类算法构建数据集分区和基于最小二乘法实现仿射子模型的参数估计;Based on the piecewise affine theory, the complex high-order voltage source converter impedance model about the operating operating points x and s is transformed into a piecewise low-order linear sub-model; the piecewise affine specifically includes three steps: constructing the voltage source Converter impedance data set, constructing data set partitions based on clustering algorithm and realizing parameter estimation of affine sub-model based on least squares method; 步骤一:阻抗数据集构造方法Step 1: Impedance data set construction method 由于输入变量具有不同的单位,且范围不同,对所有输入变量x进行归一化处理;在可运行的范围内,计算不同x和s下所对应的电压源变流器输出阻抗,构造样本数据集;Since the input variables have different units and different ranges, all input variables x are normalized; within the operable range, the output impedance of the voltage source converter corresponding to different x and s is calculated to construct sample data set; 步骤二:数据聚类及分区空间求解Step 2: Data clustering and partition space solution 在步骤一得到的数据集包含大量的样本点,采用数据聚类的方法,对样本空间划分;一个数据集空间可以划分为多个不相交的子空间,每个子空间可以用低阶线性解析式表示;The data set obtained in step 1 contains a large number of sample points. The sample space is divided using the data clustering method. A data set space can be divided into multiple disjoint subspaces, and each subspace can be divided into a low-order linear analytical formula. express; 步骤三:仿射子模型参数估计Step 3: Affine sub-model parameter estimation 基于步骤二分区内的数据,利用参数估计方法辨识子模型参数βu;根据步骤一分解数据集和步骤二聚类分区后,此时子分区内部的数据线性度较高,可以采用一阶线性表达式拟合;Zdd分段仿射模型表示为:Based on the data in the second partition, use the parameter estimation method to identify the sub-model parameters β u ; after decomposing the data set according to step one and clustering the partitions in step two, the linearity of the data within the sub-partition is relatively high at this time, and first-order linearity can be used Expression fitting; Z dd piecewise affine model is expressed as: 其中,βu=[βu,1 βu,2 βu,3 βu,4 βu,5]为第u个仿射子模型的系数参数,χu表示第u个状态变量分区空间,U为运行点和全频域空间中分区的总个数;Among them, β u =[β u,1 β u,2 β u,3 β u,4 β u,5 ] is the coefficient parameter of the u-th affine sub-model, χ u represents the u-th state variable partition space, U is the operating point and the total number of partitions in the full frequency domain space; 每个分区执行最小二乘法拟合,可以得到电压源变流器在全工况和全频段下的分段仿射阻抗模型,表示为:By performing least squares fitting on each partition, the segmented affine impedance model of the voltage source converter under all operating conditions and all frequency bands can be obtained, which is expressed as: 其中,电压源变流器的由(7)得到;Among them, the voltage source converter Obtained from (7); 根据(10),第k台电压源变流器变换到统一dq坐标系下的阻抗模型为:According to (10), the impedance model of the k-th voltage source converter transformed into the unified dq coordinate system is: 其中,xVSC,k是根据公式(2)定义的第k台电压源变流器的运行工作点状态变量,Tdq,k的定义如下:Among them, x VSC,k is the operating point state variable of the k-th voltage source converter defined according to formula (2), and T dq,k is defined as follows: 其中,θVSC,k为电压源变流器节点与参考节点的角度差;Among them, θ VSC,k is the angle difference between the voltage source converter node and the reference node; 采用线路阻抗和电压源变流器的输出阻抗进行串并联,得到多电压源变流器场的聚合阻抗Zfarm,最终得到多电压源变流器的分段仿射阻抗模型,The line impedance and the output impedance of the voltage source converter are connected in series and parallel to obtain the aggregate impedance Z farm of the multi-voltage source converter field, and finally the segmented affine impedance model of the multi-voltage source converter is obtained. 其中,xfarm=[xVSC,1,…,xVSC,k,…,xVSC,K] (14)Among them, x farm =[x VSC,1 ,…,x VSC,k ,…,x VSC,K ] (14) 所述求解所构建的分段仿射阻抗模型,完成电压源变流器稳定域的构造;具体为:The piecewise affine impedance model constructed by the above solution completes the construction of the stable domain of the voltage source converter; specifically: 构造稳定域的关键在于快速确定稳定边界,其由一系列处于临界稳定状态的工况点构成;采用快速求解稳定域边界点的双层优化模型,提高电压源变流器系统小干扰稳定域边界的构造效率和准确性;The key to constructing the stability domain is to quickly determine the stability boundary, which consists of a series of operating points in a critical stable state; a double-layer optimization model that quickly solves the stability domain boundary points is used to improve the small-interference stability domain boundary of the voltage source converter system. construction efficiency and accuracy; 电压源变流器小干扰稳定域由边界上一系列离散工况临界点围成;每个工况点的稳定性,根据广义奈奎斯特判据进行判断;电压源变流器并网稳定性可以通过分析回率矩阵L(s)是否满足广义奈奎斯特判据:在复平面上,当L(s)的两个特征根λ1,λ2的轨迹曲线都不包围(-1,0)时,系统稳定;否则,系统不稳定;其中回率矩阵表示为下式:The small interference stability domain of the voltage source converter is surrounded by a series of discrete working condition critical points on the boundary; the stability of each working condition point is judged according to the generalized Nyquist criterion; the voltage source converter is stable when connected to the grid. The property can be analyzed by analyzing whether the return matrix L(s) satisfies the generalized Nyquist criterion: on the complex plane, when the trajectory curves of the two characteristic roots λ 1 and λ 2 of L(s) do not surround (-1 ,0), the system is stable; otherwise, the system is unstable; where the rate matrix is expressed as follows: 其中,电网侧的等效阻抗表示为ZgridAmong them, the equivalent impedance on the grid side is expressed as Z grid ; d表示功率增长方向α下,安全稳定运行的功率极限;求解稳定域边界问题可以转化为求解每一个功率增长方向下的临界稳定工作点;d represents the power limit for safe and stable operation in the power growth direction α; solving the stability domain boundary problem can be transformed into solving the critical stable operating point in each power growth direction; 采用双层优化求解模型,其分为内层模型和外层模型:内层模型基于广义奈奎斯特判据求解每个工况点的稳定性;外层模型则求解功率增长方向下可以稳定运行的功率极限;内层模型需确定运行工况进行求解,而外层模型的功率增长极限受到内层模型稳定裕度的制约;A two-layer optimization solution model is used, which is divided into an inner layer model and an outer layer model: the inner layer model solves the stability of each operating point based on the generalized Nyquist criterion; the outer layer model solves the problem of stability in the power growth direction. The operating power limit; the inner model needs to determine the operating conditions for solution, while the power growth limit of the outer model is restricted by the stability margin of the inner model; 1)内层优化模型1) Inner layer optimization model gRE为当特征根轨迹曲线虚部等于0时,即Im(λ1,2(s,PVSC,QVSC))=0,求得的实轴上的最小交点的横坐标;当gRE大于-1时,系统稳定,gRE等于-1时系统临界稳定;否则,系统不稳定;内层模型决策变量为PVSC,QVSC和s,优化目标为根据特征根λ1,λ2的轨迹曲线求解gRE;由此构建的内层优化问题为:g RE is the abscissa of the minimum intersection point on the real axis obtained when the imaginary part of the characteristic root locus curve is equal to 0, that is, Im(λ 1,2 (s,P VSC ,Q VSC ))=0; when g RE When it is greater than -1, the system is stable. When g RE is equal to -1, the system is critically stable; otherwise, the system is unstable; the inner model decision variables are P VSC , Q VSC and s, and the optimization goal is based on the characteristic roots λ 1 and λ 2 . The trajectory curve is solved for g RE ; the inner optimization problem constructed thus is: 其中,f(PVSC,QVSC)=0为运行工作点满足潮流方程;Pmin和Pmax为电压源变流器的有功出力上下限;Qmin和Qmax别为电压源变流器的无功出力上下限;vrate为电压源变流器端口输出额定电压,电压源变流器在运行时要满足端口电压不越限;Among them, f (P VSC , Q VSC ) = 0 means that the operating operating point satisfies the power flow equation; P min and P max are the upper and lower limits of the active output of the voltage source converter; Q min and Q max are respectively the upper and lower limits of the voltage source converter. The upper and lower limits of reactive power output; v rate is the rated output voltage of the voltage source converter port. When the voltage source converter is running, the port voltage must not exceed the limit; 根据优化目标gRE定义系统的稳定裕度MGDefine the stability margin M G of the system according to the optimization objective g RE : MG(s,PVSC,QVSC)=-20log(|gRE(s,PVSC,QVSC)|) (17)M G (s,P VSC ,Q VSC )=-20log(|g RE (s,P VSC ,Q VSC )|) (17) 2)外层优化模型2) Outer layer optimization model 稳定域边界外层优化模型的优化目标为沿某一功率增长方向下的最大功率极限d,决策变量是PVSC和QVSC;由此构建的外层优化问题为:The optimization goal of the outer layer optimization model at the boundary of the stable domain is the maximum power limit d along a certain power growth direction, and the decision variables are P VSC and Q VSC ; the outer layer optimization problem constructed thus is: 其中,MG是来自内层模型求解的稳定裕度约束;α为功率增长方向;根据式(18),在功率增长方向确定后,可将求取临界稳定域边界点问题转化为求解满足约束条件下最大有功无功输出;Among them, M G is the stability margin constraint from the inner model solution; α is the power growth direction; according to equation (18), after the power growth direction is determined, the problem of finding the boundary point of the critical stability region can be transformed into solving the problem of satisfying the constraints Maximum active and reactive power output under the conditions; 提出改进的广义奈奎斯特稳定判据,划定禁止可行域;复平面上实轴小于ξ,以实轴为中心高度为ε的矩形区域,如下式所示:An improved generalized Nyquist stability criterion is proposed to delineate the forbidden feasible region; a rectangular area with the real axis smaller than ξ on the complex plane and with the real axis as the center and height ε, as shown in the following formula: 当ε=0时,禁止可行域变为广义奈奎斯特的禁止域;记改进的奈奎斯特判据如式(20)所示:When ε=0, the forbidden feasible region becomes the forbidden region of generalized Nyquist; the improved Nyquist criterion is expressed as Equation (20): 当奈奎斯特曲线经过红色区域记为-1,表示不稳定;否则,记为1,表示稳定;When the Nyquist curve passes through the red area, it is recorded as -1, indicating instability; otherwise, it is recorded as 1, indicating stability; 对s进行拉丁超立方采样,通过判断采样点是否位于禁止域的方式,避免gRE的求解过程;Perform Latin hypercube sampling on s, and avoid the solution process of g RE by judging whether the sampling point is in the forbidden region; 根据上述的双层优化模型和在内层优化模型引入改进广义奈奎斯特判据,将Mlabel(PVSC,QVSC)作为约束代入外层优化模型;从而将内层优化模型变为外层优化模型的非线性约束,式(18)变为下式:According to the above two-layer optimization model and the inner-layer optimization model, the improved generalized Nyquist criterion is introduced, and M label (P VSC ,Q VSC ) is substituted into the outer-layer optimization model as a constraint; thus the inner-layer optimization model becomes the outer-layer optimization model. For the nonlinear constraints of the layer optimization model, equation (18) becomes the following equation: 其中,PVSC为电压源变流器的有功出力,QVSC为电压源变流器的无功出力;f(PVSC,QVSC)=0为运行工作点满足潮流方程;Pmin和Pmax分别为电压源变流器的有功出力上、下限;Qmin和Qmax分别为电压源变流器的无功出力上、下限;vrate为电压源变流器端口输出额定电压,vs电压源变流器端口实际输出电压;α为功率增长方向;Among them, P VSC is the active power output of the voltage source converter, Q VSC is the reactive power output of the voltage source converter; f (P VSC , Q VSC ) = 0 means that the operating operating point satisfies the power flow equation; P min and P max are the upper and lower limits of the active power output of the voltage source converter respectively; Q min and Q max are the upper and lower limits of the reactive power output of the voltage source converter respectively; v rate is the rated output voltage of the voltage source converter port, and v s voltage The actual output voltage of the source converter port; α is the power growth direction; 复合形法是非线性全局优化算法,不需要优化目标或者约束条件的显式解析表达式;在求解式(21)问题中,复合形法更好地将式(20)加入到约束条件中;取n个点,迭代时,找到其中目标结果最差解和最优解;然后将最差解向剩余n-1个点的中心进行映射;假若映射后的目标结果不满足优化问题的限制或者目标结果更差,则减小映射距离;当n个点的误差都迭代收敛到小于设定阈值,则迭代停止;The compound form method is a nonlinear global optimization algorithm that does not require explicit analytical expressions of optimization goals or constraints; in solving the problem of equation (21), the compound form method better adds equation (20) to the constraints; take n points, during iteration, find the worst solution and the optimal solution of the target result; then map the worst solution to the center of the remaining n-1 points; if the mapped target result does not meet the constraints or goals of the optimization problem If the result is worse, reduce the mapping distance; when the errors of n points iteratively converge to less than the set threshold, the iteration stops; 当功率增长方向一定时,PVSC和QVSC的关系是固定的,Pw表示这一次迭代中最差解,Pb表示最优解,Pc表示形心,根据下式计算:When the power growth direction is constant, the relationship between P VSC and Q VSC is fixed. P w represents the worst solution in this iteration, P b represents the optimal solution, and P c represents the centroid. It is calculated according to the following formula: Pmap是Pw根据Pc映射后的点,根据下式计算:P map is the point after P w is mapped according to P c , and is calculated according to the following formula: Pmap=Pc+γ(Pc-Pw) (23)P map =P c +γ(P c -P w ) (23) 其中,γ表示映射系数;Among them, γ represents the mapping coefficient; 在每次迭代中对n个点中的Pw进行映射,当n个点经过迭代映射都满足在设定阈值范围内时,迭代停止,得到最优解;In each iteration, P w among n points are mapped. When all n points are within the set threshold range after iterative mapping, the iteration stops and the optimal solution is obtained; 在构建电压源变流器稳定域边界时,需要一系列边界上离散的点,每一个点可以通过复合形法求取;通过角度α在(-90°,90°)范围内按照Δα的步长进行搜索;其中Δα以初始较大的角度增量搜索;每相邻的两个离散点,计算在αi+Δα/2功率增长方向上的边界点(Pcheck,Qcheck),作为误差检测点;根据边界上第i和第i+1个点求得边界的线性化解析式为:When constructing the boundary of the stable domain of the voltage source converter, a series of discrete points on the boundary are needed. Each point can be obtained by the composite shape method; through the angle α in the range of (-90°, 90°) according to the step of Δα The search is performed for a long time; Δα is searched with an initial larger angle increment; for each two adjacent discrete points, the boundary point (P check , Q check ) in the power growth direction of α i +Δα/2 is calculated as an error Detection point; the linearized analytical formula to obtain the boundary based on the i-th and i+1 points on the boundary is: 计算(Pcheck,Qcheck)到式(23)所示线段距离derror为:Calculate the distance d error from (P check , Q check ) to the line segment shown in equation (23): 当0<derror<dlimit时,则认为第i条边界线段满足设定的边界精度;当derror>dlimit时,调整角度增量Δα=Δα/2,然后计算derror,直至其满足边界误差精度;When 0<d error <d limit , the i-th boundary line segment is considered to meet the set boundary accuracy; when d error >d limit , adjust the angle increment Δα=Δα/2, and then calculate d error until it satisfies Boundary error accuracy; 第j个线段的误差:当derror<0时,此时构成的稳定域边界,内部具有不稳定的小区域;在内层优化模型,利用改进的广义奈奎斯特稳定判据;通过增大矩形禁止域,即增大ε和ξ的值,使稳定域更加保守,直至0<derror<dlimit,避免不稳定小区域的出现;Error of the jth line segment: When d error <0, the boundary of the stable domain formed at this time has a small unstable area inside; the inner layer optimization model uses the improved generalized Nyquist stability criterion; by increasing Large rectangular forbidden area, that is, increasing the values of ε and ξ, makes the stable area more conservative until 0<d error <d limit , avoiding the appearance of unstable small areas; 给出电压源变流器分段仿射阻抗模型稳定域边界在线快速构造方法具体步骤:首先数据初始化,设定起始角度及其增量;然后基于复合形法求解边界点,并在每两个点中间进行误差检测;对误差不满足的点进行校正;最后分段拟合获取解析式,得到完整边界;通过合理改变搜索功率增长方向,可以保证稳定域以更高的计算效率,更准确的边界,完成在线构造。The specific steps of the online rapid construction method of the stable domain boundary of the voltage source converter segmented affine impedance model are given: first, data is initialized, and the starting angle and its increment are set; then the boundary points are solved based on the composite shape method, and every two Error detection is performed between the points; points with unsatisfactory errors are corrected; finally, the analytical formula is obtained by piecewise fitting, and the complete boundary is obtained; by reasonably changing the direction of search power growth, the stable domain can be guaranteed to be more computationally efficient and more accurate The boundary is completed online. 2.如权利要求1中所述的一种基于分段仿射的电压源变流器稳定域构造方法,其特征在于,所构建的电压源变流器的分段仿射阻抗模型是基于电压源变流器自身并网点电压定向的dq坐标系;当多个电压源变流器并网时,将所构建的各个电压源变流器阻抗模型变换到同一的dq坐标系下,得到多机阻抗模型。2. A method for constructing the stable domain of a voltage source converter based on segmented affine as claimed in claim 1, characterized in that the constructed segmented affine impedance model of the voltage source converter is based on voltage The dq coordinate system of the voltage orientation of the source converter's own grid-connected point; when multiple voltage source converters are connected to the grid, transform the constructed impedance models of each voltage source converter into the same dq coordinate system to obtain the multi-machine Impedance model. 3.一种基于分段仿射的电压源变流器稳定域构造系统,基于如权利要求1-2任一项所述的一种基于分段仿射的电压源变流器稳定域构造方法,其特征在于,包括:3. A piecewise affine-based voltage source converter stable domain construction system, based on a piecewise affine-based voltage source converter stable domain construction method as described in any one of claims 1-2 , which is characterized by including: 获取模块,其被配置为获取电压源变流器的阻抗模型;an acquisition module configured to acquire an impedance model of the voltage source converter; 构建模块,其被配置为基于分段仿射和所获取的阻抗模型,构建电压源变流器的分段仿射阻抗模型;a building block configured to construct a piecewise affine impedance model of the voltage source converter based on the piecewise affine and the obtained impedance model; 求解模块,其被配置为求解所构建的分段仿射阻抗模型,完成电压源变流器稳定域的构造;A solving module configured to solve the constructed piecewise affine impedance model and complete the construction of the voltage source converter stable domain; 其中,在求解所构建的分段仿射阻抗模型的过程中,采用双层优化求解模型,双层优化求解模型中的内层模型结合所构建的分段仿射阻抗模型和奈奎斯特判据判断电压源变流器小干扰稳定域中工况点的稳定性,将内层模型作为双层优化求解模型中的外层模型的非线性约束,完成模型的求解,实现电压源变流器稳定域的构建。Among them, in the process of solving the constructed piecewise affine impedance model, a double-layer optimization solving model is used. The inner-layer model in the double-layer optimization solving model combines the constructed piecewise affine impedance model and the Nyquist criterion. Based on the judgment of the stability of the operating point in the small interference stable domain of the voltage source converter, the inner model is used as the nonlinear constraint of the outer model in the double-layer optimization solution model to complete the solution of the model and realize the voltage source converter. Construction of stable domains. 4.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现了如权利要求1-2任一项所述的基于分段仿射的电压源变流器稳定域构造方法的步骤。4. A computer-readable storage medium with a computer program stored thereon, characterized in that, when executed by a processor, the program implements the piecewise affine-based voltage source as claimed in any one of claims 1-2. Steps of the converter stability domain construction method. 5.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现了如权利要求1-2任一项所述的基于分段仿射的电压源变流器稳定域构造方法的步骤。5. An electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the program, any of claims 1-2 is implemented. The steps of the method for constructing the stable domain of a voltage source converter based on piecewise affine.
CN202311091069.5A 2023-08-28 2023-08-28 Voltage source converter stability domain construction method and system based on piecewise affine Active CN116992776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311091069.5A CN116992776B (en) 2023-08-28 2023-08-28 Voltage source converter stability domain construction method and system based on piecewise affine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311091069.5A CN116992776B (en) 2023-08-28 2023-08-28 Voltage source converter stability domain construction method and system based on piecewise affine

Publications (2)

Publication Number Publication Date
CN116992776A CN116992776A (en) 2023-11-03
CN116992776B true CN116992776B (en) 2024-03-26

Family

ID=88524774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311091069.5A Active CN116992776B (en) 2023-08-28 2023-08-28 Voltage source converter stability domain construction method and system based on piecewise affine

Country Status (1)

Country Link
CN (1) CN116992776B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050970A (en) * 2013-01-15 2013-04-17 华北电力大学 Stability analyzing and optimizing method suitable for layering and zoning of ultra-high voltage electric network
CN108681640A (en) * 2018-05-17 2018-10-19 武汉大学 A kind of hybrid simulation system, topology and emulation mode based on virtual impedance compensation
CN110601244A (en) * 2019-07-19 2019-12-20 华北电力大学(保定) Compensation control method for reducing influence of reactive power fluctuation on system stability
WO2021012298A1 (en) * 2019-07-25 2021-01-28 东北大学 Self-mutual-group multi-level stability identification and stability recovery method for multi-port energy router
CN112736926A (en) * 2020-12-25 2021-04-30 华北电力大学 Interval affine power flow dynamic optimization method for distributed new energy access power distribution network
CN112909924A (en) * 2021-01-22 2021-06-04 武汉大学 A new energy power system small disturbance stability domain acquisition method in the combination space of operation and control parameters
CN113011083A (en) * 2021-02-25 2021-06-22 中国科学院电工研究所 Simulation evaluation method for island operation time length of comprehensive energy system
CN113435134A (en) * 2021-06-23 2021-09-24 山东大学 Wind power grid connection stability determination method and system based on full dynamic impedance model
CN114389282A (en) * 2022-01-21 2022-04-22 福州大学 Affine-based uncertainty modal analysis method
CN114997505A (en) * 2022-06-16 2022-09-02 华北电力大学 A method and system for stability analysis of grid-connected power supply via converter
CN115036931A (en) * 2022-05-20 2022-09-09 武汉工程大学 Active power grid reactive voltage affine adjustable robust optimization method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050970A (en) * 2013-01-15 2013-04-17 华北电力大学 Stability analyzing and optimizing method suitable for layering and zoning of ultra-high voltage electric network
CN108681640A (en) * 2018-05-17 2018-10-19 武汉大学 A kind of hybrid simulation system, topology and emulation mode based on virtual impedance compensation
CN110601244A (en) * 2019-07-19 2019-12-20 华北电力大学(保定) Compensation control method for reducing influence of reactive power fluctuation on system stability
WO2021012298A1 (en) * 2019-07-25 2021-01-28 东北大学 Self-mutual-group multi-level stability identification and stability recovery method for multi-port energy router
CN112736926A (en) * 2020-12-25 2021-04-30 华北电力大学 Interval affine power flow dynamic optimization method for distributed new energy access power distribution network
CN112909924A (en) * 2021-01-22 2021-06-04 武汉大学 A new energy power system small disturbance stability domain acquisition method in the combination space of operation and control parameters
CN113011083A (en) * 2021-02-25 2021-06-22 中国科学院电工研究所 Simulation evaluation method for island operation time length of comprehensive energy system
CN113435134A (en) * 2021-06-23 2021-09-24 山东大学 Wind power grid connection stability determination method and system based on full dynamic impedance model
CN114389282A (en) * 2022-01-21 2022-04-22 福州大学 Affine-based uncertainty modal analysis method
CN115036931A (en) * 2022-05-20 2022-09-09 武汉工程大学 Active power grid reactive voltage affine adjustable robust optimization method and device
CN114997505A (en) * 2022-06-16 2022-09-02 华北电力大学 A method and system for stability analysis of grid-connected power supply via converter

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Mohammad Momeni ; Homayoun Meshgin Kelk ; Heidarali Talebi.Rotating Switching Surface Control of SeriesResonant Converter Based on a Piecewise Affine Model.IEEE Transactions on Power Electronics.2014,第1762-1772页. *
基于P-Q控制模式的VSC-HVDC小干扰稳定性研究;张志军;李帆;孟庆波;;电气传动(08);第55-60+66页 *
多变流器并网发电系统控制策略与稳定性研究;陈浩;中国优秀硕士学位论文全文数据库;第C042-1010页 *

Also Published As

Publication number Publication date
CN116992776A (en) 2023-11-03

Similar Documents

Publication Publication Date Title
Wang et al. A review of applications of artificial intelligent algorithms in wind farms
Gionfra et al. Wind farm distributed PSO-based control for constrained power generation maximization
Li et al. A sequential approach for small signal stability enhancement with optimizing generation cost
CN109981103B (en) Parameter optimization method and system for bi-second order generalized integrator frequency locking loop
CN106408135A (en) Power system optimal power flow method based on feedback learning cuckoo algorithm
Sibtain et al. Frequency stabilization for interconnected renewable based power system using cascaded model predictive controller with fractional order PID controller
CN114759590A (en) Converter station steady-state reactive power coordination strategy optimization method and device based on data driving
CN116646976A (en) A distributed photovoltaic cluster division method and system based on agglomerative hierarchical clustering algorithm
Wang et al. Wind power curve modeling with large-scale generalized kernel-based regression model
Bahmani et al. Wind turbines power regulation using a low-complexity linear parameter varying-model predictive control approach
Yang et al. Intelligent computing of positive switching impulse breakdown voltage of rod-plane air gap based on extremely randomized trees algorithm
Guo et al. Parallel multi-fidelity expected improvement method for efficient global optimization
CN116992776B (en) Voltage source converter stability domain construction method and system based on piecewise affine
Chen et al. Generalized predictive control application scheme for nonlinear hydro-turbine regulation system: Based on a precise novel control structure
CN109611274B (en) LQG (Linear quadratic glass) optimization control method for high wind speed area of wind generating set
CN110556878A (en) Distributed voltage control optimization method and system applied to wind power plant
Ma et al. Sensorless intelligent second-order integral sliding mode maximum power point tracking control for wind turbine system based on wind speed estimation
CN110277783A (en) An online active de-loading control method and system for a power system
CN104408531A (en) Uniform dynamic planning method for multi-dimensional multi-stage complex decision problem
Shalbafian et al. A novel robust nonlinear optimal second-order sliding mode control scheme for power optimization of wind energy conversion systems
Xu et al. Advanced control techniques for PV maximum power point tracking
CN116861321A (en) Wind farm stability judging method and system based on stable domain quantification
CN117150898A (en) Power transmission section limit transmission capacity assessment method based on parameter optimization ensemble learning
CN114678888A (en) New energy external characteristic drive source network coordination stability judgment method based on passivity index
Qiao et al. Transient stability assessment for ac-dc hybrid systems based on bayesian optimization xgboost

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant