CN117728510A - Method and device for controlling generator and nonvolatile storage medium - Google Patents

Method and device for controlling generator and nonvolatile storage medium Download PDF

Info

Publication number
CN117728510A
CN117728510A CN202311460479.2A CN202311460479A CN117728510A CN 117728510 A CN117728510 A CN 117728510A CN 202311460479 A CN202311460479 A CN 202311460479A CN 117728510 A CN117728510 A CN 117728510A
Authority
CN
China
Prior art keywords
generators
target
power
output
dividing
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
CN202311460479.2A
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.)
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Beijing Electric Power 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 State Grid Corp of China SGCC, State Grid Beijing Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202311460479.2A priority Critical patent/CN117728510A/en
Publication of CN117728510A publication Critical patent/CN117728510A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/30Reactive power compensation

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses a control method and device of a generator and a nonvolatile storage medium. Wherein the method comprises the following steps: determining the load power of a target area as target power; acquiring the respective capacities of a plurality of generators; determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators; dividing target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of parts of power to be output respectively correspond to the plurality of generators; and controlling the generators to output a plurality of power to be output respectively. The invention solves the technical problem that in the traditional generator control strategy, only part of generators can participate in system regulation, so that the regulation capacity is insufficient.

Description

Method and device for controlling generator and nonvolatile storage medium
Technical Field
The present invention relates to the field of generator control, and in particular, to a method and apparatus for controlling a generator, and a nonvolatile storage medium.
Background
With the rapid development of new energy power generation technology, a micro-grid integrating distributed power generators such as wind power generators, photovoltaics, energy storage and the like is receiving a great deal of attention. By means of the flexible and reliable micro-grid of the power electronic equipment, grid-connected power generation of renewable energy sources is achieved, negative influence of randomness and fluctuation of distributed power source output on the power grid is avoided, and energy utilization rate is improved. However, when the micro grid is operated in an island, it is difficult to coordinate and control the output power among a plurality of power sources, so that a plurality of generators cannot participate in system regulation together, and the micro grid cannot continuously and stably operate, and the system regulation capability is low.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a generator and a nonvolatile storage medium, which at least solve the technical problem that only part of generators in the traditional generator control strategy can participate in system regulation to cause insufficient regulation capacity.
According to an aspect of an embodiment of the present invention, there is provided a control method of a generator, including: determining the load power of a target area as target power; acquiring the respective capacities of a plurality of generators; determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators; dividing target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of parts of power to be output respectively correspond to the plurality of generators; and controlling the generators to output a plurality of power to be output respectively.
Optionally, dividing the target power into a plurality of to-be-output powers according to respective target coefficients of the plurality of generators includes: dividing the target power into a target active power and a target reactive power; dividing target active power into a plurality of active power to be output and dividing target reactive power into a plurality of reactive power to be output according to respective target coefficients of a plurality of generators, wherein the plurality of active power to be output comprises the plurality of active power to be output and the plurality of reactive power to be output.
Optionally, dividing the target power into the target active power and the target reactive power includes: establishing a virtual coordinate system; constructing a target virtual vector matched with the target power in a virtual coordinate system; and decomposing the target virtual vector in the virtual coordinate system to obtain a first virtual vector and a second virtual vector, wherein the first virtual vector corresponds to the target active power, and the second virtual vector corresponds to the target reactive power.
Optionally, dividing the target reactive power into a plurality of parts of reactive power to be output according to the target coefficients of the plurality of generators respectively, including: acquiring the respective line impedance of a plurality of generators; dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients of the generators and the line impedance of the generators.
Optionally, dividing the target reactive power into a plurality of to-be-output reactive powers according to the target coefficients corresponding to the plurality of generators and the line impedance of the plurality of generators, including: setting a plurality of virtual impedances in a plurality of generators respectively, wherein the plurality of generators are in one-to-one correspondence with the plurality of virtual impedances; adjusting the plurality of virtual impedances so that the total impedance of each of the plurality of generators meets a predetermined condition, wherein the total impedance of each of the plurality of generators is the sum of the line impedance of each of the plurality of generators and the virtual impedance corresponding to each of the generators; and dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients corresponding to the plurality of generators under the condition that the total impedance of each of the plurality of generators meets the preset condition.
Optionally, dividing the target active power into a plurality of active power to be output according to the target coefficients of the plurality of generators, including: acquiring the respective angular frequencies of a plurality of generators; and dividing the target active power into a plurality of active power to be output according to the target coefficients of the generators and the angular frequencies of the generators.
Optionally, determining the target coefficients of each of the plurality of generators based on the capacities of each of the plurality of generators includes: determining the total capacity of the plurality of generators according to the respective capacities of the plurality of generators; determining the proportion of the capacity of each of the plurality of generators in the total capacity to obtain a plurality of proportion values; and determining target coefficients of the generators according to the proportional values.
According to another aspect of the embodiment of the present invention, there is also provided a control device for a generator, including: the first determining module is used for determining the load power of the target area as target power; the acquisition module is used for acquiring the capacity of each of the plurality of generators; the second determining module is used for determining target coefficients of the generators according to the respective capacities of the generators; the distribution module is used for dividing the target power into a plurality of parts of power to be output according to the target coefficients of the generators, wherein the parts of power to be output correspond to the generators respectively; and the control module is used for controlling the plurality of generators to respectively output a plurality of power to be output.
According to still another aspect of the embodiments of the present invention, there is further provided a nonvolatile storage medium including a stored program, wherein when the program runs, a device on which the nonvolatile storage medium is controlled to execute the control method of any one of the generators described above.
According to still another aspect of the embodiments of the present invention, there is further provided a computer device, including a processor, configured to execute a program, where the program executes the method for controlling any one of the generators.
In the embodiment of the invention, a control mode of a generator is adopted, and the load power of a target area is determined to be the target power; acquiring the respective capacities of a plurality of generators; determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators; dividing target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of parts of power to be output respectively correspond to the plurality of generators; the multiple generators are controlled to output multiple power to be output respectively, so that the purpose that all the generators can participate in system adjustment is achieved, the technical effects of improving the system adjustment capability and the system stability are achieved, and the technical problem that only part of generators can participate in system adjustment in the traditional generator control strategy to cause insufficient adjustment capability is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 shows a hardware block diagram of a computer terminal for implementing a control method of a generator;
fig. 2 is a flow chart of a control method of a generator according to an embodiment of the present invention;
fig. 3 is a block diagram of a control device of a generator according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present invention, there is provided a control method embodiment of a generator, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
The method embodiment provided in the first embodiment of the present application may be executed in a mobile terminal, a computer terminal or a similar computing device. Fig. 1 shows a hardware block diagram of a computer terminal for implementing a control method of a generator. As shown in fig. 1, the computer terminal 10 may include one or more (shown as 102a, 102b, … …,102 n) processors (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. In addition, the method may further include: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power supply, and/or a camera. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuits described above may be referred to herein generally as "data processing circuits. The data processing circuit may be embodied in whole or in part in software, hardware, firmware, or any other combination. Furthermore, the data processing circuitry may be a single stand-alone processing module or incorporated, in whole or in part, into any of the other elements in the computer terminal 10. As referred to in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of the path of the variable resistor termination to interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the control method of the generator in the embodiment of the present invention, and the processor executes the software programs and modules stored in the memory 104, thereby executing various functional applications and data processing, that is, implementing the control method of the generator of the application program. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor, which may be connected to the computer terminal 10 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 display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10.
In the related art, a generator control strategy in the micro-grid comprises master-slave control, namely, when a plurality of generators are operated in parallel, one master generator controller is used for controlling the operation states and power output of other slave generators. However, in the conventional master-slave control, since the system stability is low due to the fact that the power cannot be precisely distributed, only the master generator participates in the system regulation when the load is increased, and the slave generator keeps the original running state unchanged. This results in a weak regulation capability of the conventional master-slave control strategy and low reliability of load power supply. The invention provides a control method of a generator, which solves the problems in the related art. Fig. 2 is a flow chart of a control method of a generator according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S201, determining the load power of the target area as the target power.
In this step, the load power required by the load in the target area is determined as the power required to be output by the generator, and in general, there are a plurality of generators to supply power to the load in the target area at the same time. The load in the target area can be analyzed, and the power required by the load can be obtained according to the type and the characteristics of the load. Acquiring the power required to be output by the generator can provide preconditions for subsequent power distribution.
Step S202, the capacities of the plurality of generators are obtained.
In this step, the respective capacities of the plurality of generators are obtained, the generators referred to herein are usually of a fixed capacity, the rated capacity has been determined at the time of design and manufacture, and in particular, the capacities of the generators can be obtained by looking at the identification on the generators. The capacity of the generator refers to the maximum electric power output by the generator, and the larger the capacity of the generator is, the higher the power that the generator can output. The capacity of each generator is obtained corresponding to the maximum power that each generator can output.
Step S203, determining target coefficients of the generators according to the capacities of the generators.
In the step, respective target coefficients of the generators are set according to the respective corresponding capacities of the generators, wherein the target coefficients are used as the basis for distributing target power. Specifically, assuming that the capacity ratio of the plurality of generators is 2:1:1, setting the ratio of target coefficients corresponding to the plurality of generators to be 2:1:1. Because the capacity of the generator represents the maximum power which can be output by the generator, the target coefficient is set according to the capacity, the power which needs to be output by each generator can be effectively distributed, and the condition that the generator with smaller capacity needs to output larger power is avoided, so that the generator system is in fault.
And S204, dividing the target power into a plurality of power to be output according to the target coefficients of the generators, wherein the power to be output corresponds to the generators.
In the step, the target power is also divided into a plurality of power to be output according to the proportion of the target coefficient of each generator, wherein the power to be output and the generator are in one-to-one correspondence. Specifically, assume that the ratio of target coefficients of three generators is 2:1:1, the total power required to be output is 8kw, and the power required to be output is divided into 4kw, 2kw and 2kw according to the proportion. According to the target coefficients corresponding to the generators, the power required to be output by each generator is distributed, and the proportion of the distributed power of each generator can be the same as the proportion of the target coefficient corresponding to each generator. Therefore, the output power of each generator is relatively balanced, and the phenomenon that one generator is overloaded or insufficient in load to cause the failure of the other generator and further cause the power failure of the whole system is avoided.
In step S205, a plurality of generators are controlled to output a plurality of power to be output respectively.
In the step, the generator is controlled to output the power to be output corresponding to the generator. Specifically, the output of the generator can be controlled by the virtual synchronous generator, and the output power can be controlled by adjusting the speed regulating device inside the virtual synchronous generator. The speed regulating device can dynamically regulate according to the load demand of the micro-grid, so that the rotating speed and the output power of the generator are kept stable. The output power of the generator can also be changed by adjusting the exciting current or voltage of the generator. Increasing the field current or voltage increases the output power of the generator, while decreasing the field current or voltage decreases the output power. The virtual synchronous generator system can coordinate and adjust the output power of a plurality of generators in the micro-grid to meet the load demand, and the technical effect that different generators can output corresponding power is achieved.
Through the steps, the aim that all generators can participate in system regulation can be achieved, so that the technical effects of improving the system regulation capability and the system stability are achieved, and the technical problem that only part of generators can participate in the system regulation in the traditional generator control strategy to cause insufficient regulation capability is solved.
As an alternative embodiment, dividing the target power into a plurality of power to be output according to the target coefficients of the plurality of generators, includes: dividing the target power into a target active power and a target reactive power; dividing target active power into a plurality of active power to be output and dividing target reactive power into a plurality of reactive power to be output according to respective target coefficients of a plurality of generators, wherein the plurality of active power to be output comprises the plurality of active power to be output and the plurality of reactive power to be output.
Optionally, the target power is divided into a target active power and a target reactive power. And then dividing the target active power and the target reactive power into a plurality of active power to be output and a plurality of reactive power to be output according to the target coefficients corresponding to the generators, wherein each generator corresponds to one active power to be output and one reactive power to be output. Specifically, the target power may be decoupled into the target active power and the target reactive power through virtual coordinate transformation, and then the target active power and the target reactive power are respectively divided into the active power to be output and the reactive power to be output corresponding to each generator according to the target coefficient. Decoupling the total power into active and reactive power allows a better distribution of energy, wherein active power represents the electrical energy actually performing useful work, which is directly related to the work capacity and efficacy of the load; reactive power is then used to maintain the stability of the power system, voltage regulation and reactive power requirements can be met by control. After decoupling, the energy distribution can be measured and optimized more accurately, the purpose of improving the energy utilization efficiency is achieved, and the technical effect of improving the system stability is achieved.
As an alternative embodiment, dividing the target power into a target active power and a target reactive power includes: establishing a virtual coordinate system; constructing a target virtual vector matched with the target power in a virtual coordinate system; and decomposing the target virtual vector in the virtual coordinate system to obtain a first virtual vector and a second virtual vector, wherein the first virtual vector corresponds to the target active power, and the second virtual vector corresponds to the target reactive power.
Alternatively, a virtual coordinate system may be constructed in which a target virtual vector matching the target power is constructed. Then the target virtual vector is decomposed in a virtual coordinate system to obtain a first virtual vector and a second virtual vector. The first virtual image is a virtual vector corresponding to the target active power, and the second virtual image is a virtual vector corresponding to the target reactive power. Specifically, the total power is converted into a virtual vector, and a matrix transformation method can be used. The power matrix may first be constructed from the definition of real and reactive power. A common form of power matrix is s=p+jq, where S is total power, P is active power, Q is reactive power, j is an imaginary unit; a transformation relationship is determined that converts the power matrix into a virtual vector. This is typically achieved by polar representation in complex operations. Let the polar coordinates of the target power S be denoted s= |s|angle θ, where |s| denotes the magnitude and θ denotes the phase angle. The virtual vector of target power may be represented as v= |s|e j theta, where e j theta represents a unit complex number. The virtual vector corresponding to the target power is decomposed on a coordinate system, and a vector perpendicular to the x axis can be drawn on the established virtual coordinate system, wherein the real part is P, and the imaginary part is 0. This vector is the first virtual vector P' of active power; a vector perpendicular to the y-axis is plotted on the coordinate system with the real part being 0 and the imaginary part being Q. This vector is the second virtual vector Q' of reactive power. The length of the first virtual vector is the value of the target active power, and the length of the second virtual vector is the value of the target reactive power. The virtual vector transformation is used for decoupling target power into target active power and target reactive power, so that the stability of the system is improved, and meanwhile, conditions are created for accurately distributing the target active power and the target reactive power subsequently.
As an alternative embodiment, dividing the target reactive power into a plurality of reactive power to be output according to respective target coefficients of the plurality of generators includes: acquiring the respective line impedance of a plurality of generators; dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients of the generators and the line impedance of the generators.
Optionally, a line impedance of each of the plurality of generators is obtained, wherein the line impedance refers to a total impedance of an internal circuit of the generator. The target reactive power may be divided into reactive power to be output corresponding to each generator according to the determined target coefficient and the line impedance of each generator. Specifically, it can be according to formula D q (U 0A -U n ) =q, where D q As target coefficient, U n For the rated amplitude of the voltage, U 0A As the generator voltage, Q is the reactive power to be output, since the system voltage is not a global variable, related to the line impedance, so the different generator voltages are also different, in particular, U 0A =U PCC +IZ, where U PCC The voltage of the public connection point is that I is the current in the generator, Z is the line impedance, and the voltage caused by different line impedances is different, so that the accurate distribution of target reactive power cannot be realized, and therefore, the virtual impedance can be selected to enable the total impedance of the generator to meet the preset condition, and the voltage in the system is equal. The target reactive power can be divided into a plurality of reactive power to be output according to the line impedance and the target coefficient.
As an alternative embodiment, dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients corresponding to the plurality of generators and the line impedance of the plurality of generators, includes: setting a plurality of virtual impedances in a plurality of generators respectively, wherein the plurality of generators are in one-to-one correspondence with the plurality of virtual impedances; adjusting the plurality of virtual impedances so that the total impedance of each of the plurality of generators meets a predetermined condition, wherein the total impedance of each of the plurality of generators is the sum of the line impedance of each of the plurality of generators and the virtual impedance corresponding to each of the generators; and dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients corresponding to the plurality of generators under the condition that the total impedance of each of the plurality of generators meets the preset condition.
Optionally, a virtual impedance is set inside each generator, the virtual impedance is adjusted to meet a predetermined condition, the target reactive power can be divided into a plurality of reactive powers to be output according to the target coefficient corresponding to each generator, wherein the virtual impedance is an electrical impedance simulated by the control system, specifically, the virtual impedance is set inside the generator, and the voltages inside the generators are equalized by controlling the virtual impedance, even if D q (U 0A -U n ) U in =q 0A Are all equal, and thus can be given an equationBecause the sum of the reactive power to be output of all the generators is equal to the target reactive power, the corresponding reactive power to be output of each generator can be obtained according to the target coefficient and the target reactive power. Wherein, the control of the virtual impedance to reach the predetermined condition can first measure the internal voltage of each phase of the generator. This may be achieved by a sensor or measuring device for acquiring a real-time value of the voltage; the difference (deviation) between the measured internal voltages of the respective phases is then calculated. A suitable algorithm may be employed, such as averaging or calculating the relative error; and setting proper virtual impedance according to the calculated voltage difference value to realize voltage equalization. The virtual impedance and the voltage difference can be in a proportional relation, namely the larger the voltage difference is, the larger the virtual impedance is, and the voltage is adjusted to reach a preset condition in a feedback control mode. The virtual impedance is set, so that the technical effect of accurately distributing the target reactive power can be realized.
As an alternative embodiment, dividing the target active power into a plurality of active power to be output according to respective target coefficients of the plurality of generators includes: acquiring the respective angular frequencies of a plurality of generators; and dividing the target active power into a plurality of active power to be output according to the target coefficients of the generators and the angular frequencies of the generators.
Optionally, the angular frequencies of the generators are obtained, and the target active power can be divided into a plurality of active power to be output according to the target coefficients and the angular frequencies corresponding to the generators, wherein the active power to be output corresponds to the generators. Specifically, it can be according to formula D p ω n ·(ω nA ) Obtained by =p, where P is the active power to be output, D p For the target coefficient omega n For the nominal angular frequency, ω A As the angular frequencies of the generators are equal everywhere because the steady-state frequencies of the system are global variables, the angular frequencies corresponding to different generators are equal, so that the equations about the target coefficients of the N generators and the active power to be output can be obtained in an arrangement way:the sum of the active power to be output of all the generators is equal to the target active power, and the value of the active power to be output corresponding to each generator can be calculated according to the target coefficient and the value of the target active power.
As an alternative embodiment, determining the target coefficients of each of the plurality of generators based on the capacities of each of the plurality of generators includes: determining the total capacity of the plurality of generators according to the respective capacities of the plurality of generators; determining the proportion of the capacity of each of the plurality of generators in the total capacity to obtain a plurality of proportion values; and determining target coefficients of the generators according to the proportional values.
Optionally, calculating the sum of the capacities of the plurality of generators, calculating the proportion of the respective capacities of the plurality of generators in the total capacity, and determining the target coefficient corresponding to each of the plurality of generators according to the obtained proportion value. Specifically, the target coefficient may be a droop coefficient, which is a parameter for describing a relationship between a generator voltage and a load in the electric power system, and the droop coefficients corresponding to the generators are set according to a ratio of the capacities of the generators, so that the ratio of the droop coefficients is the same as the capacity of the generators. The droop factor does not change because the capacity of the generator is typically unchanged. Wherein, the sag factor can be set by a worker in a controller of the generator. The sagging coefficient is set according to the capacity of the generator, so that the power output by the generator can be matched with the capacity of the generator, the phenomenon that the generator with larger capacity outputs smaller power and the generator with smaller capacity outputs larger power is avoided, and further the resource waste and the power supply of a target area affected by the failure of the generator are avoided.
The control strategy of the micro-grid island operation comprises master-slave control. Master-slave control refers to the difference between the master and slave power supplies when the multi-power island is running. The main power supply is the only one, and is controlled by a constant voltage source to provide voltage and frequency support for the slave generator. The number of slave generators is not limited and a constant power output may be achieved from an external voltage frequency reference. The master-slave control has higher capacity requirement on the master generator, but because the slave generator has smaller capacity, the slave generator cannot participate in system adjustment due to the fact that the slave generator cannot accurately distribute power, and therefore the adjustment capability of the system is insufficient. According to the scheme, the technical effect of effectively distributing the power required to be output by each generator is achieved by setting parameters according to the capacity, and the problem that the generator system fails due to the fact that the generator with smaller capacity needs to output larger power is avoided. And the target power is decoupled into the target active power and the target reactive power, so that the technical effect of improving the system stability is realized, the virtual impedance is introduced, and the technical effect of accurately distributing the power is realized.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
From the above description of the embodiments, it will be clear to a person skilled in the art that the control method of the generator according to the above embodiments may be implemented by means of software plus a necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
According to an embodiment of the present invention, there is further provided a control device for a generator for implementing the control method for a generator, and fig. 3 is a block diagram of a control device for a generator according to an embodiment of the present invention, as shown in fig. 3, where the control device for a generator includes: the first determination module 31, the acquisition module 32, the second determination module 33, the distribution module 34 and the control module 35 are explained below as a control device of the generator.
The first determining module 31 is configured to determine the load power of the target area as the target power.
The acquisition module 32 is connected to the first determination module 31 and is configured to acquire the capacities of the plurality of generators.
The second determining module 33 is connected to the obtaining module 32, and is configured to determine target coefficients of each of the plurality of generators according to the respective capacities of the plurality of generators.
The distribution module 34 is connected to the second determining module 33, and is configured to divide the target power into a plurality of to-be-output powers according to respective target coefficients of the plurality of generators, where the plurality of to-be-output powers respectively correspond to the plurality of generators.
The control module 35 is connected with the distribution module 34 and is used for controlling the plurality of generators to respectively output a plurality of power to be output.
Here, it should be noted that the first determining module 31, the obtaining module 32, the second determining module 33, the distributing module 34, and the control module 35 correspond to steps S201 to S205 in the embodiment, and the plurality of modules are the same as the examples and the application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the above-described module may be operated as a part of the apparatus in the computer terminal 10 provided in the embodiment.
Embodiments of the present invention may provide a computer device, optionally in this embodiment, the computer device may be located in at least one network device of a plurality of network devices of a computer network. The computer device includes a memory and a processor.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a generator in the embodiments of the present invention, and the processor executes the software programs and modules stored in the memory, thereby executing various functional applications and data processing, that is, implementing the method for controlling a generator described above. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located relative to the processor, which may be connected to the computer terminal 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 processor may call the information and the application program stored in the memory through the transmission device to perform the following steps: determining the load power of a target area as target power; acquiring the respective capacities of a plurality of generators; determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators; dividing target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of parts of power to be output respectively correspond to the plurality of generators; and controlling the generators to output a plurality of power to be output respectively.
Optionally, the above processor may further execute program code for: dividing the target power into a plurality of power to be output according to the target coefficients of the generators respectively, wherein the method comprises the following steps: dividing the target power into a target active power and a target reactive power; dividing target active power into a plurality of active power to be output and dividing target reactive power into a plurality of reactive power to be output according to respective target coefficients of a plurality of generators, wherein the plurality of active power to be output comprises the plurality of active power to be output and the plurality of reactive power to be output.
Optionally, the above processor may further execute program code for: dividing the target power into a target active power and a target reactive power, comprising: establishing a virtual coordinate system; constructing a target virtual vector matched with the target power in a virtual coordinate system; and decomposing the target virtual vector in the virtual coordinate system to obtain a first virtual vector and a second virtual vector, wherein the first virtual vector corresponds to the target active power, and the second virtual vector corresponds to the target reactive power.
Optionally, the above processor may further execute program code for: dividing the target reactive power into a plurality of parts of reactive power to be output according to the target coefficients of the generators, wherein the method comprises the following steps: acquiring the respective line impedance of a plurality of generators; dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients of the generators and the line impedance of the generators.
Optionally, the above processor may further execute program code for: dividing the target reactive power into a plurality of parts of reactive power to be output according to the target coefficients corresponding to the plurality of generators and the line impedance of the plurality of generators, wherein the method comprises the following steps: setting a plurality of virtual impedances in a plurality of generators respectively, wherein the plurality of generators are in one-to-one correspondence with the plurality of virtual impedances; adjusting the plurality of virtual impedances so that the total impedance of each of the plurality of generators meets a predetermined condition, wherein the total impedance of each of the plurality of generators is the sum of the line impedance of each of the plurality of generators and the virtual impedance corresponding to each of the generators; and dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients corresponding to the plurality of generators under the condition that the total impedance of each of the plurality of generators meets the preset condition.
Optionally, the above processor may further execute program code for: dividing the target active power into a plurality of active power to be output according to the target coefficients of the generators, wherein the method comprises the following steps: acquiring the respective angular frequencies of a plurality of generators; and dividing the target active power into a plurality of active power to be output according to the target coefficients of the generators and the angular frequencies of the generators.
Optionally, the above processor may further execute program code for: determining respective target coefficients for the plurality of generators based on respective capacities of the plurality of generators, comprising: determining the total capacity of the plurality of generators according to the respective capacities of the plurality of generators; determining the proportion of the capacity of each of the plurality of generators in the total capacity to obtain a plurality of proportion values; and determining target coefficients of the generators according to the proportional values.
By adopting the embodiment of the invention, a scheme for controlling the generator is provided. Determining the load power of a target area as target power; acquiring the respective capacities of a plurality of generators; determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators; dividing target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of parts of power to be output respectively correspond to the plurality of generators; the multiple generators are controlled to output multiple power to be output respectively, so that the purpose that all the generators can participate in system adjustment is achieved, the technical effects of improving the system adjustment capability and the system stability are achieved, and the technical problem that only part of generators can participate in system adjustment in the traditional generator control strategy to cause insufficient adjustment capability is solved.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute on associated hardware, the program may be stored in a non-volatile storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Embodiments of the present invention also provide a nonvolatile storage medium. Alternatively, in the present embodiment, the above-described nonvolatile storage medium may be used to store the program code executed by the control method of the generator provided in the above-described embodiment.
Alternatively, in this embodiment, the above-mentioned nonvolatile storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: acquiring the respective capacities of a plurality of generators; determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators; dividing target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of parts of power to be output respectively correspond to the plurality of generators; and controlling the generators to output a plurality of power to be output respectively.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: dividing the target power into a plurality of power to be output according to the target coefficients of the generators respectively, wherein the method comprises the following steps: dividing the target power into a target active power and a target reactive power; dividing target active power into a plurality of active power to be output and dividing target reactive power into a plurality of reactive power to be output according to respective target coefficients of a plurality of generators, wherein the plurality of active power to be output comprises the plurality of active power to be output and the plurality of reactive power to be output.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: dividing the target power into a target active power and a target reactive power, comprising: establishing a virtual coordinate system; constructing a target virtual vector matched with the target power in a virtual coordinate system; and decomposing the target virtual vector in the virtual coordinate system to obtain a first virtual vector and a second virtual vector, wherein the first virtual vector corresponds to the target active power, and the second virtual vector corresponds to the target reactive power.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: dividing the target reactive power into a plurality of parts of reactive power to be output according to the target coefficients of the generators, wherein the method comprises the following steps: acquiring the respective line impedance of a plurality of generators; dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients of the generators and the line impedance of the generators.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: dividing the target reactive power into a plurality of parts of reactive power to be output according to the target coefficients corresponding to the plurality of generators and the line impedance of the plurality of generators, wherein the method comprises the following steps: setting a plurality of virtual impedances in a plurality of generators respectively, wherein the plurality of generators are in one-to-one correspondence with the plurality of virtual impedances; adjusting the plurality of virtual impedances so that the total impedance of each of the plurality of generators meets a predetermined condition, wherein the total impedance of each of the plurality of generators is the sum of the line impedance of each of the plurality of generators and the virtual impedance corresponding to each of the generators; and dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients corresponding to the plurality of generators under the condition that the total impedance of each of the plurality of generators meets the preset condition.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: dividing the target active power into a plurality of active power to be output according to the target coefficients of the generators, wherein the method comprises the following steps: acquiring the respective angular frequencies of a plurality of generators; and dividing the target active power into a plurality of active power to be output according to the target coefficients of the generators and the angular frequencies of the generators.
Optionally, in the present embodiment, the non-volatile storage medium is arranged to store program code for performing the steps of: determining respective target coefficients for the plurality of generators based on respective capacities of the plurality of generators, comprising: determining the total capacity of the plurality of generators according to the respective capacities of the plurality of generators; determining the proportion of the capacity of each of the plurality of generators in the total capacity to obtain a plurality of proportion values; and determining target coefficients of the generators according to the proportional values.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be 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 through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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 non-volatile 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 Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method of controlling a generator, comprising:
determining the load power of a target area as target power;
acquiring the respective capacities of a plurality of generators;
determining respective target coefficients of the plurality of generators according to respective capacities of the plurality of generators;
dividing the target power into a plurality of parts of power to be output according to respective target coefficients of the plurality of generators, wherein the parts of power to be output respectively correspond to the plurality of generators;
and controlling the generators to output the power to be output respectively.
2. The method of claim 1, wherein dividing the target power into a plurality of power to be output according to the target coefficients of the plurality of generators, respectively, comprises:
dividing the target power into a target active power and a target reactive power;
dividing the target active power into a plurality of active power to be output and dividing the target reactive power into a plurality of reactive power to be output according to respective target coefficients of the plurality of generators, wherein the plurality of active power to be output comprises the plurality of active power to be output and the plurality of reactive power to be output.
3. The method of claim 2, wherein the dividing the target power into a target active power and a target reactive power comprises:
establishing a virtual coordinate system;
constructing a target virtual vector matched with the target power in the virtual coordinate system;
and decomposing the target virtual vector in the virtual coordinate system to obtain a first virtual vector and a second virtual vector, wherein the first virtual vector corresponds to the target active power, and the second virtual vector corresponds to the target reactive power.
4. The method of claim 2, wherein dividing the target reactive power into a plurality of reactive power to be output according to the target coefficients of the plurality of generators, respectively, comprises:
acquiring the respective line impedance of the plurality of generators;
dividing the target reactive power into the multiple reactive power to be output according to the target coefficients of the multiple generators and the line impedance of the multiple generators.
5. The method of claim 4, wherein dividing the target reactive power into the plurality of reactive power to be output according to the target coefficients corresponding to the plurality of generators and the line impedances of the plurality of generators, comprises:
Setting a plurality of virtual impedances in the plurality of generators respectively, wherein the plurality of generators are in one-to-one correspondence with the plurality of virtual impedances;
adjusting the plurality of virtual impedances so that the total impedance of each of the plurality of generators meets a predetermined condition, wherein the total impedance of each of the plurality of generators is the sum of the line impedance of each of the plurality of generators and the virtual impedance corresponding to each of the generators;
and dividing the target reactive power into a plurality of to-be-output reactive powers according to target coefficients corresponding to the plurality of generators under the condition that the total impedance of each of the plurality of generators meets the preset condition.
6. The method of claim 2, wherein dividing the target active power into a plurality of active power to be output according to the target coefficients of the plurality of generators, respectively, comprises:
acquiring the respective angular frequencies of the plurality of generators;
dividing the target active power into the multiple active power to be output according to the target coefficients of the multiple generators and the angular frequencies of the multiple generators.
7. The method of claim 1, wherein said determining the respective target coefficients of the plurality of generators based on the respective capacities of the plurality of generators comprises:
Determining a total capacity of the plurality of generators according to the respective capacities of the plurality of generators;
determining the proportion of the capacity of each of the plurality of generators in the total capacity to obtain a plurality of proportion values;
and determining target coefficients of the generators according to the proportional values.
8. A control device for a generator, comprising:
the first determining module is used for determining the load power of the target area as target power;
the acquisition module is used for acquiring the capacity of each of the plurality of generators;
the second determining module is used for determining target coefficients of the generators according to the respective capacities of the generators;
the distribution module is used for dividing the target power into a plurality of parts of power to be output according to the target coefficients of the generators, wherein the parts of power to be output correspond to the generators respectively;
and the control module is used for controlling the generators to output the power to be output respectively.
9. A non-volatile storage medium, characterized in that the non-volatile storage medium comprises a stored program, wherein the device in which the non-volatile storage medium is controlled to execute the control method of the generator according to any one of claims 1 to 7 when the program is run.
10. A computer device, comprising: a memory and a processor, wherein the memory is configured to store,
the memory stores a computer program;
the processor being configured to execute a computer program stored in the memory, the computer program, when run, causing the processor to execute the method of controlling the generator of any one of claims 1 to 7.
CN202311460479.2A 2023-11-03 2023-11-03 Method and device for controlling generator and nonvolatile storage medium Pending CN117728510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311460479.2A CN117728510A (en) 2023-11-03 2023-11-03 Method and device for controlling generator and nonvolatile storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311460479.2A CN117728510A (en) 2023-11-03 2023-11-03 Method and device for controlling generator and nonvolatile storage medium

Publications (1)

Publication Number Publication Date
CN117728510A true CN117728510A (en) 2024-03-19

Family

ID=90198669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311460479.2A Pending CN117728510A (en) 2023-11-03 2023-11-03 Method and device for controlling generator and nonvolatile storage medium

Country Status (1)

Country Link
CN (1) CN117728510A (en)

Similar Documents

Publication Publication Date Title
CN110460099B (en) PCC voltage transient state compensation feed-forward control method and system for common load common connection point
CN107342586B (en) Method and device for determining static equivalence of power distribution network
US11942782B2 (en) Grid asset manager
US10971931B2 (en) Decentralized hardware-in-the-loop scheme
US9985435B2 (en) Power sharing for DC microgrids
CN108448563B (en) Distributed cooperative control system for direct-current micro-grid and direct-current micro-grid
Nguyen et al. A distributed hierarchical control framework in islanded microgrids and its agent-based design for cyber–physical implementations
CN113315166B (en) Multi-virtual synchronous machine inertia configuration method and device and terminal equipment
Paduani et al. Small-signal stability of islanded-microgrids with DC side dynamics of inverters and saturation of current controllers
KR20200073039A (en) System and Method for Controlling Virtual Multi Slack Droop Based on Power Sensitivity Analysis
CN111009917B (en) Inverter distributed control method and system
CN117728510A (en) Method and device for controlling generator and nonvolatile storage medium
CN112366713B (en) AC-DC series-parallel power grid static voltage stability calculation method and device and storage medium
Xia et al. Optimal secondary control of islanded AC microgrids with communication time-delay based on multi-agent deep reinforcement learning
CN110350507B (en) Method and device for determining equivalent capacitance of direct-current microgrid and computer-readable storage medium
Lai et al. Fully-distributed gossip control for voltage regulation of inverter-based DRs in P2P microgrids
US10656609B2 (en) Plug-and-play reconfigurable electric power microgrids
Huang et al. A consensus based adaptive virtual capacitor control strategy for reactive power sharing and voltage restoration in microgrids
CN106372372B (en) It is a kind of meter and network loss variable frequency dynamic simulation analysis method
Wu et al. Voltage and reactive power control of microgrids based on distributed consensus algorithm
CN112821413A (en) Method, device, equipment and storage medium for controlling secondary voltage of micro-grid
CN114966296B (en) Method and device for positioning oscillation source
CN114665493B (en) Control method and device of energy storage flywheel system and electronic equipment
CN117977625A (en) Inertia damping parameter setting method and device and nonvolatile storage medium
Vergara et al. Generalization of the λ-method for decentralized economic dispatch considering reactive resources

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