WO2024082163A1 - Method for electromagnetic transient simulation of transformer, computer device, and storage medium - Google Patents

Method for electromagnetic transient simulation of transformer, computer device, and storage medium Download PDF

Info

Publication number
WO2024082163A1
WO2024082163A1 PCT/CN2022/126082 CN2022126082W WO2024082163A1 WO 2024082163 A1 WO2024082163 A1 WO 2024082163A1 CN 2022126082 W CN2022126082 W CN 2022126082W WO 2024082163 A1 WO2024082163 A1 WO 2024082163A1
Authority
WO
WIPO (PCT)
Prior art keywords
field component
time step
current time
magnetic field
electric field
Prior art date
Application number
PCT/CN2022/126082
Other languages
French (fr)
Chinese (zh)
Inventor
彭庆军
施勇
邹德旭
李国友
王欣
王浩州
Original Assignee
云南电网有限责任公司电力科学研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 云南电网有限责任公司电力科学研究院 filed Critical 云南电网有限责任公司电力科学研究院
Priority to PCT/CN2022/126082 priority Critical patent/WO2024082163A1/en
Publication of WO2024082163A1 publication Critical patent/WO2024082163A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the present application relates to the technical field of transformers, and in particular to a transformer electromagnetic transient simulation method, a computer device, and a storage medium.
  • Power transformers are one of the most important equipment in the power system. Once a power transformer fails, it will cause great disturbances to the power system, and even interrupt the power supply of the power system, which will greatly affect industrial production and the normal life of residents. Moreover, the cost of large power transformers is very expensive. If the protection device cannot work correctly when the transformer fails, it may cause different degrees of damage to the transformer or even burn it, which will lead to very serious economic losses. Therefore, it is very necessary to study the transient process of power transformers. By studying the working principles of various transient processes of transformers, it is effective to avoid further expansion of power accidents and damage to transformers.
  • This solution applies the finite time-domain difference method to the simulation of the electromagnetic transient process of the power transformer, adopts the vector matching method to fit the frequency characteristic curve of the transformer equipment, and combines the time-domain convolution method to fully consider the frequency-varying characteristics of the transformer equipment in the time-domain transient simulation calculation, thereby greatly improving the time-domain simulation accuracy.
  • this patent has the advantages of high simulation efficiency, high accuracy, good stability, small memory space occupation, one-time calculation of broadband transient processes, explicit calculation without large matrix inversion, and convenient acceleration of calculation through high-performance graphics computing processors, etc., providing computing support for the manufacture of transformers and the analysis of various operation and fault conditions.
  • the present application provides a transformer electromagnetic transient simulation method, the method comprising:
  • the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
  • the method further includes: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
  • establishing a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structural size of the transformer; and establishing the transformer model within the target calculation area.
  • setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and ⁇ t is the maximum time step.
  • the electric field component and the magnetic field component of the transformer model are updated based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the electric field component of the transformer model is updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  • updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  • the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
  • the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
  • the method further includes: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
  • establishing a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structural size of the transformer; and establishing a transformer model within the target calculation area.
  • setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and ⁇ t is the maximum time step.
  • the electric field component and the magnetic field component of the transformer model are updated based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the electric field component of the transformer model is updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  • updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  • the present application provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
  • the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
  • the method further includes: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
  • establishing a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structural size of the transformer; and establishing a transformer model within the target calculation area.
  • setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and ⁇ t is the maximum time step.
  • the electric field component and the magnetic field component of the transformer model are updated based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the electric field component of the transformer model is updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  • updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  • the present invention provides a transformer electromagnetic transient simulation method, the method comprising: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; based on the frequency characteristic curve, updating the electric field component and the magnetic field component of the transformer model, and obtaining the electric field component of the current time step and the magnetic field component of the current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  • the present application establishes a transformer model based on a finite time-domain difference method, does not require complex and tedious calculations and field tests, and can greatly improve the calculation efficiency; and the present application updates the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve, and can fully consider the frequency-varying transformer electromagnetic characteristic parameters in the time domain, greatly improving the simulation accuracy.
  • FIG1 is a schematic diagram of a flow chart of a transformer electromagnetic transient simulation method provided in an embodiment of the present application
  • FIG2 is a schematic diagram of an electric field vector in a grid provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a magnetic field vector in a grid provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of an electromagnetic field vector in a grid provided in an embodiment of the present application.
  • FIG5 is a magnetic field frequency characteristic curve of a long straight conductor with a rectangular cross section and a vector matching method fitting curve thereof provided in an embodiment of the present application;
  • FIG6 is a current frequency characteristic curve of a long straight conductor with a rectangular cross section and a vector matching method fitting curve thereof provided in an embodiment of the present application;
  • FIG7 is a schematic structural diagram of a transformer electromagnetic transient simulation device provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.
  • This application establishes a transformer model based on the finite time-domain difference method, and sets the grid size, time step, and material properties of the transformer model; through experimental or theoretical analysis, the material parameter characteristic curve of the transformer that changes nonlinearly with frequency is obtained, and the characteristic curve is fitted into a set of rational functions based on frequency domain analysis; based on the rational function, the Laplace transform technology is applied to convert it into a time domain update equation, and replace the classic update equations of the electric field component and the magnetic field component that need to consider the frequency-varying material characteristics in the transformer model; after the iterative calculation starts, the electric field vector and the magnetic field vector in the transformer model are calculated based on the Maxwell equations or based on the rational function time domain update equation to obtain the electric field component of the current time step and the magnetic field component of the current time step; after multiple iterative calculations, if the electric field component of the current time step or the magnetic field component of the current time
  • the present application proposes a transformer electromagnetic transient simulation method, as shown in FIG1 , which is a flow chart of a transformer electromagnetic transient simulation method provided in an embodiment of the present application, and the method includes:
  • Step 101 Establish a transformer model based on a finite difference time domain method, and set a time step for the transformer model.
  • the finite-difference time-domain method is a global discrete time-domain simulation algorithm. Its calculation area includes not only all simulated models, but also the areas between simulated objects and their adjacent areas.
  • the transformer model is completed based on the model building software. Specifically, the transformer model is built in the calculation area of the finite time-domain difference method according to the transformer parameters.
  • the establishment of a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structure size of the transformer; and establishing the transformer model in the target calculation area.
  • the calculation area of the finite time difference method needs to be gridded first, that is, in this application, the calculation area of the finite time difference method is composed of multiple FDTD orthogonal grid arrangements.
  • the calculation domain of the finite time-domain difference method is discretized into a set of parallelepiped grids through FDTD orthogonal grids, and the electromagnetic field in each grid is set to be uniformly distributed.
  • Figures 2-3 Figure 2 is a schematic diagram of an electric field vector in a grid provided in an embodiment of the present application;
  • Figure 3 is a schematic diagram of a magnetic field vector in a grid provided in an embodiment of the present application.
  • the lower left vertex of each parallelepiped grid is taken as the origin, and the three edges connected to the origin are respectively defined to point to the three orthogonal directions of XYZ.
  • the electric field vector Ex, Ey, and Ez as shown in Figure 3, the lower left vertex of each parallelepiped grid is taken as the origin, and the three faces connected to the origin are respectively defined to point to the three orthogonal directions of XYZ. , Hy, Hz.
  • the electric field and magnetic field vectors in each direction need to set the corresponding material parameters according to the relative spatial position, including conductivity ⁇ , dielectric constant ⁇ , and magnetic permeability ⁇ .
  • Material parameters refer to the parameters of transformer electrical materials.
  • the grid size can be encrypted in areas where the electromagnetic field changes dramatically, such as the air-conductor interface, the conductor-dielectric interface, etc.; large-size grids can be used in areas where the electromagnetic field changes slowly, such as the inside of the dielectric.
  • the simulated objects that may contain fine structures can be discretized to obtain simulation accuracy that meets the requirements; on the other hand, it can also avoid unnecessary computational burdens caused by overly dense grids, reducing the overall computational implementation efficiency of the solution.
  • the electromagnetic field vectors are spaced apart by half a spatial step (i.e., the grid size), and the electromagnetic vectors surround and surround each other, that is, the electric field vector in a certain direction is surrounded by four magnetic field vectors, and vice versa.
  • the electromagnetic field vectors are also spaced apart by half a time step in time, that is, the overall electric field vector and the overall magnetic field vector are always 0.5 ⁇ t apart.
  • Figure 4 is a schematic diagram of electromagnetic field vectors in a grid provided in an embodiment of the present application. It should be noted that the above space-time characteristics meet the characteristics of solving Maxwell's discrete equations, because alternating step-by-step solutions of electric field vectors and magnetic field vectors can be achieved.
  • the target calculation area of the finite time-domain difference method is determined according to the structural size of the transformer, that is, the model construction area of the transformer model is determined.
  • the structural size of the transformer can be the transformer body and the adjacent area (which can be 50% of the transformer size), and the target calculation area of the finite time-domain difference method is not less than the structural size of the transformer.
  • setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and ⁇ t is the maximum time step.
  • the selection of the maximum time step is determined by the minimum FDTD discrete grid size and should satisfy the Courant-Friedrich-Levy (CFL) criterion to prevent data divergence, oscillation, non-convergence and other problems that may occur in time domain calculations, that is,
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the FDTD grid in the three orthogonal directions of X, Y, and Z, and c is the propagation speed of light in the corresponding medium.
  • a transformer model is established based on the finite time-domain difference method, that is, the transformer body and the adjacent area (generally 50% of the transformer size) are modeled in the FDTD calculation area, and the transformer and the adjacent area are discretized using the FDTD grid.
  • the FDTD classical update equation is used to solve the electromagnetic field distribution in the time domain.
  • the frequency characteristic curve of the transformer is first obtained, and then the electromagnetic field distribution is solved based on the frequency characteristic curve of the transformer and the classical FDTD update equation. The scheme of nonlinear change of material parameters with frequency is described below.
  • Step 102 Obtain a frequency characteristic curve of the transformer.
  • the frequency-varying characteristic curve of the key structure of the power transformer is obtained through experiments, theoretical formula calculations or numerical algorithms, and the frequency range must cover all frequency bands of concern in the electromagnetic transient process.
  • the theoretical formula can be Bessel Function, etc.
  • the numerical algorithm can be Method of Moment (MoM), Partial Element Equivalent Circuit (PEEC), etc.
  • the frequency characteristic curve of the key components of the transformer (such as copper loss considering the frequency-varying characteristics) is not only related to the material, but also to the geometric structure size of the key components, so even for the same material, they need to be obtained separately. Since the internal structure of the transformer is relatively complex and the accuracy of the detection equipment is limited, in order to improve the accuracy of the frequency characteristic curve, this application uses theoretical formulas or numerical algorithms to obtain the corresponding characteristic curves.
  • the Bessel function can be used to obtain the current density distribution of the circular conductor, and then derive the frequency-varying loss.
  • the form of the Bessel function is as follows:
  • Z is impedance
  • R d mrd
  • m 2 j ⁇ ( ⁇ +j ⁇ )
  • r d is the conductor radius
  • is the magnetic permeability
  • is the dielectric constant
  • is the conductivity
  • j represents a complex number
  • is the angular frequency
  • I 0 and I 1 are the 0th and 1st order first kind modified form Bessel functions respectively.
  • the two-dimensional MoM algorithm can be used to discretize the two-dimensional cross section, obtain the current distribution on each discrete unit, and then obtain the overall frequency-dependent loss of the long straight conductor.
  • the three-dimensional PEEC algorithm can be used to discretize the conductor in space according to the accuracy requirements, and each discrete unit is equivalent to a circuit element, and then combined with the circuit solving algorithm to obtain its frequency characteristic curve.
  • Step 103 based on the frequency characteristic curve, update the electric field component and the magnetic field component of the transformer model to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the corresponding frequency-variant function is fitted using the vector fitting technique (VFT), and the complex frequency-variant function is fitted into a first-order rational function, and then the rational function is substituted into the FDTD solution equation in the form of convolution to achieve the purpose of considering the frequency-variant parameters in the time domain calculation.
  • VFT vector fitting technique
  • the rational function is substituted into the FDTD solution equation in the form of convolution to achieve the purpose of considering the frequency-variant parameters in the time domain calculation.
  • the vector matching method has the advantages of high stability, few iterations, and fast convergence.
  • the frequency characteristic curve of the key components of the transformer can be approximately fitted in the frequency domain as a first-order rational function and.
  • the first-order rational function of the frequency characteristic curve fitted by the vector matching method is (the frequency-dependent impedance Z can be fitted in the complex frequency domain as):
  • s represents the complex frequency domain
  • d is the DC component
  • h is the inductive component
  • cm is the residue
  • am is the pole
  • N is the vector matching order. It has been verified that the relative error between the frequency characteristic curve fitted by the vector matching method and the frequency characteristic curve of the original transformer key component is less than 0.1%.
  • Figure 5 is a magnetic field frequency characteristic curve of a long straight conductor with a rectangular cross-section and its vector matching method fitting curve provided in an embodiment of the present application
  • Figure 6 is a current frequency characteristic curve of a long straight conductor with a rectangular cross-section and its vector matching method fitting curve provided in an embodiment of the present application. It should be noted that as many frequency points as possible should be uniformly selected within each frequency order of magnitude of the original characteristic frequency curve to improve the accuracy of curve fitting.
  • the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  • the updating of the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  • the classic FDTD update equation is applied to iteratively solve the electric field vector in the calculation area.
  • the first-order rational function needs to be substituted into the FDTD electric field update equation in the form of convolution, so as to fully consider the influence of the electric frequency-dependent characteristic parameters on the electromagnetic transient simulation results.
  • the iterative process involves the electric field vector value of the previous time step and the four magnetic field vectors surrounding the electric field vector.
  • the specific update equation is as follows:
  • Ey , and Ez are the electric field vectors in three orthogonal directions
  • i, j, and k are the position numbers of the electric field vector based on the FDTD grid numbering
  • q represents the number of time steps
  • ⁇ and ⁇ represent the equivalent conductivity and dielectric constant in the corresponding space, respectively
  • ⁇ t represents the FDTD time step.
  • the frequency characteristic curve of the impedance can be fitted into the form of a first-order rational function, and then the first-order rational function can be transformed into a time domain convolution form by an inverse Laplace transform, and then the electric field vector update equation in the time domain convolution form is replaced by the electric field vector update equation at the corresponding position in formula (4).
  • the update equation of the electric field vector E at the spatial position of the frequency-dependent characteristic material can be replaced by the following equation:
  • Kp d + h / ⁇ t
  • Kn -h / ⁇ t
  • Iq the current
  • d the DC component
  • h the inductive component
  • the time step can be appropriately reduced when combined with the time domain convolution calculation.
  • Each iteration needs to reduce the time step to between 0.8 and 0.9 times the time step of the previous iteration. Since such convolution calculations are performed in local areas, they do not affect the parallel computing capabilities of the FDTD program.
  • the electromagnetic transient time domain simulation of power transformers can still use high-performance graphics processing units (GPUs) to improve computing efficiency.
  • the classic FDTD update equation is used to iteratively solve the magnetic field vector in the calculation area.
  • the first-order rational function mentioned above needs to be substituted into the FDTD magnetic field update equation in the form of convolution, so as to fully consider the influence of the magnetic frequency-variable characteristic parameters on the electromagnetic transient simulation results.
  • the magnetic field vector of the entire calculation domain is iteratively calculated using the classic FDTD magnetic field vector update equation.
  • the specific equation is expressed as follows:
  • ⁇ and ⁇ m are magnetic permeability and permeability, and the permeability is generally set to 0.
  • Step 104 If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  • the electric field component and the magnetic field component are iteratively calculated until the electric field component or the magnetic field component of the current time step converges, and the simulation ends.
  • the simulation ends.
  • the present invention provides a transformer electromagnetic transient simulation method, the method comprising: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; based on the frequency characteristic curve, updating the electric field component and the magnetic field component of the transformer model, and obtaining the electric field component of the current time step and the magnetic field component of the current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  • the present application establishes a transformer model based on a finite time-domain difference method, does not require complex and tedious calculations and field tests, and can greatly improve the calculation efficiency; and the present application updates the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve, and can fully consider the frequency-varying transformer electromagnetic characteristic parameters in the time domain, greatly improving the simulation accuracy.
  • the present application provides a transformer electromagnetic transient simulation device, as shown in FIG7 , which is a schematic diagram of the structure of a transformer electromagnetic transient simulation device provided in an embodiment of the present application, the device comprising:
  • the model building module 701 is used to build a transformer model based on the finite time-domain difference method and set the time step of the transformer model.
  • the characteristic curve acquisition module 702 is used to acquire the frequency characteristic curve of the transformer.
  • the first simulation module 703 is used to update the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the second simulation module 704 is used to end the simulation if the electric field component of the current time step or the magnetic field component of the current time step converges.
  • the computer device may be a transformer electromagnetic transient simulation device, or a terminal or server connected to a transformer electromagnetic transient simulation device.
  • the computer device includes a processor, a memory, and a network interface connected via a system bus.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the computer device stores an operating system and may also store a computer program.
  • the processor may implement a transformer electromagnetic transient simulation method.
  • the internal memory may also store a computer program.
  • the processor may execute a transformer electromagnetic transient simulation method.
  • the network interface is used to communicate with an external device.
  • the network interface is used to communicate with an external device.
  • FIG8 is only a block diagram of a partial structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied.
  • the specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
  • a transformer electromagnetic transient simulation method provided by the present application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG8.
  • the memory of the computer device can store various program templates constituting the transformer electromagnetic transient simulation device. For example, a model building module 701, a characteristic curve acquisition module 702, a first simulation module 703, and a second simulation module 704.
  • a computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; updating an electric field component and a magnetic field component of the transformer model based on the frequency characteristic curve to obtain an electric field component of a current time step and a magnetic field component of a current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  • the processor when the computer program is executed by the processor, the processor further executes the following steps: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
  • the establishment of a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structure size of the transformer; and establishing the transformer model in the target calculation area.
  • setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and ⁇ t is the maximum time step.
  • the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: fitting the frequency-varying function corresponding to the frequency characteristic curve using a vector matching method to obtain a first-order rational function; updating the electric field component and the magnetic field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  • updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  • a computer-readable storage medium stores a computer program.
  • the processor When the computer program is executed by a processor, the processor performs the following steps: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; updating an electric field component and a magnetic field component of the transformer model based on the frequency characteristic curve to obtain an electric field component of a current time step and a magnetic field component of a current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  • the processor when the computer program is executed by the processor, the processor further executes the following steps: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
  • the establishment of a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structure size of the transformer; and establishing the transformer model in the target calculation area.
  • setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
  • ⁇ x, ⁇ y, ⁇ z are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and ⁇ t is the maximum time step.
  • the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: fitting the frequency-varying function corresponding to the frequency characteristic curve using a vector matching method to obtain a first-order rational function; updating the electric field component and the magnetic field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  • the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  • updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  • the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The present application relates to a method for electromagnetic transient simulation of a transformer. The method comprises: building a transformer model on the basis of a finite-difference time-domain method, and setting the time step of the transformer model; acquiring a frequency response curve of the transformer; updating an electric field component and a magnetic field component of the transformer model on the basis of the frequency response curve to obtain an electric field component of the current time step and a magnetic field component of the current time step; and if the electric field component of the current time step or the magnetic field component of the current time step converges, ending the simulation. According to the present application, the transformer model is established on the basis of the finite-difference time-domain method, without the need of complex and tedious calculation and on-site tests, so that the calculation efficiency can be greatly improved. In addition, the electric field component and the magnetic field component of the transformer model are updated on the basis of the frequency response curve. In this way, electromagnetic response parameters of a frequency-dependent transformer can be taken into full consideration in the time domain, thereby greatly improving simulation precision.

