CN115034087A - Modeling method and device for wind turbine generator, electronic equipment and storage medium - Google Patents
Modeling method and device for wind turbine generator, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115034087A CN115034087A CN202210784710.2A CN202210784710A CN115034087A CN 115034087 A CN115034087 A CN 115034087A CN 202210784710 A CN202210784710 A CN 202210784710A CN 115034087 A CN115034087 A CN 115034087A
- Authority
- CN
- China
- Prior art keywords
- wind turbine
- turbine generator
- simulation model
- state
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 238000004088 simulation Methods 0.000 claims abstract description 176
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 23
- 238000004364 calculation method Methods 0.000 claims abstract description 19
- 238000012360 testing method Methods 0.000 claims abstract description 16
- 230000004907 flux Effects 0.000 claims description 53
- 239000011159 matrix material Substances 0.000 claims description 40
- 238000004590 computer program Methods 0.000 claims description 7
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 238000005094 computer simulation Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000003068 static effect Effects 0.000 description 6
- 238000004804 winding Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/06—Wind turbines or wind farms
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Operations Research (AREA)
- Control Of Eletrric Generators (AREA)
- Wind Motors (AREA)
Abstract
The invention discloses a modeling method, a modeling device, electronic equipment and a storage medium of a wind turbine generator, wherein the method comprises the following steps: the method comprises the steps of obtaining state data of the wind turbine generator, establishing a state equation of the wind turbine generator according to the state data by adopting a backward Euler method, establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm, judging whether the wind turbine generator simulation model meets a preset semi-physical simulation test requirement or not based on errors of the wind turbine generator simulation model and a real wind turbine generator, if so, determining the wind turbine generator simulation model as a target wind turbine generator simulation model, if not, adjusting the wind turbine generator simulation model according to the errors to obtain optimal parameters, and optimizing the wind turbine generator simulation model based on the optimal parameters to obtain the target wind turbine generator simulation model. The method is beneficial to solving the technical problems of less simulation quantity, large simulation calculation amount and longer simulation time of the existing wind turbine modeling method, and improves the efficiency of wind turbine modeling.
Description
Technical Field
The invention relates to the technical field of simulation modeling of wind turbine generators, in particular to a modeling method and device of a wind turbine generator, electronic equipment and a storage medium.
Background
In recent years, with the increase of the single machine capacity of wind turbine generators and the installed capacity of wind power plants in China, the requirements on wind power electrical simulation modeling are higher and higher.
At present, in the field of wind power simulation modeling, methods such as off-line simulation modeling and semi-physical real-time simulation modeling are generally adopted to research various complex problems in the aspect of wind power electricity. Meanwhile, the number of the wind turbines in the wind power plant is large, and requirements on aspects such as simulation software and computing resources are higher and higher. The off-line simulation modeling method used conventionally is increasingly difficult to meet the site-level modeling requirements. Compared with an off-line simulation modeling method, the semi-physical real-time simulation modeling method has the advantages that: the semi-physical simulation modeling method has the advantages of high precision, abundant computing resources, low cost, high safety and short test period. The method is particularly suitable for electromagnetic simulation verification of a multi-machine power system and a complex power system comprising high-proportion and high-frequency power level devices and the like.
Aiming at the actual modeling of a wind power plant, a CPU (Central Processing Unit, CPU for short) model is mostly adopted in the wind turbine model in the aspect of real-time simulation modeling at present, and the method has the defects of less number of wind turbines, large simulation calculation amount, longer simulation time, larger simulation step length and the like.
Therefore, in order to improve the efficiency of wind turbine modeling and solve the technical problems of less simulation quantity, large simulation calculation quantity and long simulation time of the existing wind turbine modeling method, a wind turbine modeling method is urgently needed to be constructed.
Disclosure of Invention
The invention provides a modeling method and device for a wind turbine generator, electronic equipment and a storage medium, and solves the technical problems of small simulation quantity, large simulation calculation quantity and long simulation time of the existing wind turbine generator modeling method.
In a first aspect, the present invention provides a modeling method for a wind turbine, including:
acquiring state data of the wind turbine generator;
establishing a state equation of the wind turbine generator set according to the state data by adopting a backward Euler method;
establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and the actual wind turbine generator; if so, determining the wind turbine generator simulation model as a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model.
Optionally, a back-euler method is adopted, and a state equation of the wind turbine generator is established according to the state data, including:
calculating a flux linkage state variable of the wind turbine generator according to the state data by the back Euler method to obtain a flux linkage state matrix;
calculating to obtain electromagnetic state data of the wind turbine generator according to the flux linkage state matrix;
and summarizing the magnetic linkage state matrix and the electromagnetic state data, and establishing a state equation of the wind turbine generator.
Optionally, updating the flux linkage state variable of the wind turbine generator according to the state data by the fallback eulerian method to obtain a flux linkage state matrix, including:
calculating stator voltage data of the wind turbine generator according to the state data;
and calculating the flux linkage state variable of the wind turbine generator through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix.
Optionally, a pipeline algorithm is applied to establish a wind turbine generator simulation model corresponding to the state equation, and the method includes:
replacing a model element of the wind turbine generator simulation model corresponding to the state equation by a plurality of three-phase controlled current sources;
calculating current data and voltage data of a wind turbine generator simulation model corresponding to the state equation according to the three-phase controlled current sources;
and establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm based on the current data and the voltage data.
In a second aspect, the present invention provides a modeling apparatus for a wind turbine, including:
the acquisition module is used for acquiring state data of the wind turbine generator;
the establishing module is used for establishing a state equation of the wind turbine generator set according to the state data by adopting a backward Euler method;
the simulation module is used for establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
the judging module is used for judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and the actual wind turbine generator; if so, determining that the wind turbine generator simulation model is a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model.
Optionally, the establishing module includes:
the matrix submodule is used for calculating the flux linkage state variable of the wind turbine generator according to the state data through the retreat Euler method to obtain a flux linkage state matrix;
the state submodule is used for calculating electromagnetic state data of the wind turbine generator according to the flux linkage state matrix;
and the establishing submodule is used for summarizing the flux linkage state matrix and the electromagnetic state data and establishing a state equation of the wind turbine generator.
Optionally, the matrix submodule includes:
the voltage unit is used for calculating the stator voltage data of the wind turbine generator according to the state data;
and the matrix unit is used for calculating the flux linkage state variable of the wind turbine generator through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix.
Optionally, the simulation module includes:
the replacing submodule is used for replacing a model element of the wind turbine simulation model corresponding to the state equation by using a plurality of three-phase controlled current sources;
the calculation submodule is used for calculating current data and voltage data of the wind turbine generator simulation model corresponding to the state equation according to the three-phase controlled current sources;
and the simulation submodule is used for establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm based on the current data and the voltage data.
In a third aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the steps of the method as provided in the first aspect are executed.
In a fourth aspect, the present application provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as provided in the first aspect above.
According to the technical scheme, the invention has the following advantages: the invention provides a modeling method of a wind turbine generator, which comprises the steps of establishing a state equation of the wind turbine generator according to the state data by acquiring the state data of the wind turbine generator and adopting a backward Euler method, establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm, judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and a real wind turbine generator, if so, determining that the wind turbine generator simulation model is a target wind turbine generator simulation model, if not, adjusting the wind turbine generator simulation model according to the error to obtain optimal parameters, optimizing the wind turbine generator simulation model based on the optimal parameters to obtain the target wind turbine generator simulation model, and solving the problems that the existing wind turbine generator modeling method is small in simulation quantity, low in simulation quantity and low in the existing wind turbine generator modeling method through the modeling method of the wind turbine generator, The method has the technical problems of large simulation calculation amount and long simulation time, and improves the modeling efficiency of the wind turbine generator.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a flowchart of a first embodiment of a modeling method for a wind turbine generator according to the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a method for modeling a wind turbine generator according to the present invention;
FIG. 3 is a schematic diagram of a pipeline algorithm of a state equation of a wind turbine generator according to the present invention;
FIG. 4 is a schematic diagram of a joint calculation of a CPU and an FPGA according to the present invention;
FIG. 5 is a schematic structural diagram of a simulation model of a target wind turbine generator according to the present invention;
fig. 6 is a structural block diagram of an embodiment of a modeling apparatus for a wind turbine generator according to the present invention.
Detailed Description
The embodiment of the invention provides a modeling method and device for a wind turbine generator, electronic equipment and a storage medium, which are used for solving the technical problems of less simulation quantity, large simulation calculation quantity and longer simulation time of the existing wind turbine generator modeling method.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first embodiment, referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a modeling method for a wind turbine generator according to the present invention, including:
step S101, acquiring state data of a wind turbine generator;
step S102, establishing a state equation of the wind turbine generator set according to the state data by adopting a retreating Euler method;
in the embodiment of the invention, the stator voltage data of the wind turbine generator is calculated according to the state data, the flux linkage state variable of the wind turbine generator is calculated through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix, the electromagnetic state data of the wind turbine generator is calculated according to the flux linkage state matrix, the flux linkage state matrix and the electromagnetic state data are summarized, and the state equation of the wind turbine generator is established.
Step S103, establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
in the embodiment of the invention, a plurality of three-phase controlled current sources are used for replacing model elements of the wind turbine generator simulation model corresponding to the state equation, current data and voltage data of the wind turbine generator simulation model corresponding to the state equation are calculated according to the three-phase controlled current sources, and the wind turbine generator simulation model corresponding to the state equation is established by using a pipeline algorithm based on the current data and the voltage data.
Step S104, judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and the actual wind turbine generator; if so, determining that the wind turbine generator simulation model is a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model.
In the modeling method of the wind turbine provided by the embodiment of the invention, the state data of the wind turbine is acquired, the state equation of the wind turbine is established according to the state data by adopting a backward Euler method, the state equation of the wind turbine is established by using a pipeline algorithm, the wind turbine simulation model corresponding to the state equation is established, whether the wind turbine simulation model meets the preset semi-physical simulation test requirement or not is judged based on the error between the wind turbine simulation model and the actual wind turbine, if so, the wind turbine simulation model is determined to be the target wind turbine simulation model, if not, the wind turbine simulation model is adjusted according to the error to obtain the optimal parameters, the wind turbine simulation model is optimized based on the optimal parameters to obtain the target wind turbine simulation model, and the problems that the existing modeling method of the wind turbine has less simulation quantity and the existing modeling method of the wind turbine is low in simulation quantity are solved through the modeling method of the wind turbine, The method has the technical problems of large simulation calculation amount and long simulation time, and improves the modeling efficiency of the wind turbine generator.
In a second embodiment, referring to fig. 2, fig. 2 is a flowchart of a modeling method of a wind turbine generator according to the present invention, including:
step S201, acquiring state data of a wind turbine generator;
step S202, calculating a flux linkage state variable of the wind turbine generator according to the state data through a back Euler method to obtain a flux linkage state matrix;
in an optional embodiment, updating the flux linkage state variable of the wind turbine generator according to the state data by a back-out eulerian method to obtain a flux linkage state matrix includes:
calculating stator voltage data of the wind turbine generator according to the state data;
and calculating the flux linkage state variable of the wind turbine generator through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix.
In the embodiment of the invention, stator voltage data of the wind turbine generator is calculated according to the state data, and flux linkage state variables of the wind turbine generator are calculated by a backward Euler method based on the state data and the stator voltage data to obtain a flux linkage state matrix;
in the specific implementation, the voltage (V) of the stator in the alpha beta axis of the two-phase static coordinate system is obtained by using 3/2 transformation αβ ):
Wherein, V α 、V β Is the voltage of alpha beta axis of two-phase static coordinate system, alpha and beta are the coordinates of alpha beta axis of two-phase static coordinate system, V a 、V b 、V c Is a voltage.
And updating flux linkage state variables according to a voltage equation, wherein a back-off Euler method is adopted because the FPGA has a small calculation step length:
wherein,is a flux linkage, s is a stator winding,for the flux linkage of the stator winding in the alpha coordinate, R is the resistance, z -1 The calculated value of the last time step is shown, omega is angular frequency, i is current, r is rotor winding, alpha and beta are alpha and beta shafting coordinates of a two-phase static coordinate system, T s_FPGA Is the period, m is the number of periods.
Step S203, calculating to obtain electromagnetic state data of the wind turbine generator according to the flux linkage state matrix;
in the embodiment of the invention, the electromagnetic state data of the wind turbine generator is calculated.
In a specific implementation, the current component is solved according to the flux linkage equation:
wherein, I sα ,I sβ 、I rα ,I rβ Is the current component of the alpha beta axis of the two-phase static coordinate system, L is the inductance,is the flux linkage, r is the rotor winding and s is the stator winding.
Solving the electromagnetic torque T according to the torque equation e :
Wherein, T e Is the electromagnetic torque, n is the pole pair number,in order to be a magnetic linkage,the flux linkage of the stator winding at the alpha coordinate.
And calculating the rotating speed of the rotor according to a mechanical equation of the wind turbine generator:
T e1 -T L =Jnω r +Bω r ;
wherein J is the rotational inertia of the motor, B is the friction coefficient of the system, T is the electromagnetic torque, n is the pole pair number, and omega is the angular frequency.
Updating stator three-phase current (I) according to 2/3 transformation abc ):
Wherein, I a 、I b 、I c For stator three-phase currents, I α 、I β The current of two-phase static coordinate system axis.
And S204, summarizing the flux linkage state matrix and the electromagnetic state data, and establishing a state equation of the wind turbine generator.
S205, replacing model elements of the wind turbine generator simulation model corresponding to the state equation by a plurality of three-phase controlled current sources;
in the embodiment of the invention, a plurality of three-phase controlled current sources are used for replacing model elements of the wind turbine generator simulation model corresponding to the state equation, wherein the model elements comprise elements such as an alternating current power grid, a transformer and a cable.
Step S206, calculating current data and voltage data of the wind turbine generator simulation model corresponding to the state equation according to the three-phase controlled current sources;
in the embodiment of the invention, the current data and the voltage data of the wind turbine generator simulation model corresponding to the state equation are calculated.
In a particular implementation, the time step (T) is calculated at each CPU s_CPU ) Inside, measure the port three-phase voltage (V) of n wind-powered generator groups abc_1 ~V abc_n ) And sending the current into FPGA, and simultaneously calculating the port currents (I) of the n wind turbine generators obtained by FPGA abc_1 ~I abc_n ) As a controlled quantity of the controlled current source.
Step S207, based on the current data and the voltage data, establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
in the embodiment of the invention, a pipeline algorithm is used for establishing the wind turbine generator simulation model corresponding to the state equation according to the current data and the voltage data.
In the specific implementation, in the FPGA, a state equation of the wind turbine generator is divided into m calculation steps (m is more than or equal to n), and each step takes one FPGA clock period (T) s_FPGA ). Therefore, the port voltages of the n wind turbine generators can be input in series, and the serially output port currents can be obtained after m FPGA clock cycles. Due to T s_CPU >>T s_FPGA Therefore, the calculation of m wind turbine generator sets can be guaranteed to be completed before the next CPU calculation time step. Discrete period of wind turbine generator model is m x T s_FPGA 。
Referring to fig. 3, fig. 3 is a schematic diagram of a pipeline algorithm of a wind turbine state equation of the present invention, in which a horizontal axis represents time, a vertical small arrow represents clock pulse, W represents time pulse, and T1 -W Tn and (4) representing the calculation time of the nth Wind Turbine generator set (Wind Turbine).
Step S208, judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and the actual wind turbine generator; if so, determining that the wind turbine generator simulation model is a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model;
in the embodiment of the invention, the wind turbine simulation model is verified based on the error between the wind turbine simulation model and the actual wind turbine, when the wind turbine simulation model meets the preset semi-physical simulation test requirement, a target wind turbine simulation model is obtained, when the wind turbine simulation model does not meet the preset semi-physical simulation test requirement, the wind turbine simulation model is adjusted according to the error to obtain the optimal parameter, and the wind turbine simulation model is optimized based on the optimal parameter to obtain the target wind turbine simulation model.
In the specific implementation, based on the detailed model of the wind turbine generator, a pipeline algorithm is combined to verify that the simulation model of the wind turbine generator meets the requirement of a semi-physical simulation test, and independent and real-time solution of a plurality of wind turbine generators can be realized in an FPGA (field programmable gate array); and the solution of the whole wind power plant is completed in the CPU so as to meet the requirement of performing semi-physical simulation test on a wind power plant control system.
Referring to fig. 4, fig. 4 is a schematic diagram of joint calculation of a CPU and an FPGA according to the present invention, wherein Z -1 And the delay of a CPU calculation step length is represented, and the FPGA is the state equation of the wind turbine generator.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a target wind turbine generator simulation model of the present invention, where 501 is an upper computer, 502 is a CPU simulator, 503 is an FPGA simulator, 504 is a monitoring interface, 505 is a power grid, 506 is a wind farm power collection system, 507 is a wind farm controller, 508 is a wind turbine generator model, 509 is an IPWM generator, 510 is an ethernet, 511 is PCIe, 512 is a generator-side current and a generator-side voltage, and 513 is a reference wave or a pulse signal; the wind turbine generator model 508 runs on the FPGA simulator 503 and interacts with a model of a wind power plant current collection system 506 through PCIe511, the wind turbine generator model 508 comprises modules such as a current transformer, a filter, a direct current capacitor and a generator, and synchronization is achieved among the modules through time delay.
In the modeling method of the wind turbine provided by the embodiment of the invention, the state data of the wind turbine is acquired, the state equation of the wind turbine is established according to the state data by adopting a backward Euler method, the state equation of the wind turbine is established by using a pipeline algorithm, the wind turbine simulation model corresponding to the state equation is established, whether the wind turbine simulation model meets the preset semi-physical simulation test requirement or not is judged based on the error between the wind turbine simulation model and the actual wind turbine, if so, the wind turbine simulation model is determined to be the target wind turbine simulation model, if not, the wind turbine simulation model is adjusted according to the error to obtain the optimal parameters, the wind turbine simulation model is optimized based on the optimal parameters to obtain the target wind turbine simulation model, and the problems that the existing modeling method of the wind turbine has less simulation quantity and the existing modeling method of the wind turbine is low in simulation quantity are solved through the modeling method of the wind turbine, The method has the technical problems of large simulation calculation amount and long simulation time, and improves the modeling efficiency of the wind turbine generator.
Referring to fig. 6, fig. 6 is a structural block diagram of a modeling apparatus of a wind turbine generator according to an embodiment of the present invention, including:
the acquiring module 601 is used for acquiring state data of the wind turbine generator;
an establishing module 602, configured to establish a state equation of the wind turbine generator according to the state data by using a fallback euler method;
the simulation module 603 is configured to establish a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
the judging module 604 is configured to judge whether the wind turbine generator simulation model meets a preset semi-physical simulation test requirement based on an error between the wind turbine generator simulation model and a real wind turbine generator; if so, determining that the wind turbine generator simulation model is a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model.
In an alternative embodiment, the establishing module 602 includes:
the matrix submodule is used for calculating the flux linkage state variable of the wind turbine generator according to the state data through the retreat Euler method to obtain a flux linkage state matrix;
the state submodule is used for calculating electromagnetic state data of the wind turbine generator according to the flux linkage state matrix;
and the establishing submodule is used for summarizing the flux linkage state matrix and the electromagnetic state data and establishing a state equation of the wind turbine generator.
In an alternative embodiment, the matrix submodule includes:
the voltage unit is used for calculating the stator voltage data of the wind turbine generator according to the state data;
and the matrix unit is used for calculating the flux linkage state variable of the wind turbine generator through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix.
In an optional embodiment, the simulation module 603 includes:
the replacing submodule is used for replacing a model element of the wind turbine generator simulation model corresponding to the state equation by using a plurality of three-phase controlled current sources;
the calculation submodule is used for calculating current data and voltage data of the wind turbine generator simulation model corresponding to the state equation according to the three-phase controlled current sources;
and the simulation submodule is used for establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm based on the current data and the voltage data.
The embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the modeling method for a wind turbine generator set according to any one of the above embodiments.
The embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by the processor, the steps of the modeling method for a wind turbine generator set according to any one of the above embodiments are implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the method, apparatus, electronic device and storage medium disclosed in the present application may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes several instructions, so as to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A modeling method of a wind turbine generator is characterized by comprising the following steps:
acquiring state data of the wind turbine generator;
establishing a state equation of the wind turbine generator set according to the state data by adopting a backward Euler method;
establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and the actual wind turbine generator; if so, determining the wind turbine generator simulation model as a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model.
2. The modeling method of a wind turbine generator according to claim 1, wherein a back-off euler method is used to establish a state equation of the wind turbine generator according to the state data, and the method includes:
calculating a flux linkage state variable of the wind turbine generator according to the state data by the back Euler method to obtain a flux linkage state matrix;
calculating to obtain electromagnetic state data of the wind turbine generator according to the flux linkage state matrix;
and summarizing the flux linkage state matrix and the electromagnetic state data, and establishing a state equation of the wind turbine generator.
3. The modeling method of a wind turbine generator according to claim 2, wherein the step of updating the flux linkage state variable of the wind turbine generator according to the state data by the fallback eulerian method to obtain a flux linkage state matrix comprises:
calculating stator voltage data of the wind turbine generator according to the state data;
and calculating the flux linkage state variable of the wind turbine generator through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix.
4. The modeling method of the wind turbine generator according to claim 1, wherein the establishing of the wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm comprises:
replacing a model element of the wind turbine generator simulation model corresponding to the state equation by a plurality of three-phase controlled current sources;
calculating current data and voltage data of a wind turbine generator simulation model corresponding to the state equation according to the three-phase controlled current sources;
and establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm based on the current data and the voltage data.
5. A modeling apparatus for a wind turbine, comprising:
the acquisition module is used for acquiring state data of the wind turbine generator;
the establishing module is used for establishing a state equation of the wind turbine generator set according to the state data by adopting a backward Euler method;
the simulation module is used for establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm;
the judging module is used for judging whether the wind turbine generator simulation model meets the preset semi-physical simulation test requirement or not based on the error between the wind turbine generator simulation model and the actual wind turbine generator; if so, determining that the wind turbine generator simulation model is a target wind turbine generator simulation model; if not, adjusting the wind turbine generator simulation model according to the error to obtain an optimal parameter, and optimizing the wind turbine generator simulation model based on the optimal parameter to obtain a target wind turbine generator simulation model.
6. The modeling apparatus for a wind turbine according to claim 5, wherein the establishing module comprises:
the matrix submodule is used for calculating the flux linkage state variable of the wind turbine generator according to the state data through the retreat Euler method to obtain a flux linkage state matrix;
the state submodule is used for calculating electromagnetic state data of the wind turbine generator according to the flux linkage state matrix;
and the establishing submodule is used for summarizing the flux linkage state matrix and the electromagnetic state data and establishing a state equation of the wind turbine generator.
7. The modeling apparatus of a wind turbine according to claim 6, wherein said matrix submodule comprises:
the voltage unit is used for calculating the stator voltage data of the wind turbine generator according to the state data;
and the matrix unit is used for calculating the flux linkage state variable of the wind turbine generator through the retreat Euler method based on the state data and the stator voltage data to obtain the flux linkage state matrix.
8. The modeling apparatus for a wind turbine according to claim 5, wherein said simulation module comprises:
the replacing submodule is used for replacing a model element of the wind turbine simulation model corresponding to the state equation by using a plurality of three-phase controlled current sources;
the calculation submodule is used for calculating current data and voltage data of the wind turbine generator simulation model corresponding to the state equation according to the three-phase controlled current sources;
and the simulation submodule is used for establishing a wind turbine generator simulation model corresponding to the state equation by using a pipeline algorithm based on the current data and the voltage data.
9. An electronic device comprising a processor and a memory, the memory storing computer readable instructions that, when executed by the processor, perform the method of any of claims 1-4.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210784710.2A CN115034087A (en) | 2022-07-05 | 2022-07-05 | Modeling method and device for wind turbine generator, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210784710.2A CN115034087A (en) | 2022-07-05 | 2022-07-05 | Modeling method and device for wind turbine generator, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115034087A true CN115034087A (en) | 2022-09-09 |
Family
ID=83128182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210784710.2A Pending CN115034087A (en) | 2022-07-05 | 2022-07-05 | Modeling method and device for wind turbine generator, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115034087A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521693A (en) * | 2018-12-03 | 2019-03-26 | 中国电力科学研究院有限公司 | A kind of wind power plant electro-magnetic transient real-time emulation method and device |
CN110334407A (en) * | 2019-06-12 | 2019-10-15 | 上海交通大学 | Doubly fed induction generator electromagnetical transient emulation method and analogue system based on FPGA |
CN110427642A (en) * | 2019-06-17 | 2019-11-08 | 中国电力科学研究院有限公司 | A kind of Wind turbines electromagnetical transient emulation method and system |
CN110597084A (en) * | 2019-08-19 | 2019-12-20 | 南方电网科学研究院有限责任公司 | Wind power plant simulation test method and device and wind power plant simulation model |
CN113326673A (en) * | 2021-06-23 | 2021-08-31 | 华北电力大学 | VBR model electromagnetic transient simulation method and system of synchronous motor |
-
2022
- 2022-07-05 CN CN202210784710.2A patent/CN115034087A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521693A (en) * | 2018-12-03 | 2019-03-26 | 中国电力科学研究院有限公司 | A kind of wind power plant electro-magnetic transient real-time emulation method and device |
CN110334407A (en) * | 2019-06-12 | 2019-10-15 | 上海交通大学 | Doubly fed induction generator electromagnetical transient emulation method and analogue system based on FPGA |
CN110427642A (en) * | 2019-06-17 | 2019-11-08 | 中国电力科学研究院有限公司 | A kind of Wind turbines electromagnetical transient emulation method and system |
CN110597084A (en) * | 2019-08-19 | 2019-12-20 | 南方电网科学研究院有限责任公司 | Wind power plant simulation test method and device and wind power plant simulation model |
CN113326673A (en) * | 2021-06-23 | 2021-08-31 | 华北电力大学 | VBR model electromagnetic transient simulation method and system of synchronous motor |
Non-Patent Citations (1)
Title |
---|
郭志彬;: "同步发电机故障暂态在相坐标系下的仿真研究", 机电工程技术, no. 07, 15 July 2012 (2012-07-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109301814B (en) | Method and system for analyzing wind power capacity of access power grid | |
CN109728597B (en) | Low-voltage ride through characteristic fitting method and system for photovoltaic inverter | |
CN115358079B (en) | Construction method and impedance characteristic evaluation method of real-time simulation model of wind power station | |
CN103219725A (en) | Wind power plant equivalent modeling method based on real-time operation data | |
CN112287540B (en) | Electromagnetic transient joint simulation method for accessing wind power plant to power grid | |
CN109800455B (en) | Transient reactive characteristic simulation method and device for doubly-fed wind turbine generator | |
CN116031887B (en) | Power grid simulation analysis calculation data generation method, system, equipment and medium | |
CN109190320A (en) | Parallel Heterogeneous simulation method suitable for ADPSS double-fed blower closed-loop test | |
CN110445174B (en) | Wind power plant system transient stability evaluation method considering random wind speed influence | |
CN106410862B (en) | Based on the active wind power plant single machine equivalence method for restoring slope correction | |
CN109521693B (en) | Wind power plant electromagnetic transient real-time simulation method and device | |
CN105529736B (en) | Crow bar puts into double-fed fan motor group of planes fault current Equivalent Model computational methods | |
Xu et al. | Sub-synchronous frequency domain-equivalent modeling for wind farms based on rotor equivalent resistance characteristics | |
CN108258725B (en) | Doubly-fed wind turbine dynamic equivalence method based on equivalent power angle coherence | |
CN116488267B (en) | Modeling-based wind farm reactive capacity limit simulation calculation method and device | |
CN113094887A (en) | Optimization method and device for frequency shift electromagnetic transient simulation and electronic equipment | |
CN111079982B (en) | Planning method, system, medium and electronic equipment for cable path of wind power plant | |
CN115034087A (en) | Modeling method and device for wind turbine generator, electronic equipment and storage medium | |
CN110597084A (en) | Wind power plant simulation test method and device and wind power plant simulation model | |
Paquin et al. | Monte-Carlo study on a large-scale power system model in real-time using eMEGAsim | |
CN116186990A (en) | Combined heat and power simulation method and device | |
CN115579937A (en) | Electromagnetic transient modeling simulation method and device suitable for offshore wind farm | |
CN103904649B (en) | Generator polymerization method suitable for models with different orders | |
CN111049158B (en) | Method and system for determining broadband oscillation stability of power system based on spectrum radius | |
CN113435150A (en) | Equivalent circuit and electromagnetic transient simulation method of double-fed wind driven generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |