Method and system for solving electromagnetic steady state of synchronous generator based on Fourier spectrum method

The differential matrix and time domain model were constructed by Fourier spectral method, which solved the problem of long electromagnetic steady-state solution time of synchronous generators, and achieved rapid steady-state periodic solution and hot start of electromagnetic transient simulation.

CN119026368AActive Publication Date: 2024-11-26ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD

Patent Information

Application Number
CN202411200576.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-11-26
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

The existing electromagnetic steady-state solution method of synchronous generators adopts zero-start method, resulting in a long calculation time and the periodic solution cannot be obtained quickly.

Method used

Fourier spectral differential matrix is ​​constructed by Fourier spectral method, and the initial electromagnetic transient time domain model is generated through electromagnetic transient simulation, and steady-state periodic solution is performed based on Fourier spectral differential matrix and time domain model to generate electromagnetic steady-state Solve the data.

Benefits of technology

The Fourier spectral method is used to quickly calculate the steady-state periodic solution, which reduces the solution time and provides hot-start electromagnetic transient simulation, avoiding the need for a large number of discrete points in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026368A_ABST
    Figure CN119026368A_ABST
Patent Text Reader

Abstract

The invention discloses a Fourier spectrum method-based synchronous generator electromagnetic steady state solving method and system, and relates to the technical field of power systems. The method comprises the following steps of: constructing a Fourier spectrum differential matrix by adopting operation data of a synchronous generator to generate the Fourier spectrum differential matrix; electromagnetic transient simulation is carried out based on the operation data, and an initial electromagnetic transient time domain model is generated; and performing steady-state period solving based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solving data. When the three-phase symmetric steady-state periodic solution is calculated, accurate discrete points can be obtained through the Fourier spectrum method, and an accurate series expression can be obtained through only few discrete points in the Fourier spectrum method. According to the method, the Fourier spectrum differential matrix is constructed by adopting the Fourier spectrum method, the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model are adopted to carry out steady-state periodic solution, the steady-state periodic solution can be calculated through fewer discrete points, the solution speed is high, and the used solution time is short.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to a method and system for solving electromagnetic steady-state problems of synchronous generators based on a Fourier spectrum method. Background Art

[0002] my country's power system is increasingly characterized by a high proportion of new energy, high power electronics, and high AC / DC coupling. The switching process of power electronic converters has a short time scale and will also bring harmonics to the power system. In order to more carefully characterize the transient process of the power system, it is necessary to perform electromagnetic transient simulation on it.

[0003] Traditional electromagnetic transient simulation requires a smaller time step. Unlike the equilibrium solution of electromechanical transient, which is the equilibrium point, the equilibrium solution of electromagnetic transient is a periodic solution. The existing method for solving the electromagnetic steady-state of synchronous generators is to use the zero-start method, but this method takes a long time to calculate to obtain a periodic solution. Summary of the invention

[0004] The present invention provides a method and system for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method, which solves the technical problem that the existing method for solving the electromagnetic steady-state of a synchronous generator adopts a zero-start mode for solving and requires a long calculation time to obtain a periodic solution.

[0005] The present invention provides a method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method, comprising:

[0006] Acquiring operation data corresponding to the synchronous generator, using the operation data to construct a Fourier spectrum differential matrix, and generating a Fourier spectrum differential matrix;

[0007] Perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time domain model;

[0008] A steady-state periodic solution is performed based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data.

[0009] Optionally, the step of constructing a Fourier spectrum differential matrix using the operating data to generate a Fourier spectrum differential matrix comprises:

[0010] constructing a differential algebraic equation group using the operating data to generate a differential algebraic equation group corresponding to the synchronous generator;

[0011] The periodic function corresponding to the differential algebraic equation group is sampled multiple times within a preset definition domain to generate a discrete vector;

[0012] Substituting the discrete vector into the differential algebraic equation group to construct a discrete point Fourier spectrum method algebraic equation to generate a Fourier spectrum method algebraic equation;

[0013] A Fourier spectrum differential matrix is ​​constructed based on the Fourier spectrum method algebraic equation and the discrete vector to generate a Fourier spectrum differential matrix.

[0014] Optionally, the step of constructing a Fourier spectrum differential matrix based on the Fourier spectrum method algebraic equation and the discrete vector to generate a Fourier spectrum differential matrix comprises:

[0015] Performing discrete Fourier transform and inverse discrete Fourier transform on the Fourier spectrum method algebraic equation to generate a transformation equation;

[0016] Performing derivative discrete point sampling on the transformation equation to generate a derivative discrete vector;

[0017] The derivative discrete vector and the discrete vector are used to construct a differential matrix to generate a Fourier spectrum differential matrix.

[0018] Optionally, the step of performing electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time domain model includes:

[0019] The operating data is used to construct a model to generate a synchronous generator model;

[0020] Performing Park transformation on each state parameter in the synchronous generator model to generate an initial electromagnetic transient time domain model;

[0021] The stator current equation corresponding to the initial electromagnetic transient time domain model is:

[0022] ;

[0023] in, is the stator direct axis current; is the direct-axis open-circuit transient time constant; is the direct-axis open-circuit subtransient time constant; is the direct-axis transient electromotive force; is the direct axis subtransient electromotive force; is the direct-axis transient reactance; is the direct-axis subtransient reactance; is the stator quadrature axis current; is the quadrature axis open circuit transient time constant; is the quadrature-axis open-circuit subtransient time constant; is the quadrature axis transient electromotive force; is the quadrature-axis transient electromotive force; is the quadrature-axis transient reactance; is the quadrature-axis subtransient reactance; is the stator resistance; is the stator direct axis voltage; is the stator quadrature axis voltage; is the rotor motion angle relative to the synchronous rotating coordinate system; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator winding zero-sequence current; is the zero-sequence inductance of the stator winding; is the stator winding zero-sequence voltage;

[0024] The generator electromagnetic power equation corresponding to the initial electromagnetic transient time domain model is:

[0025] ;

[0026] in, is the electromagnetic power of the generator; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance;

[0027] The generator electromagnetic torque equation corresponding to the initial electromagnetic transient time domain model is:

[0028] ;

[0029] in, is the electromagnetic torque of the generator; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance.

[0030] Optionally, the step of performing steady-state periodic solution based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data includes:

