CN116780635A - Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium - Google Patents

Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium Download PDF

Info

Publication number
CN116780635A
CN116780635A CN202310880268.8A CN202310880268A CN116780635A CN 116780635 A CN116780635 A CN 116780635A CN 202310880268 A CN202310880268 A CN 202310880268A CN 116780635 A CN116780635 A CN 116780635A
Authority
CN
China
Prior art keywords
power
active
control
voltage
pitch angle
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
Application number
CN202310880268.8A
Other languages
Chinese (zh)
Inventor
要若天
周杨珺
白浩
郭敏
杨炜晨
谢国汕
李巍
陈千懿
潘姝慧
李克文
刘通
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CSG Electric Power Research Institute
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Original Assignee
CSG Electric Power Research Institute
Electric Power Research Institute of Guangxi Power Grid Co Ltd
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 CSG Electric Power Research Institute, Electric Power Research Institute of Guangxi Power Grid Co Ltd filed Critical CSG Electric Power Research Institute
Priority to CN202310880268.8A priority Critical patent/CN116780635A/en
Publication of CN116780635A publication Critical patent/CN116780635A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/381Dispersed generators
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F03MACHINES OR ENGINES FOR LIQUIDS; WIND, SPRING, OR WEIGHT MOTORS; PRODUCING MECHANICAL POWER OR A REACTIVE PROPULSIVE THRUST, NOT OTHERWISE PROVIDED FOR
    • F03DWIND MOTORS
    • F03D17/00Monitoring or testing of wind motors, e.g. diagnostics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/46Controlling of the sharing of output between the generators, converters, or transformers
    • H02J3/48Controlling the sharing of the in-phase component
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • H02J3/46Controlling of the sharing of output between the generators, converters, or transformers
    • H02J3/50Controlling the sharing of the out-of-phase component
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • H02J2300/28The renewable source being wind energy

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Data Mining & Analysis (AREA)
  • Algebra (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Eletrric Generators (AREA)

Abstract

The invention discloses a simulation method, a simulation device, electronic equipment and a storage medium for a wind driven generator of a power distribution network, which are used for solving the problems of poor universality, high simulation difficulty and the like of the conventional simulation model of the wind driven generator. The method comprises the following steps: acquiring an active power initial reference value, inputting active power, performing torque balance adjustment on the active power, and outputting the active power reference value and a rotor reference rotating speed; performing power control processing on the active power reference value and the acquired reactive power reference value, and outputting a reactive current instruction, an active current instruction and an active power instruction; performing pitch angle adjustment based on the rotor reference rotating speed and the active power command, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle, outputting mechanical torque, performing rotating speed balance adjustment on the mechanical torque, and outputting a generator rotating speed and a turbine rotating speed; and performing current conversion control on the active current command and the reactive current command, and outputting active current and reactive current.

Description

Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of wind driven generator simulation, in particular to a method and a device for simulating a wind driven generator of a power distribution network, electronic equipment and a storage medium.
Background
Along with the development of the 'two-carbon' prospect, a large number of new energy devices start to be developed and manufactured and are connected into a power system, so that the traditional power system is gradually changed into a novel power system. The power distribution network starts to develop from an original single-power radial network to a multi-power and flexible mutual-aid trend, under the condition, renewable energy sources such as wind power and the like are fully utilized, and the renewable energy sources are connected into the power distribution network through a converter, so that subversion change is brought to dynamic operation of the power distribution network, and the power distribution network faces various new challenges such as stability analysis and the like.
Under the background, the establishment of the domestic autonomous power distribution network simulation platform oriented to large-scale new energy access becomes a necessary path for transformation of a novel power system. The currently used power distribution network simulation software mainly comprises commercial software researched and developed by various large electric companies, the bottom logic of the commercial software is difficult to modify according to the requirements meeting the actual national conditions of China, the development is poor, and part of commercial software is not suitable for the current state of power distribution network development of China, so that the establishment of a domestic autonomous power distribution network simulation platform containing a new energy unit is an important auxiliary link for new energy grid connection work.
In recent years, the modeling and dynamic simulation work of new energy units of a power distribution network are all focused on in the industry and academia, but the work is mostly based on traditional commercial software, and dynamic differences among units of different factories are often ignored in the modeling process. In the simulation work research of the power distribution network, the equipment of different factories is different, technical details of the equipment of the factories need to be kept secret and other practical problems, so that the difficulty in pushing the simulation work of the power distribution network is increased, the structure of the power distribution network is gradually complicated along with the continuous pushing of a double-carbon target, a plurality of brand new electric energy quality problems are also caused by adding new energy equipment, and the technical problems of poor universality, high simulation difficulty and the like of a simulation model of the wind driven generator are further caused.
Disclosure of Invention
The invention provides a simulation method, a simulation device, electronic equipment and a storage medium for a wind driven generator of a power distribution network, which are used for solving the technical problems of poor universality and high simulation difficulty of a simulation model of the wind driven generator in the prior art.
The invention provides a simulation method of a wind driven generator of a power distribution network, which is applied to a wind driven generator simulation system, wherein the wind driven generator simulation system comprises a torque control module, an electrical control module, a pitch angle control module, an aerodynamic module, a transmission module and a converter module, and the converter module is connected with a power grid model interface, and the method comprises the following steps:
Acquiring an active power initial reference value, a reactive power reference value and input active power, performing torque balance adjustment on the active power initial reference value and the input active power through the torque control module, and outputting an active power reference value and a rotor reference rotating speed;
the electric control module is used for carrying out power control processing on the active power reference value and the reactive power reference value, and outputting a reactive current instruction, an active current instruction and an active power instruction;
based on the rotor reference rotating speed and the active power instruction, performing pitch angle adjustment through the pitch angle control module, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle through the aerodynamic module, outputting a mechanical torque, performing rotating speed balance adjustment on the mechanical torque through the transmission module, and outputting a generator rotating speed and a turbine rotating speed;
and carrying out current conversion control on the active current instruction and the reactive current instruction through the converter module, and outputting active current and reactive current to the power grid model interface.
Optionally, the torque balancing adjustment of the active power initial reference value and the input active power by the torque control module, outputting an active power reference value and a rotor reference rotation speed, includes:
Performing first-order control processing on the input active power through a closed-loop transfer function to obtain an adjusted active power;
acquiring the rotor rotating speed of the wind driven generator, and generating a corresponding power-rotating speed curve based on the regulated active power and the rotor rotating speed;
and receiving the rotating speed of the generator output by the transmission module, and performing torque balance calculation by adopting the power-rotating speed curve, the active power initial reference value and the rotating speed of the generator to obtain the active power reference value and the rotor reference rotating speed.
Optionally, the calculating the torque balance by using the power-rotation speed curve, the active power initial reference value and the generator rotation speed to obtain an active power reference value and a rotor reference rotation speed includes:
and adopting the power-rotating speed curve, the active power initial reference value and the generator rotating speed to perform torque balance calculation through the following formula to obtain an active power reference value and a rotor reference rotating speed:
P ref =K ppg -ω ref )+P ref0
wherein P is ref Representing the active power reference value, K pp Represents a torque control scaling factor, P ref0 Representing an initial reference value of active power, ω g Indicating the rotation speed of the generator omega ref Represents the reference rotation speed of the rotor, K ip The torque control integral coefficient is represented by voltage_dip, which is an indication value indicating whether or not the wind turbine port Voltage is within the boundary, voltage_dip=0 indicates that the wind turbine port Voltage is within the boundary, voltage_dip=1 indicates that the Voltage is not within the boundary, and T wref Represents the rotational speed filtering time constant, f (P e ) Representing a power-rotation speed curve,representing derivative calculations.
Optionally, the electrical control module includes a reactive power control sub-module and an active power control sub-module, and the power control processing is performed on the active power reference value and the reactive power reference value by the electrical control module, and a reactive current instruction, an active current instruction and an active power instruction are output, which includes:
acquiring input reactive power, wind driven generator port voltage and reference voltage, performing reactive power control on the reactive power reference value and the input reactive power through the reactive power control sub-module, and performing reactive current control calculation according to the wind driven generator port voltage and the reference voltage to output a reactive current instruction;
and carrying out power limiting on the active power reference value through the active power control sub-module, outputting an active power instruction, carrying out power calculation based on the active power instruction, and outputting an active current instruction.
Optionally, the reactive power control is performed on the reactive power reference value and the input reactive power by the reactive power control sub-module, and meanwhile, reactive current control calculation is performed according to the wind driven generator port voltage and the reference voltage, and a reactive current instruction is output, including:
acquiring a plurality of switch control flag values of a power flow line in the reactive power control submodule, wherein the switch control flag values are used for indicating a switch selection state of the power flow line;
obtaining an amplifying reference power, and carrying out reactive power control on a power flow line according to the amplifying reference power, the reactive power reference value and the input reactive power by combining the amplifying reference power, the reactive power reference value and the input reactive power, wherein the reactive power control comprises local constant reactive power control, local constant power factor control, local node voltage control and local reactive power-voltage coordination control;
filtering the port voltage of the wind driven generator by adopting the following formula to obtain a filtered voltage:
determining a voltage boundary indicated value, wherein the voltage boundary indicated value is used for indicating whether the port voltage of the wind driven generator is in a boundary or not, and if the port voltage of the wind driven generator is larger than or equal to a preset dip voltage value and smaller than or equal to a preset pull-up voltage value, the voltage boundary indicated value is 0;
If the port voltage of the wind driven generator is smaller than a preset dip voltage value and/or larger than a preset pull-up voltage value, the voltage boundary indicated value is 1;
the specific formula is as follows:
and performing voltage out-of-limit reactive power control based on the filtering voltage and the reference voltage, outputting an out-of-limit reactive current instruction, and calculating the following formula:
and adopting the filtering voltage to carry out reactive current limiting, outputting a limiting reactive current instruction, and adopting the following calculation formula:
and calculating a reactive current instruction according to the out-of-limit reactive current instruction and the limiting reactive current instruction by the following formula:
I qcmd =I qord +I qinj
wherein V is t Representing the port voltage of the wind driven generator, V tfilt Representing the filtered voltage, T rv Representing the Voltage filtering time constant, voltage_dip represents the Voltage boundary indication value, V dip Representing a preset dip voltage value, vup representing a preset pull-up voltage value, I qinj Representing out-of-limit reactive current command, K qv Representing the out-of-limit reactive control coefficient, V ref0 Represents a reference voltage, I qord Representing limiting reactive current command, T iq Represents the reactive current filtering time constant, Q ext Representing limiting reactive current command I in a circuit qord Static working parameters of the flowing triode, I qcmd Indicating the reactive current command to be output, Representation calculationAnd (5) conducting calculation.
Optionally, the performing, by the active control sub-module, power clipping on the active power reference value, outputting an active power instruction, performing power calculation based on the active power instruction, and outputting an active current instruction, including:
and receiving the rotating speed of the generator output by the transmission module, and carrying out active power limiting based on the rotating speed of the generator and the active power reference value, and outputting an active power instruction, wherein the calculation formula is as follows:
and calculating by adopting the active power instruction and the filtering voltage to obtain an active current instruction, wherein the calculation formula is as follows:
wherein P is ord Representing an active power instruction output after active power clipping, T pord Representing the active power filter time constant, omega g Represents the rotation speed of the generator, P ref Representing reactive power reference value, I pcmd Indicating the output active current command.
Optionally, based on the rotor reference rotation speed and the active power command, the pitch angle control module performs pitch angle adjustment to output a fan pitch angle, including:
receiving the turbine rotating speed output by the transmission module, performing pitch control calculation by adopting the rotor reference rotating speed, the turbine rotating speed, the active power initial reference value and the active power command, and outputting a control pitch angle;
Performing pitch compensation calculation by adopting the active power initial reference value and the active power command, and outputting a compensation pitch angle;
and performing pitch angle fine adjustment processing according to the control pitch angle and the compensation pitch angle, and outputting the pitch angle of the fan.
Optionally, the calculating the pitch control by using the rotor reference rotation speed, the turbine rotation speed, the active power initial reference value and the active power command, and outputting a control pitch angle comprises:
calculating an initial control pitch angle by using the rotor reference speed, the turbine speed, the active power initial reference value, and the active power command by the following formula:
and then, performing pitch control processing on the initial control pitch angle to obtain a control pitch angle, wherein a calculation formula is as follows:
θ 1 =K pwt -ω ref +K cc P ord -K cc P ref0 )+θ 12
wherein θ 12 Represents the initial control pitch angle, K iw Represents the pitch control integral coefficient, ωt represents the turbine speed, ω ref Represents the reference rotation speed of the rotor, K cc Representing the power control coefficient, P ord Representing active power commands, P ref0 Represents an initial reference value of active power, θ 1 Representing the control pitch angle, kpw representing the pitch control scaling factor,representing derivative calculations.
Optionally, the step of performing pitch compensation calculation by using the active power initial reference value and the active power command, and outputting a compensated pitch angle includes:
and calculating an initial compensation pitch angle by adopting the active power initial reference value and the active power instruction through the following formula:
and then performing pitch compensation processing on the initial control pitch angle to obtain a compensated pitch angle, wherein the calculation formula is as follows:
θ 2 =K pc (P ord -P ref0 )+θ 22
wherein θ 22 Representing the initial compensating pitch angle, K ic Representing pitch compensation integral coefficient, θ 2 Represents the compensating pitch angle, K pc Representing the pitch compensation scaling factor.
Optionally, the pitch angle fine adjustment processing is performed according to the control pitch angle and the compensation pitch angle, and the output fan pitch angle comprises:
and adopting the control pitch angle and the compensation pitch angle, adopting the following formula to carry out pitch angle fine adjustment treatment, and outputting the pitch angle of the fan:
wherein θ represents the pitch angle of the fan, T θ Representing the pitch angle filter time constant.
Optionally, the aerodynamics balancing adjustment of the fan pitch angle by the aerodynamics module outputs mechanical torque, including:
acquiring initial mechanical power and an initial pitch angle, and performing mechanical power adjustment calculation by adopting the fan pitch angle, the initial mechanical power and the initial pitch angle to output mechanical power;
And carrying out mechanical torque adjustment calculation by adopting the mechanical power and the turbine rotating speed, and outputting mechanical torque.
Optionally, the calculating the mechanical power adjustment by using the fan pitch angle, the initial mechanical power and the initial pitch angle, and outputting the mechanical power includes:
and adopting the fan pitch angle, the initial mechanical power and the initial pitch angle to perform mechanical power adjustment calculation through the following formula and output mechanical power:
P mech =P mech0 -K a θ(θ-θ 0 )
said performing a mechanical torque adjustment calculation using said mechanical power and said turbine speed to output a mechanical torque comprising:
and carrying out mechanical torque adjustment calculation by adopting the mechanical power and the turbine rotating speed through the following formula to output mechanical torque:
wherein P is mech Representing mechanical power, P mech0 Represents initial mechanical power, θ represents fan pitch angle, θ 0 Represents the initial pitch angle, K a Representing pitch angle control coefficient, T m Representing the mechanical torque, ω t Indicating turbine speed.
Optionally, the adjusting the rotation speed balance of the mechanical torque by the transmission module, outputting a rotation speed of a generator and a rotation speed of a turbine, includes:
acquiring electromagnetic power and an initial rotor rotating speed, adopting the electromagnetic power and the mechanical torque to adjust rotating speed deviation, and calculating generator rotating speed deviation and turbine rotating speed deviation;
And calculating the rotation speed of the generator according to the rotation speed deviation of the generator and the initial rotor, and calculating the rotation speed of the turbine according to the rotation speed deviation of the turbine and the initial rotor.
Optionally, the calculating the generator rotational speed deviation and the turbine rotational speed deviation by using the electromagnetic power and the mechanical torque to perform rotational speed deviation adjustment includes:
and adopting the electromagnetic power and the mechanical torque to adjust the rotating speed deviation, and calculating the rotating speed deviation of the generator and the rotating speed deviation of the turbine by the following formula:
wherein Δω g Indicating the deviation of the rotational speed of the generator,representing the turbine rotational speed deviation adjustment control coefficient,representing electromagnetic torque T e ,K shaft 、D shaft All represent the adjustment coefficient, delta of the rotational speed deviation tg Indicating slip in rotational speed, Δω, between turbine and generator t Indicating turbine speed deviation>Represents the adjustment control coefficient of the rotating speed deviation of the generator,representing the mechanical torque T m ,/>Representing derivative calculations.
Optionally, the calculating the generator rotational speed according to the generator rotational speed deviation and the initial rotor rotational speed, and calculating the turbine rotational speed according to the turbine rotational speed deviation and the initial rotor rotational speed includes:
And calculating the rotation speed of the generator by adopting the rotation speed deviation of the generator and the initial rotor rotation speed through the following formula:
ω g =ω 0 +Δω g
calculating a turbine speed using the turbine speed deviation and the initial rotor speed by the formula:
ω t =ω 0 +Δω t
wherein omega g Indicating the rotation speed of the generator omega t Indicating turbine speed, ω 0 Indicating the initial rotor speed.
Optionally, the current conversion control is performed on the active current command and the reactive current command by the converter module, and active current and reactive current are output to the grid model interface, which includes:
performing first-order control processing on the active current instruction through a closed-loop transfer function to obtain an adjusted active current, and performing first-order control processing on the reactive current instruction through the closed-loop transfer function to obtain an adjusted reactive current;
performing active current conversion calculation on the regulated active current to obtain active current, and performing reactive current conversion calculation on the regulated reactive current to obtain reactive current;
and transmitting the active current and the reactive current to the power grid model interface, and outputting a simulation result.
Optionally, the performing first-order control processing on the active current instruction through a closed-loop transfer function to obtain an adjusted active current, and performing first-order control processing on the reactive current instruction through a closed-loop transfer function to obtain an adjusted reactive current, including:
And performing first-order control processing on the active current instruction through a closed loop transfer function to obtain an adjusted active current, wherein the calculation formula is as follows:
and performing first-order control processing on the reactive current instruction through a closed loop transfer function to obtain an adjusted reactive current, wherein the calculation formula is as follows:
wherein I is p Indicating regulation of active current, I pcmd Representing the value corresponding to the active current command, T g Representing the filter time constant, I q Indicating the regulation of reactive current, I qcmd Indicating the value corresponding to the reactive current command,representing derivative calculations.
Optionally, the performing active current conversion calculation on the adjusted active current to obtain an active current, and performing reactive current conversion calculation on the adjusted reactive current to obtain a reactive current, which includes:
and carrying out active current conversion on the regulated active current through the following formula to obtain the active current:
and carrying out reactive current conversion on the regulated reactive current through the following formula to obtain reactive current:
I qgrid =I q -K hv (V t -V olim )
wherein I is pgrid Representing active current output by the converter module to the grid model interface, V t Representing the collected port voltage of the wind driven generator, lypnt0 representing the lower voltage limit corresponding to the active current conversion calculation link, lypnt1 representing the upper voltage limit corresponding to the active current conversion calculation link, I qgrid Representing reactive current output by the converter module to the grid model interface, K hv Representing voltage management coefficient corresponding to reactive current conversion calculation link, V olim Indicating the operating voltage in the normal operating state.
Optionally, the converter module includes a low voltage ride through management sub-module, and the method further includes:
and when active current conversion calculation and reactive current conversion calculation are performed, performing voltage control in the low voltage ride through management submodule according to the following formula:
wherein LVPL represents a low voltage ride through management submodule, V represents a line voltage detected in real time, zerox represents a lower voltage limit of the low voltage ride through management submodule LVPL, brkpt represents an upper voltage limit of the low voltage ride through management submodule LVPL, T fltr Representing the voltage filtering time constant, V t Representing the collected wind power generator port voltage.
Optionally, each module in the wind driven generator simulation system is composed of a plurality of transfer functions, the transfer functions are used for representing mathematical relations in each module through descriptive codes, and before the wind driven generator simulation process is performed, the method further comprises:
establishing a wind driven generator simulation system based on a symbol-digital hybrid framework, respectively establishing transfer function types corresponding to each module according to the processing flow of each module in the wind driven generator simulation system in the modeling process of the symbol-digital hybrid framework, and expressing each transfer function type by adopting a symbolized language;
According to the symbolic language expression result, a differential algebra equation corresponding to each transfer function type and a symbolic expression of the jacobian matrix are obtained through a symbolic calculation library, and corresponding numerical codes are generated by adopting the symbolic expression, wherein the numerical codes are used for carrying out tide calculation and transient simulation in the wind driven generator simulation process.
The invention also provides a simulation device of the wind power generator of the power distribution network, which is applied to a simulation system of the wind power generator, wherein the simulation system of the wind power generator comprises a torque control module, an electrical control module, a pitch angle control module, an aerodynamic module, a transmission module and a converter module, and the converter module is connected with a power grid model interface, and the device comprises:
the torque balance adjustment module is used for acquiring an active power initial reference value, a reactive power reference value and input active power, performing torque balance adjustment on the active power initial reference value and the input active power through the torque control module, and outputting an active power reference value and a rotor reference rotating speed;
the power control processing module is used for performing power control processing on the active power reference value and the reactive power reference value through the electric control module and outputting a reactive current instruction, an active current instruction and an active power instruction;
The rotating speed adjusting module is used for adjusting the pitch angle through the pitch angle control module based on the rotor reference rotating speed and the active power command, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle through the aerodynamic module, outputting mechanical torque, performing rotating speed balance adjustment on the mechanical torque through the transmission module, and outputting a generator rotating speed and a turbine rotating speed;
and the current conversion control module is used for carrying out current conversion control on the active current instruction and the reactive current instruction through the converter module and outputting active current and reactive current to the power grid model interface.
The invention also provides an electronic device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the power distribution network wind power generator simulation method according to any one of the above instructions in the program code.
The invention also provides a computer readable storage medium for storing program code for performing the method of simulating a wind power distribution network wind power generator as described in any one of the above.
From the above technical scheme, the invention has the following advantages: the wind driven generator simulation system comprises a torque control module, an electric control module, a pitch angle control module, an aerodynamic module, a transmission module and a converter module, wherein the converter module is connected with a power grid model interface, so that the wind driven generator is divided into modules according to a functional structure, the function description of most of the generators in the market can be contained, and meanwhile, the inside of the modules can be connected according to mathematical relations objectively existing among different variables. Aiming at the simulation process of the wind driven generator, an active power initial reference value, a reactive power reference value and input active power are obtained, torque balance adjustment is carried out on the active power initial reference value and the input active power through a torque control module, and the active power reference value and the rotor reference rotating speed are output; the electric control module is used for carrying out power control processing on the active power reference value and the reactive power reference value and outputting a reactive current instruction, an active current instruction and an active power instruction; based on the rotor reference rotating speed and the active power instruction, performing pitch angle adjustment through a pitch angle control module, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle through an aerodynamic module, outputting a mechanical torque, performing rotating speed balance adjustment on the mechanical torque through a transmission module, and outputting a generator rotating speed and a turbine rotating speed; the current conversion control is carried out on the active current instruction and the reactive current instruction through the converter module, and the active current and the reactive current are output to the power grid model interface, so that in the simulation process, each module can realize the dynamic simulation mode of paying attention to the variables affecting the dynamic performance of the wind driven generator and adjusting based on the real-time performance variables, the simulation accuracy is improved, the simulation mode is simplified, the simulation difficulty is reduced, meanwhile, the wind driven generator simulation system focuses on researching the mechanism relation among the variables and connects through transfer functions, and the related transfer function parameters can be adjusted according to the actually adopted wind driven generator model, so that the wind driven generator simulation system has higher universality and expandability.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a schematic block diagram of a wind turbine simulation system according to an embodiment of the present invention;
FIG. 2 is a flow chart of steps of a simulation method for a wind driven generator of a power distribution network, which is provided by an embodiment of the invention;
FIG. 3 is a schematic circuit diagram of a torque control module according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a power-rotation speed curve in a torque control module according to an embodiment of the present invention;
fig. 5 is a schematic circuit diagram of an electrical control module according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a voltage-current curve of a VDL1 data chain in an electrical control module according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a voltage-current curve of a VDL2 data link in an electrical control module according to an embodiment of the present invention;
FIG. 8 is a schematic circuit diagram of a pitch angle control module provided by an embodiment of the present invention;
FIG. 9 is a schematic circuit diagram of an aerodynamic module according to an embodiment of the present invention;
FIG. 10 is a schematic circuit diagram of a transmission module according to an embodiment of the present invention;
fig. 11 is a schematic circuit diagram of a current transformer module according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of an output voltage curve of a platform unit according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of a comparison software unit outlet voltage curve according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of a rotational speed curve of a platform unit according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of a comparison software unit speed curve provided in an embodiment of the present invention;
fig. 16 is a block diagram of a power distribution network wind driven generator simulation device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a simulation method, a simulation device, electronic equipment and a storage medium for a wind driven generator of a power distribution network, which are used for solving the technical problems of poor universality, low simulation accuracy and high simulation difficulty of a wind driven generator simulation model in the prior art.
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As an example, in recent years, both industry and academia are dedicated to modeling and dynamic simulation of new energy units of a power distribution network, but the work is mostly based on traditional commercial software, and the modeling process often ignores dynamic differences among units of different manufacturers. In the simulation work research of the power distribution network, the equipment of different factories is different, technical details of the equipment of the factories need to be kept secret and other practical problems, so that the difficulty in pushing the simulation work of the power distribution network is increased, the structure of the power distribution network is gradually complicated along with the continuous pushing of a double-carbon target, a plurality of brand new electric energy quality problems are also caused by adding new energy equipment, and the technical problems of poor universality, high simulation difficulty and the like of a simulation model of the wind driven generator are further caused.
The existing power distribution network wind driven generator models do not consider dynamic differences of different manufacturer models, the models can only represent part of manufacturers or part of types of wind driven generators, and have higher confidentiality requirements, in the power distribution network dynamic simulation process, different manufacturers or different types of wind driven generators are often present, and due to poor universality and strong confidentiality of the existing models, the difficulty in developing the overall power distribution network dynamic simulation is high, and for the power distribution network dynamic simulation research, the power distribution network dynamic simulation model with good expansion performance, general standardization and no confidentiality is necessary.
In summary, for a generic model, it is generally desirable that it can have the following features:
1. allowing model data exchange between different interest groups such as users, equipment suppliers and the like;
2. the built universal model can describe equipment of different manufacturers by selecting different parameters, so that different equipment manufacturers can better simulate real equipment by adjusting model parameters, and the process does not involve equipment confidentiality links of the manufacturers;
3. the built universal model can very conveniently interact with different simulation software;
4. the general model is public, and system planning and operating personnel can use the model without being based on non-public protocols;
5. the generic model is able to reasonably describe the dynamic electrical behavior of the device at the point of presence rather than the dynamic behavior inside the device.
Based on the requirements, a general, standardized and extensible wind driven generator model is established to further develop dynamic simulation work of the power distribution network, and a power assisting double-carbon strategy target is realized. Therefore, for the wind driven generator simulation technical field, a set of standard, effective, concise and public general models are needed to be constructed so as to meet the simulation analysis requirements of a large-scale power distribution network, and the model is also used as a foundation for the future study of the operation planning and dynamic characteristics of the power system.
Therefore, one of the core inventions of the embodiments of the present invention is: the utility model provides a general distribution network wind-driven generator simulation system based on sign-digital hybrid frame and corresponding simulation method, wherein, wind-driven generator simulation system includes torque control module, electric control module, pitch angle control module, aerodynamic module, transmission module and converter module, and the power grid model interface is connected to the converter module to carry out the module according to the functional structure to the wind-driven generator and divide, can contain the function description of most generators on the market, can establish the connection according to the mathematical relationship that objectively exists between different variables in the module simultaneously. Aiming at the simulation process of the wind driven generator, based on the functional division of the modules and the connection relation among the modules, each module can realize the dynamic simulation mode of focusing on the variables influencing the dynamic performance of the wind driven generator and adjusting based on the real-time performance variables, so that the simulation accuracy can be improved, the simulation mode can be simplified, the simulation difficulty can be reduced, meanwhile, the simulation system of the wind driven generator focuses on the mechanism relation among the study variables and is connected by transfer functions, and the related transfer function parameters can be adjusted according to the model of the wind driven generator which is actually adopted, so that the simulation system has higher universality and expandability. Furthermore, the model is built on a python (a cross-platform computer programming language) platform by adopting a symbol-digital mixed framework, and a modeling process is realized through descriptive codes, wherein the symbol-digital mixed framework can comprise a symbol module and a numerical module, a DAE (Differential algebraic equation, differential algebra equation) can be implicitly written by adopting a descriptive equation in the symbol module, and the numerical module can generate numerical codes required by subsequent tide calculation and transient simulation by adopting a python library, so that the universality and the expandability are strong.
Referring to fig. 1, a schematic block diagram of a wind turbine simulation system according to an embodiment of the present invention is shown.
As can be seen from fig. 1, according to different functions of the wind driven generator, the wind driven generator simulation system 100 provided by the embodiment of the present invention may be mainly divided into a torque control module 101, an electrical control module 102, a pitch angle control module 103, an aerodynamic module 104, a transmission module 105, and a converter module 106, where the converter module 106 is connected to a power grid model interface, and in the figure, connection relationships between the modules and parameter flow directions are indicated in an arrow flow direction manner.
Wherein the input active power initial reference value P ref0 Input active power P elec After the torque balancing process by the torque control module 101, the active power reference value P can be output ref P (active) control submodule to the electric control module 102 outputs a rotor reference speed ω ref To the pitch angle control module 103.
The Q (reactive) control submodule in the electrical control module 102 then inputs the reactive power reference Q ref Reactive power control is carried out, and reactive control current I 'is output' qcmd To the current limit logic sub-module, and at the same time, the P (active) control sub-module performs active power control on the active power reference value Pref to output an active control current I' pcmd To the current limit logic submodule, an active power instruction P is output ord To the pitch angle control module 103, followed by reactive control current I 'through the current limit logic sub-module' qcmd Active control current I' pcmd Processing and outputting reactive current instruction I qcmd Active current command I pcmd To the converter module 106.
In the pitch angle control module 103, a reference rotational speed ω is based on the rotor ref Active power instruction P ord At the same time combine the active power initial reference value P ref0 Pitch angle adjustment is performed and the fan pitch angle θ is output to the aerodynamic module 104.
The aerodynamic module 104 can perform aerodynamic balance adjustment on the fan pitch angle theta and output mechanical torque T m To the transmission module 105, and then the mechanical torque T can be transmitted through the transmission module 105 m The rotation speed balance adjustment is carried out to output the rotation speed omega of the generator g And a turbine rotational speed ωt, wherein the generator rotational speed ω can be set g To the electrical control module 102 and to the torque control module 101 for converting the turbine rotational speed ω t To pitch angle control module 103 for corresponding adjustment and calculation by the corresponding module.
Also in the converter module 106, when receiving the active current command I from the output of the electrical control module 102 pcmd Reactive powerCurrent command I qcmd Thereafter, it may be based on the active current instruction I pcmd Reactive current command I qcmd Current conversion control processing is carried out to output active current I pgrid Reactive current I qgrid And (3) an interface to the power grid model, and outputting a corresponding simulation result.
Therefore, as can be seen from the foregoing, the torque control module 101 is mainly responsible for achieving control and balance among active power, rotational speed and torque, wherein the torque control can mainly adopt a direct torque control (Direct torque control, DTC) mode, and the direct torque control can be understood as a mode of controlling the torque of the three-phase motor by the frequency converter, and the principle is that the estimated values of the magnetic flux and the torque of the motor are calculated according to the measured motor voltage and current (i.e. power), and the speed of the motor can be controlled after the torque is controlled.
The inputs of the electrical control module 102 are active power reference and reactive power reference, and output active current command and reactive current command to the converter module 106 and active power command to the pitch angle control module 103. The electrical control module 102 may also be generally referred to as an electrical device secondary control loop, where different devices correspond to different control loops, and the control modes of the high-voltage electrical device and the high-voltage electrical device are different, specifically, the electrical control module 102 is formed by combining a plurality of electrical elements, and is used for controlling a certain or some objects, so as to ensure safe and reliable operation of the controlled device, and mainly can realize automatic control, protection, monitoring and measurement. The electrical control module 102 mainly adopts a PQ control mode, the PQ control is constant power control, the voltage and the frequency are given by the power grid, and the output power is further controlled to be a given value by controlling the current, so that the PQ control is essentially a current control, in practical application, P can correspond to active control, and Q can correspond to reactive control.
The pitch angle control module 103 is mainly responsible for balancing the rotation speed of the turbine, the active power command and the pitch angle of the fan, and adaptively adjusts the pitch angle of the fan according to the change of the rotation speed and the active power. The pitch angle (pitch angle) is also called a pitch angle, namely an included angle on a blade distance, and the pitch angle on a wind driven generator refers to an included angle between a blade top airfoil chord line and a rotation plane, and the wind driven generator adopts pitch control to adjust power by adjusting a blade windward angle.
The aerodynamic module 104 is primarily responsible for balancing the fan pitch angle, mechanical power, and aerodynamic torque among the wind turbines. Among them, in the related art, aerodynamics is a branch of mechanics, mainly for researching the stress characteristics, gas flow rules and concomitant physicochemical changes of an aircraft or other objects under the condition of relative motion with air or other gases.
The transmission module 105 is used to control the balance between the mechanical torque and the electromagnetic torque, and the turbine speed and the generator speed. The mechanical transmission control is to transmit power and information by mechanical connection, so that accurate transmission and signal processing can be realized.
The main function of the converter module 106 is to manage the active current and the reactive current output to the grid model interface through a high-voltage reactive current management link and a low-voltage active current management link according to the input active current command and reactive current command. In practical applications, some occasions need to change an ac power source into a dc power source, which is called a rectifying circuit, and other occasions need to change the dc power source into an ac power source, which is called an inverter circuit, and under certain conditions, a set of thyristor circuits can be used as both the rectifying circuit and the inverter circuit. The converter may include a rectifier (ac-to-dc), an inverter (dc-to-ac), an ac-to-ac converter (ac-to-ac converter), and a dc-to-dc converter (dc-chopper).
The wind driven generator simulation system 100 provided by the embodiment of the invention can be applied to most wind driven generator general models (general model), wherein the general model of the wind driven generator refers to a model for carrying out general description on the wind driven generator model through functional structure classification and variable relation series writing by summarizing the mechanism and mathematical relation among electric quantities of different structures of the wind driven generator in order to study the dynamic characteristics of interaction with a power grid after the wind driven generator is connected to the power grid.
In the embodiment of the invention, a power distribution network wind driven generator simulation system is provided, wherein the wind driven generator simulation system comprises a torque control module, an electric control module, a pitch angle control module, an aerodynamic module, a transmission module and a converter module, wherein the converter module is connected with a power grid model interface, so that the wind driven generator is divided into modules according to a functional structure, the function description of most of the generators on the market is included, meanwhile, the inside of the modules can be connected according to the mathematical relationship objectively existing among different variables, and the wind driven generator simulation system can be regulated according to the actually adopted wind driven generator model by combining a corresponding simulation method, so that the wind driven generator simulation system has higher universality and expandability.
Referring to fig. 2, a flowchart illustrating steps of a method for simulating a wind power generator of a power distribution network according to an embodiment of the present invention is shown, where the method may be applied to a wind power generator simulation system, where the wind power generator simulation system includes a torque control module, an electrical control module, a pitch angle control module, an aerodynamic module, a transmission module, and a converter module, where the converter module is connected to a power grid model interface, and the method may specifically include the following steps:
Step 201, obtaining an active power initial reference value, a reactive power reference value and input active power, performing torque balance adjustment on the active power initial reference value and the input active power through the torque control module, and outputting an active power reference value and a rotor reference rotating speed;
for wind driven generator simulation, power distribution network dynamic simulation (Dynamic simulation of distribution networks) can be mainly adopted, wherein the power distribution network dynamic simulation refers to simulation of a dynamic process of a power distribution network by applying a simulation tool through a mathematical method in order to study transient stability of the power distribution network. In simulation, dynamic behavior description is generally required by using DAE, and as the name implies, DAE equations refer to differential equations and algebraic equations for describing dynamic behavior of a power system.
The wind driven generator simulation system provided by the embodiment of the invention is mainly built based on a Hybrid symbol-digital Hybrid framework (Hybrid symbol-Numeric architecture), wherein the Hybrid symbol-digital framework is formed by combining a symbol modeling method and a digital modeling method, the modeling process can describe mathematical relations among variables through symbolization, the expandability and convenience are increased for the modeling process, and the generalized and standardized modeling of a large-scale system can be performed.
Thus, all modules of the wind turbine simulation system are made up of several transfer functions, which can describe the mathematical relationships therein with descriptive code. In the process of modeling a symbol-digital mixed frame, all transfer function types contained in the model can be expressed by using a symbolized language as a basis, then the established transfer function types can be called, the connection relation of transfer functions in different modules is expressed by using a symbolized language, then a differential algebra equation and a symbolized expression of a Jacobian matrix are obtained by using a symbol calculation library, and finally a numerical code required by subsequent tide calculation and transient simulation is generated in a numerical module corresponding to the symbol-digital mixed frame by using a python library.
In a specific implementation, each module in the wind driven generator simulation system is composed of a plurality of transfer functions, the transfer functions are used for expressing mathematical relations in each module through descriptive codes, the wind driven generator simulation system can be built based on a symbol-digital hybrid frame before the wind driven generator simulation process, in the modeling process of the symbol-digital hybrid frame, transfer function types corresponding to each module are built respectively according to the processing flow of each module in the wind driven generator simulation system, and symbolized languages are adopted for expressing each transfer function type; and then according to a symbolic language expression result, a differential algebra equation corresponding to each transfer function type and a symbolic expression of a jacobian matrix are obtained through a symbolic calculation library, and corresponding numerical codes are generated by adopting the symbolic expressions, wherein the numerical codes are used for carrying out tide calculation and transient simulation in the wind driven generator simulation process, so that the wind driven generator simulation is carried out by combining a symbolic-digital hybrid frame with a wind driven generator simulation system, on one hand, the calculation is simplified, the calculation speed is increased, the expression is carried out in a numerical code form and a transfer function form, the automatic simulation can be realized without too much manual intervention in the calculation process, and the method is applicable to most of general wind driven generator models, and the compatibility is greatly improved.
For better explanation, referring to fig. 3, a schematic circuit diagram of a torque control module according to an embodiment of the present invention is shown.
Wherein the active power P is input elec Is first input into a first-order system closed loop transfer function 1/(1+sT) p ) The first-order control process is performed to obtain the regulated active power, tflag can be understood as a torque control switch mark, and when Tflag is 1, the active power and the active power initial reference value P are regulated ref0 The basic addition and subtraction calculation is firstly carried out, and the output data is then matched with the rotating speed omega of the generator g Calculating, outputting Torque deviation DeltaTorque, and when Tlag is 0, regulating active power to generate corresponding power-rotation speed curve by combining rotor rotation speed, and inputting into first-order closed-loop transfer function 1/(1+sT) wref ) The first-order control process is performed to output the reference rotation speed omega of the rotor ref Rotor reference rotational speed omega ref Then the motor is connected with the rotation speed omega of the generator g The deviation calculation is performed to output the rotation speed deviation Deltaw, and then the rotation speed deviation Deltaw is passed through a PID controller (K pp +K ip S) performing a torque balancing process, and then combining the reference torque T ref Generator speed ω g Calculating and outputting an active power reference value P ref
The main function of the closed loop transfer function is to express the relation between the input and the output of the system, so that the performance of the system is controlled, temax represents the maximum torque, and Temin represents the minimum torque.
In a specific implementation, the torque balance adjustment is performed on the active power initial reference value and the input active power by the torque control module, and the output active power reference value and the rotor reference rotation speed may be: firstly, performing first-order control processing on input active power through a closed loop transfer function to obtain regulated active power; then, the rotor rotating speed of the wind driven generator is obtained, and a corresponding power-rotating speed curve is generated based on the active power adjustment and the rotor rotating speed adjustment; and then receiving the rotation speed of the generator output by the transmission module, and carrying out torque balance calculation by adopting a power-rotation speed curve, an active power initial reference value and the rotation speed of the generator to obtain an active power reference value and a rotor reference rotation speed.
Referring to FIG. 4, a schematic diagram of power versus rotation Speed in a torque control module according to an embodiment of the present invention is shown, wherein the horizontal axis P represents the regulated active power, and the vertical axis Speed represents the rotor Speed of the wind turbine, it can be seen that when the power is between 0 and P 1 In the interval, the rotor rotation speed is constant, when the power P is from P 1 To P 4 When the power is increased, the speed is increased as the power is increased, and when the power reaches P 4 The rotor speed is then again in a constant state, so that the power P can be controlled to be P when the rotor speed is adjusted 1 To P 4 In the interval, the power is controlled according to the actual situation so as to achieve the aim of regulating the rotating speed.
As an alternative embodiment, the torque balance calculation is performed using the power-rotation speed curve, the active power initial reference value and the generator rotation speed, and the active power reference value and the rotor reference rotation speed may be obtained by: adopting a power-rotating speed curve, an active power initial reference value and a generator rotating speed, and carrying out torque balance calculation through the following formula to obtain the active power reference value and a rotor reference rotating speed:
P ref =K ppg -ω ref )+P ref0
wherein P is ref Representing the active power reference value, K pp Represents a torque control scaling factor, P ref0 Representing an initial reference value of active power, ω g Indicating the rotation speed of the generator omega ref Represents the reference rotation speed of the rotor, K ip The torque control integral coefficient is represented by voltage_dip, which is an indication value indicating whether or not the wind turbine port Voltage is within the boundary, voltage_dip=0 indicates that the wind turbine port Voltage is within the boundary, voltage_dip=1 indicates that the Voltage is not within the boundary, and T wref Represents the rotational speed filtering time constant, f (P e ) Representing a power-rotation speed curve,representing derivative calculations.
Step 202, performing power control processing on the active power reference value and the reactive power reference value through the electrical control module, and outputting a reactive current instruction, an active current instruction and an active power instruction;
Then, the power control process can be performed on the active power reference value and the reactive power reference value by the electric control module, and a reactive current instruction, an active current instruction and an active power instruction are output, so that for better explanation, referring to fig. 5, a schematic circuit diagram of the electric control module provided by the embodiment of the invention is shown.
From the foregoing, it can be seen that the electrical control may mainly include P (active) control and Q (reactive) control, and then the active power reference value P may be used for the circuit of the electrical control module ref The line through which the reactive power flows is regarded as an active power control processing line, and the reactive power reference value Q ref The line through which the current flows is regarded as an active power control processing line.
In the reactive power control processing circuit, the input amplified reference power P faref The power factor correction is carried out by the power factor correction tan to obtain the amplifying adjustment power, and the active power P is input elec The first-order control processing is carried out in a closed loop transfer function 1/(1+sTp) of the first-order system to obtain the regulated active power, PFlag, VFlag and QFlag can be expressed as switch control mark values, PFlag corresponds to active power switch control, and VFlag corresponds to voltage switch control, QF lag corresponds to reactive power switch control, a switch control mark value is used for representing a switch selection state in a power flow line, PFlag is taken as an example, the PFlag is 1, the switching-in regulation of active power and the amplification regulation of power in the line are illustrated, the PFlag is 0, and the switching-in of a reactive power reference value Q is illustrated ref A plurality of closed loop transfer functions are shown, the principle of which is the same as or similar to the first-order system closed loop transfer function 1/(1+tp), and will not be described here.
By setting the control mark values of the switches, the corresponding switch state selection in the line can be realized, so that the active power control and the reactive power control of the wind driven generator can be realized.
The reactive power control may include local constant reactive power control, local constant power factor control, local node voltage control, and local reactive power-voltage coordination control, and is specifically set as follows:
(a) Local constant reactive power control: pflag=0 and qflag=0, vflag=0 or 1;
(b) Local constant power factor control: pflag=1 and qflag=0, vflag=0 or 1;
(c) Local node voltage control: pflag=0, vflag=0 and qlag=1;
(d) Local reactive power-voltage coordination control: pflag=0, vflag=1 and qlag=1.
I qinj Indicating out-of-limit reactive current instruction, I qinj The three state transfer switch positions can be respectively selected as a state 0, a state 1 and a state 2, wherein the state 0 represents a Voltage boundary indication value voltage_dip=0, and the normal operation is performed at the moment I qinj Also 0; state 1 represents voltage_dip=1, where I qinj In position 1; state 2 means that if tld (indicating the holding time during which the converter output is still in the prescribed range after the ac power interruption) > 0, when voltage_dip returns to 0, the time holding value corresponding to the freezing current Iqfrz is set to t=thld and then returns to state 0, whereas if tHLD > 0, when voltage_dip returns to 0, state 1 is held, and t=thld is set and then returns to state 0.
The Voltage boundary indication value voltage_dip is used to indicate whether the wind turbine port Voltage is within the boundary, and can be understood as a sudden drop or almost complete loss of the effective value of the power supply Voltage, and then rise back to the vicinity of the normal value, where voltage_dip is 0 when the wind turbine port Voltage is greater than or equal to the preset dip Voltage value and less than or equal to the preset pull-up Voltage value, and where voltage_dip is 1 when the wind turbine port Voltage is less than the preset dip Voltage value and/or greater than the preset pull-up Voltage value.
In the electrical control module, for a closed loop transfer function (Kqp + Kqi/s) or (kvp+kvi/s), the state is frozen if voltage_dip=0, and for a closed loop transfer function (1/(stport)), the state is frozen if voltage_dip=1.
In the electrical control module, V t Representing measured wind generator port voltage, V t_filt The filter voltage is represented by db1 and db2 which are two-way diodes, also called two-way trigger diodes, which are voltage-sensitive negative resistance devices, verr represents error voltage, K qv Representing out-of-limit reactive control coefficient, I qv The out-of-limit reactive control current corresponding to the out-of-limit reactive control coefficient is represented, iql1 represents a quiescent current of a driver input in a low level state, iqh1 represents a quiescent current of a driver input in a high level state, vbias is a bias voltage, VDL (Very-High Frequency Digital Link) represents a Very high frequency data chain, pqflag represents an active reactive current priority switch flag value, when Pqflag is 0, reactive current output priority is represented, and when Pqflag is 1, active current output priority is represented.
Referring to fig. 6, a schematic diagram of a voltage-current curve of a VDL1 data chain in an electrical control module according to an embodiment of the present invention is shown, and referring to fig. 7, a schematic diagram of a voltage-current curve of a VDL2 data chain in an electrical control module according to an embodiment of the present invention is shown.
Fig. 6 is a voltage-current graph of reactive power control, vq is reactive power voltage, iq is reactive power current, fig. 7 is a voltage-current graph of active power control, vp is active power voltage, ip is active power current, it can be seen that, in a certain voltage interval, current rises along with the rise of voltage regardless of reactive power control or active power control, when the voltage reaches a certain value, current is constantly output, the trend of the voltage-current graph of reactive power control is basically consistent with that of active power control, and under the condition of frequency synchronization, the current can be consistent with the rise of voltage, it is noted that fig. 6 and fig. 7 only aim to represent that the rise of reactive power and active power current can be consistent, the values corresponding to the vertical axis of the two axes are different, and the values of reactive power current and active power current are not identical, and the values of reactive power voltage and active power voltage are not identical.
As can be seen from the foregoing embodiments, the electrical control module mainly adopts a PQ control manner, so the electrical control module may include a reactive control sub-module and an active control sub-module, and then the electrical control module performs power control processing on the active power reference value and the reactive power reference value to output a reactive current instruction, an active current instruction and an active power instruction, which may specifically include:
firstly, acquiring input reactive power, wind driven generator port voltage and reference voltage, performing reactive power control on a reactive power reference value and the input reactive power through a reactive power control sub-module, and simultaneously performing reactive current control calculation according to the wind driven generator port voltage and the reference voltage, and outputting a reactive current instruction;
and then, carrying out power limiting on the active power reference value through the active control sub-module, outputting an active power instruction, carrying out power calculation based on the active power instruction, and outputting an active current instruction.
As an alternative embodiment, the reactive power control performed by the reactive power control sub-module on the reactive power reference value and the input reactive power may be:
firstly, a plurality of switch control mark values of a power flow line in a reactive power control submodule are obtained, wherein the switch control mark values are used for representing a switch selection state of the power flow line;
And then obtaining the amplified reference power, and carrying out reactive power control on the power flowing through the line according to a plurality of switch control mark values and combining the amplified reference power, the reactive power reference value and the input reactive power, wherein the reactive power control comprises local constant reactive power control, local constant power factor control, local node voltage control and local reactive power-voltage coordination control.
Further, the reactive current control calculation is performed according to the port voltage and the reference voltage of the wind driven generator, and the reactive current instruction is output, which may be:
firstly, filtering port voltage of a wind driven generator by adopting the following formula to obtain filtering voltage:
then determining a voltage boundary indication value, wherein the voltage boundary indication value is used for indicating whether the port voltage of the wind driven generator is in the boundary or not, and in one condition, if the port voltage of the wind driven generator is larger than or equal to a preset dip voltage value and smaller than or equal to a preset pull-up voltage value, the voltage boundary indication value is 0;
in another case, if the wind turbine port voltage is smaller than the preset dip voltage value and/or larger than the preset pull-up voltage value, the voltage boundary indication value is 1;
The specific formula is as follows:
and then, performing voltage out-of-limit reactive power control based on the filter voltage and the reference voltage, and outputting an out-of-limit reactive current instruction, wherein the calculation formula is as follows:
meanwhile, filtering voltage is adopted to carry out reactive current limiting, a limiting reactive current instruction is output, and the calculation formula is as follows:
and finally, calculating a reactive current instruction according to the out-of-limit reactive current instruction and the limiting reactive current instruction through the following formula:
I qcmd =I qord +I qinj
wherein V is t Representing the port voltage of the wind driven generator, V tfilt Representing the filtered voltage, T rv Representing the Voltage filtering time constant, voltage_dip represents the Voltage boundary indication value, V dip Representing a preset dip voltage value, vup representing a preset pull-up voltage value, I qinj Representing out-of-limit reactive current command, K qv Representing the out-of-limit reactive control coefficient, V ref0 Represents a reference voltage, I qord Representing limiting reactive current command, T iq Represents the reactive current filtering time constant, Q ext Representing limiting reactive current command I in a circuit qord Static working parameters of the flowing triode, I qcmd Indicating the reactive current command to be output,representing derivative calculations.
Still further, the power limiting is performed on the active power reference value through the active control submodule, an active power instruction is output, power calculation is performed based on the active power instruction, and an active current instruction is output, which may be: firstly, receiving the rotating speed of a generator output by a transmission module, carrying out active power limiting based on the rotating speed of the generator and an active power reference value, and outputting an active power instruction, wherein the calculation formula is as follows:
And then calculating by adopting an active power instruction and a filtering voltage to obtain an active current instruction, wherein the calculation formula is as follows:
wherein P is ord Representing an active power instruction output after active power clipping, T pord Representing the active power filter time constant, omega g Represents the rotation speed of the generator, P ref Representing reactive power reference value, I pcmd Indicating the output active current command.
Step 203, based on the rotor reference rotation speed and the active power command, performing pitch angle adjustment through the pitch angle control module, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle through the aerodynamic module, outputting a mechanical torque, performing rotation speed balance adjustment on the mechanical torque through the transmission module, and outputting a generator rotation speed and a turbine rotation speed;
the rotational speed adjustment process, specifically for the generator rotational speed and the turbine rotational speed, may then be performed by cooperation among the plurality of modules based on the rotor reference rotational speed and the active power command.
Referring to FIG. 8, a schematic circuit diagram of a pitch angle control module provided by an embodiment of the invention is shown.
The pitch angle control module can be mainly divided into pitch control, pitch compensation and pitch angle fine adjustment, wherein the active power initial reference value P ref0 Active power instruction P output by electrical control module ord The addition calculation can be performed first, the output calculation data is subjected to pitch compensation calculation on one hand, and the compensation pitch angle theta is obtained 2 On the one hand, can pass through the power controller K cc Is sent to a pitch control process flow, pitch control calculation is carried out together with the rotor reference rotation speed wref and the turbine rotation speed wt, and the pitch angle theta is output and controlled 1 Control of pitch angle θ may then be employed 1 And compensating pitch angle theta 2 And (3) performing pitch angle fine adjustment calculation and filtering treatment through a first-order closed-loop control function, and outputting the fan pitch angle theta to an aerodynamic module.
Wherein TetaMax represents the maximum pitch angle value and TetaMin represents the minimum pitch angleNumerical value, θ cmd Can be expressed as theta 1 And theta 2 Sum of TetaMax&RTeraMax is understood to mean the upper limit value of the fan pitch angle during fine adjustment calculation and filter processing, tetaMin&RTeraMin can be understood as the lower limit value of the fan pitch angle during the fine pitch angle adjustment calculation and the filtering process.
In a specific implementation, based on the rotor reference rotation speed and the active power command, the pitch angle control module is used for adjusting the pitch angle, and the output fan pitch angle can be: receiving the turbine rotating speed output by the transmission module, performing pitch control calculation by adopting the rotor reference rotating speed, the turbine rotating speed, the active power initial reference value and the active power command, and outputting a control pitch angle; then, an active power initial reference value and an active power instruction are adopted to perform pitch compensation calculation, and a compensation pitch angle is output; and then, carrying out pitch angle fine adjustment processing according to the control pitch angle and the compensation pitch angle, and outputting the pitch angle of the fan.
As an alternative embodiment, the pitch control calculation is performed using the rotor reference speed, the turbine speed, the active power initial reference value, and the active power command, and the output control pitch angle may be: firstly, calculating an initial control pitch angle by adopting a rotor reference rotating speed, a turbine rotating speed, an active power initial reference value and an active power command through the following formula:
then, the pitch control processing is carried out on the initial control pitch angle, the control pitch angle is obtained, and the calculation formula is as follows:
θ 1 =K pwt -ω ref +K cc P ord -K cc P ref0 )+θ 12
wherein θ 12 Represents the initial control pitch angle, K iw Representing pitch control integral coefficient, ω t Indicating turbine speed, ω ref Represents the reference rotation speed of the rotor, K cc Representing power controlCoefficient of production, P ord Representing active power commands, P ref0 Represents an initial reference value of active power, θ 1 Representing the control pitch angle, kpw representing the pitch control scaling factor,representing derivative calculations.
Further, the active power initial reference value and the active power command are adopted to perform pitch compensation calculation, and the output compensation pitch angle can be: firstly, an active power initial reference value and an active power instruction are adopted, and an initial compensation pitch angle is calculated through the following formula:
/>
then, the pitch compensation processing is carried out on the initial control pitch angle, the compensation pitch angle is obtained, and the calculation formula is as follows:
θ 2 =K pc (P ord -P ref0 )+θ 22
Wherein θ 22 Representing the initial compensating pitch angle, K ic Representing pitch compensation integral coefficient, θ 2 Represents the compensating pitch angle, K pc Representing the pitch compensation scaling factor.
Then, the pitch angle fine adjustment processing is performed according to the control pitch angle and the compensation pitch angle, and the output fan pitch angle can be: adopting a control pitch angle and a compensation pitch angle, adopting the following formula to carry out pitch angle fine adjustment treatment, and outputting the pitch angle of the fan:
wherein θ represents the pitch angle of the fan, T θ Representing the pitch angle filter time constant.
Referring to fig. 9, a schematic circuit diagram of an aerodynamic module according to an embodiment of the present invention is shown.
The fan pitch angle theta output by the pitch angle control module is input to the aerodynamic systemAfter the mechanical module, the initial pitch angle theta 0 Initial mechanical power P mech0 The power adjustment calculation is performed to output the mechanical power P mech Then, based on the mechanical power P mech From turbine speed omega t Output mechanical torque T m (also referred to as pneumatic torque).
In a specific implementation, the aerodynamic module performs aerodynamic balance adjustment on the fan pitch angle, and the output mechanical torque may be: firstly, obtaining initial mechanical power and an initial pitch angle, and carrying out mechanical power adjustment calculation by adopting a fan pitch angle, the initial mechanical power and the initial pitch angle to output mechanical power; the mechanical torque is then output by performing a mechanical torque adjustment calculation using the mechanical power and the turbine speed.
As an alternative embodiment, the fan pitch angle, the initial mechanical power and the initial pitch angle are used for mechanical power adjustment calculation, and the output mechanical power can be: adopting a fan pitch angle, initial mechanical power and initial pitch angle, carrying out mechanical power adjustment calculation through the following formula, and outputting mechanical power:
P mech =P mech0 -K a θ(θ-θ 0 )
the mechanical power and the turbine rotational speed are used to perform mechanical torque adjustment calculation, and the output mechanical torque may be: mechanical power and turbine rotational speed are adopted, mechanical torque adjustment calculation is carried out through the following formula, and mechanical torque is output:
P mech =P mech0 -K a θ(θ-θ 0 )
wherein P is mech Representing mechanical power, P mech0 Represents initial mechanical power, θ represents fan pitch angle, θ 0 Represents the initial pitch angle, K a Representing pitch angle control coefficient, T m Representing the mechanical torque, ω t Indicating turbine speed.
Referring to fig. 10, a schematic circuit diagram of a transmission module according to an embodiment of the present invention is shown.
In the transmission moduleThe mechanical torque Tm output by the aerodynamic module can be combined with the electromagnetic torque Te to correct the rotation speed deviation, and the rotation speed omega of the turbine can be continuously adjusted t Generator speed ω g
DAMP (DriverAmplifier) the drive amplifier, K shaft 、D shaft All represent the adjustment coefficients of the rotational speed deviation,represents the turbine speed deviation adjustment control coefficient in the first order differential link,>represents the generator speed deviation adjustment control coefficient in the first order differential link,>representing a first order differential element by varying the initial rotor speed omega 0 Go->The first differential process can yield the rotor angle deviation.
As can be seen, the rotational speed deviation in the transmission module is continuously adjusted, each time adaptively based on the previous data, so that the calculated turbine rotational speed ω t Generator speed ω g And (5) optimizing the calculation result, and outputting the calculation result to a corresponding module for calculation.
In a specific implementation, the rotation speed balance adjustment is performed on the mechanical torque through the transmission module, and the output generator rotation speed and the turbine rotation speed may be: firstly, acquiring electromagnetic power and initial rotor rotating speed, adopting the electromagnetic power and mechanical torque to adjust rotating speed deviation, and calculating generator rotating speed deviation and turbine rotating speed deviation; then, the generator rotational speed is calculated from the generator rotational speed deviation and the initial rotor rotational speed, and the turbine rotational speed is calculated from the turbine rotational speed deviation and the initial rotor rotational speed.
As an alternative embodiment, the speed deviation adjustment is performed by using electromagnetic power and mechanical torque, and the speed deviation of the generator and the speed deviation of the turbine are calculated as follows: and adopting electromagnetic power and mechanical torque to adjust the rotating speed deviation, and calculating the rotating speed deviation of the generator and the rotating speed deviation of the turbine by the following formula:
wherein Δω g Indicating the deviation of the rotational speed of the generator,representing the turbine rotational speed deviation adjustment control coefficient,representing electromagnetic torque T e ,K shaft 、D shaft All represent the adjustment coefficient, delta of the rotational speed deviation tg Indicating slip in rotational speed, delta, between turbine and generator ωt Indicating turbine speed deviation>Represents a generator rotational speed deviation adjustment control factor, < >>Representing the mechanical torque T m ,/>Representing derivative calculations.
Further, the generator speed is calculated according to the generator speed deviation and the initial rotor speed, and the turbine speed is calculated according to the turbine speed deviation and the initial rotor speed, which may be: firstly, calculating the rotating speed of a generator by adopting the rotating speed deviation of the generator and the rotating speed of an initial rotor through the following formula:
ω g =ω 0 +Δω g
the turbine speed is then calculated using the turbine speed deviation and the initial rotor speed by the following formula:
ω t =ω 0 +Δω t
Wherein omega g Indicating the rotation speed of the generator omega t Indicating turbine speed, ω 0 Indicating the initial rotor speed.
And 204, performing current conversion control on the active current instruction and the reactive current instruction through the converter module, and outputting active current and reactive current to the power grid model interface.
For better explanation, referring to fig. 11, a schematic circuit diagram of a current transformer module according to an embodiment of the present invention is shown.
In popular terms, the main function of the converter module is to manage the active current and the reactive current output to the power grid model interface through a high-voltage reactive current management link and a low-voltage active current management link according to the input active current instruction and reactive current instruction.
Wherein Qgen0 represents the reactive current rating limit after fault recovery, and when Qgen0 is greater than 0, the upper limit is activated, and when Qgen0 is less than 0, the lower limit is activated.
The high-voltage reactive current management link is responsible for collecting port voltage V t According to the port voltage V t And normal voltage V olim And multiplying the relation of the control coefficient K hv For reactive current I output to power grid model interface qgrid And adjusting.
The low-voltage active current management link is responsible for collecting port voltage Vt, and outputting active current I to the power grid model interface according to the voltage pgrid And (5) managing.
In a specific implementation, current conversion control is performed on an active current instruction and a reactive current instruction through a converter module, and the active current and the reactive current are output to a power grid model interface, which may be: firstly, performing first-order control processing on an active current instruction through a closed-loop transfer function to obtain an adjusted active current, and performing first-order control processing on a reactive current instruction through the closed-loop transfer function to obtain an adjusted reactive current; then, carrying out active current conversion calculation on the regulated active current to obtain active current, and carrying out reactive current conversion calculation on the regulated reactive current to obtain reactive current; and then transmitting the active current and the reactive current to a power grid model interface, and outputting a simulation result.
As an alternative embodiment, the first-order control processing is performed on the active current command through the closed-loop transfer function to obtain the regulated active current, and the first-order control processing is performed on the reactive current command through the closed-loop transfer function to obtain the regulated reactive current, which may be: the active current command is subjected to first-order control processing through a closed loop transfer function, and the regulated active current is obtained, wherein the calculation formula is as follows:
meanwhile, the reactive current instruction is subjected to first-order control processing through a closed loop transfer function, and the reactive current is regulated, wherein the calculation formula is as follows:
Wherein I is p Indicating regulation of active current, I pcmd Representing the value corresponding to the active current command, T g Representing the filter time constant, I q Indicating the regulation of reactive current, I qcmd Indicating the value corresponding to the reactive current command,representing derivative calculations.
Then further, active current conversion calculation is performed on the adjusted active current to obtain active current, and reactive current conversion calculation is performed on the adjusted reactive current to obtain reactive current, which may be: the active current conversion is carried out on the regulated active current through the following formula, so that the active current is obtained:
and meanwhile, reactive current conversion is carried out on the regulated reactive current through the following formula, so that reactive current is obtained:
I qgrid =I q -K hv (V t -V olim )
wherein I is pgrid Representing active current output by the converter module to the grid model interface, V t Representing the collected port voltage of the wind driven generator, lypnt0 representing the lower voltage limit corresponding to the active current conversion calculation link, lypnt1 representing the upper voltage limit corresponding to the active current conversion calculation link, I qgrid Representing reactive current output by the converter module to the grid model interface, K hv Representing voltage management coefficient corresponding to reactive current conversion calculation link, V olim Indicating the operating voltage in the normal operating state.
As an alternative embodiment, the converter module further includes a low voltage ride through management sub-module, and when performing the active current conversion calculation and the reactive current conversion calculation, the voltage control may be performed in the low voltage ride through management sub-module by the following formula:
Wherein LVPL represents a low voltage ride through management submodule, V represents a line voltage detected in real time, zerox represents a lower voltage limit of the low voltage ride through management submodule LVPL, brkpt represents an upper voltage limit of the low voltage ride through management submodule LVPL, T fltr Representing the voltage filtering time constant, V t The collected port voltage of the wind driven generator is represented, lvplsw in the figure represents voltage control state selection, when Lvplsw is 0, the voltage control is carried out by adopting a default mode, and when Lvplsw is 1, the voltage control is carried out by adopting LVPL&rrpwr, i.e. the power mode, is voltage controlled.
In the embodiment of the invention, a general simulation method of a power distribution network wind driven generator simulation system based on a symbol-digital hybrid frame is provided, aiming at the wind driven generator simulation process, based on the function division of modules and the connection relation among all the modules, each module can realize a dynamic simulation mode of focusing on variables influencing the dynamic performance of the wind driven generator and adjusting based on real-time performance variables, thus not only improving the simulation accuracy, but also simplifying the simulation mode, reducing the simulation difficulty, simultaneously, the corresponding wind driven generator simulation system focuses on researching the mechanism relation among the variables and connects by using transfer functions, and the related transfer function parameters can also be adjusted according to the actually adopted wind driven generator model, thereby having higher universality and expandability. Furthermore, the model is built on a python platform by adopting a symbol-digital mixed framework, a modeling process is realized through descriptive codes, the symbol-digital mixed framework can comprise a symbol module and a numerical module, a DAE can be implicitly written by adopting a descriptive equation in the symbol module, and the numerical module can generate numerical codes required by subsequent tide calculation and transient simulation by adopting a python library, so that the model is strong in universality and expandability.
For ease of understanding, embodiments of the present invention are described below by way of one specific example.
According to the specific steps implemented above, the invention takes a Kundur (representing a power system stabilizing and controlling) two-area system as an example, and takes commercial simulation software of an electric company as a reference object to carry out simulation contrast verification on a built preliminary simulation platform.
The data of each node of the Kundur two-area system is shown in table 1, the data of each line is shown in table 2, the parameters of 3 generators of the system are shown in table 3, the wind driven generator is connected to the node 4, and the capacity is 900MW (megawatt).
Node V n V max V min V 0 a 0
1 20 1.1 0.9 1 0.570
2 20 1.1 0.9 0.998 0.369
3 20 1.1 0.9 0.963 0.185
4 20 1.1 0.9 0.817 0.462
5 230 1.1 0.9 0.979 0.480
6 230 1.1 0.9 0.956 0.284
7 230 1.1 0.9 0.936 0.127
8 230 1.1 0.9 0.879 0.081
9 230 1.1 0.9 0.891 0.094
10 230 1.1 0.9 0.830 0.337
Table 1: system node parameters
Table 2: line parameters
Electric generator Node S n V n M r a x l x q x d x d1 x d2
1 1 900 20 13 0 0.06 1.7 1.8 0.3 0.25
2 2 900 20 13 0 0.06 1.7 1.8 0.3 0.25
3 3 900 20 12.35 0 0.06 1.7 1.8 0.3 0.25
Table 3: parameters of generator
In the simulation process, a fault is applied to the system, specifically, the line 4 is broken during 1 second, the line 4 is closed again during 1.2 seconds, and the simulation step h is set to be 0.01 second.
Exemplary, fig. 11 shows node voltage curves of a fan model built by the method provided by the invention and other generators in a network, fig. 12 shows node voltage curves of each generator obtained by simulation of comparison software, fig. 13 shows a rotation speed curve of the other generators after the fan model built by the method provided by the invention is connected to a system, and fig. 14 shows a rotation speed curve of the generator obtained by simulation of comparison software.
According to comparison of graphs of simulation output, the fan model established by the embodiment of the invention is combined with a corresponding simulation method to simulate, and the obtained result is very similar to the result obtained by comparing commercial software simulation, so that the wind driven generator simulation system and the wind driven generator simulation method provided by the embodiment of the invention have universality and expandability, and achieve the simulation effect similar to commercial software.
Referring to fig. 16, a block diagram of a power distribution network wind driven generator simulation device according to an embodiment of the present invention is shown and applied to a wind driven generator simulation system, where the wind driven generator simulation system includes a torque control module, an electrical control module, a pitch angle control module, an aerodynamic module, a transmission module, and a converter module, where the converter module is connected to a power grid model interface, where the device may include:
the torque balance adjustment module 1601 is configured to obtain an active power initial reference value, a reactive power reference value, and an input active power, perform torque balance adjustment on the active power initial reference value and the input active power through the torque control module, and output an active power reference value and a rotor reference rotation speed;
The power control processing module 1602 is configured to perform power control processing on the active power reference value and the reactive power reference value through the electrical control module, and output a reactive current instruction, an active current instruction, and an active power instruction;
the rotation speed adjustment module 1603 is configured to perform pitch angle adjustment by the pitch angle control module based on the rotor reference rotation speed and the active power command, output a fan pitch angle, perform aerodynamic balance adjustment on the fan pitch angle by the aerodynamic module, output a mechanical torque, and then perform rotation speed balance adjustment on the mechanical torque by the transmission module, and output a generator rotation speed and a turbine rotation speed;
the current conversion control module 1604 is configured to perform current conversion control on the active current command and the reactive current command through the converter module, and output an active current and a reactive current to the grid model interface.
In an alternative embodiment, the torque balance adjustment module 1601 includes:
the active power adjusting output module is used for performing first-order control processing on the input active power through a closed loop transfer function to obtain adjusted active power;
The power-rotating speed curve generation module is used for acquiring the rotating speed of the rotor of the wind driven generator and generating a corresponding power-rotating speed curve based on the active power adjustment and the rotating speed of the rotor;
and the torque balance calculation module is used for receiving the rotating speed of the generator output by the transmission module, and carrying out torque balance calculation by adopting the power-rotating speed curve, the active power initial reference value and the rotating speed of the generator to obtain an active power reference value and a rotor reference rotating speed.
In an alternative embodiment, the torque balance calculation module is specifically configured to:
and adopting the power-rotating speed curve, the active power initial reference value and the generator rotating speed to perform torque balance calculation through the following formula to obtain an active power reference value and a rotor reference rotating speed:
P ref =K ppg -ω ref )+P ref0
/>
wherein P is ref Representing the active power reference value, K pp Represents a torque control scaling factor, P ref0 Representing an initial reference value of active power, ω g Indicating the rotation speed of the generator omega ref Represents the reference rotation speed of the rotor, K ip The torque control integral coefficient is represented by voltage_dip, which is an indication value indicating whether or not the wind turbine port Voltage is within the boundary, voltage_dip=0 indicates that the wind turbine port Voltage is within the boundary, voltage_dip=1 indicates that the Voltage is not within the boundary, and T wref Represents the rotational speed filtering time constant, f (P e ) Representing a power-rotation speed curve,representing derivative calculations.
In an alternative embodiment, the electrical control module includes a reactive control sub-module and an active control sub-module, and the power control processing module 1602 includes:
the reactive current instruction output module is used for acquiring input reactive power, port voltage of the wind driven generator and reference voltage, carrying out reactive power control on the reactive power reference value and the input reactive power through the reactive power control sub-module, and carrying out reactive current control calculation according to the port voltage of the wind driven generator and the reference voltage at the same time, and outputting a reactive current instruction;
and the active current instruction output module is used for carrying out power limiting on the active power reference value through the active control sub-module, outputting an active power instruction, carrying out power calculation based on the active power instruction and outputting the active current instruction.
In an alternative embodiment, the reactive current instruction output module includes:
the switch control mark value acquisition module is used for acquiring a plurality of switch control mark values of the power flow line in the reactive power control sub-module, and the switch control mark values are used for representing the switch selection state of the power flow line;
The reactive power control module is used for acquiring amplification reference power, and carrying out reactive power control on a power flowing line according to the amplification reference power, the reactive power reference value and the input reactive power by combining the switch control mark values, wherein the reactive power control comprises local constant reactive power control, local constant power factor control, local node voltage control and local reactive power-voltage coordination control;
the filtering processing module is used for filtering the port voltage of the wind driven generator by adopting the following formula to obtain a filtering voltage:
the system comprises a voltage boundary indication value determining module, a voltage boundary indication value determining module and a voltage control module, wherein the voltage boundary indication value determining module is used for determining whether the port voltage of the wind driven generator is in the boundary or not, and if the port voltage of the wind driven generator is larger than or equal to a preset dip voltage value and smaller than or equal to a preset pull-up voltage value, the voltage boundary indication value is 0;
if the port voltage of the wind driven generator is smaller than a preset dip voltage value and/or larger than a preset pull-up voltage value, the voltage boundary indicated value is 1;
the specific formula is as follows:
and the voltage out-of-limit reactive power control module is used for performing voltage out-of-limit reactive power control based on the filter voltage and the reference voltage and outputting out-of-limit reactive current instructions, and the calculation formula is as follows:
The reactive current limiting module is used for limiting reactive current by adopting the filtering voltage, outputting a limiting reactive current instruction, and the calculation formula is as follows:
and the reactive current instruction calculation module is used for calculating a reactive current instruction according to the out-of-limit reactive current instruction and the limiting reactive current instruction through the following formula:
I qcmd =I qord +I qinj
wherein V is t Representing the port voltage of the wind driven generator, V tfilt Representing the filtered voltage, T rv Representing the Voltage filtering time constant, voltage_dip represents the Voltage boundary indication value, V dip Representing a preset dip voltage value, vup representing a preset pull-up voltage value, I qinj Representing out-of-limit reactive current command, K qv Representing the out-of-limit reactive control coefficient, V ref0 Represents a reference voltage, I qord Representing limiting reactive current command, T iq Represents the reactive current filtering time constant, Q ext Representing limiting reactive current command I in a circuit qord Static working parameters of the flowing triode, I qcmd Indicating the reactive current command to be output,representation calculationAnd (5) conducting calculation.
In an alternative embodiment, the active current command output module includes:
the active power instruction calculation module is used for receiving the rotating speed of the generator output by the transmission module, carrying out active power limiting on the basis of the rotating speed of the generator and the active power reference value, and outputting an active power instruction, wherein the calculation formula is as follows:
The active current instruction calculation module is used for calculating by adopting the active power instruction and the filtering voltage to obtain an active current instruction, and the calculation formula is as follows:
wherein P is ord Representing an active power instruction output after active power clipping, T pord Representing the active power filter time constant, omega g Represents the rotation speed of the generator, P ref Representing reactive power reference value, I pcmd Indicating the output active current command.
In an alternative embodiment, the rotational speed adjustment module 1603 includes:
the pitch control calculation module is used for receiving the turbine rotating speed output by the transmission module, performing pitch control calculation by adopting the rotor reference rotating speed, the turbine rotating speed, the active power initial reference value and the active power command, and outputting a control pitch angle;
the pitch compensation calculation module is used for performing pitch compensation calculation by adopting the active power initial reference value and the active power command and outputting a compensation pitch angle;
and the pitch angle fine adjustment processing module is used for carrying out pitch angle fine adjustment processing according to the control pitch angle and the compensation pitch angle and outputting the pitch angle of the fan.
In an alternative embodiment, the pitch control calculation module includes:
The initial control pitch angle calculation module is used for calculating an initial control pitch angle by adopting the rotor reference rotating speed, the turbine rotating speed, the active power initial reference value and the active power instruction through the following formula:
the control pitch angle calculation module is used for carrying out pitch control processing on the initial control pitch angle to obtain a control pitch angle, and the calculation formula is as follows:
θ 1 =K pwt -ω ref +K cc P ord -K cc P ref0 )+θ 12
wherein θ 12 Represents the initial control pitch angle, K iw Representing pitch control integral coefficient, ω t Indicating turbine speed, ω ref Represents the reference rotation speed of the rotor, K cc Representing the power control coefficient, P ord Representing active power commands, P ref0 Represents an initial reference value of active power, θ 1 Representing the control pitch angle, kpw representing the pitch control scaling factor,representing derivative calculations.
In an alternative embodiment, the pitch compensation calculation module comprises:
the initial compensation pitch angle calculation module is used for calculating an initial compensation pitch angle by adopting the active power initial reference value and the active power instruction through the following formula:
and the compensation pitch angle calculation module is used for carrying out pitch compensation processing on the initial control pitch angle to obtain a compensation pitch angle, and the calculation formula is as follows:
θ 2 =K pc (P ord -P ref0 )+θ 22
Wherein θ 22 Representing the initial compensating pitch angle, K ic Representing pitch compensation integral coefficient, θ 2 Represents the compensating pitch angle, K pc Representing the pitch compensation scaling factor.
In an alternative embodiment, the pitch angle fine adjustment processing module is specifically configured to:
and adopting the control pitch angle and the compensation pitch angle, adopting the following formula to carry out pitch angle fine adjustment treatment, and outputting the pitch angle of the fan:
wherein θ represents the pitch angle of the fan, T θ Representing the pitch angle filter time constant.
In an alternative embodiment, the rotational speed adjustment module 1603 includes:
the mechanical power adjustment calculation module is used for acquiring initial mechanical power and an initial pitch angle, carrying out mechanical power adjustment calculation by adopting the fan pitch angle, the initial mechanical power and the initial pitch angle, and outputting mechanical power;
and the mechanical torque adjustment calculation module is used for carrying out mechanical torque adjustment calculation by adopting the mechanical power and the turbine rotating speed and outputting mechanical torque.
In an alternative embodiment, the mechanical power adjustment calculation module is specifically configured to:
and adopting the fan pitch angle, the initial mechanical power and the initial pitch angle to perform mechanical power adjustment calculation through the following formula and output mechanical power:
P mech =P mech0 -K a θ(θ-θ 0 )
The mechanical torque adjustment calculation module is specifically configured to:
and carrying out mechanical torque adjustment calculation by adopting the mechanical power and the turbine rotating speed through the following formula to output mechanical torque:
wherein P is mech Representing mechanical power, P mech0 Represents initial mechanical power, θ represents fan pitch angle, θ 0 Represents the initial pitch angle, K a Representing pitch angle control coefficient, T m Representing the mechanical torque, ω t Indicating turbine speed.
In an alternative embodiment, the rotational speed adjustment module 1603 includes:
the rotating speed deviation calculation module is used for acquiring electromagnetic power and initial rotor rotating speed, adopting the electromagnetic power and the mechanical torque to carry out rotating speed deviation adjustment, and calculating generator rotating speed deviation and turbine rotating speed deviation;
and the rotating speed calculating module is used for calculating the rotating speed of the generator according to the rotating speed deviation of the generator and the initial rotating speed of the rotor and calculating the rotating speed of the turbine according to the rotating speed deviation of the turbine and the initial rotating speed of the rotor.
In an alternative embodiment, the rotational speed deviation calculation module is specifically configured to:
and adopting the electromagnetic power and the mechanical torque to adjust the rotating speed deviation, and calculating the rotating speed deviation of the generator and the rotating speed deviation of the turbine by the following formula:
Wherein, the liquid crystal display device comprises a liquid crystal display device,Δω g indicating the deviation of the rotational speed of the generator,representing the turbine rotational speed deviation adjustment control coefficient,representing electromagnetic torque T e ,K shaft 、D shaft All represent the adjustment coefficient, delta of the rotational speed deviation tg Indicating slip in rotational speed, Δω, between turbine and generator t Indicating turbine speed deviation>Represents the adjustment control coefficient of the rotating speed deviation of the generator,representing the mechanical torque T m ,/>Representing derivative calculations. />
In an alternative embodiment, the rotational speed calculation module includes:
the generator rotating speed calculating module is used for calculating the generator rotating speed by adopting the generator rotating speed deviation and the initial rotor rotating speed through the following formula:
ω g =ω 0 +Δω g
a turbine rotational speed calculation module for calculating a turbine rotational speed using the turbine rotational speed deviation and the initial rotor rotational speed by:
ω t =ω 0 +Δω t
wherein omega g Indicating the rotation speed of the generator omega t Indicating turbine speed, ω 0 Indicating the initial rotor speed.
In an alternative embodiment, the current transformation control module 1604 includes:
the adjusting current control module is used for performing first-order control processing on the active current instruction through a closed-loop transfer function to obtain adjusting active current, and performing first-order control processing on the reactive current instruction through the closed-loop transfer function to obtain adjusting reactive current;
The current conversion calculation module is used for carrying out active current conversion calculation on the regulated active current to obtain active current, and carrying out reactive current conversion calculation on the regulated reactive current to obtain reactive current;
and the current output module is used for transmitting the active current and the reactive current to the power grid model interface and outputting a simulation result.
In an alternative embodiment, the regulated current control module includes:
the active current adjusting calculation module is used for performing first-order control processing on the active current instruction through a closed loop transfer function to obtain an active current adjusting calculation formula as follows:
the reactive current regulation calculation module is used for carrying out first-order control processing on the reactive current command through a closed loop transfer function to obtain reactive current regulation, and the calculation formula is as follows:
wherein I is p Indicating regulation of active current, I pcmd Representing the value corresponding to the active current command, T g Representing the filter time constant, I q Indicating the regulation of reactive current, I qcmd Indicating the value corresponding to the reactive current command,representing derivative calculations.
In an alternative embodiment, the current transformation calculation module includes:
the active current conversion calculation module is used for carrying out active current conversion on the regulated active current through the following formula to obtain the active current:
The reactive current conversion calculation module is used for carrying out reactive current conversion on the regulated reactive current through the following formula to obtain reactive current:
I qgrid =I q -K hv (V t -V olim )
wherein I is pgrid Representing active current output by the converter module to the grid model interface, V t Representing the collected port voltage of the wind driven generator, lypnt0 representing the lower voltage limit corresponding to the active current conversion calculation link, lypnt1 representing the upper voltage limit corresponding to the active current conversion calculation link, I qgrid Representing reactive current output by the converter module to the grid model interface, K hv Representing voltage management coefficient corresponding to reactive current conversion calculation link, V olim Indicating the operating voltage in the normal operating state.
In an alternative embodiment, the converter module includes a low voltage ride through management sub-module, and the apparatus further includes:
the voltage control module is used for performing active current conversion calculation and reactive current conversion calculation,
the voltage control is performed in the low voltage ride through management sub-module by the following formula:
wherein LVPL represents a low voltage ride through management submodule, V represents a line voltage detected in real time, zerox represents a lower voltage limit of the low voltage ride through management submodule LVPL, brkpt represents an upper voltage limit of the low voltage ride through management submodule LVPL, T fltr Representing the voltage filtering time constant, V t Representing the collected wind power generator port voltage.
In an alternative embodiment, each module in the wind driven generator simulation system is composed of a plurality of transfer functions, the transfer functions are used for representing mathematical relationships in each module through descriptive codes, and then the device further comprises:
the system comprises a wind driven generator simulation system construction module, a symbol-digital hybrid framework, a simulation module and a simulation module, wherein the wind driven generator simulation system construction module is used for establishing a wind driven generator simulation system based on the symbol-digital hybrid framework, respectively establishing transfer function types corresponding to each module according to the processing flow of each module in the wind driven generator simulation system in the modeling process of the symbol-digital hybrid framework, and expressing each transfer function type by adopting a symbolized language;
the numerical code generation module is used for obtaining a differential algebra equation corresponding to each transfer function type and a symbolized expression of the jacobian matrix through the symbolized calculation library according to the symbolized language expression result, and generating a corresponding numerical code by adopting the symbolized expression, wherein the numerical code is used for carrying out tide calculation and transient simulation in the wind driven generator simulation process.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the foregoing method embodiments for relevant points.
The embodiment of the application also provides electronic equipment, which comprises a processor and a memory:
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is used for executing the simulation method of the wind driven generator of the power distribution network according to any embodiment of the application according to the instructions in the program codes.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium is used for storing program codes, and the program codes are used for executing the simulation method of the wind driven generator of the power distribution network.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (23)

