A fault current calculation method and system based on mixed integer nonlinear optimization

By using a mixed-integer nonlinear optimization method, four types of fault operating states of the inverter are classified and a mixed-integer nonlinear optimization model is constructed. This solves the problems of low efficiency in fault current calculation and non-convergence of iteration in existing methods, and realizes the identification and simultaneous solution of multiple feasible solutions, supporting the analysis of inverter power supply fault characteristics.

CN123144045APending Publication Date: 2026-11-20SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611644790.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing fault current calculation methods are inefficient, iterative methods fail to converge under certain operating conditions, and they fail to identify multiple feasible solutions under the same fault condition, making it difficult to achieve reliable solutions for inverter power supply fault current and identification of multiple equilibrium solutions.

Method used

A mixed-integer nonlinear optimization method is adopted. By classifying the inverter into four types of fault operating states, binary state variables are introduced. A mixed-integer nonlinear optimization model is constructed by combining the Big-M method. The inverter operating state and fault electrical quantities are solved jointly, and multiple initial values ​​are selected for the solution.

Benefits of technology

It achieves synchronous solution of inverter operating status and fault electrical quantities, solves the problem of non-convergence of iterative methods, and can identify multiple feasible solutions under the same fault condition, providing a basis for inverter power supply fault characteristic analysis and new power system relay protection research.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123144045A_ABST
    Figure CN123144045A_ABST
Patent Text Reader

Abstract

The application provides a fault current calculation method and system based on mixed integer nonlinear optimization, and belongs to the technical field of fault current calculation, and comprises the following steps: according to a low voltage ride through control strategy, dividing the fault operation state of a grid-connected inverter into four categories, and establishing current control equations in each state; selecting a fault current and real and imaginary parts of grid-connected point voltage as to-be-solved variables, simultaneously introducing binary variables to represent the operation state of the inverter, processing current control constraints and voltage interval constraints in each state, and constructing a mixed integer nonlinear optimization model with zero as a target function; solving the model, and selecting multiple initial values to solve the model, so that multiple feasible solutions under the same fault condition are obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of fault current calculation technology, and particularly relates to a fault current calculation method and system based on mixed integer nonlinear optimization. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] New energy power generation technologies, represented by photovoltaics and wind power, have developed rapidly. Unlike the fault characteristics of traditional synchronous generators, inverter power supplies are affected by low voltage ride-through control strategies, exhibiting significant nonlinear characteristics. Furthermore, inverter power supplies may be in different operating states depending on the degree of fault.

[0004] Fault characteristics are a crucial basis for relay protection research; therefore, analyzing and solving fault currents is of great significance for the research of relay protection in new power systems. For solving fault currents in inverter power supplies, existing methods typically employ state enumeration or iterative solutions. State enumeration requires pre-setting the operating states of the inverter power supply and solving the corresponding nonlinear equations for each state. While this method considers different operating states, solving them one by one leads to low computational efficiency. Iterative methods update the operating states based on the current voltage and current calculation results and solve the nonlinear equations until convergence conditions are met. This method is sensitive to initial values ​​and may experience non-convergence issues under certain operating conditions. Furthermore, existing methods often aim to obtain a single feasible solution, potentially overlooking other feasible solutions.

[0005] Therefore, existing fault current calculation methods suffer from problems such as low efficiency of solving one by one and non-convergence of iteration under some operating conditions. Furthermore, they do not fully consider the possibility of multiple equilibrium solutions under the same fault condition, making it difficult to achieve reliable solutions for inverter power supply fault current and identification of multiple equilibrium solutions. Summary of the Invention

[0006] To overcome the shortcomings of existing technologies, this invention provides a fault current calculation method and system based on mixed-integer nonlinear optimization. This method, targeting various operating states of grid-connected inverters employing low-voltage ride-through control, introduces binary state variables and combines the Big-M method to activate the constraints of selected states while relaxing the constraints of others, thereby constructing a mixed-integer nonlinear optimization model to jointly solve for the inverter's operating state and fault electrical quantities. Compared with traditional iterative methods, by repeatedly solving with multiple initial values, multiple feasible solutions under the same fault condition can be identified, effectively solving the convergence problem of traditional iterative methods.