[0031] Performing initial value calculation on each state variable in the synchronous generator by using the power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator to generate a target initial value data set;

[0032] Using the target initial data set to update the synchronous generator differential equation group in the initial electromagnetic transient time-domain model to generate a target electromagnetic transient time-domain model;

[0033] The target electromagnetic transient time domain model is solved for discrete points within a period using a Fourier spectrum method to generate a target discrete transposed vector;

[0034] Using the Fourier series coefficients corresponding to the target discrete transposed vector to update the Fourier series expression corresponding to the Fourier spectrum differential matrix, to generate a target Fourier series expression;

[0035] The Shannon sampling law and the target Fourier series expression are used to perform electromagnetic transient solution and steady-state periodic solution on the synchronous generator to generate electromagnetic steady-state solution data.

[0036] Optionally, the step of performing initial value calculation on each state variable in the synchronous generator by using the power flow data corresponding to the operating data and the power angle relationship data corresponding to the synchronous generator to generate a target initial value data set includes:

[0037] The power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator are used to perform The initial voltage and current values ​​of the axis are calculated and generated The initial value of shaft voltage and Initial value of shaft current;

[0038] The flow data, the The initial value of the shaft voltage and the Substituting the initial value of the shaft current into a preset initial value formula of the state variable to perform initialization calculation on each state variable in the initial electromagnetic transient time domain model to generate an initial value data set;

[0039] Adopt the Initial value of shaft voltage, The shaft current initial value and the initial initial value data set are used to construct a target initial value data set.

[0040] Optionally, the step of using the Fourier spectrum method to solve the target electromagnetic transient time domain model for discrete points within a period to generate a target discrete transposed vector includes:

[0041] Initializing the target electromagnetic transient time domain model using a preset iteration accuracy and a preset iteration initial value to generate a time domain model;

[0042] Using the state equation function corresponding to each state variable of the time domain model within a period, constructing a discrete point Fourier spectrum method algebraic equation corresponding to the time domain model;

[0043] Calculate the product of the discrete point Fourier spectrum method algebraic equation, the Fourier spectrum differential transposed inverse matrix corresponding to the time domain model and the state variable coefficient inverse matrix to generate an initial discrete transposed vector and count the number of iterations;

[0044] Using the discrete vector corresponding to the initial discrete transposed vector and the historical discrete vector to perform iterative accuracy judgment to generate accuracy judgment data;

[0045] When the accuracy judgment data is less than or equal to the preset iteration accuracy, using the initial discrete transposed vector at the current moment as the target discrete transposed vector;

[0046] When the accuracy judgment data is greater than the preset iteration accuracy, the time domain model corresponding to the initial discrete transposed vector is used as the new time domain model, the number of iterations is updated by 1, and the step of calculating the product between the state variable coefficient matrix, discrete transposed vector and Fourier spectrum differential transposed matrix corresponding to the time domain model is jumped to generate the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model.

[0047] The present invention also provides a synchronous generator electromagnetic steady-state solution system based on Fourier spectrum method, comprising:

[0048] A Fourier spectrum differential matrix generation module is used to obtain operation data corresponding to the synchronous generator, use the operation data to construct the Fourier spectrum differential matrix, and generate the Fourier spectrum differential matrix;

[0049] An initial electromagnetic transient time-domain model generation module is used to perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time-domain model;

[0050] The electromagnetic steady-state solution data generation module is used to perform steady-state periodic solution based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data.

[0051] The present invention also provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of implementing any of the above-mentioned methods for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method.

[0052] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method as described above is implemented.

[0053] It can be seen from the above technical solutions that the present invention has the following advantages:

[0054] The present invention constructs a Fourier spectrum differential matrix by using the Fourier spectrum method. When calculating the three-phase symmetrical steady-state periodic solution, the Fourier spectrum method can obtain accurate discrete points, and the Fourier spectrum method only needs a few discrete points to obtain an accurate series expression. Therefore, by using the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to solve the steady-state period, the steady-state periodic solution can be calculated through fewer discrete points, providing a hot start for the electromagnetic transient simulation, without the need to use a lot of discrete points to perform electromagnetic transient simulation until steady state like the traditional zero-start method. The present invention has a fast solution speed and a short solution time, which solves the technical problem that the existing synchronous generator electromagnetic steady-state solution method uses a zero-start method to solve and requires a long calculation time to obtain a periodic solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0056] Figure 1 A flowchart of a method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method provided in the first embodiment of the present invention;

[0057] Figure 2 A flowchart of a method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method provided in the second embodiment of the present invention;

[0058] Figure 3 A schematic diagram of the relationship between the dq rotating coordinate system and the abc three-phase stationary coordinate system provided in the second embodiment of the present invention;

[0059] Figure 4 A flowchart of a method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method provided in the second embodiment of the present invention;

[0060] Figure 5 A schematic diagram of a steady-state simulation result of a port voltage without harmonics using a Fourier spectrum method with 3 sampling points provided in the second embodiment of the present invention;

[0061] Figure 6 A schematic diagram of a steady-state simulation result of a port voltage without harmonics using a Fourier spectrum method with 10 sampling points provided in the second embodiment of the present invention;

[0062] Figure 7 A schematic diagram of a steady-state simulation result of a port voltage including (5th) harmonics using a Fourier spectrum method with 11 sampling points provided in the second embodiment of the present invention;

[0063] Figure 8 A schematic diagram of a steady-state simulation result of a port voltage including (5th) harmonics using the Fourier spectrum method with 30 sampling points provided in the second embodiment of the present invention;

[0064] Fig. 9 A structural block diagram of a synchronous generator electromagnetic steady-state solution system based on Fourier spectrum method provided in Embodiment 3 of the present invention;

[0065] Fig.10 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0066] The embodiment of the present invention provides a method and system for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method, which is used to solve the technical problem that the existing method for solving the electromagnetic steady-state of a synchronous generator adopts a zero-start mode for solving and requires a long calculation time to obtain a periodic solution.

[0067] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0068] Embodiment 1

[0069] See also Figure 1 , Figure 1 A flowchart of the steps of a method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method provided in Example 1 of the present invention.

[0070] A method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method is provided in Example 1 of the present invention, comprising:

[0071] Step 101: Acquire operating data corresponding to the synchronous generator, use the operating data to construct a Fourier spectrum differential matrix, and generate a Fourier spectrum differential matrix.

[0072] In an embodiment of the present invention, operating data corresponding to the synchronous generator is obtained, and a differential algebraic equation group is constructed using the operating data to generate a differential algebraic equation group corresponding to the synchronous generator. The periodic function corresponding to the differential algebraic equation group is sampled multiple times within a preset definition domain to generate a discrete vector. The discrete vector is substituted into the differential algebraic equation group to construct a discrete point Fourier spectrum method algebraic equation to generate a Fourier spectrum method algebraic equation. A Fourier spectrum differential matrix is ​​constructed based on the Fourier spectrum method algebraic equation and the discrete vector to generate a Fourier spectrum differential matrix.

[0073] Step 102: Perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time domain model.

[0074] In the embodiment of the present invention, the operation data is used to construct the model to generate the synchronous generator model. The state parameters in the synchronous generator model are subjected to Park transformation to generate the initial electromagnetic transient time domain model.

[0075] Step 103: Perform steady-state periodic solution based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data.

[0076] In an embodiment of the present invention, the flow data corresponding to the operating data and the power angle relationship data corresponding to the synchronous generator are used to perform initial value calculations on each state variable in the synchronous generator to generate a target initial value data set. The target initial data set is used to update the synchronous generator differential equation group in the initial electromagnetic transient time domain model to generate a target electromagnetic transient time domain model. The Fourier spectrum method is used to solve the target electromagnetic transient time domain model for discrete points within the period to generate a target discrete transposed vector. The Fourier series expression corresponding to the Fourier spectrum differential matrix is ​​updated using the Fourier series coefficients corresponding to the target discrete transposed vector to generate a target Fourier series expression. The Shannon sampling law and the target Fourier series expression are used to solve the electromagnetic transient solution steady-state period of the synchronous generator to generate electromagnetic steady-state solution data.

[0077] In an embodiment of the present invention, by acquiring the operating data corresponding to the synchronous generator, the operating data is used to construct the Fourier spectrum differential matrix to generate the Fourier spectrum differential matrix; based on the operating data, electromagnetic transient simulation is performed to generate an initial electromagnetic transient time domain model; based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model, the steady-state period solution is performed to generate electromagnetic steady-state solution data. When calculating the three-phase symmetrical steady-state period solution, the Fourier spectrum method can obtain accurate discrete points, and the Fourier spectrum method only requires a few discrete points to obtain an accurate series expression. The present invention uses the Fourier spectrum method to construct the Fourier spectrum differential matrix, and uses the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to solve the steady-state period. The steady-state period solution can be calculated with fewer discrete points, providing a hot start for the electromagnetic transient simulation. There is no need to use many discrete points to perform electromagnetic transient simulation until steady state like the traditional zero-start method. The technical problem that the existing synchronous generator electromagnetic steady-state solution method uses a zero-start method to solve and requires a long calculation time to obtain a periodic solution is solved.

[0078] Embodiment 2

[0079] See also Figure 2 , Figure 2 A flowchart of the steps of a method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method provided in the second embodiment of the present invention.

[0080] Another method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method provided in Example 2 of the present invention includes:

[0081] Step 201: Acquire operating data corresponding to the synchronous generator, use the operating data to construct a Fourier spectrum differential matrix, and generate a Fourier spectrum differential matrix.

[0082] Further, step 201 may include the following sub-steps S11-S14:

[0083] S11. Use the operating data to construct a differential algebraic equation group to generate a differential algebraic equation group corresponding to the synchronous generator.

[0084] S12. Sampling the periodic function corresponding to the differential algebraic equation group multiple times within a preset definition domain to generate a discrete vector.

[0085] S13. Substitute the discrete vector into the differential algebraic equation system to construct a discrete point Fourier spectrum method algebraic equation to generate a Fourier spectrum method algebraic equation.

[0086] S14. Construct a Fourier spectrum differential matrix based on Fourier spectrum method algebraic equations and discrete vectors to generate a Fourier spectrum differential matrix.

[0087] Further, step S14 may include the following sub-steps S141-S143:

[0088] S141. Perform discrete Fourier transform and inverse discrete Fourier transform on the Fourier spectrum method algebraic equation to generate a transformation equation.

[0089] S142. Perform derivative discrete point sampling on the transformation equation to generate a derivative discrete vector.

[0090] S143. Use the derivative discrete vector and the discrete vector to construct a differential matrix to generate a Fourier spectrum differential matrix.

[0091] In the embodiment of the present invention, for a general component model, the general form of the differential algebraic equation group, that is, the differential algebraic equation group corresponding to the synchronous generator is:

[0092] ;

[0093] in, is the state variable; is the component terminal voltage; Injecting current into the grid for components; is the state variable coefficient matrix; For about , The state equation function of For calculation algebraic equations;

[0094] For periodic functions In the default domain Internal Subsampling, is the sampling period, and the discrete vector .

[0095] ;

[0096] in, is a discrete vector; is the periodic function when the sampling period is 0; The sampling period is A periodic function of The sampling period is The periodic function of express OK A real matrix with columns.

[0097] Define the Fourier spectrum differential matrix as ,in, express OK Column real matrix, then The derivative function corresponding to the discrete vector of derivative functions With discrete vector There are the following relationships:

[0098] ;

[0099] Substituting into the differential algebraic equation system, we can obtain the Fourier spectral method algebraic equation of discrete points:

[0100] ;

[0101] in, is the state variable coefficient matrix; is a discrete vector The transpose of is the discrete transpose vector; is the Fourier spectrum differential matrix The transpose of is the Fourier spectrum differential transpose matrix; is the voltage discrete matrix The transpose of is the voltage discrete transpose matrix; is the current discretization matrix The transpose of is the current discrete transpose matrix; represents transpose; For differential equations Discrete-point Fourier spectral method algebraic equation, where ; is an algebraic equation Discrete-point Fourier spectral methods for algebraic equations.

[0102] The following generates the Fourier spectrum differential matrix, assuming For As a periodic function, it has the following Fourier series expression:

[0103] ;

[0104] ;

