A moving target defense method to ensure small signal stability constraints of power system
By constructing a small signal stability model and moving target defense effectiveness indicators, the optimization model is determined to solve the optimal disturbance parameters, which solves the problem of unknown impact of moving target defense on power system stability, and achieves small signal stability and defense effectiveness. Double guarantee and improved stability margin.
Patent Information
- Application Number
- CN202410715030.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-04
AI Technical Summary
The existing technology lacks a method that can simultaneously ensure the stability of small signals in the power system and the effectiveness of moving target defense. The impact of the moving target defense method on the stability of the power system is unknown, and it is difficult to improve the stability margin.
By obtaining the basic data of the power grid system, we build a small signal stability model, design moving target defense effectiveness indicators, determine the necessary and sufficient conditions to ensure small signal stability, and build an optimization model to solve for the optimal disturbance parameters and line sets to ensure that the system is moving Small signal stability and defense effectiveness during target defense.
It achieves the small signal stability and defense effectiveness of the power system under the condition of moving target defense, while improving the stability margin of the system, ensuring that the disturbance parameters are within the stable range, and reducing the deployment cost of D-FACTS equipment.
Smart Images

Figure CN118300100B
Abstract
Description
Technical Field
[0001] The present invention relates to a mobile target defense method for ensuring small signal stability constraints of an electric power system, and belongs to the technical field of smart grid network security. Background Art
[0002] Smart grid is one of the most complex cyber-physical systems in history, and it is undergoing tremendous changes with the development of advanced information and communication technologies. The access of a large number of information and communication devices to the grid has greatly facilitated the control of the grid, but has also introduced network security issues. Attackers can tamper with data by attacking these networked devices, thereby disrupting the operation of the grid. Some well-known attacks such as Stuxnet, Black Energy, and Dragonfly have proven that attackers have the ability to invade communication systems and tamper with critical data.
[0003] Although bad data detectors in state estimation can detect abnormal measurements, attackers often use strategies to design well-coordinated false data injection attacks to circumvent bad data detectors. Attackers tamper with the measurements of acquisition devices through network attacks and inject coordinated designed attack vectors into the measurements, causing state estimation errors, thereby misleading system operators to make wrong decisions. In order to defend against this type of attack, a moving target defense method is proposed, which uses distributed flexible AC transmission system (D-FACTS) equipment to dynamically perturb line parameters, thereby interfering with attack preparation and achieving active defense. The moving target defense method has superior defense performance and is a promising active defense method. However, since the moving target defense method achieves active defense by periodically perturbing line parameters, changes in line parameters will have a certain impact on the safe and stable operation of the power system, and even cause safety issues such as power system instability, power outages, and equipment failures.
[0004] Small signal stability describes the ability of the power system to maintain synchronization under small disturbances, that is, the ability of the system to return to the original stable operating state or reach a new stable operating state when subjected to small disturbances. It is often used to calculate eigenvalues, damping ratios, and eigenvalue sensitivities to determine the stability of the power system. By analyzing the small signal stability of the system, the stability of the system under small disturbances can be predicted, and the system can be adjusted and optimized to ensure the stable operation of the system. Therefore, analyzing the small signal stability of the power system plays an important role and significance in improving the reliability of the power system, formulating dispatching strategies, promoting technological development, and improving economic benefits. However, as far as we know, the impact of line parameter changes caused by the moving target defense method on small signal stability is still unknown.
[0005] As a popular active defense method, it is of great significance to study the impact of moving target defense on small signal stability. Only by combining the characteristics of moving target defense method and small signal stability, analyzing the intrinsic relationship between the two, and designing a moving target defense method that can ensure small signal stability from the perspective of the defender, can the impact of moving target defense method on power system stability be better eliminated. However, there is no method in the prior art that can simultaneously ensure small signal stability and the effectiveness of moving target defense.
[0006] Furthermore, there is no method in the prior art that can improve the stability margin of the power system and ensure the effectiveness of mobile target defense. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a mobile target defense method for ensuring small signal stability constraints of an electric power system, so as to overcome the deficiencies of the prior art.
[0008] The technical solution of the present invention is:
[0009] A moving target defense method for ensuring small signal stability constraints of a power system is provided, comprising the following steps:
[0010] S1. Obtaining basic data of the power grid system, the basic data of the power grid system includes: power system network topology data, basic data of each generator set, load demand of each node, and control data of each excitation device;
[0011] S2. Analyze the operating status of the rotor and stator of the synchronous generator in the power grid system and build a small signal stability model of the system;
[0012] S3. Based on the principle of mobile target defense method, design an indicator to evaluate the effectiveness of mobile target defense method;
[0013] S4. According to the small signal stability model in step S2, analyze the impact of the moving target defense method in step S3 on the small signal stability and damping ratio of the system, and determine the necessary and sufficient conditions for ensuring small signal stability;
[0014] S5. Taking the necessary and sufficient conditions in step S4 and the effectiveness index in step S3 as constraints, construct an optimization model that can ensure small signal stability and defense effectiveness; solve the optimization model that can ensure small signal stability and defense effectiveness through an intelligent algorithm to obtain the optimal perturbation parameters and the optimal perturbation line set.
[0015] Specifically, the power system network topology data in step S1 includes: the connection relationship between the power grid system nodes and the transmission lines, the admittance value and capacitance value of each transmission line, and the active power flow capacity of each transmission line;
[0016] The basic data of each generator set in step S1 includes: the maximum and minimum generating capacity of the generator set, the internal reactance of the generator set, the open circuit time constant, the inertia coefficient and the damping coefficient;
[0017] The control data of each excitation device in step S1 includes: lead-lag time constant, maximum and minimum excitation capacity and controller gain.
[0018] Specifically, the system small signal stability model in step S2 is:
[0019] in, Indicates the change of variables. is the state vector, is the input vector, is the system matrix, N is the dimension of A, is the identity matrix, Represents the first-order derivative of the change in the state vector with respect to time;
[0020] The small signal stability of the system is given by the matrix The eigenvalues of If the real parts of the eigenvalues of are all negative, the system is stable; otherwise, the system is unstable;
[0021] System Matrix The spectral abscissa is defined as The maximum real part of the eigenvalue of can be expressed as:
[0022] in, is the eigenvalue The real part of is the determinant of the computation matrix, is the i-th eigenvalue vector, ;
[0023] Using the spectral abscissa The positive or negative value of It means that the system is stable, and if Indicates that the system is unstable.
[0024] Specifically, the mobile target defense effectiveness index in step S3 is for:
[0025]
[0026] in, is the total number of nodes, The set of protected nodes after defending the mobile target, Indicates the number of nodes in the protected node set B;
[0027] The method to obtain B is as follows:
[0028] First, the node-line information matrix can be obtained through the topological information of the power system. ,matrix The difference from the adjacency matrix of the system is that the matrix The non-zero elements in represent the indices of the lines;
[0029] Second, call the depth-first search algorithm to traverse each node and find all node sequences that can form a ring in the power system. When a ring is found, query the matrix according to the corresponding node sequence To determine the loop route and save it in the collection In the above example, we traverse all nodes to obtain the set of all loops in the system. ;
[0030] Third, select the collection Implement disturbance on any line of the system to achieve active defense and obtain the set of lines selected for disturbance ;
[0031] Fourth, traverse the collection Get the set of all nodes connected by its lines .
[0032] Specifically, the necessary and sufficient conditions for ensuring small signal stability are:
[0033]
[0034]
[0035] in,
[0036]
[0037] ∂ x i ∂ X j = ∂ x i ∂ α i ∂ α i ∂ X j + ∂ x i ∂ β i ∂ β i ∂ X j =[− α i −3 β i 2 1+ β i 2 α i 2 − 3 2 ] ∂ α i ∂ X j +[ α i −2 β i 1+ β i 2 α i 2 − 3 2 ] ∂ β i ∂ X j
[0038]
[0039]
[0040]
[0041] represents the new system matrix obtained after the system matrix A implements the mobile target defense, for No. eigenvalues; for No. eigenvalues; and Represents the eigenvalues The left and right eigenvectors of X represent the line parameter vector, and its components are expressed as ; After defending a moving target No. The change of the characteristic value, represents the magnitude of the disturbed line parameter vector; is the set of lines disturbed after the mobile target defense, For the The size of the line reactance disturbance; and The eigenvalues are The real and imaginary parts of represents the damping ratio vector after implementing the moving target defense, for The i-th element of ; represents the damping ratio vector before implementing the moving target defense, for The i-th element of ; express is the transpose of ; N represents the dimension of the system matrix A.
[0042] Specifically, the constraint conditions in step S5 are that the following two equations are satisfied simultaneously:
[0043]
[0044]
[0045] in, To ensure the threshold of effectiveness of defense against moving targets.
[0046] Specifically, the optimization model for ensuring small signal stability and defense effectiveness in step S5 is:
[0047]
[0048]
[0049]
[0050]
[0051] in, represents the sensitivity of the characteristic value to the line reactance, represents the L2 norm, represents the set of all loops in the system, and Identify the minimum and maximum perturbation ratios, It is a line The initial reactance value.
[0052] Preferably, the , .
[0053] Furthermore, step S5 also includes: taking the necessary and sufficient conditions in step S4 and the effectiveness index in step S3 as constraints to construct an optimization model that can improve the small signal stability margin and ensure the effectiveness of defense; solving the optimization model that can improve the small signal stability margin and ensure the effectiveness of defense through an intelligent algorithm to obtain suboptimal disturbance parameters and a suboptimal disturbance line set.
[0054] Furthermore, the optimization model in step S5 that can improve the small signal stability margin and ensure the effectiveness of defense is:
[0055]
[0056]
[0057]
[0058]
[0059] in, is an infinite norm.
[0060] The beneficial effects of the present invention are: compared with the prior art,
[0061] 1) The present invention proposes an indicator for measuring the effectiveness of the mobile target defense method, analyzes the necessary and sufficient conditions for ensuring the stability of small signals, takes the above indicators and conditions as constraints, constructs an optimization model, and solves the optimal disturbance parameters and the optimal disturbance line set. The stable disturbance interval can be solved using the optimal disturbance parameters, because the optimal disturbance line set and the stable disturbance interval are solved under the constraint conditions of ensuring the effectiveness and stability of the mobile target defense. Therefore, using the optimal disturbance line set and perturbing its line parameters within the stable interval can simultaneously ensure the small signal stability of the system and the effectiveness of the mobile target defense.
[0062] 2) The present invention proposes indicators to measure the effectiveness of the mobile target defense method, analyzes the conditions to ensure that the system damping ratio is greater than zero, takes the above indicators and conditions as constraints, constructs an optimization model, and obtains suboptimal disturbance parameters and suboptimal disturbance line sets by maximizing the minimum damping ratio. Because the suboptimal disturbance parameters and the suboptimal disturbance line set are both solved under constraints, therefore, when using suboptimal disturbance parameters and suboptimal disturbance line sets to disturb line parameters, the stability margin of the power system can be improved and the effectiveness of mobile target defense can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0064] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings of this specification.
[0065] Embodiment 1: As attached Figure 1 As shown, a moving target defense method for ensuring small signal stability constraints of a power system is provided, comprising the following steps:
[0066] S1. Obtain basic data of the power grid system, including: power system network topology data, basic data of each generator set, load demand of each node, and control data of each excitation device;
[0067] Specifically, the power system network topology data in step S1 include: the connection relationship between the power grid system nodes and the transmission lines, the admittance value and capacitance value of each transmission line, and the active power flow capacity of each transmission line; the basic data of each generator set in step S1 include: the maximum and minimum power generation capacity of the unit, the internal reactance of the unit, the open-circuit time constant, the inertia coefficient and the damping coefficient; the control data of each excitation device in step S1 include: the lead-lag time constant, the maximum and minimum excitation capacity, and the controller gain.
[0068] S2. Analyze the operating status of the rotor and stator of the synchronous generator in the power grid system and build a small signal stability model of the system;
[0069] Specifically, in step S2, a system small signal stability model is constructed, and the specific steps are as follows:
[0070] The motion state of each generator rotor and stator in the power grid system is modeled, and the excitation equipment installed in the power grid system, such as static exciters and power system stabilizers, is considered, and these excitation equipment are analyzed and modeled. Combined with the topological structure of the power grid system, a network model is constructed. The above modeling formula is expressed in a matrix, and it is linearized through Laplace transform and Taylor expansion, and expressed in matrix and vector form, and the small signal stability model is obtained as follows:
[0071]
[0072] in, Indicates the change of variables. is the state vector, is the input vector, is the system matrix, N is the dimension of A, and the elements in A are related to the system's line parameters, generator parameters, exciter control parameters, etc. is the identity matrix, Represents the first-order derivative of the change in the state vector with respect to time.
[0073] The small signal stability of the system is given by the matrix The eigenvalues of If the real parts of the eigenvalues of are all negative, the system is stable; otherwise, the system is unstable. The system matrix The spectral abscissa of is defined as the maximum real part of its eigenvalue, which can be expressed as:
[0074]
[0075] in, is the real part of the eigenvalue, is the determinant of the computation matrix, is the vector of eigenvalues, Based on Lyapunov's stability theorem, we can use the spectral coordinates The positive or negative value of is used to judge the small signal stability of the system. It means that the system is stable, and if Indicates that the system is unstable.
[0076] S3. Based on the principle of mobile target defense method, design an indicator to evaluate the effectiveness of mobile target defense method;
[0077] Specifically, in step S3, the mobile target defense effectiveness index is designed, and the specific steps are as follows:
[0078] Step 1: Principle Analysis of Mobile Target Defense Method
[0079] The moving target defense method uses D-FACTS devices to randomly change the line parameters in the system, making it difficult for attackers to analyze and identify the working status and operation behavior of the system. It has three main functions: 1) increase the uncertainty of the system; 2) reduce the attack space; 3) increase the cost of attack. Assuming that the reactance of line j is disturbed, it can be expressed as:
[0080]
[0081] in, For Line The reactance, is the line reactance after the mobile target defense. In addition, the measurement matrix H is changed to ,matrix The elements are affected by the line parameters. Indicates implementation of a moving target defense approach.
[0082] In the state estimation system, the bad data detector detects attack data based on the least squares method. Definition , , ,in is the injected attack data. Based on the DC model, the detection mechanism of the bad data detector can be expressed as:
[0083]
[0084]
[0085]
[0086] in, Represents the measurement value vector, including the output power of the power generation node , transmission line transmission power , is the measurement matrix of the power system, represents the L2 norm, is the residual. Indicates the measured value Incorrect data injected into A vector of measurements representing injected attack data; Represents the estimation error caused by erroneous data; by comparing the residual With threshold The size of the data determines whether it contains attack data. When , the bad data detector will alarm, otherwise, it will not alarm. The attack vector is constructed in the form of , it can pass the bad data detector without causing an alarm. Since the moving target defense method can dynamically change the line parameters, the measurement matrix will also change, and The attacker cannot grasp the changes in real time. After implementing the moving target defense method, the detection mechanism of the bad data detector can be expressed as:
[0087]
[0088]
[0089]
[0090] in represents the measurement matrix after the moving target defense method is implemented. Since the attacker does not know that the measurement matrix has changed, if it is still The attack is constructed in the form of ,Right now but ,Therefore, it cannot pass the bad data detector, thereby achieving active defense against erroneous data injection attacks.
[0091] Step 2: Power system topology vulnerability analysis
[0092] By analyzing the inherent vulnerability of the topological structure of the power system, it is found that many power systems have nodes or super nodes with a degree of 1. The mobile target defense method cannot protect such nodes from being attacked, that is, it is meaningless to disturb open lines when implementing mobile target defense. An open line means that it cannot participate in forming a circle with other lines. Through further analysis, it is found that when at least one loop line connected to a node is randomly disturbed, the node cannot be attacked. A loop line means that it can participate in forming a circle with other lines. Therefore, this note proposes to measure the effectiveness of mobile target defense by the proportion of the number of protected nodes after mobile target defense. When a certain proportion of the loop lines in the power system are disturbed, it can be ensured that the nodes connected to the loop lines cannot be attacked. The set of all loop lines in the system It can be solved by a recursive depth-first search algorithm.
[0093] Step 3: Design Moving Target Defense Effectiveness Metrics
[0094] The moving target defense effectiveness index can be expressed as:
[0095]
[0096] in, represents the mobile target defense effectiveness index, is the total number of nodes, The set of protected nodes after defending the mobile target, Indicates the number of nodes in the protected node set B. Set With perturbation loop The choice of is closely related. Set B is composed of the set The nodes connected by the perturbation loop circuits in , then the protected node set can be obtained .
[0097] Specifically, the method for obtaining the protected node set B is as follows:
[0098] First, the node-line information matrix can be obtained through the topological information of the power system Here, the matrix Similar to the adjacency matrix of the system, the difference is that the matrix The non-zero elements in represent the index of the line. Secondly, the depth-first search algorithm is called to traverse each node and find all node sequences that can form a ring in the power system. When a ring is found, the matrix can be queried according to the corresponding node sequence To determine the loop route and save it in the collection This is because the line connecting the previous and next nodes in the node sequence is a loop line. Finally, after traversing all nodes, we can get the set of all loop lines in the system. . Then, you can select the collection The set of lines selected for disturbance is defined as the set According to the principle of mobile target defense, it is through the selection of disturbance line parameters to destroy the attack preparation and realize active defense. , where the i-th column vector of H is related to the topological connection of the i-th node. Therefore, when the line connected to node i is disturbed, and Linearly independent, when the attacker When constructing the attack vector, it cannot be detected by bad data, so node i can be protected from being attacked. Therefore, when the perturbation set When the line in the set is , all nodes connected to it can be protected. , we can get the set of all nodes connected by its lines , that is, the perturbation set The set of nodes that can be protected.
[0099] S4. According to the small signal stability model in step S2, analyze the impact of the moving target defense method in step S3 on the small signal stability and damping ratio of the system, and determine the necessary and sufficient conditions for ensuring small signal stability;
[0100] Specifically, the method for analyzing the impact of the mobile target defense method on system stability in step S4 comprises the following steps:
[0101] First, considering the small stability of the signal, Relative to line parameters The eigenvalue sensitivity of is:
[0102]
[0103] in, and Represents the eigenvalues The left and right eigenvectors of , X represents the line parameters. The change of eigenvalues after perturbing the line parameters can be expressed as:
[0104]
[0105] in, After defending a moving target No. The change of the characteristic value, represents the amplitude of the disturbed line parameter vector; express is the transpose of ; N represents the dimension of the system matrix A. Since the system matrix The elements in the circuit are affected by the line parameters, so after implementing the mobile target defense . We can further obtain the characteristic value of the line parameter after disturbance: for:
[0106]
[0107] in, is the set of lines disturbed after the mobile target defense, For the Since the line reactance is much larger than the line susceptance, the present invention ignores the influence of the line susceptance. It can be seen that the small signal stability of the system is related to the line set and the disturbance size Therefore, in order to ensure that the stability of small signals is not destroyed, the matrix after the moving target defense is implemented (Right now ) must have negative real parts, i.e.
[0108]
[0109] in, After defending a moving target No. The change of the characteristic value is related to the selection of the disturbance line and the degree of disturbance to the line reactance.
[0110] Specifically, the method for analyzing the impact of the mobile target defense method on the system damping ratio in step S4 comprises the following steps:
[0111] The damping ratio is also an important indicator of system performance. The robustness of the system is closely related to the damping ratio of the system. If the damping ratio is too low, the system may continue to oscillate or even become unstable. If the damping ratio is a negative value, it will cause system instability. The minimum damping ratio is usually used as the system stability margin. It can be expressed as follows:
[0112]
[0113] in, and The eigenvalues are Therefore, the change of damping ratio after moving target defense is described as
[0114]
[0115] in, After defending a moving target The sensitivity It can be solved by the following formula:
[0116]
[0117] =[− α i −3 β i 2 1+ β i 2 α i 2 − 3 2 ] ∂ α i ∂X +[ α i −2 β i 1+ β i 2 α i 2 − 3 2 ] ∂ β i ∂X
[0118] here,
[0119]
[0120]
[0121] Therefore, the damping ratio of the mobile target after defense is for
[0122]
[0123] represents the damping ratio vector after implementing the moving target defense, for The i-th element of ; represents the damping ratio vector before implementing the moving target defense, for The ith element of .
[0124] Written in component form:
[0125] ∂ x i ∂ X j = ∂ x i ∂ α i ∂ α i ∂ X j + ∂ x i ∂ β i ∂ β i ∂ X j =[− α i −3 β i 2 1+ β i 2 α i 2 − 3 2 ] ∂ α i ∂ X j +[ α i −2 β i 1+ β i 2 α i 2 − 3 2 ] ∂ β i ∂ X j
[0126]
[0127]
[0128] In order to ensure the stability of small signals, the damping ratio after the moving target defense is implemented must be greater than zero, i.e.
[0129]
[0130] S5. Taking the necessary and sufficient conditions in step S3 and the effectiveness index in step S4 as constraints, an optimization model that can ensure small signal stability and defense effectiveness and an optimization model that can improve the small signal stability margin and ensure defense effectiveness are constructed.
[0131] Specifically, the constraints of step S5 are as follows:
[0132] In order to ensure the effectiveness of mobile target defense, the following constraints must be met, namely:
[0133]
[0134] in, To ensure the threshold of the effectiveness of moving target defense. At the same time, in order to ensure that the implementation of moving target defense does not destroy the small signal stability, the following conditions need to be met, namely:
[0135]
[0136] in, After defending a moving target No. Therefore, if the following two conditions are met, the effectiveness of mobile target defense and the small signal stability of the system can be guaranteed at the same time: (i) ; (ii) .
[0137] Specifically, in step S5, a mathematical model that satisfies both small signal stability and defense effectiveness is constructed, and the specific steps are as follows:
[0138] The solution goal is to minimize the disturbance line parameter amplitude and the number of disturbance lines, that is:
[0139]
[0140] in, represents the L2 norm, represents the set of perturbation cycle circuits, Indicates the magnitude of the disturbance line parameter.
[0141] In order to ensure both the small signal stability of the system and the effectiveness of the mobile target defense, the following constraints need to be met:
[0142]
[0143] in, represents the sensitivity of the characteristic value to the line reactance, Indicates the number of Eigenvalues, represents the amplitude of the disturbance of the jth line reactance. This constraint is the condition to ensure the instability of the system.
[0144] Ensure the solution is the minimum stability critical value.
[0145]
[0146] in, represents the set of all loops in the system, and The ratio of the minimum and maximum disturbances (usually, , ), It is a line The initial reactance value of . This constraint limits the disturbance amplitude of the line parameters so that it satisfies the physical laws.
[0147]
[0148] Moving target defense effectiveness constraint, that is, to ensure that the defense performance of the moving target defense method is greater than .
[0149] The key to solving optimization problems is the set When When determined, can also be determined. Since the set Due to the constraints of the system topology, the collection The selection of is also limited. The set that satisfies the effectiveness of mobile target defense Corresponding to a group However, as the system size increases, the set of feasible solutions The number of grows exponentially. This is a computationally intensive problem. The set The number of combinations can be ,in Represents the number of all loops in the system. Here, the present invention uses an intelligent algorithm to solve and obtain the minimum disturbance critical and line disturbance set , the fireworks algorithm can be used to solve it here.
[0150] Then, use The stable disturbance interval (LB, UB) can be solved:
[0151]
[0152]
[0153] Collection-based ,If the line parameters are disturbed within the stable interval (LB, UB), the small signal stability of the system and the effectiveness of mobile target defense are simultaneously guaranteed.,In addition, the deployment cost of D-FACTS equipment for mobile target defense can be further,reduced.
[0154] Specifically, in step S5, a mathematical model is constructed to improve the small signal stability margin and meet the defense effectiveness, and the specific steps are as follows:
[0155] The solution goal is to maximize the minimum damping ratio and minimize the number of disturbance lines. In order to unify the writing, the optimization goal is transformed to minimize the maximum And the number of disturbance lines, that is:
[0156]
[0157] in, is an infinite norm, which means selecting the element with the largest absolute value. The invention uses the minimum damping ratio to represent the stability margin of the system, and the goal is to maximize the stability margin. Select the largest element, i.e. the smallest damping ratio . minimize , that is, maximize the minimum damping ratio .
[0158] In order to simultaneously improve the small signal stability margin and meet the defense effectiveness, the following constraints need to be met:
[0159]
[0160] The stability margin constraint ensures that each damping ratio is greater than zero, that is, all eigenvalues are less than zero, thereby ensuring small signal stability. If the damping ratio is too low, the system may continue to oscillate or even become unstable. If the damping ratio is negative, it will cause system instability.
[0161]
[0162] The line parameter disturbance amplitude is constrained to satisfy the physical laws. represents the set of all loops in the system, and Identify the minimum and maximum perturbation ratios (usually, , ), It is a line The initial reactance value.
[0163]
[0164] Moving target defense effectiveness constraint, that is, to ensure that the defense performance of the moving target defense method is greater than .
[0165] If the collection It is known that the above optimization problem can be regarded as a combinatorial optimization problem. The perturbation size is constrained by , so its solution space is finite and there must be an optimal solution. However, the set The choice of can also be regarded as a combinatorial optimization problem, which makes the solution of the above problem complicated. Here, the present invention uses an intelligent algorithm to solve the suboptimal solution and , here we can use the fireworks algorithm to solve. and When disturbing the line reactance, the system stability margin can be further improved, while ensuring the effectiveness of mobile target defense.
[0166] Test results:
[0167] In order to illustrate the feasibility of the method proposed in this invention, experimental verification was carried out on IEEE 30 nodes, IEEE 39 nodes and IEEE 68 nodes. The required basic data is obtained from the standard system in MATPOWER. First, in order to verify the index The effectiveness of mobile target defense can be measured. 1000 attack vectors are constructed in the form of as an attack pool. Then, under different branch perturbation settings, that is, different indicators Under the condition, the Monte Carlo simulation was performed 1000 times to obtain the corresponding attack detection rate, that is, the effectiveness of mobile target defense. Table 1 shows the relationship between the two. It can be seen that the attack detection rate increases with increases with the increase of Under these conditions, the larger the system size, the higher the attack detection rate. When it is greater than 22%, the attack detection rate of the three systems is close to 90%. It is feasible to detect the effectiveness of phyMTD. Taking the IEEE 68-node system as an example, when Moving Target Defense is very effective when detecting attacks in the attack pool.
[0168] Table 1: Different indicators Effectiveness of defense against moving targets under different conditions
[0169] To verify the collection-based , if the line parameters are disturbed within the stable range (LB, UB), the small signal stability of the system and the effectiveness of mobile target defense can be guaranteed at the same time. First, the present invention sets the threshold , so the resulting set The effectiveness of mobile target defense can be guaranteed. In order to verify that the stability of small signals can also be ensured, the present invention considers In the case of a more severe line disturbance, a random eigenvalue is selected, and its eigenvalue sensitivity sign is used as the disturbance direction, and the line parameters are randomly perturbed within the stable interval (LB, UB). Then, the experiment is repeated 10,000 times on the IEEE 39-node and 68-node systems respectively. Table 2 shows the smallest 5 spectral abscissas. . You can see that the spectrum abscissa They are all less than 0, indicating that the small signal stability is not destroyed.
[0170] Table 2: The smallest 5 spectral coordinates
[0171] In order to verify that the moving target defense method can be used to improve the small signal stability margin, that is, to verify that when the solution is used and When the line parameters are disturbed, the stability margin of the system can be further improved, and at the same time, the effectiveness of the mobile target defense can be guaranteed. For further explanation, the present invention is compared with two traditional mobile target defense methods. D1 represents the mobile target defense method with the maximum rank of the composite matrix, and D2 represents the mobile target defense method with full deployment of D-FACTS equipment. The minimum damping ratio is used as the stability margin of the system, and the results are shown in Table 3. Under undisturbed conditions, the stability margins of the IEEE 39-node and 68-node systems are 0.009848 and 0.010633, respectively. When the line is disturbed by D1 and D2, the stability margin is reduced to a certain extent. When the method of the present invention is used to solve and When the line parameters are disturbed, the stability margins increase to 0.012241 and 0.020543 respectively. The results show that the system stability margin can be improved by optimizing the construction of the moving target defense method.
[0172] Table 3: Stability margin under different disturbance conditions
[0173] The above results show that the method proposed in the present invention can ensure and improve the small signal stability of the system while ensuring the effectiveness of mobile target defense. In addition, it can further reduce the deployment cost of D-FACTS equipment.
[0174] The parts not described in detail in the present invention are all known technologies to those skilled in the art. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention is described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A mobile target defense method to ensure small signal stability constraints of power systems, It is characterized in that The steps include: S1. Obtaining basic data of the power grid system, the basic data of the power grid system includes: power system network topology data, basic data of each generator set, load demand of each node, and control data of each excitation device; S2. Analyze the operating status of the rotor and stator of the synchronous generator in the power grid system and build a small signal stability model of the system; S3. Based on the principle of mobile target defense method, design an indicator to evaluate the effectiveness of mobile target defense method; S4. According to the small signal stability model in step S2, analyze the impact of the moving target defense method in step S3 on the small signal stability and damping ratio of the system, and determine the necessary and sufficient conditions for ensuring small signal stability; S5. Taking the necessary and sufficient conditions in step S4 and the effectiveness index in step S3 as constraints, an optimization model that can ensure small signal stability and defense effectiveness is constructed; solving the optimization model that can ensure small signal stability and defense effectiveness through an intelligent algorithm to obtain the optimal perturbation parameters and the optimal perturbation line set; The mobile target defense effectiveness index in step S3 for: Where m is the total number of nodes, B is the protected node set after the mobile target is defended, and |B| represents the number of nodes used to calculate the protected node set B; The method to obtain B is as follows: First, the node-line information matrix G can be obtained through the topological information of the power system. The difference between the matrix G and the adjacency matrix of the system is that the non-zero elements in the matrix G represent the index of the line; Second, the depth-first search algorithm is called to traverse each node and find all node sequences that can form a loop in the power system. When a loop is found, the matrix G is queried according to the corresponding node sequence to determine the loop line and save it in the set Ω. c In the above example, we traverse all nodes to obtain the set of all loops in the system Ω c ; Third, select the set Ω c Perturb any line of the system to achieve active defense and obtain the set of lines Ω selected for perturbation; fourth, traverse the set Ω to obtain the set B of all nodes connected by its lines.
2. A mobile target defense method for ensuring small signal stability constraints of a power system according to claim 1, It is characterized in that The power system network topology data in step S1 includes: the connection relationship between the power grid system nodes and the transmission lines, the admittance value and capacitance value of each transmission line, and the active power flow capacity of each transmission line; The basic data of each generator set in step S1 includes: the maximum and minimum generating capacity of the generator set, the internal reactance of the generator set, the open circuit time constant, the inertia coefficient and the damping coefficient; The control data of each excitation device in step S1 includes: lead-lag time constant, maximum and minimum excitation capacity and controller gain.
3. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 1, It is characterized in that The system small signal stability model in step S2 is: Among them, Δ represents the change of the variable, x∈R N is the state vector, u∈R N is the input vector, A∈R N×N is the system matrix, N is the dimension of A, E is the identity matrix, Represents the first-order derivative of the change in the state vector with respect to time; The small signal stability of the system is determined by the eigenvalues of the matrix A. If the real parts of the eigenvalues of the matrix A are all negative, the system is stable; otherwise, the system is unstable. The spectral abscissa of the system matrix A is defined as the maximum real part of the eigenvalue of A, which can be expressed as: where real(·) is the eigenvalue λ i The real part of det(·) is the determinant of the calculation matrix, λ i is the i-th eigenvalue vector, 1≤i≤N; Using the spectral abscissa The positive or negative value of It means that the system is stable, and if Indicates that the system is unstable.
4. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 3, It is characterized in that The necessary and sufficient conditions for ensuring small signal stability are: in, represents the new system matrix obtained after the system matrix A implements the mobile target defense, for The i-th eigenvalue of i is the i-th eigenvalue of A; ψ i and φ i Denote the eigenvalue λ i The left and right eigenvectors of X represent the line parameter vector, and its components are represented by X j ; Δλ i After defending a moving target , ΔX represents the amplitude of the perturbed line parameter vector; Ω is the set of lines perturbed after the mobile target defense, ΔX j is the magnitude of the j-th line reactance disturbance; α i and β i The eigenvalues λ are i The real and imaginary parts of represents the damping ratio vector after implementing the moving target defense, for The i-th element of ξ represents the damping ratio vector before implementing mobile target defense, ξ i is the i-th element of ξ; Represents ψ i is the transpose of ; N represents the dimension of the system matrix A.
5. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 4, It is characterized in that The constraint conditions in step S5 are that the following two equations are satisfied simultaneously: Among them, τ is the threshold to ensure the effectiveness of mobile target defense.
6. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 5, It is characterized in that The optimization model for ensuring small signal stability and defense effectiveness in step S5 is: aX 0j ≤ΔX j ≤bX 0j ,j∈Ω∈Ω c in, represents the sensitivity of the characteristic value to the line reactance, ||·|| 2 represents the L2 norm, Ω c represents the set of all loops in the system, a and b represent the minimum and maximum disturbance ratios, X 0j is the initial reactance value of line j.
7. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 6, It is characterized in that Said a=-20%, b=20%.
8. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 6 or 7, It is characterized in that The step S5 also includes: using the necessary and sufficient conditions in step S4 and the effectiveness index in step S3 as constraints to construct an optimization model that can improve the small signal stability margin and ensure the effectiveness of defense; solving the optimization model that can improve the small signal stability margin and ensure the effectiveness of defense through an intelligent algorithm to obtain suboptimal disturbance parameters and a suboptimal disturbance line set.
9. The mobile target defense method for ensuring small signal stability constraints of power system according to claim 8, It is characterized in that The optimization model in step S5 that can improve the small signal stability margin and ensure the effectiveness of defense is: aX 0j ≤ΔX j ≤bX 0j ,j∈Ω∈Ω c Among them, ||·|| ∞ is an infinite norm.