[0007] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions: In the first aspect, a fault current calculation method based on mixed-integer nonlinear optimization is disclosed, including: Based on the low voltage ride-through control strategy, the fault operation states of the grid-connected inverter are divided into four categories, and current control equations are established for each state. The fault current and the real and imaginary parts of the grid connection point voltage are selected as variables to be solved. At the same time, binary variables are introduced to represent the inverter operating state. The current control constraints and voltage range constraints of each state are handled, and a hybrid integer nonlinear optimization model with zero as the objective function is constructed. Multiple initial values ​​are selected to solve for multiple feasible solutions under the same fault condition.

[0008] As a further technical solution, based on the low-voltage ride-through control strategy, the fault operation states of grid-connected inverters are divided into four categories, specifically including: Based on whether low-voltage ride-through control and current limiting strategies are triggered, the inverter operating state is divided into four categories: Low-voltage ride-through not triggered. S N Provides reactive power support but does not trigger current limiting. S L Prioritize providing reactive power support while reserving active power output. S P and maximum output reactive current S Q ; S N In this state, the inverter maintains the active power output as before the fault, and the reactive power is zero; as the grid voltage drops, the inverter enters... S L This state maintains constant active power while providing reactive power support; it enters a state where the output current reaches a limit. S P In this state, reactive power support is prioritized while active power output is limited; when the voltage drops further until the reactive current reaches its maximum limit, the inverter enters a new state. S Q The status indicates that it does not output active power, but only provides reactive power support.

[0009] As a further technical solution, current control equations are established for each state, and the specific reference values ​​for the d-axis and q-axis currents are as follows:

[0010] In the formula, This is the reactive current droop factor. This is the maximum allowable output current of the inverter. The active power before the fault is a reference value; in this embodiment, K=2. =1.5 pu, =1p.u, This represents the voltage amplitude at the grid connection point during the fault. The critical voltage for triggering current limiting control.

[0011] As a further technical solution, the fault current and the real and imaginary parts of the grid connection point voltage are selected as variables to be determined. Simultaneously, binary variables are introduced to characterize the inverter's operating state, specifically including: Define the set of states and for each state s ∈ Introducing binary variables , A set of states; Except for state variables In addition, the real and imaginary parts of the fault current and the grid connection point voltage are selected as variables to be determined.

[0012] It should be noted that, considering the inverter can only be in one operating state during a fault, the state variables should satisfy: In the formula, For a set of states, It is a binary variable. Indicates selection status s ,on the contrary, This indicates that you do not select this state.

[0013] With grid voltage For reference, according to Kirchhoff's voltage law, we have: In the formula, The equivalent voltage of the external power grid. The equivalent impedance of the external power grid. For fault current, This refers to the voltage at the grid connection point during the fault.

[0014] Except for state variables In addition, the real and imaginary parts of the fault current and the grid connection point voltage are selected as variables to be determined, denoted as . Then the above formula can be further expressed as: In the formula, A and B are the fault currents. The real and imaginary parts, C and D are the grid connection point voltages. The real and imaginary parts of the equation; R and X are the equivalent resistance and reactance of the external power grid.

[0015] The active and reactive current control equations corresponding to each state are rearranged to a form where the right-hand side is 0, and are denoted as follows: and The Big-M method is used to rewrite the current control equations for each state as follows: In the formula, M is a sufficiently large positive number, when At that time, state s The corresponding current control constraint takes effect; when When this state occurs, the corresponding constraint is relaxed.

[0016] As a further technical solution, each operating state should also meet the corresponding voltage range, assuming the state... The upper and lower voltage limits are respectively and Then we have: In the formula, when At that time, state s The corresponding voltage range constraint takes effect; when When this state occurs, the corresponding constraint is relaxed.

[0017] As a further technical solution, the mixed-integer nonlinear optimization model is as follows:

[0018] In the formula, For a set of state variables, Let be the state variable to be determined. Let A, B, C, and D be the continuous variables to be determined, where A, B, C, and D are the real and imaginary parts of the fault current and the grid connection point voltage, respectively. Let R be the equivalent voltage of the external power grid, and let X be the equivalent resistance and reactance of the external power grid, respectively. The voltage amplitude at the grid connection point during the fault; M is a sufficiently large positive number. and They are respectively states s The corresponding active and reactive current control equations, and These represent the lower and upper limits of the voltage range corresponding to state s, respectively.

[0019] As a further technical solution, the model is solved to extract feasible solutions and state variables. ,according to Determine the operating status of the inverter, and calculate the fault current and the magnitude of the grid connection point voltage using A, B, C, and D.

[0020] Secondly, a fault current calculation system based on mixed-integer nonlinear optimization is disclosed, including: The operation state classification module is configured to classify the fault operation state of the grid-connected inverter into four categories according to the low voltage ride-through control strategy, and establish the current control equation for each state. The mixed-integer nonlinear optimization model construction module is configured to: select the real and imaginary parts of the fault current and grid connection point voltage as variables to be solved, introduce binary variables to represent the inverter operating state, handle the current control constraints and voltage range constraints of each state, and construct a mixed-integer nonlinear optimization model with zero as the objective function. The model solving module is configured to solve the model and select multiple initial values ​​to obtain multiple feasible solutions under the same fault condition.

[0021] The above one or more technical solutions have the following beneficial effects: The technical solution of this invention integrates the inverter operating state and fault electrical quantities into a mixed integer nonlinear optimization model, eliminating the need to repeatedly update the operating state based on calculation results and achieving synchronous solution of state variables and electrical quantities. At the same time, it can obtain feasible solutions under operating conditions where traditional iterative methods do not converge. Furthermore, by selecting multiple initial values, multiple feasible solutions under the same operating condition can be obtained, providing a basis for the analysis of inverter power supply fault characteristics and the research of new power system relay protection.

[0022] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0023] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0024] Figure 1 This is a block diagram of the main circuit and control structure of a grid-type inverter according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating the implementation steps of an embodiment of the present invention; Figure 3 for V g =0.16pu S P Time-domain simulation diagrams of voltage and current in the high-voltage solution; Figure 4 for V g =0.16pu S P Time-domain simulation diagrams of active and reactive power of the high-voltage solution; Figure 5 Harmony V g=0.16pu S Q Time-domain simulation diagrams of voltage and current in the high-voltage solution; Figure 6 for V g =0.16pu S Q Time-domain simulation diagrams of active and reactive power of the high-voltage solution; Figure 7 for V g =0.16pu S P Voltage and current time-domain simulation diagrams of the low-voltage solution; Figure 8 for V g =0.16pu S P Time-domain simulation diagram of the power angle of the low-pressure solution; Figure 9 for V g =0.16pu S Q Voltage and current time-domain simulation diagrams of the low-voltage solution; Figure 10 for V g =0.16pu S Q Time-domain simulation diagram of the power angle of the low-pressure solution; Figure 11 This is a schematic diagram of the solution obtained using the Newton-Raphson method. Detailed Implementation

[0025] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, 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 invention pertains.

[0026] It should be noted that the terminology used herein is for the purpose of describing particular implementations only and is not intended to limit the exemplary implementations of the present invention.

[0027] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0028] Example 1 This embodiment discloses a fault current calculation method based on mixed-integer nonlinear optimization, including: Step 1: Based on the low voltage ride-through control strategy, the fault operation states of the grid-connected inverter are divided into four categories, and the current control equations for each state are established. Step 2: Select the real and imaginary parts of the fault current and grid connection point voltage as variables to be solved. At the same time, introduce binary variables to represent the inverter operating state, handle the current control constraints and voltage range constraints of each state, and construct a mixed integer nonlinear optimization model with zero as the objective function. Step 3: Solve the model and select multiple initial values ​​to obtain multiple feasible solutions under the same fault condition.