[0105] in, For the Sub-Fourier coefficients; is the total number of harmonics; is the Fourier coefficient vector; is the Fourier basis function vector; is the reference frequency; is an imaginary unit; is the Fourier basis function; denotes conjugation; represents conjugate transpose; For the The conjugate of the sub-Fourier coefficient; Indicates transpose.

[0106] right The Fourier series expression of the derivative is recorded as ,have to:

[0107] ;

[0108] in, is the Fourier series derivative; For the Sub-Fourier coefficients; is the total number of harmonics; is the Fourier coefficient vector; is the Fourier basis function vector; is the reference frequency; is an imaginary unit; is the Fourier basis function; denotes conjugation; represents conjugate transpose; For the The conjugate of the sub-Fourier coefficient; represents transpose; To find the derivative operator; is the Fourier coefficient vector The conjugation of.

[0109] Sampling can obtain discrete Fourier transform and inverse transform, that is, the transformation equation is;

[0110] ;

[0111] in, is a discrete vector; is the sampling times; is the Fourier coefficient vector; represents conjugate transpose; is the correction equation for the DC component; is the Fourier basis function discrete matrix, .

[0112] Then the derivative discrete point sampling is:

[0113] ;

[0114] in, is the discrete vector of derivative function; is the Fourier coefficient vector; denotes conjugation; To find the derivative operator; is the Fourier coefficient vector conjugation of; is the Fourier basis function discrete matrix, .

[0115] because , , we can get the derivative discrete vector:

[0116] ;

[0117] in, is the discrete vector of derivative function; is a discrete vector; is the sampling times; denotes conjugation; To find the derivative operator; is the correction equation for the DC component; represents transpose; represents conjugate transpose; is the Fourier basis function discrete matrix, .

[0118] After the above transformation using the derivative discrete vector and discrete vector, the Fourier spectrum differential matrix is ​​obtained:

[0119] ;

[0120] in, is the Fourier spectrum differential matrix; is the sampling times; denotes conjugation; To find the derivative operator; is the correction equation for the DC component; represents transpose; represents conjugate transpose; is the Fourier basis function discrete matrix, .

[0121] Step 202: Perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time domain model.

[0122] Further, step 202 may include the following sub-steps S21-S22:

[0123] S21. Use the operating data to construct a model and generate a synchronous generator model.

[0124] S22. Perform Park transformation on each state parameter in the synchronous generator model to generate an initial electromagnetic transient time domain model.

[0125] In the embodiment of the present invention, the operation data is used to construct the model and generate the synchronous generator model. Since the angle between the rotating coordinate system of the synchronous generator and the three-phase stationary coordinate system (taking voltage as an example) is as follows Figure 3As shown, the transformation of each parameter in the rotating coordinate system and the corresponding parameters in the three-phase stationary coordinate system conforms to the Parker transformation. When analyzing the components, the 0-axis component is generally ignored. Therefore, the Parker transformation is performed on each state parameter in the synchronous generator model to construct an initial electromagnetic transient time domain model, which is used to solve the discrete point Fourier spectrum method algebraic equation. Among them, the transformation matrix of the Parker transformation and its inverse transformation coefficient matrix are as follows:

[0126] ;

[0127] ;

[0128] in, is the transformation matrix of Parker transformation; is the inverse transform coefficient matrix of Parker transform; is the rotor motion angle relative to the synchronous rotating coordinate system; is the rotor angular velocity relative to the synchronously rotating coordinate system.

[0129] Under the Parker transformation, The variables in the coordinate system are The variable conversion equation in the coordinate system is as follows:

[0130] ;

[0131] in, for Universal variables in coordinate system, ; for Universal variables in coordinate systems ;

[0132] The equation of motion of the generator rotor is:

[0133] ;

[0134] in, is the rotor inertia time constant; is the mechanical torque; is the electromagnetic torque; is the rotor motion angle relative to the synchronous rotating coordinate system; is the rotor angular velocity relative to the synchronous rotating coordinate system; The rotor damping.

[0135] The mathematical model of the synchronous generator uses motor parameters, and the stator side uses the generator convention. The rotor voltage equation of its electromagnetic transient state (without considering saturation) is:

[0136] ;

[0137] in, is the stator direct axis current; is the direct-axis open-circuit transient time constant; is the direct-axis open-circuit subtransient time constant; is the direct-axis transient electromotive force; is the direct axis subtransient electromotive force; is the direct-axis transient reactance; is the direct-axis subtransient reactance; is the stator quadrature axis current; is the quadrature axis open circuit transient time constant; is the quadrature-axis open-circuit subtransient time constant; is the quadrature axis transient electromotive force; is the quadrature-axis transient electromotive force; is the quadrature-axis transient reactance; is the quadrature-axis subtransient reactance; is the excitation potential;

[0138] Different from the electromechanical transient model, the stator current equation in the electromagnetic transient model needs to consider the instantaneous rate of change of the flux. Therefore, the stator current equation corresponding to the initial electromagnetic transient time domain model is:

[0139] ;

[0140] in, is the stator direct axis current; is the direct-axis open-circuit transient time constant; is the direct-axis open-circuit subtransient time constant; is the direct-axis transient electromotive force; is the direct axis subtransient electromotive force; is the direct-axis transient reactance; is the direct-axis subtransient reactance; is the stator quadrature axis current; is the quadrature axis open circuit transient time constant; is the quadrature-axis open-circuit subtransient time constant; is the quadrature axis transient electromotive force; is the quadrature-axis transient electromotive force; is the quadrature-axis transient reactance; is the quadrature-axis subtransient reactance; is the stator resistance; is the stator direct axis voltage; is the stator quadrature axis voltage; is the rotor motion angle relative to the synchronous rotating coordinate system; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator winding zero-sequence current; is the zero-sequence inductance of the stator winding; is the stator winding zero-sequence voltage.

[0141] The generator electromagnetic power equation and generator electromagnetic torque equation corresponding to the initial electromagnetic transient time domain model are as follows:

[0142] ;

[0143] ;

[0144] in, is the electromagnetic power of the generator; is the electromagnetic torque of the generator; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance.

[0145] Step 203: Perform initial value calculation on each state variable in the synchronous generator using the power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator to generate a target initial value data set.

[0146] Further, step 203 may include the following sub-steps S31-S33:

[0147] S31, using the power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator to perform The initial voltage and current values ​​of the axis are calculated and generated The initial value of shaft voltage and Initial value of shaft current.