1. The utility model provides a distribution network wind-driven generator simulation method which is characterized in that the method is applied to wind-driven generator simulation system, wind-driven generator simulation system includes torque control module, electrical control module, pitch angle control module, aerodynamic module, transmission module and converter module, converter module connects the electric wire netting model interface, the method includes:
acquiring an active power initial reference value, a reactive power reference value and input active power, performing torque balance adjustment on the active power initial reference value and the input active power through the torque control module, and outputting an active power reference value and a rotor reference rotating speed;
The electric control module is used for carrying out power control processing on the active power reference value and the reactive power reference value, and outputting a reactive current instruction, an active current instruction and an active power instruction;
based on the rotor reference rotating speed and the active power instruction, performing pitch angle adjustment through the pitch angle control module, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle through the aerodynamic module, outputting a mechanical torque, performing rotating speed balance adjustment on the mechanical torque through the transmission module, and outputting a generator rotating speed and a turbine rotating speed;
and carrying out current conversion control on the active current instruction and the reactive current instruction through the converter module, and outputting active current and reactive current to the power grid model interface.
2. The method for simulating a wind turbine generator in accordance with claim 1, wherein said performing, by said torque control module, a torque balance adjustment on said active power initial reference value and said input active power, and outputting an active power reference value and a rotor reference rotational speed, comprises:
Performing first-order control processing on the input active power through a closed-loop transfer function to obtain an adjusted active power;
acquiring the rotor rotating speed of the wind driven generator, and generating a corresponding power-rotating speed curve based on the regulated active power and the rotor rotating speed;
and receiving the rotating speed of the generator output by the transmission module, and performing torque balance calculation by adopting the power-rotating speed curve, the active power initial reference value and the rotating speed of the generator to obtain the active power reference value and the rotor reference rotating speed.
3. The method for simulating a wind turbine generator in accordance with claim 2, wherein said performing a torque balance calculation using said power-speed curve, said active power initial reference value, and said generator speed to obtain an active power reference value and a rotor reference speed comprises:
and adopting the power-rotating speed curve, the active power initial reference value and the generator rotating speed to perform torque balance calculation through the following formula to obtain an active power reference value and a rotor reference rotating speed:
P ref =K ppg -ω ref )+P ref0
wherein P is ref Representing the active power reference value, K pp Represents a torque control scaling factor, P ref0 Representing an initial reference value of active power, ω g Indicating the rotation speed of the generator omega ref Represents the reference rotation speed of the rotor, K ip The torque control integral coefficient is represented by voltage_dip, which is an indication value indicating whether or not the wind turbine port Voltage is within the boundary, voltage_dip=0 indicates that the wind turbine port Voltage is within the boundary, voltage_dip=1 indicates that the Voltage is not within the boundary, and T wref Represents the rotational speed filtering time constant, f (P e ) Representing a power-rotation speed curve,representing derivative calculations.
4. The method for simulating a wind turbine generator in a power distribution network according to claim 1, wherein the electrical control module includes a reactive power control sub-module and an active power control sub-module, the power control processing is performed on the active power reference value and the reactive power reference value by the electrical control module, and a reactive current instruction, an active current instruction and an active power instruction are output, including:
acquiring input reactive power, wind driven generator port voltage and reference voltage, performing reactive power control on the reactive power reference value and the input reactive power through the reactive power control sub-module, and performing reactive current control calculation according to the wind driven generator port voltage and the reference voltage to output a reactive current instruction;
And carrying out power limiting on the active power reference value through the active power control sub-module, outputting an active power instruction, carrying out power calculation based on the active power instruction, and outputting an active current instruction.
5. The method for simulating a wind power generator of a power distribution network according to claim 4, wherein the performing, by the reactive power control sub-module, reactive power control on the reactive power reference value and the input reactive power, and performing reactive current control calculation according to the port voltage of the wind power generator and the reference voltage, and outputting a reactive current command, includes:
acquiring a plurality of switch control flag values of a power flow line in the reactive power control submodule, wherein the switch control flag values are used for indicating a switch selection state of the power flow line;
obtaining an amplifying reference power, and carrying out reactive power control on a power flow line according to the amplifying reference power, the reactive power reference value and the input reactive power by combining the amplifying reference power, the reactive power reference value and the input reactive power, wherein the reactive power control comprises local constant reactive power control, local constant power factor control, local node voltage control and local reactive power-voltage coordination control;
Filtering the port voltage of the wind driven generator by adopting the following formula to obtain a filtered voltage:
determining a voltage boundary indicated value, wherein the voltage boundary indicated value is used for indicating whether the port voltage of the wind driven generator is in a boundary or not, and if the port voltage of the wind driven generator is larger than or equal to a preset dip voltage value and smaller than or equal to a preset pull-up voltage value, the voltage boundary indicated value is 0;
if the port voltage of the wind driven generator is smaller than a preset dip voltage value and/or larger than a preset pull-up voltage value, the voltage boundary indicated value is 1;
the specific formula is as follows:
and performing voltage out-of-limit reactive power control based on the filtering voltage and the reference voltage, outputting an out-of-limit reactive current instruction, and calculating the following formula:
and adopting the filtering voltage to carry out reactive current limiting, outputting a limiting reactive current instruction, and adopting the following calculation formula:
and calculating a reactive current instruction according to the out-of-limit reactive current instruction and the limiting reactive current instruction by the following formula:
I qcmd =I qord +I qinj
wherein V is t Representing the port voltage of the wind driven generator, V tfilt Representing the filtered voltage, T rv Representing the Voltage filtering time constant, voltage_dip represents the Voltage boundary indication value, V dip Representing a preset dip voltage value, vup representing a preset pull-up voltage value, I qinj Representing out-of-limit reactive current command, K qv Representing the out-of-limit reactive control coefficient, V ref0 Represents a reference voltage, I qord Representing limiting reactive current command, T iq Represents the reactive current filtering time constant, Q ext Representing limiting reactive current command I in a circuit qord Static working parameters of the flowing triode, I qcmd Indicating the reactive current command to be output,representing derivative calculations.
6. The method for simulating a wind turbine generator in a power distribution network according to claim 5, wherein the performing, by the active control sub-module, power limiting on the active power reference value, outputting an active power command, performing power calculation based on the active power command, and outputting an active current command, includes:
and receiving the rotating speed of the generator output by the transmission module, and carrying out active power limiting based on the rotating speed of the generator and the active power reference value, and outputting an active power instruction, wherein the calculation formula is as follows:
and calculating by adopting the active power instruction and the filtering voltage to obtain an active current instruction, wherein the calculation formula is as follows:
wherein P is ord Representing an active power instruction output after active power clipping, T pord Representing the active power filter time constant, omega g Represents the rotation speed of the generator, P ref Representing reactive power reference value, I pcmd Indicating the output active current command.
7. The method for simulating a wind power generator of a power distribution network according to claim 1, wherein the performing, by the pitch angle control module, pitch angle adjustment based on the rotor reference rotation speed and the active power command, and outputting a fan pitch angle comprises:
receiving the turbine rotating speed output by the transmission module, performing pitch control calculation by adopting the rotor reference rotating speed, the turbine rotating speed, the active power initial reference value and the active power command, and outputting a control pitch angle;
performing pitch compensation calculation by adopting the active power initial reference value and the active power command, and outputting a compensation pitch angle;
and performing pitch angle fine adjustment processing according to the control pitch angle and the compensation pitch angle, and outputting the pitch angle of the fan.
8. The method for simulating a wind turbine generator in accordance with claim 7, wherein said performing pitch control calculations using said rotor reference speed, said turbine speed, said active power initial reference value, and said active power command, outputting control pitch angles, comprises:
Calculating an initial control pitch angle by using the rotor reference speed, the turbine speed, the active power initial reference value, and the active power command by the following formula:
and then, performing pitch control processing on the initial control pitch angle to obtain a control pitch angle, wherein a calculation formula is as follows:
θ 1 =K pwt -ω ref +K cc P ord -K cc P ref0 )+θ 12
wherein θ 12 Represents the initial control pitch angle, K iw Representing pitch control integral coefficient, ω t Indicating turbine speed, ω ref Represents the reference rotation speed of the rotor, K cc Representing the power control coefficient, P ord Representing active power commands, P ref0 Represents an initial reference value of active power, θ 1 Representing the control pitch angle, kpw representing the pitch control scaling factor,representing derivative calculations.
9. The method for simulating a wind turbine generator in accordance with claim 8, wherein said performing pitch compensation calculation using said initial reference value of active power and said active power command, outputting a compensated pitch angle, comprises:
and calculating an initial compensation pitch angle by adopting the active power initial reference value and the active power instruction through the following formula:
and then performing pitch compensation processing on the initial control pitch angle to obtain a compensated pitch angle, wherein the calculation formula is as follows:
θ 2 =K pc (P ord -P ref0 )+θ 22
Wherein θ 22 Representing the initial compensating pitch angle, K ic Representing pitch compensation integral coefficient, θ 2 Represents the compensating pitch angle, K pc Representing the pitch compensation scaling factor.
10. The method for simulating a wind turbine generator in a power distribution network according to claim 9, wherein the performing pitch angle fine adjustment according to the control pitch angle and the compensation pitch angle, and outputting a fan pitch angle, includes:
and adopting the control pitch angle and the compensation pitch angle, adopting the following formula to carry out pitch angle fine adjustment treatment, and outputting the pitch angle of the fan:
wherein θ represents the pitch angle of the fan, T θ Representing the pitch angle filter time constant.
11. The method for simulating a wind turbine generator in a power distribution network according to claim 1, wherein the aerodynamically balancing the pitch angle of the wind turbine by the aerodynamics module, outputting a mechanical torque, comprises:
acquiring initial mechanical power and an initial pitch angle, and performing mechanical power adjustment calculation by adopting the fan pitch angle, the initial mechanical power and the initial pitch angle to output mechanical power;
and carrying out mechanical torque adjustment calculation by adopting the mechanical power and the turbine rotating speed, and outputting mechanical torque.
12. The method for simulating a wind turbine generator in a power distribution network according to claim 11, wherein said calculating mechanical power adjustment using said fan pitch angle, said initial mechanical power, and said initial pitch angle, outputting mechanical power, comprises:
and adopting the fan pitch angle, the initial mechanical power and the initial pitch angle to perform mechanical power adjustment calculation through the following formula and output mechanical power:
P mech =P mech0 -K a θ(θ-θ 0 )
said performing a mechanical torque adjustment calculation using said mechanical power and said turbine speed to output a mechanical torque comprising:
and carrying out mechanical torque adjustment calculation by adopting the mechanical power and the turbine rotating speed through the following formula to output mechanical torque:
wherein P is mech Representing mechanical power, P mech0 Represents initial mechanical power, θ represents fan pitch angle, θ 0 Represents the initial pitch angle, K a Representing pitch angle control coefficient, T m Representing the mechanical torque, ω t Indicating turbine speed.
13. The method for simulating a wind turbine generator in a power distribution network according to claim 1, wherein said performing, by said transmission module, a rotation speed balance adjustment on said mechanical torque, outputting a rotation speed of the generator and a rotation speed of the turbine, comprises:
Acquiring electromagnetic power and an initial rotor rotating speed, adopting the electromagnetic power and the mechanical torque to adjust rotating speed deviation, and calculating generator rotating speed deviation and turbine rotating speed deviation;
and calculating the rotation speed of the generator according to the rotation speed deviation of the generator and the initial rotor, and calculating the rotation speed of the turbine according to the rotation speed deviation of the turbine and the initial rotor.
14. The method for simulating a wind turbine generator in a power distribution network according to claim 13, wherein said using said electromagnetic power and said mechanical torque to adjust rotational speed bias, calculating a generator rotational speed bias and a turbine rotational speed bias, comprises:
and adopting the electromagnetic power and the mechanical torque to adjust the rotating speed deviation, and calculating the rotating speed deviation of the generator and the rotating speed deviation of the turbine by the following formula:
wherein Δω g Indicating the deviation of the rotational speed of the generator,representing a turbine rotational speed deviation adjustment control coefficient, +.>Representing electromagnetic torque T e ,K shaft 、D shaft All represent the adjustment coefficient, delta of the rotational speed deviation tg Indicating slip in rotational speed, Δω, between turbine and generator t Indicating turbine speed deviation>Represents a generator rotational speed deviation adjustment control factor, < > >Representing the mechanical torque T m ,/>Representing derivative calculations.
15. The method for simulating a wind turbine in a power distribution network according to claim 14, wherein said calculating a generator speed from said generator speed deviation and said initial rotor speed, and calculating a turbine speed from said turbine speed deviation and said initial rotor speed, comprises:
and calculating the rotation speed of the generator by adopting the rotation speed deviation of the generator and the initial rotor rotation speed through the following formula:
ω g =ω 0 +Δω g
calculating a turbine speed using the turbine speed deviation and the initial rotor speed by the formula:
ω t =ω 0 +Δω t
wherein omega g Indicating the rotation speed of the generator omega t Indicating turbine speed, ω 0 Indicating the initial rotor speed.
16. The method for simulating a wind power generator of claim 1, wherein the performing, by the converter module, current conversion control on the active current command and the reactive current command, and outputting the active current and the reactive current to the grid model interface, includes:
performing first-order control processing on the active current instruction through a closed-loop transfer function to obtain an adjusted active current, and performing first-order control processing on the reactive current instruction through the closed-loop transfer function to obtain an adjusted reactive current;
Performing active current conversion calculation on the regulated active current to obtain active current, and performing reactive current conversion calculation on the regulated reactive current to obtain reactive current;
and transmitting the active current and the reactive current to the power grid model interface, and outputting a simulation result.
17. The method for simulating a wind turbine generator in accordance with claim 16, wherein said performing a first order control process on said active current command via a closed loop transfer function to obtain an adjusted active current, performing a first order control process on said reactive current command via a closed loop transfer function to obtain an adjusted reactive current, comprises:
and performing first-order control processing on the active current instruction through a closed loop transfer function to obtain an adjusted active current, wherein the calculation formula is as follows:
and performing first-order control processing on the reactive current instruction through a closed loop transfer function to obtain an adjusted reactive current, wherein the calculation formula is as follows:
wherein I is p Indicating regulation of active current, I pcmd Representing the value corresponding to the active current command, T g Representing the filter time constant, I q Indicating the regulation of reactive current, I qcmd Indicating the value corresponding to the reactive current command,representing derivative calculations.
18. The method for simulating a wind turbine generator in accordance with claim 17, wherein said performing active current transformation calculation on said adjusted active current to obtain an active current, performing reactive current transformation calculation on said adjusted reactive current to obtain a reactive current, comprises:
and carrying out active current conversion on the regulated active current through the following formula to obtain the active current:
and carrying out reactive current conversion on the regulated reactive current through the following formula to obtain reactive current:
I qgrid =I q -K hv (V t -V olim )
wherein I is pgrid Representing active current output by the converter module to the grid model interface, V t Representing the collected port voltage of the wind driven generator, lypnt0 representing the lower voltage limit corresponding to the active current conversion calculation link, lypnt1 representing the upper voltage limit corresponding to the active current conversion calculation link, I qgrid Representing reactive current output by the converter module to the grid model interface, K hv Representing voltage management coefficient corresponding to reactive current conversion calculation link, V olim Indicating the operating voltage in the normal operating state.
19. The method of any one of claims 16 to 18, wherein the converter module includes a low voltage ride through management sub-module therein, the method further comprising:
And when active current conversion calculation and reactive current conversion calculation are performed, performing voltage control in the low voltage ride through management submodule according to the following formula:
wherein LVPL represents a low voltage ride through management submodule, V represents a line voltage detected in real time, zerox represents a lower voltage limit of the low voltage ride through management submodule LVPL, brkpt represents an upper voltage limit of the low voltage ride through management submodule LVPL, T fltr Representing the voltage filtering time constant, V t Representing the collected wind power generator port voltage.
20. A method of simulation of a wind power distribution network according to any of claims 1 to 18, wherein each module in the wind power simulation system is composed of a number of transfer functions for representing mathematical relationships in each module by descriptive codes, and the method further comprises, prior to performing the wind power simulation procedure:
establishing a wind driven generator simulation system based on a symbol-digital hybrid framework, respectively establishing transfer function types corresponding to each module according to the processing flow of each module in the wind driven generator simulation system in the modeling process of the symbol-digital hybrid framework, and expressing each transfer function type by adopting a symbolized language;
According to the symbolic language expression result, a differential algebra equation corresponding to each transfer function type and a symbolic expression of the jacobian matrix are obtained through a symbolic calculation library, and corresponding numerical codes are generated by adopting the symbolic expression, wherein the numerical codes are used for carrying out tide calculation and transient simulation in the wind driven generator simulation process.
21. The utility model provides a distribution network aerogenerator simulation device, its characterized in that is applied to aerogenerator simulation system, aerogenerator simulation system includes torque control module, electrical control module, pitch angle control module, aerodynamic module, transmission module and converter module, converter module connects the electric wire netting model interface, the device includes:
the torque balance adjustment module is used for acquiring an active power initial reference value, a reactive power reference value and input active power, performing torque balance adjustment on the active power initial reference value and the input active power through the torque control module, and outputting an active power reference value and a rotor reference rotating speed;
the power control processing module is used for performing power control processing on the active power reference value and the reactive power reference value through the electric control module and outputting a reactive current instruction, an active current instruction and an active power instruction;
The rotating speed adjusting module is used for adjusting the pitch angle through the pitch angle control module based on the rotor reference rotating speed and the active power command, outputting a fan pitch angle, performing aerodynamic balance adjustment on the fan pitch angle through the aerodynamic module, outputting mechanical torque, performing rotating speed balance adjustment on the mechanical torque through the transmission module, and outputting a generator rotating speed and a turbine rotating speed;
and the current conversion control module is used for carrying out current conversion control on the active current instruction and the reactive current instruction through the converter module and outputting active current and reactive current to the power grid model interface.
22. An electronic device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the power distribution network wind turbine simulation method according to any one of claims 1-20 according to instructions in the program code.
23. A computer readable storage medium for storing program code for performing the method of simulating a wind power distribution network according to any one of claims 1-20.
CN202310880268.8A 2023-07-18 2023-07-18 Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium Pending CN116780635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310880268.8A CN116780635A (en) 2023-07-18 2023-07-18 Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310880268.8A CN116780635A (en) 2023-07-18 2023-07-18 Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116780635A true CN116780635A (en) 2023-09-19

Family

ID=88013355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310880268.8A Pending CN116780635A (en) 2023-07-18 2023-07-18 Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116780635A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117332602A (en) * 2023-10-18 2024-01-02 华北电力大学 Primary frequency modulation simulation method and device for wind driven generator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117332602A (en) * 2023-10-18 2024-01-02 华北电力大学 Primary frequency modulation simulation method and device for wind driven generator
CN117332602B (en) * 2023-10-18 2024-04-19 华北电力大学 Primary frequency modulation simulation method and device for wind driven generator

Similar Documents

Publication Publication Date Title
CN109642536B (en) Control or processing system and method
Hossain et al. Simultaneous STATCOM and pitch angle control for improved LVRT capability of fixed-speed wind turbines
CN205811554U (en) Voltage control system
Palsson et al. Large-scale wind power integration and voltage stability limits in regional networks
Abbas et al. Simulation of wind-turbine speed control by MATLAB
CN116780635A (en) Simulation method and device for wind driven generator of power distribution network, electronic equipment and storage medium
CN110206686A (en) A kind of adaptive maximum power tracking and controlling method for wind power generating set
Li et al. Dynamic modeling and controller design for a novel front-end speed regulation (FESR) wind turbine
Hamid et al. Performance improvement of the variable speed wind turbine driving a DFIG using nonlinear control strategies
Chatri et al. Improved high-order integral fast terminal sliding mode-based disturbance-observer for the tracking problem of PMSG in WECS
CN115549139A (en) New energy power generation and load hybrid model identification modeling method
Rouabhi et al. Power quality enhancement of grid connected doubly-fed induction generator using sliding mode control
CN110912119B (en) Complementary system control strategy combination optimization method based on transient frequency index
Altimania Modeling of doubly-fed induction generators connected to distribution system based on eMEGASim® real-time digital simulator
Chetouani et al. Hybrid control using adaptive particle swarm optimization and integral backstepping control of grid-connected doubly fed induction generator
CN114583746B (en) Universal modeling method for predicting lowest frequency point of new energy accessed to power grid
Rosyadi et al. Development of phasor type model of PMSG based wind farm for dynamic simulation analysis
CN115085272A (en) Active power calculation method and system of doubly-fed wind turbine based on fault ride-through process
CN114928070A (en) Self-synchronization control method and device of cascade STATCOM system
CN113507137A (en) Wind power plant model construction method based on DigSILENT/PF and related device
Hu et al. Development of a modified generic model of a DFIG-based wind turbine considering mechanical transient
CN111934357A (en) System simulation analysis method and system for wind-solar power supply combined grid connection
Benaama et al. Real time modeling and control of a wind farm connected to a multi-bus network under faulty conditions
Tien et al. Robust performance of self-scheduled LPV control of doubly-fed induction generator in wind energy conversion systems
Ernst et al. Model-based Converter Control for the Emulation of a Wind Turbine Drive Train

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