[0029] In one implementation example, the main circuit and control structure of the inverter are as follows: Figure 1 As shown. Among them, and These are the phasors of the grid connection point voltage and the grid voltage, respectively. This is the equivalent impedance of the external power grid.

[0030] During normal operation, Figure 1 When the two selector switches are set to position 1, the active and reactive current reference values ​​are respectively... , When the low-voltage ride-through control is triggered, the switch moves to position 2. and It is determined by the voltage amplitude at the grid connection point and the current limiting constraint, as detailed in equation (1).

[0031] During a fault, a low-voltage ride-through control strategy prioritizing reactive current is employed. First, the reactive current reference value is determined based on the degree of voltage sag at the grid connection point. Subsequently, according to and Calculate the active current limit Finally, apply the limit value. Limiting is applied to obtain the active current reference value. This ensures that the output current does not exceed the limit while prioritizing reactive power support. and It can be represented as: (1) In the formula, This is the reactive current droop factor. This is the maximum allowable output current of the inverter. This is a reference value for the active power before the fault. This formula is used to establish the current control constraints corresponding to each fault operating state in the optimization model. In this embodiment, K=2. =1.5 pu, =1p.u., The voltage amplitude at the grid connection point during the fault can be calculated using the real part C and imaginary part D of the voltage obtained from the subsequent mixed-integer nonlinear optimization model. .

[0032] As the grid connection voltage decreases, when the inverter output current reaches When the current limiting control is triggered, the critical voltage is at this time. It should meet the following requirements: (2) In the formula, The critical voltage for triggering current limiting control. This is the reference value for active power before the fault. This is the reactive current droop factor. This is the maximum allowable output current of the inverter. The critical voltage obtained from equation (2) is used to distinguish... S L and S P Two operating states.

[0033] Depending on whether low-voltage ride-through control and current limiting strategies are triggered, the voltage amplitude at the grid connection point during the fault period is used. For the purpose of judgment, the inverter's operating state is divided into four categories: when At that time, the new energy source is in a state where low voltage ride-through control has not been triggered. S N State; when At that time, in S L The status provides reactive power support but does not trigger current limiting; when At that time, in S P In this state, priority is given to providing reactive power support while reserving active power output; when At that time, in S Q In this state, only reactive current is output. The critical voltage is... It is determined by formula (2).

[0034] The state S N For the current control relationship during normal operation, the other three operating states are obtained by expanding equation (1) within the corresponding voltage range. Finally, the active and reactive current reference values ​​corresponding to each state are expressed as follows: (3) in, S N In this state, the inverter maintains the active power output as before the fault, and the reactive power is zero; as the grid voltage drops, the inverter enters... S LThis state maintains constant active power while providing reactive power support; it enters a state where the output current reaches a limit. S P In this state, reactive power support is prioritized while active power output is limited; when the voltage drops further until the reactive current reaches its maximum limit, the inverter enters a new state. S Q The status indicates that it does not output active power, but only provides reactive power support.

[0035] Fault current solution method based on mixed-integer nonlinear optimization: Define the state set S and for each state s ∈S introduces binary variables Considering that the inverter can only be in one operating state during a fault, the state variables... It should meet the following requirements: (4) In the formula, Indicates selection status s ,on the contrary, This indicates that the selected state is not chosen. This formula, combined with the Big-M method, makes the current control constraints and voltage range constraints corresponding to the selected state effective, while the constraints corresponding to the other states are relaxed.

[0036] according to Figure 1 The equivalent circuit shown uses the mains voltage. For reference, according to Kirchhoff's voltage law, we have: (5) In the formula, The equivalent voltage of the external power grid. The equivalent impedance of the external power grid. For fault current, This refers to the voltage at the grid connection point during the fault.

[0037] Except for state variables In addition, the real and imaginary parts of the fault current and the grid connection point voltage are selected as variables to be determined, denoted as . Then equation (5) can be further expressed as: (6) In the formula, A and B are the fault currents. The real and imaginary parts, C and D are the grid connection point voltages. The real and imaginary parts of the equation; R and X are the equivalent resistance and reactance of the external power grid.

[0038] The state in equation (3) s Rearranging the corresponding active and reactive current control equations to a form where the right-hand side is zero, the corresponding current control constraints can be expressed as follows: and The Big-M method is adopted in combination with state variables. The above equation constraint can be rewritten as: (7) In the formula, M is a sufficiently large positive number. When At that time, state s The corresponding current control constraint takes effect; when When this state occurs, the corresponding constraint is relaxed. Therefore, this formula is used to ensure the consistency between the inverter operating state obtained from the optimization solution and its current control relationship.

[0039] In addition, each operating state should also meet the corresponding voltage range. Let the state be... The upper and lower voltage limits are respectively and Then we have: (8) Similarly, when At that time, state s The corresponding voltage range constraint takes effect; when When this state occurs, the constraints corresponding to it are relaxed. Therefore, this formula is used to ensure the consistency between the inverter operating state obtained from the optimization solution and its voltage range.

[0040] With state variables The vector composed of the real and imaginary parts of voltage and current As the decision variables, the voltage equation (6), the state mutual exclusion constraint equation (4), the current control constraint equation (7), and the voltage interval constraint equation (8) are solved simultaneously. Since only feasible solutions that satisfy the aforementioned constraints are needed, the objective function is set to zero, and a mixed-integer nonlinear optimization model for solving the inverter fault current is established as follows: (9) First, the equivalent parameters of the power grid are... R, X and inverter control parameters K , Substitute the above model and set the initial values ​​of the variables. Then, use the branch and bound algorithm (BNB) built into YALMIP to solve the model, relaxing the binary state variables to [0,1] to form a continuous nonlinear subproblem of the root node. Call IPOPT to start from the given initial values, use the primal-dual interior point method to linearize the optimality conditions, calculate the search direction, update the variables through meridian search, until the convergence condition is met. Then check whether the node solution satisfies the constraints. If all constraints are satisfied, it is a feasible solution; if there are non-integer state variables, select one of them and fix it as child node 0 and 1 respectively, and repeat the above solution and verification process.

[0041] This method does not require presetting the inverter's operating state and can achieve joint solution of the operating state and fault electrical quantities. Furthermore, by combining multiple initial value repeated solutions, multiple balanced solutions can be obtained under the same fault condition, providing a basis for the analysis of inverter power supply fault characteristics and the research of new power system relay protection.

[0042] See appendix again Figure 1 As shown, the entire control process includes: Grid-connected inverters synchronize with the power grid via a phase-locked loop (PLL) and based on their output phase angle. The three-phase current is converted into d-axis and q-axis currents. During normal operation, the switch is in position 1, and the reference values ​​for active and reactive currents are respectively... , When the grid voltage drops, triggering the low-voltage ride-through control, the switch moves to position 2, based on the voltage amplitude at the grid connection point during the fault. The reactive current droop coefficient K is used to generate a reference value for reactive current during a fault through a droop circuit. And combined with the inverter's maximum allowable output current Calculate the active current limit Therefore, the active current reference value is limited to [ The current reference values ​​generated under the two operating conditions are compared with the actual current values. The resulting deviation is then adjusted by a PI controller to generate a drive signal that controls the switching transistors, enabling the inverter to inject the corresponding active and reactive currents under different operating conditions.

