Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a terminal, and a computer storage medium for regional active frequency coordination control based on virtual synchronous generators, so as to solve the problem in the prior art that distributed integrated control cannot be implemented on multiple trans-regional virtual synchronous generators as the number of regional virtual synchronous generators increases.
According to a first aspect, an embodiment of the present invention provides a regional active frequency coordination control method based on a virtual synchronous generator, including: acquiring an output power instruction of virtual inertia of a virtual synchronous generator and an output power instruction of virtual primary frequency modulation; and distributing active power to each virtual synchronous generator according to the output power instruction of the virtual inertia of each virtual synchronous generator and the output power instruction of the virtual primary frequency modulation.
Optionally, the obtaining the output power instruction of the virtual inertia comprises:
wherein, PinertiaAnd the output power of the virtual inertia, omega is the angular frequency of the power grid, and J is the rotational inertia of the virtual synchronous generator.
Optionally, the obtaining the output power instruction of the virtual primary frequency modulation includes:
wherein, PdroopIs the output power of the virtual primary frequency modulation, m is the droop coefficient, omegarefThe rated angular frequency of the power grid.
Optionally, the method further comprises: obtaining instantaneous active power p and instantaneous reactive power q of the system:
wherein idD-axis current, i, being the rotating coordinate system of the current control loopqQ-axis current, u, of a rotating coordinate system of a current control loopdD-axis voltage, u, of the grid-connected pointqIs the q-axis voltage of the grid-connected point.
Optionally, the system is based on a virtual synchronous generator with grid voltage directional control, and q-axis voltage is 0, namely uqWhen the value is equal to 0, then,
obtaining the active current of the current control loop
And reactive current
Wherein, Pref=Pinertia+PdroopAnd outputting an active power instruction for the virtual synchronous generator.
Optionally, the value range of the moment of inertia is:
wherein, PmaxIs the upper power limit of the virtual synchronous generator.
Optionally, the droop coefficient has a value range of:
wherein, Δ ωmax=max{ωmax-ωref,ωref-ωmin},ωmaxIs the maximum value of grid-connected voltage angular frequency, omega of the virtual synchronous generatorminThe minimum value of the grid-connected voltage angular frequency of the virtual synchronous generator is obtained.
According to a second aspect, an embodiment of the present invention provides a regional active frequency coordination control apparatus based on a virtual synchronous generator, including an obtaining module and a distributing module, where:
the acquisition module is used for acquiring output power instructions of virtual inertia and virtual primary frequency modulation of the multiple virtual synchronous generators;
the distribution module is used for distributing active power to each virtual synchronous generator according to the output power instruction of the virtual inertia of each virtual synchronous generator and the output power instruction of the virtual primary frequency modulation.
Optionally, the method further comprises: a first acquisition unit configured to acquire an output power instruction of the virtual inertia:
wherein, PinertiaAnd the output power of the virtual inertia, omega is the angular frequency of the power grid, and J is the rotational inertia of the virtual synchronous generator.
Optionally, the method further comprises: a second obtaining unit, configured to obtain an output power instruction of the virtual primary modulation:
wherein, PdroopIs the output power of the virtual primary frequency modulation, m is a droop coefficient, omega is the angular frequency of the power grid, omegarefThe rated angular frequency of the power grid.
According to a third aspect, an embodiment of the present invention provides a regional active frequency coordination control terminal based on a virtual synchronous generator, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform any one of the virtual synchronous generator based regional active frequency coordinated control methods of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer storage medium, where a computer readable storage medium stores computer instructions for causing a computer to execute any one of the virtual synchronous generator-based regional active frequency coordination control methods in the first aspect.
According to a fifth aspect, an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute the method for virtual synchronous generator-based regional active frequency coordination control according to the first aspect or any one of the implementation manners of the first aspect.
The technical scheme of the embodiment of the invention has the following advantages:
1. the embodiment of the invention provides a regional active frequency coordination control method, a device, a terminal and a computer storage medium based on a virtual synchronous generator, wherein the method comprises the following steps: acquiring an output power instruction of virtual inertia of a virtual synchronous generator and an output power instruction of virtual primary frequency modulation; and distributing active power to each virtual synchronous generator according to the output power instruction of the virtual inertia of each virtual synchronous generator and the output power instruction of the virtual primary frequency modulation. According to the method, under the condition that no additional equipment is added, the virtual synchronous machine principle is utilized, the primary frequency modulation characteristic of the synchronous machine is simulated, the coordinated operation of multiple VSGs is considered, and the stability of the active frequency of the system is improved. Compared with the traditional controller designed based on a local model, the influence of peripheral VSGs is better considered, better coordination work among all the VSGs is realized, and the stability of a power grid system is improved.
2. The embodiment of the invention provides a regional active frequency coordination control method, a device, a terminal and a computer storage medium based on a virtual synchronous generator, wherein the method further comprises the following steps: the obtaining of the output power command of the virtual inertia comprises:
wherein, P
inertiaAnd the output power of the virtual inertia, omega is the angular frequency of the power grid, and J is the rotational inertia of the virtual synchronous generator. The output power instruction of the virtual inertia obtained from the current instruction algorithm module can know that: active workThe rate command is proportional to the product of the grid angular frequency and the rate of change of the angular frequency. The rotor inertia of the synchronous generator is simulated through current closed-loop feedback control, the output power instruction of virtual inertia is constructed, and the stability of the frequency of a power grid system is improved.
3. The embodiment of the invention provides a regional active frequency coordination control method, a device, a terminal and a computer storage medium based on a virtual synchronous generator, wherein the method further comprises the following steps: the step of obtaining the output power instruction of the virtual primary frequency modulation comprises the following steps:
wherein, P
droopIs the output power of the virtual primary frequency modulation, m is the droop coefficient, omega
refThe rated angular frequency of the power grid. As can be seen from the output power command of the virtual primary modulation: when the angular frequency of the power grid is smaller than the rated angular frequency of the power grid, the virtual synchronous generator outputs active power; and when the angular frequency of the power grid is greater than the rated angular frequency of the power grid, the virtual synchronous generator absorbs active power. Wherein the droop coefficient m is generated by the current control loop and acts on the pulse generating unit. The primary frequency modulation characteristic of the synchronous generator system is simulated through current closed loop feedback control, and the frequency stability of the power grid system is made a contribution.
4. The embodiment of the invention provides a regional active frequency coordination control method, a device, a terminal and a computer storage medium based on a virtual synchronous generator, wherein the method further comprises the following steps: when the system is based on the directional control of the grid voltage, the q-axis voltage is 0, namely u
qWhen the value is equal to 0, then,
obtaining the active current of the current control loop
And reactive current
Wherein, P
ref=P
inertia+P
droopAnd outputting an active power instruction for the virtual synchronous generator. Output power P of virtual synchronous generator
refFrom virtual inertial power P
inertiaAnd virtual primary FM power P
droopTwo parts are formed. When the power grid system is based on the directional control of the power grid voltage, the active current of the current control loop is changed
And reactive current
Active and reactive decoupling control of the virtual synchronous generator can be realized.
5. The embodiment of the invention provides a regional active frequency coordination control method, a device, a terminal and a computer storage medium based on a virtual synchronous generator, wherein the method further comprises the following steps: the value range of the rotational inertia is as follows:
wherein, P
maxIs the upper power limit of the virtual synchronous generator. When the angular frequency of the power grid initially changes, the virtual inertia power becomes a leading part, and at the moment, the virtual synchronous generator mainly outputs the virtual inertia power P
inertiaSelecting moment of inertia
The capacity of the virtual synchronous generator is fully utilized.
6. The embodiment of the invention provides a regional active frequency coordination control method, a device, a terminal and a computer storage medium based on a virtual synchronous generator, wherein the method further comprises the following steps: the value range of the droop coefficient is as follows:
wherein, Δ ω
max=max{ω
max-ω
ref,ω
ref-ω
min},ω
maxIs a virtualGrid-connected voltage angular frequency maximum, omega, of a synchronous generator
minThe minimum value of the grid-connected voltage angular frequency of the virtual synchronous generator is obtained. Dynamic process P taking into account angular frequency variations
inertiaAnd P
droopThe superposition of the two powers may exceed the capacity limit of the inverter, so that the output power command value is limited in actual control, and the stability of system operation is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
How to realize the coordination control of a plurality of virtual synchronous generators, a load balancing technology, different space-time characteristics and the control and protection of active loads during starting and failure is the current technical challenge. The invention combines the advanced control strategy, considers the space-time characteristic and the system harmonic interference, provides a series of advanced control schemes, enhances the system adaptivity and robustness, improves the efficiency, reduces the cost, has large market demand and good economic benefit, and has great research significance.
To this end, as shown in fig. 1, an embodiment of the present invention provides a virtual synchronous generator-based regional active frequency coordination control method, including:
and step S1, acquiring an output power instruction of the virtual inertia of the virtual synchronous generator and an output power instruction of the virtual primary frequency modulation.
And step S2, distributing active power to each virtual synchronous generator according to the output power instruction of the virtual inertia of each virtual synchronous generator and the output power instruction of the virtual primary frequency modulation.
In this embodiment, as shown in fig. 2, the output power command of the virtual inertia of each VSG and the output power command of the virtual primary frequency modulation are transmitted to the communication layer, and the active power allocation of each VSG is completed by the central controller. Under the condition that no additional equipment is added, the embodiment of the invention simulates the primary frequency modulation characteristic of the synchronous machine by utilizing the principle of the virtual synchronous machine, and increases the stability of the active frequency of the system by considering the coordinated operation of a plurality of VSGs. Compared with the traditional controller designed based on a local model, the influence of peripheral VSGs is better considered, better coordination work among all the VSGs is realized, and the stability of a power grid system is improved.
As an optional implementation, obtaining the output power command of the virtual inertia includes:
wherein, PinertiaWork output as virtual inertiaAnd the rate, omega, is the angular frequency of the power grid, and J is the moment of inertia.
According to the traditional synchronous motor control principle, when the angular frequency of a power grid is reduced, a synchronous generator outputs active power outwards; as the angular frequency increases, the synchronous generator will absorb active power. Fig. 3 shows a main circuit topology and control block diagram of a VSG, in which the energy storage unit is replaced by an ideal dc voltage source, and in a specific embodiment, the energy storage unit may be a photovoltaic power source, a wind power generator or a power source generated by other energy sources. The main circuit is a three-phase half-bridge inverter circuit adopting an LCL filter and can be regarded as a grid-connected inverter. In this embodiment, the output power command of the virtual inertia obtained from the current command algorithm module is as follows: the active power command is proportional to the product of the angular frequency of the grid and the rate of change of the angular frequency. The rotor inertia of the synchronous generator is simulated through current closed-loop feedback control, the output power instruction of virtual inertia is constructed, and the stability of the frequency of a power grid system is improved.
Obviously, after the grid angular frequency changes from the rated value to another steady-state value, the virtual inertia power output power of the virtual synchronous generator is 0, which is obviously not beneficial to the recovery of the grid frequency, and at this time, the primary frequency modulation characteristic of the grid system needs to be simulated.
As an optional implementation, the obtaining of the output power instruction of the virtual primary frequency modulation includes:
wherein, PdroopIs the output power of the virtual primary frequency modulation, m is the droop coefficient, omegarefThe rated angular frequency of the power grid.
In this embodiment, referring to fig. 3, it can be seen from the output power command of the virtual primary modulation that: when the angular frequency of the power grid is smaller than the rated angular frequency of the power grid, the virtual synchronous generator outputs active power; and when the angular frequency of the power grid is greater than the rated angular frequency of the power grid, the virtual synchronous generator absorbs active power. Wherein the droop coefficient m is generated by the current control loop and acts on the pulse generating unit. The primary frequency modulation characteristic of the synchronous generator system is simulated through current closed loop feedback control, and the frequency stability of the power grid system is made a contribution.
As an optional implementation, the coordination control method further includes: obtaining instantaneous active power p and instantaneous reactive power q of the system:
wherein idD-axis current, i, being the rotating coordinate system of the current control loopqQ-axis current, u, of a rotating coordinate system of a current control loopdD-axis voltage, u, of the grid-connected pointqIs the q-axis voltage of the grid-connected point.
In the present embodiment, as shown in fig. 3, the stator alternating current i is in a three-phase coordinate systema、ib、icEquivalent to a direct axis (d axis) and a quadrature axis (q axis) through park transformation to obtain idAnd iqSimilarly, the three-phase voltage is converted into u through parkdAnd uqWherein u isqA q-axis voltage of a Point of Common Coupling (PCC); and according to an instantaneous reactive power theory, acquiring instantaneous active power p and instantaneous reactive power q of the system. And the active power and reactive power output of the power grid are monitored in real time so as to improve the stability of the power grid system.
As an alternative embodiment, when the system is based on grid voltage directional control, the q-axis voltage is 0, i.e. uqWhen the value is equal to 0, then,
obtaining the active current of the current control loop
And reactive current
Wherein, Pref=Pinertia+PdroopAnd outputting an active power instruction for the virtual synchronous generator.
In the present embodiment, the output power P of the virtual synchronous generator
refFrom virtual inertial power P
inertiaAnd virtual primary FM power P
droopTwo parts are formed. When the power grid system is based on the directional control of the power grid voltage, the active current of the current control loop is changed
And reactive current
Active and reactive decoupling control of the virtual synchronous generator can be realized.
As an optional implementation, the value range of the moment of inertia is:
wherein, PmaxIs the upper power limit of the virtual synchronous generator.
In the embodiment, when the angular frequency of the power grid initially changes, the virtual inertia power becomes the dominant part, and the virtual synchronous generator mainly outputs the virtual inertia power P at the moment
inertiaSelecting moment of inertia
The capacity of the virtual synchronous generator is fully utilized.
As an optional implementation, the value range of the droop coefficient is as follows:
wherein, Δ ωmax=max{ωmax-ωref,ωref-ωmin},ωmaxIs the maximum value of grid-connected voltage angular frequency, omega of the virtual synchronous generatorminThe minimum value of the grid-connected voltage angular frequency of the virtual synchronous generator is obtained.
In the present embodiment, when the grid angular frequency deviates from the rated grid angular frequency and operates stably, for example, the grid angular frequency is ω
minTo omega
maxExcept for a certain value of rated frequency, the virtual synchronous generator can still stably run, the virtual primary frequency modulation power becomes a dominant part at the moment, and the virtual synchronous generator mainly outputs the primary frequency modulation power P at the moment
droopThus the sag factor
Dynamic process P taking into account angular frequency variations
inertiaAnd P
droopThe superposition of the two powers may exceed the capacity limit of the inverter, so that the output power command value is limited in actual control, and the stability of system operation is improved.
As shown in fig. 4, an embodiment of the present invention provides a regional active frequency coordination control apparatus based on a virtual synchronous generator, including an obtaining module 1 and a distributing module 2, where:
the acquisition module 1 is used for acquiring output power instructions of virtual inertia and virtual primary frequency modulation of a plurality of virtual synchronous generators; the distribution module 2 is configured to distribute active power to each virtual synchronous generator according to the output power instruction of the virtual inertia of each virtual synchronous generator and the output power instruction of the virtual primary frequency modulation.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
As an alternative embodiment, as shown in fig. 5, the apparatus further comprises: a first obtaining unit 101, configured to obtain an output power instruction of the virtual inertia:
wherein, PinertiaAnd omega is the output power of the virtual inertia, the angular frequency of the power grid and J is the rotational inertia.
As an alternative embodiment, as shown in fig. 5, the apparatus further comprises: a second obtaining unit 102, configured to obtain an output power instruction of the virtual primary modulation:
wherein, PdroopIs the output power of the virtual primary frequency modulation, m is a droop coefficient, omega is the angular frequency of the power grid, omegarefIs the rated frequency of the virtual synchronous generator.
The embodiment of the invention provides a virtual synchronous generator-based regional active frequency coordination control terminal, as shown in fig. 6, the control terminal may include a processor 61 and a memory 62, where the processor 61 and the memory 62 may be connected by a bus or in another manner, and fig. 6 takes the connection by the bus as an example.
The processor 61 may be a Central Processing Unit (CPU). The Processor 61 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 62, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the obtaining module 1 and the allocating module 42 shown in fig. 4) corresponding to the virtual synchronous generator-based regional active frequency coordination control method in the embodiment of the present invention. The processor 61 executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory 62, that is, implements the virtual synchronous generator-based regional active frequency coordination control method in the above method embodiment.
The memory 62 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 61, and the like. Further, the memory 62 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 62 may optionally include memory located remotely from the processor 61, which may be connected to the processor 51 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 62, and when executed by the processor 61, perform a virtual synchronous generator-based regional active frequency coordination control method as in the embodiments shown in fig. 1 to 3.
The specific details of the control terminal may be understood by referring to the corresponding related descriptions and effects in the embodiments shown in fig. 1 to fig. 3, which are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.