Description

一种变压器电磁暂态仿真方法、计算机设备及存储介质A transformer electromagnetic transient simulation method, computer equipment and storage medium 技术领域Technical Field
本申请涉及变压器技术领域,尤其是涉及一种变压器电磁暂态仿真方法、计算机设备及存储介质。The present application relates to the technical field of transformers, and in particular to a transformer electromagnetic transient simulation method, a computer device, and a storage medium.
背景技术Background technique
电力变压器是电力系统中极其重要的设备之一,电力变压器一旦发生故障,会给电力系统带来很大扰动,甚至使电力系统供电中断,将极大的影响工业生产和居民的正常生活用电。而且大型电力变压器的造价十分昂贵,如果变压器发生故障时,保护装置不能正确动作,可能造成变压器不同程度的损坏甚至是烧毁,将导致十分严重的经济损失。因此,对电力变压器暂态过程的研究是十分必要的。通过研究变压器的各种暂态过程的工作原理,有效的避免用电事故的进一步扩大和变压器的损坏,同时也可以提高电力变压器的设计制造水平,对变压器的制造及各种运行和故障情况的机理提供理论依据。但是现有变压器仿真技术需要进行大量复杂繁琐的计算和一些复杂的现场试验,难以考虑频变参数,仿真效率低,同时难以考虑含宽频特性的暂态冲击响应。Power transformers are one of the most important equipment in the power system. Once a power transformer fails, it will cause great disturbances to the power system, and even interrupt the power supply of the power system, which will greatly affect industrial production and the normal life of residents. Moreover, the cost of large power transformers is very expensive. If the protection device cannot work correctly when the transformer fails, it may cause different degrees of damage to the transformer or even burn it, which will lead to very serious economic losses. Therefore, it is very necessary to study the transient process of power transformers. By studying the working principles of various transient processes of transformers, it is effective to avoid further expansion of power accidents and damage to transformers. At the same time, it can also improve the design and manufacturing level of power transformers, and provide a theoretical basis for the manufacture of transformers and the mechanism of various operation and fault conditions. However, the existing transformer simulation technology requires a large number of complex and tedious calculations and some complex field tests. It is difficult to consider frequency-varying parameters, the simulation efficiency is low, and it is difficult to consider transient impulse responses with broadband characteristics.
发明内容Summary of the invention
基于此,有必要提供一种变压器电磁暂态仿真方法、计算机设备及存储介质。该方案将有限时域差分法应用于电力变压器电磁暂态过程仿真,采用矢量匹配法拟合变压器设备的频率特性曲线,并结合时域卷积法在时域暂态仿真计算中充分考虑变压器设备的频变特性,大幅提高时域仿真精度。相比现有技术方案,本专利具有仿真效率高、精度高、稳定性好、占用内存空间小、能一次性计算宽频暂态过程、显式计算无需大型矩阵求逆、可以方便的通过高性能图形计算处理器加速运算等优点,为变压器的制造及各种运行和故障情况的分析提供计算支撑。Based on this, it is necessary to provide a transformer electromagnetic transient simulation method, computer equipment and storage medium. This solution applies the finite time-domain difference method to the simulation of the electromagnetic transient process of the power transformer, adopts the vector matching method to fit the frequency characteristic curve of the transformer equipment, and combines the time-domain convolution method to fully consider the frequency-varying characteristics of the transformer equipment in the time-domain transient simulation calculation, thereby greatly improving the time-domain simulation accuracy. Compared with the existing technical solutions, this patent has the advantages of high simulation efficiency, high accuracy, good stability, small memory space occupation, one-time calculation of broadband transient processes, explicit calculation without large matrix inversion, and convenient acceleration of calculation through high-performance graphics computing processors, etc., providing computing support for the manufacture of transformers and the analysis of various operation and fault conditions.
第一方面,本申请提供一种变压器电磁暂态仿真方法,所述方法包括:In a first aspect, the present application provides a transformer electromagnetic transient simulation method, the method comprising:
基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;Establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model;
获取变压器的频率特性曲线;Obtain the frequency characteristic curve of the transformer;
基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;Based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
结合第一方面,在一种可实现的方式中,所述方法还包括:若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。In combination with the first aspect, in one achievable manner, the method further includes: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
结合第一方面,在一种可实现的方式中,所述基于有限时域差分法建立变压器模型,包括:根据变压器结构尺寸确定有限时域差分法的目标计算区域;在所述目标计算区域内建立变压器模型。In combination with the first aspect, in one achievable manner, establishing a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structural size of the transformer; and establishing the transformer model within the target calculation area.
结合第一方面,在一种可实现的方式中,所述对所述变压器模型进行时间步长设置,包括:根据以下时间步长公式对所述变压器模型进行时间步长设置:In combination with the first aspect, in an implementable manner, setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
Figure PCTCN2022126082-appb-000001
Figure PCTCN2022126082-appb-000001
其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
结合第一方面,在一种可实现的方式中,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。In combination with the first aspect, in an achievable manner, the electric field component and the magnetic field component of the transformer model are updated based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
结合第一方面,在一种可实现的方式中,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。In combination with the first aspect, in an achievable manner, the electric field component of the transformer model is updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
结合第一方面,在一种可实现的方式中,所述基于所述频率特性曲线,更 新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。In combination with the first aspect, in an achievable manner, updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
第二方面,本申请提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:In a second aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;Establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model;
获取变压器的频率特性曲线;Obtain the frequency characteristic curve of the transformer;
基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;Based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
结合第二方面,在一种可实现的方式中,所述方法还包括:若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。In combination with the second aspect, in one achievable manner, the method further includes: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
结合第二方面,在一种可实现的方式中,所述基于有限时域差分法建立变压器模型,包括:根据变压器结构尺寸确定有限时域差分法的目标计算区域;在所述目标计算区域内建立变压器模型。In combination with the second aspect, in one achievable manner, establishing a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structural size of the transformer; and establishing a transformer model within the target calculation area.
结合第二方面,在一种可实现的方式中,所述对所述变压器模型进行时间步长设置,包括:根据以下时间步长公式对所述变压器模型进行时间步长设置:In conjunction with the second aspect, in an implementable manner, setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
Figure PCTCN2022126082-appb-000002
Figure PCTCN2022126082-appb-000002
其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
结合第二方面,在一种可实现的方式中,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:利用矢量匹配法对所述频率特性曲线对应的频 变函数进行拟合得到一阶有理函数;基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。In combination with the second aspect, in an achievable manner, the electric field component and the magnetic field component of the transformer model are updated based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
结合第二方面,在一种可实现的方式中,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。In combination with the second aspect, in an achievable manner, the electric field component of the transformer model is updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
结合第二方面,在一种可实现的方式中,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。In combination with the second aspect, in an achievable manner, updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
第三方面,本申请提供一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:In a third aspect, the present application provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;Establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model;
获取变压器的频率特性曲线;Obtain the frequency characteristic curve of the transformer;
基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;Based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
结合第三方面,在一种可实现的方式中,所述方法还包括:若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。In combination with the third aspect, in one achievable manner, the method further includes: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
结合第三方面,在一种可实现的方式中,所述基于有限时域差分法建立变压器模型,包括:根据变压器结构尺寸确定有限时域差分法的目标计算区域;在所述目标计算区域内建立变压器模型。In combination with the third aspect, in an achievable manner, establishing a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structural size of the transformer; and establishing a transformer model within the target calculation area.
结合第三方面,在一种可实现的方式中,所述对所述变压器模型进行时间步长设置,包括:根据以下时间步长公式对所述变压器模型进行时间步长设置:In conjunction with the third aspect, in an implementable manner, setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
Figure PCTCN2022126082-appb-000003
Figure PCTCN2022126082-appb-000003
其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
结合第三方面,在一种可实现的方式中,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。In combination with the third aspect, in an achievable manner, the electric field component and the magnetic field component of the transformer model are updated based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
结合第三方面,在一种可实现的方式中,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。In combination with the third aspect, in an achievable manner, the electric field component of the transformer model is updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
结合第三方面,在一种可实现的方式中,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。In combination with the third aspect, in an achievable manner, updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
本发明提供一种变压器电磁暂态仿真方法,所述方法包括:基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;获取变压器的频率特性曲线;基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。本申请基于有限时域差分法建立变压器模型,不需要复杂繁琐的计算和现场试验,能够极大的提升计算效率;并且本申请基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,能够在时域中充分考虑频变的变压器电磁特性参数,大幅提高仿真精度。The present invention provides a transformer electromagnetic transient simulation method, the method comprising: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; based on the frequency characteristic curve, updating the electric field component and the magnetic field component of the transformer model, and obtaining the electric field component of the current time step and the magnetic field component of the current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends. The present application establishes a transformer model based on a finite time-domain difference method, does not require complex and tedious calculations and field tests, and can greatly improve the calculation efficiency; and the present application updates the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve, and can fully consider the frequency-varying transformer electromagnetic characteristic parameters in the time domain, greatly improving the simulation accuracy.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
图1为本申请实施例提供的一种变压器电磁暂态仿真方法的流程示意图;FIG1 is a schematic diagram of a flow chart of a transformer electromagnetic transient simulation method provided in an embodiment of the present application;
图2为本申请实施例提供的一种网格内电场向量示意图;FIG2 is a schematic diagram of an electric field vector in a grid provided in an embodiment of the present application;
图3为本申请实施例提供的一种网格内磁场向量示意图;FIG3 is a schematic diagram of a magnetic field vector in a grid provided in an embodiment of the present application;
图4为本申请实施例提供的一种网格内电磁场向量示意图;FIG4 is a schematic diagram of an electromagnetic field vector in a grid provided in an embodiment of the present application;
图5为本申请实施例提供的一种截面为矩形的长直导体磁场频率特性曲线及其矢量匹配法拟合曲线;FIG5 is a magnetic field frequency characteristic curve of a long straight conductor with a rectangular cross section and a vector matching method fitting curve thereof provided in an embodiment of the present application;
图6为本申请实施例提供的一种截面为矩形的长直导体电流频率特性曲线及其矢量匹配法拟合曲线;FIG6 is a current frequency characteristic curve of a long straight conductor with a rectangular cross section and a vector matching method fitting curve thereof provided in an embodiment of the present application;
图7为本申请实施例提供的一种变压器电磁暂态仿真装置的结构示意图;FIG7 is a schematic structural diagram of a transformer electromagnetic transient simulation device provided in an embodiment of the present application;
图8是本申请实施例提供的一种计算机设备的结构示意图。FIG8 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
为了便于理解本方案,先对本申请的技术方案进行整体介绍。本申请基于有限时域差分法建立变压器模型,并对所述变压器模型进行网格尺寸、时间步长、材料属性设置;通过试验或理论分析的手段,获取变压器随频率改变而非线性变化的材料参数特性曲线,并将所述特性曲线拟合为一组基于频域分析的有理函数;基于所述有理函数,应用拉普拉斯变换技术将其转换为时域更新方程,并替换变压器模型中需考虑频变材料特性的电场分量与磁场分量的经典更新方程;迭代计算开始后,变压器模型中的电场向量、磁场向量基于麦克斯韦方程组或基于所述有理函数时域更新方程计算,得到当前时间步长的电场分量与当前时间步长的磁场分量;经过多次迭代计算后,若所述当前时间步长的电 场分量或所述当前时间步长的磁场分量收敛或达到预设迭代次数,则仿真结束。In order to facilitate the understanding of this solution, the technical solution of this application is first introduced as a whole. This application establishes a transformer model based on the finite time-domain difference method, and sets the grid size, time step, and material properties of the transformer model; through experimental or theoretical analysis, the material parameter characteristic curve of the transformer that changes nonlinearly with frequency is obtained, and the characteristic curve is fitted into a set of rational functions based on frequency domain analysis; based on the rational function, the Laplace transform technology is applied to convert it into a time domain update equation, and replace the classic update equations of the electric field component and the magnetic field component that need to consider the frequency-varying material characteristics in the transformer model; after the iterative calculation starts, the electric field vector and the magnetic field vector in the transformer model are calculated based on the Maxwell equations or based on the rational function time domain update equation to obtain the electric field component of the current time step and the magnetic field component of the current time step; after multiple iterative calculations, if the electric field component of the current time step or the magnetic field component of the current time step converges or reaches the preset number of iterations, the simulation ends.
接下来分步对本方案进行介绍。Next, this solution is introduced step by step.
在一个实施例中,本申请提出一种变压器电磁暂态仿真方法,如图1所示,图1为本申请实施例提供的一种变压器电磁暂态仿真方法的流程示意图,所述方法包括:In one embodiment, the present application proposes a transformer electromagnetic transient simulation method, as shown in FIG1 , which is a flow chart of a transformer electromagnetic transient simulation method provided in an embodiment of the present application, and the method includes:
步骤101,基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置。Step 101: Establish a transformer model based on a finite difference time domain method, and set a time step for the transformer model.
其中,有限时域差分法(Finite-Difference Time-Domain,FDTD)是一种全域离散时域仿真算法,其计算区域除了包括所有被仿真模型,还包括被仿真物体间及其临近区域。Among them, the finite-difference time-domain method (FDTD) is a global discrete time-domain simulation algorithm. Its calculation area includes not only all simulated models, but also the areas between simulated objects and their adjacent areas.
其中,变压器模型基于模型构建软件完成。具体的,根据变压器参数在有限时域差分法的计算区域内构建变压器模型。The transformer model is completed based on the model building software. Specifically, the transformer model is built in the calculation area of the finite time-domain difference method according to the transformer parameters.
在一个实施例中,所述基于有限时域差分法建立变压器模型,包括:根据变压器结构尺寸确定有限时域差分法的目标计算区域;在所述目标计算区域内建立变压器模型。In one embodiment, the establishment of a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structure size of the transformer; and establishing the transformer model in the target calculation area.
其中,在基于有限时域差分法建立变压器模型时,需要先对有限时域差分法的计算区域进行网格化处理,也就是说,在本申请中,有限时域差分法的计算区域是由多个FDTD正交网格排布组成。Among them, when establishing a transformer model based on the finite time difference method, the calculation area of the finite time difference method needs to be gridded first, that is, in this application, the calculation area of the finite time difference method is composed of multiple FDTD orthogonal grid arrangements.
具体的,对有限时域差分法的计算全域通过FDTD正交网格离散为一组平行六面体网格,每个网格内的电磁场均设定为均匀分布。如图2-图3所示,图2为本申请实施例提供的一种网格内电场向量示意图;图3为本申请实施例提供的一种网格内磁场向量示意图。具体的,如图2所示,以每个平行六面体网格的左下顶点为原点,在与原点相连的三条棱分别定义指向XYZ三个正交方向的电场向量Ex、Ey、Ez;如图3所示,以每个平行六面体网格的左下顶点为原点,与原点相连的三个面分别定义指向XYZ三个正交方向的磁场向量Hx、Hy、Hz。其中,每个方向的电场、磁场向量均需根据相对空间位置设置对应的材料参数,包括电导率σ、介电常数ε和磁导率μ。材料参数是指变压器电器材料的参数。需要说明的是,在对有限时域差分法的计算全域通过FDTD正交网格离散为一组平行六面体网格时,电磁场变化剧烈的区域可加密网格尺寸,如空 气-导体交界面、导体-电介质交界面等;电磁场变化缓慢的区域可采用大尺寸网格,如电介质内部。通过在关键区域增加网格数量、减小网格尺寸,在空气或大体积介质区域减小网格数量,一方面可以将可能含有精细结构的被仿真物体离散,获得符合要求的仿真精度;另一方面,还能避免因网格过于密集而产生不必要的计算负担,降低方案的整体计算实施效率。Specifically, the calculation domain of the finite time-domain difference method is discretized into a set of parallelepiped grids through FDTD orthogonal grids, and the electromagnetic field in each grid is set to be uniformly distributed. As shown in Figures 2-3, Figure 2 is a schematic diagram of an electric field vector in a grid provided in an embodiment of the present application; Figure 3 is a schematic diagram of a magnetic field vector in a grid provided in an embodiment of the present application. Specifically, as shown in Figure 2, the lower left vertex of each parallelepiped grid is taken as the origin, and the three edges connected to the origin are respectively defined to point to the three orthogonal directions of XYZ. The electric field vector Ex, Ey, and Ez; as shown in Figure 3, the lower left vertex of each parallelepiped grid is taken as the origin, and the three faces connected to the origin are respectively defined to point to the three orthogonal directions of XYZ. , Hy, Hz. Among them, the electric field and magnetic field vectors in each direction need to set the corresponding material parameters according to the relative spatial position, including conductivity σ, dielectric constant ε, and magnetic permeability μ. Material parameters refer to the parameters of transformer electrical materials. It should be noted that when the computational domain of the finite time-domain difference method is discretized into a set of parallelepipedal grids through FDTD orthogonal grids, the grid size can be encrypted in areas where the electromagnetic field changes dramatically, such as the air-conductor interface, the conductor-dielectric interface, etc.; large-size grids can be used in areas where the electromagnetic field changes slowly, such as the inside of the dielectric. By increasing the number of grids and reducing the grid size in key areas, and reducing the number of grids in air or large-volume dielectric areas, on the one hand, the simulated objects that may contain fine structures can be discretized to obtain simulation accuracy that meets the requirements; on the other hand, it can also avoid unnecessary computational burdens caused by overly dense grids, reducing the overall computational implementation efficiency of the solution.
具体的,当一组FDTD网格排布在一起组成FDTD计算区域后,电磁场向量在空间上相错半个空间步长(即网格尺寸),且电磁向量间相互包围、环绕,即某方向的电场向量由四个磁场向量环绕,反之亦然。电磁场向量在时间上也相错半个时间步长,即整体电场向量和整体磁场向量始终相距0.5Δt。如图4所示,图4为本申请实施例提供的一种网格内电磁场向量示意图。需要说明的是,以上时空特性满足麦克斯韦离散方程求解特点,因为可以实现电场向量、磁场向量交替步进式求解。Specifically, when a group of FDTD grids are arranged together to form an FDTD calculation area, the electromagnetic field vectors are spaced apart by half a spatial step (i.e., the grid size), and the electromagnetic vectors surround and surround each other, that is, the electric field vector in a certain direction is surrounded by four magnetic field vectors, and vice versa. The electromagnetic field vectors are also spaced apart by half a time step in time, that is, the overall electric field vector and the overall magnetic field vector are always 0.5Δt apart. As shown in Figure 4, Figure 4 is a schematic diagram of electromagnetic field vectors in a grid provided in an embodiment of the present application. It should be noted that the above space-time characteristics meet the characteristics of solving Maxwell's discrete equations, because alternating step-by-step solutions of electric field vectors and magnetic field vectors can be achieved.
具体的,在将有限时域差分法的计算区域网格化处理后,根据变压器结构尺寸确定有限时域差分法的目标计算区域,即确定变压器模型的模型构建区域。其中,变压器结构尺寸可以是变压器本体及临近区域(可以为变压器尺寸的百分之五十),有限时域差分法的目标计算区域不小于变压器结构尺寸。Specifically, after the calculation area of the finite time-domain difference method is gridded, the target calculation area of the finite time-domain difference method is determined according to the structural size of the transformer, that is, the model construction area of the transformer model is determined. The structural size of the transformer can be the transformer body and the adjacent area (which can be 50% of the transformer size), and the target calculation area of the finite time-domain difference method is not less than the structural size of the transformer.
在一个实施例中,所述对所述变压器模型进行时间步长设置,包括:根据以下时间步长公式对所述变压器模型进行时间步长设置:In one embodiment, setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
Figure PCTCN2022126082-appb-000004
Figure PCTCN2022126082-appb-000004
其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
其中,最大时间步长的选取由最小FDTD离散网格尺寸决定,并应满足克朗特(Courant-Friedrich-Levy,CFL)判据,以防止时域计算中可能出现的数据发散、震荡、不收敛等问题,即The selection of the maximum time step is determined by the minimum FDTD discrete grid size and should satisfy the Courant-Friedrich-Levy (CFL) criterion to prevent data divergence, oscillation, non-convergence and other problems that may occur in time domain calculations, that is,
Figure PCTCN2022126082-appb-000005
Figure PCTCN2022126082-appb-000005
式中,Δx、Δy、Δz为FDTD网格在X、Y、Z三个正交方向的最小网格 尺寸,c为光在相应介质内的传播速度。Where Δx, Δy, Δz are the minimum grid sizes of the FDTD grid in the three orthogonal directions of X, Y, and Z, and c is the propagation speed of light in the corresponding medium.
在本实施例中,基于有限时域差分法建立变压器模型,即将变压器本体及临近区域(一般为变压器尺寸的百分之五十)在FDTD计算区域中建模,利用FDTD网格将变压器及临近区域离散。在一种可实现的方式中,对于材料参数不随频率变化(频不变)的区域,采用FDTD经典更新方程在时域中求解电磁场分布。对于材料参数随频率非线性变化(频变)的区域,首先获得变压器的频率特性曲线,然后基于变压器的频率特性曲线与经典FDTD更新方程求解电磁场分布。下面对材料参数随频率非线性变化的方案进行阐述。In this embodiment, a transformer model is established based on the finite time-domain difference method, that is, the transformer body and the adjacent area (generally 50% of the transformer size) are modeled in the FDTD calculation area, and the transformer and the adjacent area are discretized using the FDTD grid. In an achievable manner, for areas where material parameters do not change with frequency (frequency invariant), the FDTD classical update equation is used to solve the electromagnetic field distribution in the time domain. For areas where material parameters change nonlinearly with frequency (frequency variable), the frequency characteristic curve of the transformer is first obtained, and then the electromagnetic field distribution is solved based on the frequency characteristic curve of the transformer and the classical FDTD update equation. The scheme of nonlinear change of material parameters with frequency is described below.
步骤102,获取变压器的频率特性曲线。Step 102: Obtain a frequency characteristic curve of the transformer.
其中,通过试验、理论公式计算或数值算法,获取电力变压器关键结构的频变特性曲线,频率范围需囊括电磁暂态过程关注的全部频段。Among them, the frequency-varying characteristic curve of the key structure of the power transformer is obtained through experiments, theoretical formula calculations or numerical algorithms, and the frequency range must cover all frequency bands of concern in the electromagnetic transient process.
具体的,理论公式可以是贝塞尔函数(Bessel Function)等,数值算法可以是矩量法(Method of Moment,MoM)、部分元等效电路法(Partial Element Equivalent Circuit,PEEC)等。Specifically, the theoretical formula can be Bessel Function, etc., and the numerical algorithm can be Method of Moment (MoM), Partial Element Equivalent Circuit (PEEC), etc.
在一个实施例中,变压器关键部件的频率特性曲线(如考虑频变特性的铜损)不仅和材料相关,也和关键部件的几何结构尺寸相关,所以即使对于同一种材料也需要分别求取。由于变压器内部结构较为复杂,且探测设备的精度有限,为了提升频率特性曲线的准确性,本申请使用理论公式或数值算法求取相应特性曲线。例如,求解具有圆形横截面的实心、空心、同轴导体的频变损耗,可以采用贝塞尔函数求得圆形导体的电流密度分布,进而推导除频变损耗。贝塞尔函数的形式如下:In one embodiment, the frequency characteristic curve of the key components of the transformer (such as copper loss considering the frequency-varying characteristics) is not only related to the material, but also to the geometric structure size of the key components, so even for the same material, they need to be obtained separately. Since the internal structure of the transformer is relatively complex and the accuracy of the detection equipment is limited, in order to improve the accuracy of the frequency characteristic curve, this application uses theoretical formulas or numerical algorithms to obtain the corresponding characteristic curves. For example, to solve the frequency-varying loss of solid, hollow, and coaxial conductors with circular cross-sections, the Bessel function can be used to obtain the current density distribution of the circular conductor, and then derive the frequency-varying loss. The form of the Bessel function is as follows:
Figure PCTCN2022126082-appb-000006
Figure PCTCN2022126082-appb-000006
式中,Z是阻抗,R d=mr d,m 2=jωμ(σ+jωε),r d为导体半径,μ为磁导率,ε为介电常数,σ为电导率,j表示复数,ω为角频率,I 0和I 1分别为0阶、1阶第一类修正形式贝塞尔函数。 Wherein, Z is impedance, R d = mrd , m 2 =jωμ(σ+jωε), r d is the conductor radius, μ is the magnetic permeability, ε is the dielectric constant, σ is the conductivity, j represents a complex number, ω is the angular frequency, I 0 and I 1 are the 0th and 1st order first kind modified form Bessel functions respectively.
对于非圆形横截面的长直导体频变损耗,可以采用二维MoM算法将二维横截面离散,求取每个离散单元上的电流分布,进而求得长直导体的总体频变损耗。对于具有复杂结构的关键导体结构,可以利用三维PEEC算法在空间上根据精度需求将该导体离散,每个离散单元等效为电路元件,再结合电路求解 算法求得其频率特性曲线。For the frequency-dependent loss of a long straight conductor with a non-circular cross section, the two-dimensional MoM algorithm can be used to discretize the two-dimensional cross section, obtain the current distribution on each discrete unit, and then obtain the overall frequency-dependent loss of the long straight conductor. For key conductor structures with complex structures, the three-dimensional PEEC algorithm can be used to discretize the conductor in space according to the accuracy requirements, and each discrete unit is equivalent to a circuit element, and then combined with the circuit solving algorithm to obtain its frequency characteristic curve.
步骤103,基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。Step 103: based on the frequency characteristic curve, update the electric field component and the magnetic field component of the transformer model to obtain the electric field component of the current time step and the magnetic field component of the current time step.
具体的,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。Specifically, based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step, including: using a vector matching method to fit the frequency-varying function corresponding to the frequency characteristic curve to obtain a first-order rational function; based on the first-order rational function, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step.
其中,通过试验、理论公式计算或数值算法,获取电力变压器关键结构的频变特性曲线后,利用矢量匹配法(Vector Fitting Technique,VFT)对相应的频变函数进行拟合,将复杂的频变函数拟合为一阶有理函数,进而将该有理函数以卷积的形式代入FDTD求解方程,实现在时域计算中考虑频变参数的目的。利用矢量匹配法对相应的频变函数进行拟合,能够有效的降低函数的复杂程度,从而降低时域仿真求解的难度。Among them, after obtaining the frequency-variant characteristic curve of the key structure of the power transformer through experiments, theoretical formula calculations or numerical algorithms, the corresponding frequency-variant function is fitted using the vector fitting technique (VFT), and the complex frequency-variant function is fitted into a first-order rational function, and then the rational function is substituted into the FDTD solution equation in the form of convolution to achieve the purpose of considering the frequency-variant parameters in the time domain calculation. Using the vector matching method to fit the corresponding frequency-variant function can effectively reduce the complexity of the function, thereby reducing the difficulty of solving the time domain simulation.
具体的,矢量匹配法具有稳定性高、迭代次数少、收敛快等优点。通过矢量匹配法,可以将变压器关键部件的频率特性曲线在频域上近似拟合为一阶有理函数和的形式。其中,矢量匹配法拟合的频率特性曲线一阶有理函数为(频变阻抗Z可在复频域中拟合为):Specifically, the vector matching method has the advantages of high stability, few iterations, and fast convergence. Through the vector matching method, the frequency characteristic curve of the key components of the transformer can be approximately fitted in the frequency domain as a first-order rational function and. Among them, the first-order rational function of the frequency characteristic curve fitted by the vector matching method is (the frequency-dependent impedance Z can be fitted in the complex frequency domain as):
Figure PCTCN2022126082-appb-000007
Figure PCTCN2022126082-appb-000007
式中,s表征复频域,d为直流分量,h为感性分量,c m为留数,a m为极点,N为矢量匹配阶数。经验证,矢量匹配法拟合的频率特性曲线与原变压器关键部件的频率特性曲线的相对误差小于0.1%。如图5-图6所示,图5为本申请实施例提供的一种截面为矩形的长直导体磁场频率特性曲线及其矢量匹配法拟合曲线,图6为本申请实施例提供的一种截面为矩形的长直导体电流频率特性曲线及其矢量匹配法拟合曲线。需要注意的是,尽可能在原特性频率曲线的每个频率数量级内均匀选取尽可能多的频点,以提高曲线拟合的精度。 Wherein, s represents the complex frequency domain, d is the DC component, h is the inductive component, cm is the residue, am is the pole, and N is the vector matching order. It has been verified that the relative error between the frequency characteristic curve fitted by the vector matching method and the frequency characteristic curve of the original transformer key component is less than 0.1%. As shown in Figures 5-6, Figure 5 is a magnetic field frequency characteristic curve of a long straight conductor with a rectangular cross-section and its vector matching method fitting curve provided in an embodiment of the present application, and Figure 6 is a current frequency characteristic curve of a long straight conductor with a rectangular cross-section and its vector matching method fitting curve provided in an embodiment of the present application. It should be noted that as many frequency points as possible should be uniformly selected within each frequency order of magnitude of the original characteristic frequency curve to improve the accuracy of curve fitting.
在一个实施例中,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:将所 述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。In one embodiment, the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step. The updating of the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
具体的,应用经典FDTD更新方程迭代求解计算区域内的电场向量,在每次迭代求解过程中,需要将所述一阶有理函数以卷积的形式代入FDTD电场更新方程,从而充分考虑电频变特性参数对电磁暂态仿真结果的影响。迭代过程涉及前一时间步长的电场向量值和环绕该电场向量的四个磁场向量,具体更新方程如下所示:Specifically, the classic FDTD update equation is applied to iteratively solve the electric field vector in the calculation area. In each iterative solution process, the first-order rational function needs to be substituted into the FDTD electric field update equation in the form of convolution, so as to fully consider the influence of the electric frequency-dependent characteristic parameters on the electromagnetic transient simulation results. The iterative process involves the electric field vector value of the previous time step and the four magnetic field vectors surrounding the electric field vector. The specific update equation is as follows:
Figure PCTCN2022126082-appb-000008
Figure PCTCN2022126082-appb-000008
Figure PCTCN2022126082-appb-000009
Figure PCTCN2022126082-appb-000009
Figure PCTCN2022126082-appb-000010
Figure PCTCN2022126082-appb-000010
式中,E x、E y、E z为三个正交方向的电场向量,i、j、k为基于FDTD网格编号的电场向量位置编号,q表示时间步数,σ、ε分别表示对应空间内的等效电导率、介电常数,Δt表示FDTD时间步长。 Where Ex , Ey , and Ez are the electric field vectors in three orthogonal directions, i, j, and k are the position numbers of the electric field vector based on the FDTD grid numbering, q represents the number of time steps, σ and ε represent the equivalent conductivity and dielectric constant in the corresponding space, respectively, and Δt represents the FDTD time step.
其中,基于矢量匹配法,可将阻抗的频率特性曲线拟合为一阶有理函数的形式,然后通过反拉普斯变换将一阶有理函数变换为时域卷积形式,再将时域卷积形式的电场向量更新方程,替换公式(4)中相应位置的电场向量更新方程。示例性的,考虑频变特性材料的空间位置处的电场向量E的更新方程可替换为如下方程:Among them, based on the vector matching method, the frequency characteristic curve of the impedance can be fitted into the form of a first-order rational function, and then the first-order rational function can be transformed into a time domain convolution form by an inverse Laplace transform, and then the electric field vector update equation in the time domain convolution form is replaced by the electric field vector update equation at the corresponding position in formula (4). Exemplarily, the update equation of the electric field vector E at the spatial position of the frequency-dependent characteristic material can be replaced by the following equation:
Figure PCTCN2022126082-appb-000011
Figure PCTCN2022126082-appb-000011
式中,K p=d+h/Δt,K n=-h/Δt,
Figure PCTCN2022126082-appb-000012
为卷积项,Δt表示FDTD时间步长,I q为电流,d为直流分量,h为感性分量;
Where, Kp = d + h / Δt, Kn = -h / Δt,
Figure PCTCN2022126082-appb-000012
is the convolution term, Δt represents the FDTD time step, Iq is the current, d is the DC component, and h is the inductive component;
Figure PCTCN2022126082-appb-000013
Figure PCTCN2022126082-appb-000013
式中,c m为留数,a m为极点,N为矢量匹配阶数。 Where cm is the residue, am is the pole, and N is the vector matching order.
具体的,为保证仿真稳定性,结合时域卷积计算时可以适当减小时间步长,每一次迭代需要将时间步长减小至上一次迭代时间步长的0.8~0.9倍之间。由于此类卷积计算均在局部区域进行,所以不影响FDTD程序的并行计算能力,电力变压器电磁暂态时域仿真仍然可以借用高性能图形计算处理器(GPU)提升计算效率。Specifically, to ensure the stability of the simulation, the time step can be appropriately reduced when combined with the time domain convolution calculation. Each iteration needs to reduce the time step to between 0.8 and 0.9 times the time step of the previous iteration. Since such convolution calculations are performed in local areas, they do not affect the parallel computing capabilities of the FDTD program. The electromagnetic transient time domain simulation of power transformers can still use high-performance graphics processing units (GPUs) to improve computing efficiency.
具体的,应用经典FDTD更新方程迭代求解计算区域内的磁场向量,在每次迭代求解过程中,需要将前文所述的一阶有理函数以卷积的形式代入FDTD磁场更新方程,从而充分考虑磁频变特性参数对电磁暂态仿真结果的影响。计算全域的磁场向量均采用经典FDTD磁场向量更新方程迭代计算。具体方程表示如下:Specifically, the classic FDTD update equation is used to iteratively solve the magnetic field vector in the calculation area. In each iterative solution process, the first-order rational function mentioned above needs to be substituted into the FDTD magnetic field update equation in the form of convolution, so as to fully consider the influence of the magnetic frequency-variable characteristic parameters on the electromagnetic transient simulation results. The magnetic field vector of the entire calculation domain is iteratively calculated using the classic FDTD magnetic field vector update equation. The specific equation is expressed as follows:
Figure PCTCN2022126082-appb-000014
Figure PCTCN2022126082-appb-000014
Figure PCTCN2022126082-appb-000015
Figure PCTCN2022126082-appb-000015
Figure PCTCN2022126082-appb-000016
Figure PCTCN2022126082-appb-000016
式中,μ、σ m为磁导率和导磁系数,一般导磁系数设定为0。将磁性频变材料参数的一阶有理函数代入FDTD方程计算,其过程与电材料参数相同,此处不再赘述。 Where μ and σ m are magnetic permeability and permeability, and the permeability is generally set to 0. Substitute the first-order rational function of the magnetic frequency-variable material parameters into the FDTD equation for calculation. The process is the same as that of the electrical material parameters, which will not be repeated here.
步骤104,若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。Step 104: If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
其中,对电场分量与磁场分量进行迭代计算,直至电场分量或所述当前时间步长的磁场分量收敛,仿真结束。The electric field component and the magnetic field component are iteratively calculated until the electric field component or the magnetic field component of the current time step converges, and the simulation ends.
在一个实施例中,若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。In one embodiment, if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
本发明提供一种变压器电磁暂态仿真方法,所述方法包括:基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;获取变压器的频率特性曲线;基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。本申请基于有限时域差分法建立变压器模型,不需要复杂繁琐的计算和现场试验,能够极大的提升计算效率;并且本申请基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,能够在时域中充分考虑频变的变压器电磁特性参数,大幅提高仿真精度。The present invention provides a transformer electromagnetic transient simulation method, the method comprising: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; based on the frequency characteristic curve, updating the electric field component and the magnetic field component of the transformer model, and obtaining the electric field component of the current time step and the magnetic field component of the current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends. The present application establishes a transformer model based on a finite time-domain difference method, does not require complex and tedious calculations and field tests, and can greatly improve the calculation efficiency; and the present application updates the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve, and can fully consider the frequency-varying transformer electromagnetic characteristic parameters in the time domain, greatly improving the simulation accuracy.
在一个实施例中,本申请提供一种变压器电磁暂态仿真装置,如图7所示,图7为本申请实施例提供的一种变压器电磁暂态仿真装置的结构示意图,所述装置包括:In one embodiment, the present application provides a transformer electromagnetic transient simulation device, as shown in FIG7 , which is a schematic diagram of the structure of a transformer electromagnetic transient simulation device provided in an embodiment of the present application, the device comprising:
模型构建模块701,用于基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置。The model building module 701 is used to build a transformer model based on the finite time-domain difference method and set the time step of the transformer model.
特性曲线获取模块702,用于获取变压器的频率特性曲线。The characteristic curve acquisition module 702 is used to acquire the frequency characteristic curve of the transformer.
第一仿真模块703,用于基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。The first simulation module 703 is used to update the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step.
第二仿真模块704,用于若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。The second simulation module 704 is used to end the simulation if the electric field component of the current time step or the magnetic field component of the current time step converges.
如图8所示,在一个实施例中,为一种计算机设备的内部结构图。该计算机设备可以是一种变压器电磁暂态仿真装置、或与一种变压器电磁暂态仿真装置连接的终端或服务器。如图8所示,该计算机设备包括通过系统总线连接的 处理器、存储器、和网络接口。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现一种变压器电磁暂态仿真方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行一种变压器电磁暂态仿真方法。网络接口用于与外接进行通信。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG8, in one embodiment, it is an internal structure diagram of a computer device. The computer device may be a transformer electromagnetic transient simulation device, or a terminal or server connected to a transformer electromagnetic transient simulation device. As shown in FIG8, the computer device includes a processor, a memory, and a network interface connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor may implement a transformer electromagnetic transient simulation method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor may execute a transformer electromagnetic transient simulation method. The network interface is used to communicate with an external device. Those skilled in the art may understand that the structure shown in FIG8 is only a block diagram of a partial structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
在一个实施例中,本申请提供的一种变压器电磁暂态仿真方法可以实现为一种计算机程序的形式,计算机程序可在如图8所示的计算机设备上运行。计算机设备的存储器中可存储组成该变压器电磁暂态仿真装置的各个程序模板。比如,模型构建模块701,特性曲线获取模块702,第一仿真模块703,第二仿真模块704。In one embodiment, a transformer electromagnetic transient simulation method provided by the present application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in FIG8. The memory of the computer device can store various program templates constituting the transformer electromagnetic transient simulation device. For example, a model building module 701, a characteristic curve acquisition module 702, a first simulation module 703, and a second simulation module 704.
一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该计算机程序被该处理器执行时,使得该处理器执行如下步骤:基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;获取变压器的频率特性曲线;基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; updating an electric field component and a magnetic field component of the transformer model based on the frequency characteristic curve to obtain an electric field component of a current time step and a magnetic field component of a current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
在一个实施例中,该计算机程序被该处理器执行时,使得该处理器还执行如下步骤:若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。In one embodiment, when the computer program is executed by the processor, the processor further executes the following steps: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
在一个实施例中,所述基于有限时域差分法建立变压器模型,包括:根据变压器结构尺寸确定有限时域差分法的目标计算区域;在所述目标计算区域内建立变压器模型。In one embodiment, the establishment of a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structure size of the transformer; and establishing the transformer model in the target calculation area.
在一个实施例中,所述对所述变压器模型进行时间步长设置,包括:根据以下时间步长公式对所述变压器模型进行时间步长设置:In one embodiment, setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
Figure PCTCN2022126082-appb-000017
Figure PCTCN2022126082-appb-000017
其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
在一个实施例中,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。In one embodiment, the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: fitting the frequency-varying function corresponding to the frequency characteristic curve using a vector matching method to obtain a first-order rational function; updating the electric field component and the magnetic field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
在一个实施例中,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。In one embodiment, the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
在一个实施例中,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。In one embodiment, updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;获取变压器的频率特性曲线;基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor performs the following steps: establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model; obtaining a frequency characteristic curve of the transformer; updating an electric field component and a magnetic field component of the transformer model based on the frequency characteristic curve to obtain an electric field component of a current time step and a magnetic field component of a current time step; if the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
在一个实施例中,该计算机程序被该处理器执行时,使得该处理器还执行如下步骤:若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。In one embodiment, when the computer program is executed by the processor, the processor further executes the following steps: if the number of iterations corresponding to the current time step is greater than an iteration number threshold, the simulation ends.
在一个实施例中,所述基于有限时域差分法建立变压器模型,包括:根据变压器结构尺寸确定有限时域差分法的目标计算区域;在所述目标计算区域内建立变压器模型。In one embodiment, the establishment of a transformer model based on the finite time-domain difference method includes: determining a target calculation area of the finite time-domain difference method according to the structure size of the transformer; and establishing the transformer model in the target calculation area.
在一个实施例中,所述对所述变压器模型进行时间步长设置,包括:根据以下时间步长公式对所述变压器模型进行时间步长设置:In one embodiment, setting the time step of the transformer model includes: setting the time step of the transformer model according to the following time step formula:
Figure PCTCN2022126082-appb-000018
Figure PCTCN2022126082-appb-000018
其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
在一个实施例中,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。In one embodiment, the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: fitting the frequency-varying function corresponding to the frequency characteristic curve using a vector matching method to obtain a first-order rational function; updating the electric field component and the magnetic field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
在一个实施例中,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。In one embodiment, the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
在一个实施例中,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。In one embodiment, updating the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step includes: inputting the convolution form of the first-order rational function into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only memory,ROM)或随机存储记忆体(Random Access memory,RAM)等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims (21)

  1. 变压器电磁暂态仿真方法,其特征在于,所述方法包括:A transformer electromagnetic transient simulation method, characterized in that the method comprises:
    基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;Establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model;
    获取变压器的频率特性曲线;Obtain the frequency characteristic curve of the transformer;
    基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;Based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
    若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:
    若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。If the number of iterations corresponding to the current time step is greater than the iteration number threshold, the simulation ends.
  3. 根据权利要求1所述的方法,其特征在于,所述基于有限时域差分法建立变压器模型,包括:The method according to claim 1, characterized in that the transformer model is established based on the finite time-domain difference method, comprising:
    根据变压器结构尺寸确定有限时域差分法的目标计算区域;Determine the target calculation area of the finite time-domain difference method according to the transformer structure size;
    在所述目标计算区域内建立变压器模型。A transformer model is established in the target calculation area.
  4. 根据权利要求1所述的方法,其特征在于,所述对所述变压器模型进行时间步长设置,包括:The method according to claim 1, characterized in that the step of setting the time step of the transformer model comprises:
    根据以下时间步长公式对所述变压器模型进行时间步长设置:The time step of the transformer model is set according to the following time step formula:
    Figure PCTCN2022126082-appb-100001
    Figure PCTCN2022126082-appb-100001
    其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
  5. 根据权利要求1所述的方法,其特征在于,所述基于所述频率特性曲线, 更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:The method according to claim 1, characterized in that the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step comprises:
    利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;Using a vector matching method to fit the frequency-dependent function corresponding to the frequency characteristic curve to obtain a first-order rational function;
    基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。The electric field component and the magnetic field component of the transformer model are updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  6. 根据权利要求5所述的方法,其特征在于,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:The method according to claim 5, characterized in that the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step comprises:
    将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。The convolution form of the first-order rational function is input into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  7. 根据权利要求5所述的方法,其特征在于,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:The method according to claim 5, characterized in that the updating of the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step comprises:
    将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。The convolution form of the first-order rational function is input into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  8. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:
    基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;Establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model;
    获取变压器的频率特性曲线;Obtain the frequency characteristic curve of the transformer;
    基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;Based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
    若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  9. 根据权利要求8所述的计算机设备,其特征在于,所述方法还包括:The computer device according to claim 8, wherein the method further comprises:
    若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。If the number of iterations corresponding to the current time step is greater than the iteration number threshold, the simulation ends.
  10. 根据权利要求8所述的计算机设备,其特征在于,所述基于有限时域差分法建立变压器模型,包括:The computer device according to claim 8, characterized in that the transformer model is established based on the finite time-domain difference method, comprising:
    根据变压器结构尺寸确定有限时域差分法的目标计算区域;Determine the target calculation area of the finite time-domain difference method according to the transformer structure size;
    在所述目标计算区域内建立变压器模型。A transformer model is established in the target calculation area.
  11. 根据权利要求8所述的计算机设备,其特征在于,所述对所述变压器模型进行时间步长设置,包括:The computer device according to claim 8, characterized in that the time step setting of the transformer model comprises:
    根据以下时间步长公式对所述变压器模型进行时间步长设置:The time step of the transformer model is set according to the following time step formula:
    Figure PCTCN2022126082-appb-100002
    Figure PCTCN2022126082-appb-100002
    其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
  12. 根据权利要求8所述的计算机设备,其特征在于,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:The computer device according to claim 8, characterized in that the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step comprises:
    利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;Using a vector matching method to fit the frequency-dependent function corresponding to the frequency characteristic curve to obtain a first-order rational function;
    基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。The electric field component and the magnetic field component of the transformer model are updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  13. 根据权利要求12所述的计算机设备,其特征在于,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:The computer device according to claim 12, characterized in that the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step comprises:
    将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。The convolution form of the first-order rational function is input into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  14. 根据权利要求12所述的计算机设备,其特征在于,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:The computer device according to claim 12, characterized in that the updating of the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step comprises:
    将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。The convolution form of the first-order rational function is input into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
  15. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following steps:
    基于有限时域差分法建立变压器模型,并对所述变压器模型进行时间步长设置;Establishing a transformer model based on a finite time-domain difference method, and setting a time step for the transformer model;
    获取变压器的频率特性曲线;Obtain the frequency characteristic curve of the transformer;
    基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量;Based on the frequency characteristic curve, the electric field component and the magnetic field component of the transformer model are updated to obtain the electric field component of the current time step and the magnetic field component of the current time step;
    若所述当前时间步长的电场分量或所述当前时间步长的磁场分量收敛,则仿真结束。If the electric field component of the current time step or the magnetic field component of the current time step converges, the simulation ends.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述方法还包括:The computer-readable storage medium according to claim 15, wherein the method further comprises:
    若所述当前时间步长对应的迭代次数大于迭代次数阈值,则仿真结束。If the number of iterations corresponding to the current time step is greater than the iteration number threshold, the simulation ends.
  17. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述基于有限时域差分法建立变压器模型,包括:The computer-readable storage medium according to claim 15, wherein the step of establishing a transformer model based on a finite difference time domain method comprises:
    根据变压器结构尺寸确定有限时域差分法的目标计算区域;Determine the target calculation area of the finite time-domain difference method according to the transformer structure size;
    在所述目标计算区域内建立变压器模型。A transformer model is established in the target calculation area.
  18. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述对所述变压器模型进行时间步长设置,包括:The computer-readable storage medium according to claim 15, wherein the step of setting the time step of the transformer model comprises:
    根据以下时间步长公式对所述变压器模型进行时间步长设置:The time step of the transformer model is set according to the following time step formula:
    Figure PCTCN2022126082-appb-100003
    Figure PCTCN2022126082-appb-100003
    其中,Δx、Δy、Δz为有限时域差分法网格在X、Y、Z三个正交方向的最小网格尺寸,c为光在相应介质内的传播速度,Δt为最大时间步长。Among them, Δx, Δy, Δz are the minimum grid sizes of the finite time-domain difference method grid in the three orthogonal directions of X, Y, and Z, c is the propagation speed of light in the corresponding medium, and Δt is the maximum time step.
  19. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述基于所述频率特性曲线,更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:The computer-readable storage medium according to claim 15, characterized in that the updating of the electric field component and the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the electric field component of the current time step and the magnetic field component of the current time step comprises:
    利用矢量匹配法对所述频率特性曲线对应的频变函数进行拟合得到一阶有理函数;Using a vector matching method to fit the frequency-dependent function corresponding to the frequency characteristic curve to obtain a first-order rational function;
    基于所述一阶有理函数更新所述变压器模型的电场分量与磁场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量。The electric field component and the magnetic field component of the transformer model are updated based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step.
  20. 根据权利要求19所述的计算机可读存储介质,其特征在于,所述基于所述一阶有理函数更新所述变压器模型的电场分量,得到当前时间步长的电场分量与当前时间步长的磁场分量,包括:The computer-readable storage medium according to claim 19, characterized in that the updating of the electric field component of the transformer model based on the first-order rational function to obtain the electric field component of the current time step and the magnetic field component of the current time step comprises:
    将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的电场更新方程,以确定当前时间步长的电场分量。The convolution form of the first-order rational function is input into the electric field update equation of the finite time-domain difference method in the transformer model to determine the electric field component of the current time step.
  21. 根据权利要求19所述的计算机可读存储介质,其特征在于,所述基于所述频率特性曲线,更新所述变压器模型的磁场分量,得到当前时间步长的磁场分量,包括:The computer-readable storage medium according to claim 19, wherein the updating of the magnetic field component of the transformer model based on the frequency characteristic curve to obtain the magnetic field component of the current time step comprises:
    将所述一阶有理函数的卷积形式输入到所述变压器模型中有限时域差分法的磁场更新方程,以确定当前时间步长的磁场分量。The convolution form of the first-order rational function is input into the magnetic field update equation of the finite time-domain difference method in the transformer model to determine the magnetic field component of the current time step.