[0043] Project implementation steps: Step 1: Obtain parameters. In this embodiment, the system parameters are set as follows: the equivalent grid resistance R and reactance X are both 0.1 pu, and the equivalent grid voltage amplitude is... Under normal operating conditions, 1 p.u. is used; under fault conditions, the value is set according to the specific scenario. The control parameter is set as follows: reference value of active power before the fault. Take 1 p.u., the reactive current droop factor K is taken as 2, and the maximum allowable output current of the inverter is... Use 1.5 pu; the voltage threshold for the four operating states is 0.9 pu. and 0.25 pu, of which Determined by equation (2); the Big-M parameter M is 20.

[0044] Step 2: Define decision variables. Select the real and imaginary parts of the fault current and the grid connection point voltage to form the variables. And introduce variables to represent four operating states. .

[0045] Step 3: Establish constraints. Based on Kirchhoff's voltage law, establish the node voltage equations shown in equation (6), and based on the active and reactive current injection requirements for each operating state and the corresponding voltage ranges in equation (3), establish... and The current control constraints and corresponding voltage range constraints are introduced, and the state mutual exclusion constraints of Equation (4) are introduced to ensure that each feasible solution corresponds to only one operating state.

[0046] Step 4: Construct a mixed-integer nonlinear optimization model. Using the Big-M method, the current control constraints and voltage range constraints in Step 3 are transformed into inequality constraints as shown in equations (7) and (8), respectively, and then combined with the nodal voltage equation (6) and the state mutual exclusion constraint equation (4) to form a hybrid-integer nonlinear optimization model. and Using these as decision variables, a mixed-integer nonlinear optimization model with a zero objective function is constructed.

[0047] Step 5: Solve the optimization model. Set initial values ​​for the decision variables. Use the branch and bound algorithm (BNB) built into YALMIP to relax the binary state variables to [0,1]. Call IPOPT to solve the continuous nonlinear subproblem. It calculates the search direction through the primal-dual interior point method, determines the step size through line search, and updates the variables until the convergence condition is met. Then check whether each state variable in the node solution is 0 or 1, and whether all constraints are satisfied. Keep feasible solutions that meet the requirements. If there are state variables that do not belong to {0,1}, select one of them to create child nodes 0 and 1 respectively, and repeat the solution and check. Finally, change the initial values ​​and repeat the above process to obtain different feasible solutions.

[0048] Step 6: Output the calculation results. Based on the state variables in each feasible solution. Determine the inverter's operating status and calculate the fault current amplitude using A, B, C, and D. and the amplitude of the grid connection point voltage .

[0049] To verify the effectiveness of the proposed method, this invention uses a single-inverter grid-connected system for simulation analysis. A simulation model is built in MATLAB / Simulink, and the system topology is as follows. Figure 1 As shown. Two types of test scenarios are set: (1) Typical fault scenario, by adjusting the degree of grid voltage drop and the active power before the fault, the inverter is made to enter different operating states; (2) Algorithm comparison scenario, under the same system parameters, the solution results of the proposed method and the Newton-Raphson method are compared. Maximum current limit for all operating conditions All are set to 1.5 pu, the reactive current droop factor K is 2, the equivalent impedance of the power grid in scenario 1 is 0.1+j0.1, and the equivalent impedance of the power grid in scenario 2 is 0.1+j0.4.

[0050] Scenario 1: Typical fault scenario.

[0051] Typical operating conditions ranging from mild voltage dips to deep voltage dips are selected, causing the inverter to be in different states respectively. , , and Running status, and further selection For operating conditions such as 0.14 pu, there are multiple feasible solutions. The proposed method is used to solve for each typical operating condition, and the results are compared with time-domain simulations under the same parameters. The results are shown in Table 1. Table 1 Comparison of theoretical calculations and time-domain simulation results under different fault scenarios

[0052] Note: "—" indicates that the theoretical solution is an unstable equilibrium point, and therefore there is no simulation value; "*" indicates the steady-state value obtained after initialization and application of a small perturbation near the solution.