[0148] S32, the flow data, The initial value of shaft voltage and The initial value of the shaft current is substituted into the preset initial value formula of the state variable to initialize the calculation of each state variable in the initial electromagnetic transient time domain model to generate an initial value data set.

[0149] S33, use Initial value of shaft voltage, The shaft current initial value and the initial initial value data set are used to construct the target initial value data set.

[0150] In the embodiment of the present invention, the relationship between the power flow data corresponding to the operation data and the power angle of the synchronous generator can be given. The initial value of shaft voltage and Initial value of shaft current:

[0151] ;

[0152] ;

[0153] ;

[0154] ;

[0155] in, is the power angle in steady state; is the rotor angle at the initial moment; represents steady-state voltage; is the steady-state voltage of the y-axis in the common rotating coordinate system; is the x-axis steady-state voltage in the common rotating coordinate system; represents steady-state current; is the steady-state current of the y-axis in the common rotating coordinate system; is the x-axis steady-state current in the common rotating coordinate system; is the stator resistance; is the quadrature-axis reactance; is the synchronous generator power angle; for The steady-state voltage of the direct axis at the initial moment in the coordinate system; for The steady-state voltage of the quadrature axis at the initial moment in the coordinate system; for The steady-state current of the direct axis at the initial moment in the coordinate system; for Steady-state current at the initial moment of the quadrature axis in the coordinate system; is the steady-state voltage of the x-axis at the initial moment in the common rotating coordinate system; is the steady-state voltage of the y-axis at the initial moment in the common rotating coordinate system; is the steady-state current at the initial moment of the x-axis in the common rotating coordinate system; is the steady-state current on the y-axis at the initial moment in the common rotating coordinate system.

[0156] According to the voltage and current at the initial moment, the initial values ​​of the state variables in the synchronous generator can be initialized in the following way, that is, the power flow data, The initial value of shaft voltage and Substitute the initial value of the shaft current into the following preset state variable initial value formula to initialize the calculation of each state variable in the initial electromagnetic transient time domain model and generate an initial value data set. The preset state variable initial value formula is:

[0157] ;

[0158] in, is the rotor angular velocity relative to the synchronous rotating coordinate system at the initial moment; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance; is the quadrature-axis transient reactance; is the quadrature-axis subtransient reactance; is the initial value of the steady-state direct-axis sub-transient electromotive force at the initial moment; is the initial value of the steady-state direct-axis sub-transient electromotive force at the initial moment; is the initial value of the steady-state direct-axis transient electromotive force at the initial moment; is the initial value of the steady-state quadrature-axis transient electromotive force at the initial moment; is the initial value of electromagnetic power; is the initial value of mechanical power; is the initial value of the excitation potential; for Direct axis steady-state current in the coordinate system; for Quadrature axis steady-state current in the coordinate system; for Direct axis steady-state voltage in the coordinate system; for The quadrature axis steady-state voltage in the coordinate system.

[0159] Step 204: Use the target initial data set to update the synchronous generator differential equation group in the initial electromagnetic transient time-domain model to generate a target electromagnetic transient time-domain model.

[0160] In an embodiment of the present invention, the initial values ​​of the synchronous generator are initialized and calculated according to the power flow calculation results to obtain a target initial data set, and then the target initial data set is used to update the synchronous generator differential equation group in the initial electromagnetic transient time domain model, so that the differential term of the synchronous generator differential equation group in the initial electromagnetic transient time domain model is 0, thereby obtaining the target electromagnetic transient time domain model.

[0161] Step 205: Use the Fourier spectrum method to solve the target electromagnetic transient time domain model at discrete points within a period to generate a target discrete transposed vector.

[0162] Further, step 205 may include the following sub-steps S41-S46:

[0163] S41. Initialize the target electromagnetic transient time domain model using a preset iteration accuracy and a preset iteration initial value to generate a time domain model.

[0164] S42. Use the state equation function corresponding to each state variable of the time domain model within a period to construct a discrete point Fourier spectrum method algebraic equation corresponding to the time domain model.

[0165] S43, calculating the product between the discrete point Fourier spectrum method algebraic equation, the Fourier spectrum differential transposed inverse matrix corresponding to the time domain model and the inverse matrix of the state variable coefficients, generating an initial discrete transposed vector and counting the number of iterations.

[0166] S44. Use the discrete vector corresponding to the initial discrete transposed vector and the historical discrete vector to perform iterative accuracy judgment to generate accuracy judgment data.

[0167] S45. When the accuracy judgment data is less than or equal to the preset iteration accuracy, the initial discrete transposed vector at the current moment is used as the target discrete transposed vector.

[0168] S46. When the accuracy judgment data is greater than the preset iteration accuracy, the time domain model corresponding to the initial discrete transposed vector is used as the new time domain model, the number of iterations is updated by 1, and the step of calculating the product between the state variable coefficient matrix, the discrete transposed vector and the Fourier spectrum differential transposed matrix corresponding to the time domain model is jumped to generate the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model.

[0169] In the embodiment of the present invention, the Fourier spectrum method equation is listed and the discrete points in the calculation cycle are solved. The flowchart of the Fourier spectrum method for solving the electromagnetic transient model of the synchronous generator is as follows: Figure 4 As shown. In calculating the Fourier spectrum differential matrix 、The initial value of each variable at time 0 After that, given the preset iteration accuracy and preset initial value of iteration , set Start iteration. Use fixed point iteration format Repeat the iteration until the accuracy converges. That is, the target electromagnetic transient time domain model is initialized using the preset iteration accuracy and the preset iteration initial value to generate the time domain model. The state equation function corresponding to each state variable of the time domain model in the period is used to construct the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model. The discrete point Fourier spectrum method algebraic equation is:

[0170] ;

[0171] in, For about , The state equation function of is the state variable; is the component terminal voltage; is a discrete vector The transpose of is the discrete transpose vector; is the voltage discrete matrix The transpose of is the voltage discrete transpose matrix; is the sampling period; express OK A real matrix of columns; Indicates transpose.

[0172] Then, the product of the Fourier spectrum differential transposed inverse matrix and the state variable coefficient inverse matrix corresponding to the discrete point Fourier spectrum method algebraic equation and the time domain model is calculated to generate the initial discrete transposed vector and count the number of iterations. for:

[0173] ;

[0174] in, is the discrete point Fourier spectral method algebraic equation, where ; is the inverse matrix of state variable coefficients; It is the inverse transposed matrix of the Fourier spectrum differential corresponding to the time domain model.

[0175] Substitute the discrete vector corresponding to the initial discrete transposed vector and the historical discrete vector into the following formula for iterative accuracy judgment to generate accuracy judgment data.

[0176] ;

[0177] in, is a discrete vector; is a discrete vector The corresponding historical discrete vector; It is the preset iteration precision.

[0178] When the accuracy judgment data is greater than the preset iteration accuracy, the time domain model corresponding to the initial discrete transposed vector is used as the new time domain model, the number of iterations is updated plus 1, and the step of calculating the product between the state variable coefficient matrix, the discrete transposed vector and the Fourier spectrum differential transposed matrix corresponding to the time domain model is jumped to generate the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model. When the accuracy judgment data is less than or equal to the preset iteration accuracy, the initial discrete transposed vector at the current moment is used as the target discrete transposed vector.

[0179] Step 206: Use the Fourier series coefficients corresponding to the target discrete transposed vector to update the Fourier series expression corresponding to the Fourier spectrum differential matrix to generate a target Fourier series expression.

[0180] In the embodiment of the present invention, the Fourier series coefficients corresponding to the discrete points calculated by the target discrete transposed vector are used to obtain the target Fourier series expression of the interval solution, that is, the Fourier series expression corresponding to the Fourier spectrum differential matrix is ​​updated using the Fourier series coefficients corresponding to the target discrete transposed vector to generate the target Fourier series expression. In this way, the variable value at any time on the entire interval can be obtained. The target Fourier series expression is:

[0181] ;

[0182] in, For the Sub-Fourier coefficients; is the total number of harmonics; is the Fourier coefficient vector; is the Fourier basis function vector; is the reference frequency; is an imaginary unit; is the Fourier basis function; denotes conjugation; represents conjugate transpose; For the The conjugate of the sub-Fourier coefficient; Indicates transpose.

[0183] Step 207: Use Shannon's sampling law and the target Fourier series expression to perform electromagnetic transient solution and steady-state periodic solution on the synchronous generator to generate electromagnetic steady-state solution data.

[0184] In an embodiment of the present invention, when calculating the three-phase symmetrical steady-state periodic solution, the Fourier spectrum method can obtain accurate discrete points, and the Fourier spectrum method only requires a few discrete points to obtain an accurate series expression. After obtaining the target Fourier series expression, combined with the Shannon sampling law, the synchronous generator is subjected to electromagnetic transient solution and steady-state periodic solution. When the number of sampling points meets the maximum harmonic order, accurate results can be obtained, and electromagnetic steady-state solution data can be obtained.

[0185] In the embodiment of the present invention, Figures 5 to 8 As shown in the figure, the electromagnetic transient state of the synchronous generator without harmonic three-phase symmetrical steady state is calculated by Fourier spectrum method. Figure 5 and Figure 6 As shown, the three-phase symmetrical steady-state results including (5th) harmonics are as follows Figure 7 and Figure 8As shown, the convergence accuracy is 10-14. The figure shows the calculation results of different sampling points. It can be seen that when calculating the three-phase symmetrical steady-state periodic solution, the Fourier spectrum method can obtain accurate discrete points, and the Fourier spectrum method only needs a small number of discrete points to obtain an accurate series expression. According to Shannon's sampling law, the number of sampling points and the maximum harmonic order can be satisfied to obtain accurate results. Therefore, the Fourier spectrum method can be used in synchronous generators to calculate the steady-state periodic solution through fewer discrete points, without the need to use many discrete points for electromagnetic transient simulation until steady state like the traditional zero-start method.

[0186] Embodiment 3

[0187] See also Fig. 9 , Fig. 9 A structural block diagram of a synchronous generator electromagnetic steady-state solution system based on the Fourier spectrum method provided in Embodiment 3 of the present invention.

[0188] A synchronous generator electromagnetic steady-state solution system based on the Fourier spectrum method is provided in Example 3 of the present invention, comprising:

[0189] The Fourier spectrum differential matrix generation module 901 is used to obtain the operation data corresponding to the synchronous generator, construct the Fourier spectrum differential matrix using the operation data, and generate the Fourier spectrum differential matrix.

[0190] The initial electromagnetic transient time-domain model generation module 902 is used to perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time-domain model.

[0191] The electromagnetic steady-state solution data generation module 903 is used to perform steady-state periodic solution based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data.

[0192] Optionally, the Fourier spectrum differential matrix generation module 901 includes:

[0193] The differential algebraic equation group generation module is used to construct the differential algebraic equation group using the operating data to generate the differential algebraic equation group corresponding to the synchronous generator.

[0194] The discrete vector generation module is used to perform multiple sampling of the periodic function corresponding to the differential algebraic equation group within a preset definition domain to generate a discrete vector.

[0195] The Fourier spectrum method algebraic equation generation module is used to substitute discrete vectors into the differential algebraic equation system to construct discrete point Fourier spectrum method algebraic equations and generate Fourier spectrum method algebraic equations.

[0196] The Fourier spectrum differential matrix generation submodule is used to construct the Fourier spectrum differential matrix based on the Fourier spectrum method algebraic equation and discrete vectors to generate the Fourier spectrum differential matrix.

[0197] Optionally, the Fourier spectrum differential matrix generation submodule can perform the following steps:

[0198] Perform discrete Fourier transform and inverse discrete Fourier transform on the Fourier spectrum method algebraic equation to generate a transformation equation;

[0199] The transformation equation is sampled at discrete points of derivatives to generate discrete vectors of derivatives;

[0200] The derivative discrete vector and the discrete vector are used to construct the differential matrix and generate the Fourier spectrum differential matrix.

[0201] Optionally, the initial electromagnetic transient time-domain model generation module 902 may perform the following steps:

[0202] The operation data is used to construct the model and generate the synchronous generator model;

[0203] Perform Park transformation on each state parameter in the synchronous generator model to generate an initial electromagnetic transient time domain model;

[0204] The stator current equation corresponding to the initial electromagnetic transient time domain model is:

[0205] ;