PCT/CN2022/126082 2022-10-19 2022-10-19 Method for electromagnetic transient simulation of transformer, computer device, and storage medium WO2024082163A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/126082 WO2024082163A1 (en) 2022-10-19 2022-10-19 Method for electromagnetic transient simulation of transformer, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/126082 WO2024082163A1 (en) 2022-10-19 2022-10-19 Method for electromagnetic transient simulation of transformer, computer device, and storage medium

Publications (1)

Publication Number Publication Date
WO2024082163A1 true WO2024082163A1 (en) 2024-04-25

Family

ID=90736637

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126082 WO2024082163A1 (en) 2022-10-19 2022-10-19 Method for electromagnetic transient simulation of transformer, computer device, and storage medium

Country Status (1)

Country Link
WO (1) WO2024082163A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542111A (en) * 2011-12-31 2012-07-04 天津大学 Method for improving electromagnetic simulation efficiency of transformer
CN104298822A (en) * 2014-10-09 2015-01-21 天津大学 Nonlinearity-considered electromagnetic transient real-time simulation method of transformer substation
CN105205238A (en) * 2015-09-14 2015-12-30 华南理工大学 Transformer electromagnetic transient simulation modeling method based on PSCAD/EMTDC (power system computer aided design/ electromagnetic transients including DC) software
CN107037312A (en) * 2016-11-28 2017-08-11 国家电网公司 A kind of Transformer Winding Building of Simulation Model method for frequency sweep impedance method
WO2020088245A1 (en) * 2018-10-31 2020-05-07 邓宏伟 Direct algorithm-based electromagnetic and electromechanical transient simulation algorithm
CN113283129A (en) * 2021-04-13 2021-08-20 上海电力大学 Transformer partial discharge signal receiver position design method based on time-frequency domain analysis

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542111A (en) * 2011-12-31 2012-07-04 天津大学 Method for improving electromagnetic simulation efficiency of transformer
CN104298822A (en) * 2014-10-09 2015-01-21 天津大学 Nonlinearity-considered electromagnetic transient real-time simulation method of transformer substation
CN105205238A (en) * 2015-09-14 2015-12-30 华南理工大学 Transformer electromagnetic transient simulation modeling method based on PSCAD/EMTDC (power system computer aided design/ electromagnetic transients including DC) software
CN107037312A (en) * 2016-11-28 2017-08-11 国家电网公司 A kind of Transformer Winding Building of Simulation Model method for frequency sweep impedance method
WO2020088245A1 (en) * 2018-10-31 2020-05-07 邓宏伟 Direct algorithm-based electromagnetic and electromechanical transient simulation algorithm
CN113283129A (en) * 2021-04-13 2021-08-20 上海电力大学 Transformer partial discharge signal receiver position design method based on time-frequency domain analysis