[0053] Table 1 shows that the grid connection point voltage and fault current calculated by the proposed method are consistent with the time-domain simulation results. The relative error of the grid connection point voltage is less than 2%, and the relative error of the fault current does not exceed 0.155% under the condition of no current limiting. Furthermore, and Under the condition of multiple equilibrium solutions, by repeatedly solving the problem with different initial values, multiple feasible solutions under the same fault condition can be obtained, indicating that the proposed method can effectively handle the problem of multiple solutions in fault current calculation while ensuring the accuracy of calculation. by Taking the operating condition as an example, the proposed method can obtain four equilibrium solutions, as shown in Table 1. However, time-domain simulation shows that not all feasible solutions can become the steady-state operating point after the fault, as shown in the simulation waveforms. Figures 3 to 10 As shown. Figures 3 to 10 The black dashed line represents the equilibrium solution calculated by the proposed method, and the colored solid line represents the time-domain simulation results. The blue and yellow solid lines represent the grid connection point voltage and output current amplitude, respectively. Figure 4 and Figure 6 The green and red solid lines in the diagram represent active power and reactive power, respectively. Figure 8 and Figure 10 The red solid line in the middle represents the phase angle. .

[0054] The active power levels before the fault were different, and the system could converge to status or The high-pressure solution corresponding to the state is obtained, and a stable operating point is eventually formed, such as... Figures 3 to 6 As shown. The low-pressure solution is a stable equilibrium point, such as Figure 7 and Figure 8 As shown, however, the normal operating point is not within its attraction domain. Low-voltage solutions may experience PLL desynchronization under small disturbances, such as... Figure 9 and Figure 10 As shown, only two of the four feasible solutions, which are high-pressure solutions, correspond to the actual steady-state operating point under this condition.

[0055] Scenario 2: Algorithm comparison scenario.

[0056] Set the mains voltage The initial values ​​of the real and imaginary parts of the grid connection point voltage are taken as 0.6 pu and 0 p.u., respectively. Figure 11 As shown, the blue and red curves represent the real parts of the grid connection point voltage during the iteration process of the Newton-Raphson method, respectively. and the virtual part The changes are shown in the figure. As can be seen from the figure, when using the Newton-Raphson method to solve the problem, the iteration point repeatedly crosses the control switching boundary, forming periodic oscillations, and eventually fails to converge. However, this method can still obtain a feasible solution under the same initial voltage value, and the real part and imaginary part of the grid connection point voltage are 0.6123 pu and 0.5271 pu, respectively.

[0057] Example 2 The purpose of this embodiment is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described method.

[0058] Example 3 The purpose of this embodiment is to provide a computer-readable storage medium.

[0059] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the above method.

[0060] Example 4 The purpose of this embodiment is to provide a fault current calculation system based on mixed-integer nonlinear optimization, including: The operation state classification module is configured to classify the fault operation state of the grid-connected inverter into four categories according to the low voltage ride-through control strategy, and establish the current control equation for each state. The mixed-integer nonlinear optimization model construction module is configured to: select the real and imaginary parts of the fault current and grid connection point voltage as variables to be solved, introduce binary variables to represent the inverter operating state, handle the current control constraints and voltage range constraints of each state, and construct a mixed-integer nonlinear optimization model with zero as the objective function. The model solving module is configured to solve the model and select multiple initial values ​​to obtain multiple feasible solutions under the same fault condition.

[0061] Example 5 The purpose of this embodiment is to provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods and functions involved in any of the above embodiments.

[0062] The steps and methods involved in the apparatus of the above embodiments correspond to those in Embodiment 1. For specific implementation details, please refer to the relevant description section of Embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood as including any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and enabling the processor to perform any of the methods in this invention.

[0063] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.