[0206] in, is the stator direct axis current; is the direct-axis open-circuit transient time constant; is the direct-axis open-circuit subtransient time constant; is the direct-axis transient electromotive force; is the direct axis subtransient electromotive force; is the direct-axis transient reactance; is the direct-axis subtransient reactance; is the stator quadrature axis current; is the quadrature axis open circuit transient time constant; is the quadrature-axis open-circuit subtransient time constant; is the quadrature axis transient electromotive force; is the quadrature-axis transient electromotive force; is the quadrature-axis transient reactance; is the quadrature-axis subtransient reactance; is the stator resistance; is the stator direct axis voltage; is the stator quadrature axis voltage; is the rotor motion angle relative to the synchronous rotating coordinate system; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator winding zero-sequence current; is the zero-sequence inductance of the stator winding; is the stator winding zero-sequence voltage;

[0207] The generator electromagnetic power equation corresponding to the initial electromagnetic transient time domain model is:

[0208] ;

[0209] in, is the electromagnetic power of the generator; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance;

[0210] The generator electromagnetic torque equation corresponding to the initial electromagnetic transient time domain model is:

[0211] ;

[0212] in, is the electromagnetic torque of the generator; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance.

[0213] Optionally, the electromagnetic steady-state solution data generation module 903 includes:

[0214] The target initial value data set generation module is used to use the power flow data corresponding to the operating data and the power angle relationship data corresponding to the synchronous generator to perform initial value calculations on each state variable in the synchronous generator to generate a target initial value data set.

[0215] The target electromagnetic transient time-domain model generation module is used to update the synchronous generator differential equation group in the initial electromagnetic transient time-domain model using the target initial data set to generate the target electromagnetic transient time-domain model.

[0216] The target discrete transposed vector generation module is used to solve the target electromagnetic transient time domain model at discrete points within a period using the Fourier spectrum method to generate the target discrete transposed vector.

[0217] The target Fourier series expression generation module is used to update the Fourier series expression corresponding to the Fourier spectrum differential matrix using the Fourier series coefficients corresponding to the target discrete transposed vector to generate the target Fourier series expression.

[0218] The electromagnetic steady-state solution data generation submodule is used to use Shannon sampling law and target Fourier series expression to perform electromagnetic transient solution steady-state periodic solution on the synchronous generator and generate electromagnetic steady-state solution data.

[0219] Optionally, the target initial value data set generation module can perform the following steps:

[0220] The power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator are used to The initial voltage and current values ​​of the axis are calculated and generated The initial value of shaft voltage and Initial value of shaft current;

[0221] The flow data, The initial value of shaft voltage and Substituting the initial value of the shaft current into the preset initial value formula of the state variable to initialize the calculation of each state variable in the initial electromagnetic transient time domain model, and generating an initial value data set;

[0222] use Initial value of shaft voltage, The shaft current initial value and the initial initial value data set are used to construct the target initial value data set.

[0223] Optionally, the target discrete transposed vector generation module may perform the following steps:

[0224] Initialize the target electromagnetic transient time domain model using a preset iteration accuracy and a preset iteration initial value to generate a time domain model;

[0225] The state equation function corresponding to each state variable of the time domain model in a period is used to construct the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model;

[0226] Calculate the product between the Fourier spectrum differential transposed inverse matrix and the state variable coefficient inverse matrix corresponding to the discrete point Fourier spectrum method algebraic equation and the time domain model, generate the initial discrete transposed vector and count the number of iterations;

[0227] Iterative accuracy judgment is performed using the discrete vector corresponding to the initial discrete transposed vector and the historical discrete vector to generate accuracy judgment data;

[0228] When the accuracy judgment data is less than or equal to the preset iteration accuracy, the initial discrete transposed vector at the current moment is used as the target discrete transposed vector;

[0229] When the accuracy judgment data is greater than the preset iteration accuracy, the time domain model corresponding to the initial discrete transposed vector is used as the new time domain model, the number of iterations is updated by 1, and the step of calculating the product between the state variable coefficient matrix, the discrete transposed vector and the Fourier spectrum differential transposed matrix corresponding to the time domain model is jumped to generate the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model.

[0230] Embodiment 4

[0231] See also Fig.10 , Fig.10 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention.

[0232] An electronic device according to an embodiment of the present invention includes: a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program; when the computer program is executed by the processor 1002, the processor 1002 executes a method for determining a grounding grid topology structure according to any of the above embodiments.

[0233] The memory 1001 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 1001 has a storage space 1003 for a program code 1013 for executing any method step in the above method. For example, the storage space 1003 for program code may include various program codes 1013 for implementing various steps in the above method respectively. These program codes may be read from or written into one or more computer program products. These computer program products include program code carriers such as a hard disk, a compact disk (CD), a memory card or a floppy disk. The program code may be compressed, for example, in an appropriate form. When these codes are run by a computing and processing device, the computing and processing device executes the various steps in the above-described method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method.

[0234] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method as described in any of the above embodiments is implemented.

[0235] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0236] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0237] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0238] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0239] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0240] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method, characterized in that: include: Acquiring operation data corresponding to the synchronous generator, using the operation data to construct a Fourier spectrum differential matrix, and generating a Fourier spectrum differential matrix; Perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time domain model; A steady-state periodic solution is performed based on the Fourier spectrum differential matrix and the initial electromagnetic transient time-domain model to generate electromagnetic steady-state solution data.

2. The method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method according to claim 1, characterized in that: The step of constructing a Fourier spectrum differential matrix using the operating data to generate a Fourier spectrum differential matrix comprises: constructing a differential algebraic equation group using the operating data to generate a differential algebraic equation group corresponding to the synchronous generator; The periodic function corresponding to the differential algebraic equation group is sampled multiple times within a preset definition domain to generate a discrete vector; Substituting the discrete vector into the differential algebraic equation group to construct a discrete point Fourier spectrum method algebraic equation to generate a Fourier spectrum method algebraic equation; A Fourier spectrum differential matrix is ​​constructed based on the Fourier spectrum method algebraic equation and the discrete vector to generate a Fourier spectrum differential matrix.