Similar Documents

Publication Publication Date Title
Edelvik A new technique for accurate and stable modeling of arbitrarily oriented thin wires in the FDTD method
Ren et al. A new 3-D nonspurious discontinuous Galerkin spectral element time-domain (DG-SETD) method for Maxwell’s equations
Nitsch et al. Radiating nonuniform transmission-line systems and the partial element equivalent circuit method
Edelvik et al. An unconditionally stable subcell model for arbitrarily oriented thin wires in the FETD method
Kettner et al. On the properties of the compound nodal admittance matrix of polyphase power systems
Tan Fundamental implicit FDTD schemes for computational electromagnetics and educational mobile apps
Leone et al. Efficient broadband circuit-modeling approach for parallel-plane structures of arbitrary shape
CN116187258B (en) Quantum chip layout simulation method and device, computing equipment and storage medium
JP2018124831A (en) Electromagnetic field analysis device, method, and program
Chen et al. A memory-efficient implementation of perfectly matched layer with smoothly varying coefficients in discontinuous Galerkin time-domain method
Kang et al. An efficient 2-D compact precise-integration time-domain method for longitudinally invariant waveguiding structures
WO2024082163A1 (en) Method for electromagnetic transient simulation of transformer, computer device, and storage medium
CN116151073A (en) Integrated circuit simulation method and device based on mixed finite element method
Schuhmann et al. The nonorthogonal finite integration technique applied to 2D-and 3D-eigenvalue problems
Law et al. A nonlinear relaxation formulation of the p-curl problem modelling high-temperature superconductors: A modified Yee's scheme
JP3703812B2 (en) Electromagnetic field analysis method using FDTD method, medium expression method in electromagnetic field analysis, simulation apparatus, and program
Nentchev Numerical analysis and simulation in microelectronics by vector finite elements
Li et al. Quasi‐static numerical modeling of miniature RF circuits based on lumped equivalent circuits
Grylonakis et al. A note on solving the generalized Dirichlet to Neumann map on irregular polygons using Generic Factored Approximate Sparse Inverses
Hackl et al. Efficient simulation of magnetic components using the MagPEEC-method
Bokil et al. A dispersion minimized mimetic method for cold plasma
CN116882219B (en) Field line coupling method based on DGTD and FDTD
Ijjeh et al. Frequency-Domain TLM Method with Cartesian Block Meshing
EP1168191A1 (en) A method and apparatus for simulating electromagnetic fields
Ammar et al. Investigation of a heterogeneous RLC lattice with triangular topology, excited by a lumped voltage source

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22962354

Country of ref document: EP

Kind code of ref document: A1