[0064] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A fault current calculation method based on mixed-integer nonlinear optimization, characterized in that, include: Based on the low voltage ride-through control strategy, the fault operation states of the grid-connected inverter are divided into four categories, and current control equations are established for each state. The fault current and the real and imaginary parts of the grid connection point voltage are selected as variables to be solved. At the same time, binary variables are introduced to represent the inverter operating state. The current control constraints and voltage range constraints of each state are handled, and a hybrid integer nonlinear optimization model with zero as the objective function is constructed. Solve the model and select multiple initial values ​​to obtain multiple feasible solutions under the same fault condition.

2. The fault current calculation method based on mixed-integer nonlinear optimization as described in claim 1, characterized in that, Based on the low-voltage ride-through control strategy, the fault operation states of grid-connected inverters are classified into four categories, specifically including: Based on whether low-voltage ride-through control and current limiting strategies are triggered, the inverter operating state is divided into four categories: Low-voltage ride-through not triggered. S N Provides reactive power support but does not trigger current limiting. S L Prioritize providing reactive power support while reserving active power output. S P and maximum output reactive current S Q ; S N In this state, the inverter maintains the active power output as before the fault, and the reactive power is zero; as the grid voltage drops, the inverter enters... S L This state maintains constant active power while providing reactive power support; it enters a state where the output current reaches a limit. S P In this state, reactive power support is prioritized while active power output is limited; when the voltage drops further until the reactive current reaches its maximum limit, the inverter enters a new state. S Q The status does not output active power, only provides reactive power support.

3. The fault current calculation method based on mixed-integer nonlinear optimization as described in claim 1, characterized in that, Establish the current control equations for each state, and specify the current reference values ​​for the d-axis and q-axis as follows: in, This is the reactive current droop factor. This is the maximum allowable output current of the inverter. This is the reference value for active power before the fault. This represents the voltage amplitude at the grid connection point during the fault. The critical voltage for triggering current limiting control.

4. The fault current calculation method based on mixed-integer nonlinear optimization as described in claim 2, characterized in that, The fault current and the real and imaginary parts of the grid connection point voltage are selected as variables to be determined. Binary variables are also introduced to represent the inverter's operating state, specifically including: Define the set of states and for each state s ∈ Introducing binary variables , A set of states; Except for state variables In addition, the real and imaginary parts of the fault current and the grid connection point voltage are selected as variables to be determined.

5. The fault current calculation method based on mixed-integer nonlinear optimization as described in claim 1, characterized in that, considering... During a fault, the inverter can only be in one operating state, and the state variables should satisfy: in, For a set of states, It is a binary variable. Indicates selection status s ,on the contrary, This indicates that you do not select this state.

6. The fault current calculation method based on mixed-integer nonlinear optimization as described in claim 1, characterized in that, The mixed-integer nonlinear optimization model is as follows: In the formula, For a set of state variables, Let be the state variable to be determined. Let A, B, C, and D be the continuous variables to be determined, and let A, B, C, and D be the real and imaginary parts of the fault current and the grid connection point voltage, respectively. Let R be the equivalent voltage of the external power grid, and let X be the equivalent resistance and reactance of the external power grid, respectively. The voltage amplitude at the grid connection point during the fault; M is a sufficiently large positive number. and They are respectively states s The corresponding active and reactive current control equations, and They are respectively states s The corresponding lower and upper limits of the voltage range.

7. A fault current calculation system based on mixed-integer nonlinear optimization, characterized in that, include: The operation state classification module is configured to classify the fault operation state of the grid-connected inverter into four categories according to the low voltage ride-through control strategy, and establish the current control equation for each state. The mixed-integer nonlinear optimization model construction module is configured to: select the real and imaginary parts of the fault current and grid connection point voltage as variables to be solved, introduce binary variables to represent the inverter operating state, handle the current control constraints and voltage range constraints of each state, and construct a mixed-integer nonlinear optimization model with zero as the objective function. The model solving module is configured to solve the model and select multiple initial values ​​to obtain multiple feasible solutions under the same fault condition.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 6.

9. A computer device comprising 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, it implements the steps of the method described in any one of claims 1-6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it performs the steps of the method described in any one of claims 1-6 above.