3. The method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method according to claim 2, characterized in that: The step of constructing a Fourier spectrum differential matrix based on the Fourier spectrum method algebraic equation and the discrete vector to generate a Fourier spectrum differential matrix comprises: Performing discrete Fourier transform and inverse discrete Fourier transform on the Fourier spectrum method algebraic equation to generate a transformation equation; Performing derivative discrete point sampling on the transformation equation to generate a derivative discrete vector; The derivative discrete vector and the discrete vector are used to construct a differential matrix to generate a Fourier spectrum differential matrix.

4. The method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method according to claim 1, characterized in that: The step of performing electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time domain model includes: The operating data is used to construct a model to generate a synchronous generator model; Performing Park transformation on each state parameter in the synchronous generator model to generate an initial electromagnetic transient time domain model; The stator current equation corresponding to the initial electromagnetic transient time domain model is: ; in, is the stator direct axis current; is the direct-axis open-circuit transient time constant; is the direct-axis open-circuit subtransient time constant; is the direct-axis transient electromotive force; is the direct axis subtransient electromotive force; is the direct-axis transient reactance; is the direct-axis subtransient reactance; is the stator quadrature axis current; is the quadrature axis open circuit transient time constant; is the quadrature-axis open-circuit subtransient time constant; is the quadrature axis transient electromotive force; is the quadrature-axis transient electromotive force; is the quadrature-axis transient reactance; is the quadrature-axis subtransient reactance; is the stator resistance; is the stator direct axis voltage; is the stator quadrature axis voltage; is the rotor motion angle relative to the synchronous rotating coordinate system; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator winding zero-sequence current; is the zero-sequence inductance of the stator winding; is the stator winding zero-sequence voltage; The generator electromagnetic power equation corresponding to the initial electromagnetic transient time domain model is: ; in, is the electromagnetic power of the generator; is the rotor angular velocity relative to the synchronous rotating coordinate system; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance; The generator electromagnetic torque equation corresponding to the initial electromagnetic transient time domain model is: ; in, is the electromagnetic torque of the generator; is the stator quadrature axis current; is the quadrature-axis transient electromotive force; is the stator direct axis current; is the direct axis subtransient electromotive force; is the quadrature-axis subtransient reactance; is the direct-axis subtransient reactance.

5. The method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method according to claim 1, characterized in that: The step of performing steady-state periodic solution based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data includes: Performing initial value calculation on each state variable in the synchronous generator by using the power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator to generate a target initial value data set; Using the target initial data set to update the synchronous generator differential equation group in the initial electromagnetic transient time-domain model to generate a target electromagnetic transient time-domain model; The target electromagnetic transient time domain model is solved for discrete points within a period using a Fourier spectrum method to generate a target discrete transposed vector; Using the Fourier series coefficients corresponding to the target discrete transposed vector to update the Fourier series expression corresponding to the Fourier spectrum differential matrix, to generate a target Fourier series expression; The Shannon sampling law and the target Fourier series expression are used to perform electromagnetic transient solution and steady-state periodic solution on the synchronous generator to generate electromagnetic steady-state solution data.

6. The method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method according to claim 5, characterized in that: The step of performing initial value calculation on each state variable in the synchronous generator by using the power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator to generate a target initial value data set comprises: The power flow data corresponding to the operation data and the power angle relationship data corresponding to the synchronous generator are used to perform The initial voltage and current values ​​of the axis are calculated and generated The initial value of shaft voltage and Initial value of shaft current; The flow data, the The initial value of the shaft voltage and the Substituting the initial value of the shaft current into a preset initial value formula of the state variable to perform initialization calculation on each state variable in the initial electromagnetic transient time domain model to generate an initial value data set; Adopt the Initial value of shaft voltage, The shaft current initial value and the initial initial value data set are used to construct a target initial value data set.

7. The method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method according to claim 5, characterized in that: The step of using the Fourier spectrum method to solve the target electromagnetic transient time domain model for discrete points within a period to generate a target discrete transposed vector includes: Initializing the target electromagnetic transient time domain model using a preset iteration accuracy and a preset iteration initial value to generate a time domain model; Using the state equation function corresponding to each state variable of the time domain model within a period, a discrete point Fourier spectrum method algebraic equation corresponding to the time domain model is constructed; Calculate the product of the discrete point Fourier spectrum method algebraic equation, the Fourier spectrum differential transposed inverse matrix corresponding to the time domain model and the state variable coefficient inverse matrix to generate an initial discrete transposed vector and count the number of iterations; Using the discrete vector corresponding to the initial discrete transposed vector and the historical discrete vector to perform iterative accuracy judgment to generate accuracy judgment data; When the accuracy judgment data is less than or equal to the preset iteration accuracy, using the initial discrete transposed vector at the current moment as the target discrete transposed vector; When the accuracy judgment data is greater than the preset iteration accuracy, the time domain model corresponding to the initial discrete transposed vector is used as the new time domain model, the number of iterations is updated by 1, and the step of calculating the product between the state variable coefficient matrix, discrete transposed vector and Fourier spectrum differential transposed matrix corresponding to the time domain model is jumped to generate the discrete point Fourier spectrum method algebraic equation corresponding to the time domain model.

8. A synchronous generator electromagnetic steady-state solution system based on Fourier spectrum method, characterized in that: include: A Fourier spectrum differential matrix generation module is used to obtain operation data corresponding to the synchronous generator, use the operation data to construct the Fourier spectrum differential matrix, and generate the Fourier spectrum differential matrix; An initial electromagnetic transient time-domain model generation module is used to perform electromagnetic transient simulation based on the operating data to generate an initial electromagnetic transient time-domain model; The electromagnetic steady-state solution data generation module is used to perform steady-state periodic solution based on the Fourier spectrum differential matrix and the initial electromagnetic transient time domain model to generate electromagnetic steady-state solution data.

9. An electronic device, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the method for solving the electromagnetic steady-state of a synchronous generator based on the Fourier spectrum method as claimed in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Circuit parameter adjusting method, device and equipment of PEEC model and medium

    CN113075495A

  • Modal recognition method and device based on combined discrete Fourier transform

    CN117290710A

  • Electromagnetic transient discretization modeling method and device and related equipment

    CN117807803A

  • Electromagnetic transient solution method and system for synchronous generator

    CN119066850A

Cited By

  • Modelica model-oriented initial steady-state compiling method and system

    CN119396408A

  • Data-driven power system period steady-state initialization method and system and medium

    CN121118476A