Disclosure of Invention
The invention mainly aims to provide an emergency energy scheduling method, system and equipment of a virtual power plant, and aims to solve the technical problem that power cannot be stably supplied to the outside when lower connecting equipment of the virtual power plant fails in the prior art.
In order to achieve the purpose, the invention provides an emergency energy scheduling method, system and device of a virtual power plant, wherein the method comprises the following steps:
detecting whether the first total output power of the virtual power plant is smaller than a preset trading power;
when the first total output power is smaller than the preset transaction power, starting a first energy storage device, and detecting the output power of the first energy storage device;
when the output power of first energy storage equipment equals the lost power of virtual power plant, increase the output power of the microgrid that virtual power plant connects down to the equivalent reduces the output power of first energy storage equipment, wherein, lost power does predetermine transaction power with first total output power's difference.
Preferably, the step of increasing the output power of the microgrid comprises:
acquiring the output power of each microgrid and the maximum power of each microgrid;
calculating the target power of each microgrid according to the output power and the maximum power of each microgrid;
and increasing the output power of the corresponding microgrid according to the target power.
Preferably, the step of turning on the first energy storage device when the first total output power is smaller than the preset transaction power includes:
when the first total output power is smaller than the preset transaction power, acquiring a power supply fault reason;
and when the power supply fault is the microgrid fault, starting first energy storage equipment of the microgrid with the fault under the same transformer.
Preferably, the target power of each microgrid is calculated according to the output power and the maximum power of each microgrid by the following formula,
wherein, PNIs the target power of the Nth microgrid, PLACKTo lack power, PMAXThe maximum power of the nth microgrid; pOUTThe output power of the Nth microgrid; pSUMAnd reserving power for the total micro-grid.
Preferably, the output power of the first energy storage device is reduced by the equation,
PCH+PM=PLACK;
wherein, PCHIs the output power, P, of the first energy storage deviceMFor total increase of output power of all microgrids, PLACKIs the power loss.
Preferably, after the step of increasing the output power of the microgrid connected to the virtual power plant and decreasing the output power of the first energy storage device by an equal amount, the method further comprises:
detecting whether the output power of each microgrid after being increased is correspondingly equal to the maximum power of each microgrid;
when the output power of each microgrid after being increased is equal to the maximum power corresponding to each microgrid, detecting whether a second total output power of the virtual power plant is smaller than the preset transaction power, wherein the second total output power is the total output power of the virtual power plant after the output power of each microgrid is increased;
and when the second total output power is smaller than the preset transaction power, starting second energy storage equipment.
Preferably, after the step of turning on the second energy storage device, the method further comprises:
detecting whether a third total output power of the virtual power plant is smaller than the preset transaction power, wherein the third total output power is the total output power of the virtual power plant after the second energy storage device is started;
and when the third total output power is smaller than the preset transaction power, sending a load shedding instruction to each microgrid so that each microgrid carries out sectional shedding on the load.
Preferably, the load includes at least one of a non-productive load, an auxiliary load, a main production load, and a safety guarantee load.
In addition, to achieve the above object, the present invention further provides an emergency energy scheduling system of a virtual power plant, including:
the first power detection module is used for detecting whether the first total output power of the virtual power plant is smaller than the preset transaction power;
the first equipment starting module is used for starting first energy storage equipment and detecting the output power of the first energy storage equipment when the first total output power is smaller than the preset transaction power;
the power adjusting module is used for increasing the output power of the microgrid connected with the virtual power plant when the output power of the first energy storage device is equal to the loss power of the virtual power plant, and reducing the output power of the first energy storage device in an equivalent manner, wherein the loss power is the preset transaction power and the first difference of the total output power.
In addition, to achieve the above object, the present invention further provides an emergency energy scheduling device of a virtual power plant, including: the virtual power plant emergency energy scheduling method comprises a memory, a processor and an emergency energy scheduling program of the virtual power plant, wherein the emergency energy scheduling program of the virtual power plant is stored in the memory and can run on the processor, and the emergency energy scheduling program of the virtual power plant is configured to realize the steps of the virtual power plant emergency energy scheduling method.
The method comprises the steps of detecting whether first total output power of a virtual power plant is smaller than preset transaction power; when the first total output power is smaller than the preset transaction power, starting a first energy storage device, and detecting the output power of the first energy storage device; when the output power of the first energy storage equipment is equal to the loss power of the virtual power plant, the output power of the microgrid connected with the virtual power plant is increased, and the output power of the first energy storage equipment is reduced in an equivalent manner. When the lower connection equipment of the virtual power plant breaks down, the first energy storage equipment is adopted to supplement the missing power, then the power supply of the missing power is switched to the microgrid from the first energy storage equipment by controlling the power of the microgrid, the response delay is reduced, the stable external power supply is realized, and the guarantee is provided for external power transaction.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an emergency energy scheduling device of a virtual power plant in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the emergency energy scheduling apparatus of the virtual power plant may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the emergency energy scheduling apparatus of the virtual power plant, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is one type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an emergency energy scheduler of a virtual power plant.
In the emergency energy scheduling apparatus of the virtual power plant shown in fig. 1, the network interface 1004 is mainly used for data communication with an external network; the user interface 1003 is mainly used for receiving input instructions of a user; the emergency energy scheduling device of the virtual power plant calls the emergency energy scheduling program of the virtual power plant stored in the memory 1005 through the processor 1001 and performs the following operations:
detecting whether the first total output power of the virtual power plant is smaller than a preset trading power;
when the first total output power is smaller than the preset transaction power, starting a first energy storage device, and detecting the output power of the first energy storage device;
when the output power of first energy storage equipment equals the lost power of virtual power plant, increase the output power of the microgrid that virtual power plant connects down to the equivalent reduces the output power of first energy storage equipment, wherein, lost power does predetermine transaction power with first total output power's difference.
Further, the processor 1001 may call the emergency energy scheduler of the virtual power plant stored in the memory 1005, and also perform the following operations:
acquiring the output power of each microgrid and the maximum power of each microgrid;
calculating the target power of each microgrid according to the output power and the maximum power of each microgrid;
and increasing the output power of the corresponding microgrid according to the target power.
Further, the processor 1001 may call the emergency energy scheduler of the virtual power plant stored in the memory 1005, and also perform the following operations:
when the first total output power is smaller than the preset transaction power, acquiring a power supply fault reason;
and when the power supply fault is the microgrid fault, starting first energy storage equipment of the microgrid with the fault under the same transformer.
Further, the processor 1001 may call the emergency energy scheduler of the virtual power plant stored in the memory 1005, and also perform the following operations:
calculating the target power of each microgrid according to the output power and the maximum power of each microgrid through the following formula,
wherein, PNIs the target power of the Nth microgrid, PLACKTo lack power, PMAXThe maximum power of the nth microgrid; pOUTThe output power of the Nth microgrid; pSUMAnd reserving power for the total micro-grid.
Further, the processor 1001 may call the emergency energy scheduler of the virtual power plant stored in the memory 1005, and also perform the following operations:
the output power of the first energy storage device is reduced by the equation,
PCH+PM=PLACK;
wherein, PCHIs the output power, P, of the first energy storage deviceMFor total increase of output power of all microgrids, PLACKIs the power loss.
Further, the processor 1001 may call the emergency energy scheduler of the virtual power plant stored in the memory 1005, and also perform the following operations:
detecting whether the output power of each microgrid after being increased is correspondingly equal to the maximum power of each microgrid;
when the output power of each microgrid after being increased is equal to the maximum power corresponding to each microgrid, detecting whether a second total output power of the virtual power plant is smaller than the preset transaction power, wherein the second total output power is the total output power of the virtual power plant after the output power of each microgrid is increased;
and when the second total output power is smaller than the preset transaction power, starting second energy storage equipment.
Further, the processor 1001 may call the emergency energy scheduler of the virtual power plant stored in the memory 1005, and also perform the following operations:
detecting whether a third total output power of the virtual power plant is smaller than the preset transaction power, wherein the third total output power is the total output power of the virtual power plant after the second energy storage device is started;
and when the third total output power is smaller than the preset transaction power, sending a load shedding instruction to each microgrid so that each microgrid carries out sectional shedding on the load.
In the embodiment, whether the first total output power of the virtual power plant is smaller than the preset transaction power is detected; when the first total output power is smaller than the preset transaction power, starting a first energy storage device, and detecting the output power of the first energy storage device; when the output power of the first energy storage equipment is equal to the loss power of the virtual power plant, the output power of the microgrid connected with the virtual power plant is increased, and the output power of the first energy storage equipment is reduced in an equivalent manner. When the lower connection equipment of the virtual power plant breaks down, the first energy storage equipment is adopted to supplement the missing power, then the power supply of the missing power is switched to the microgrid from the first energy storage equipment by controlling the power of the microgrid, the response delay is reduced, the stable external power supply is realized, and the guarantee is provided for external power transaction.
Based on the hardware structure, the embodiment of the emergency energy scheduling method of the virtual power plant is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of an emergency energy scheduling method of a virtual power plant according to the present invention.
In a first embodiment, the emergency energy scheduling method of the virtual power plant includes the following steps:
s10: detecting whether the first total output power of the virtual power plant is smaller than a preset trading power;
it can be understood that the preset transaction power refers to power which needs to be provided when the virtual power plant performs power transaction externally, the total output power refers to the sum of output powers of all devices connected below the virtual power plant, and the first total output power refers to the sum of output powers of all devices connected below the virtual power plant before emergency energy scheduling is performed by using the scheme.
S20: when the first total output power is smaller than the preset transaction power, starting a first energy storage device, and detecting the output power of the first energy storage device;
it should be understood that, when any one of the devices connected to the virtual power plant fails to supply power normally, for example, a certain microgrid or photovoltaic cannot meet a power generation requirement according to an expected value or stops supplying power unexpectedly, the first total output power is smaller than the preset transaction power, so that the power transaction of the virtual power plant faces a risk of failure.
It should be noted that the first energy storage device is an emergency energy storage device, has the characteristics of rapid response, small time delay and the like, and is used as a transition device for temporary power supply when the lower connection device of the virtual power plant cannot supply power and cannot rapidly use the microgrid to compensate for the missing power. The compensation missing power is the difference between preset transaction power and the first total output power.
As an embodiment, when the first total output power is less than the preset transaction power, the reason of the power supply fault may be obtained; and when the power supply fault is the microgrid fault, starting first energy storage equipment of the microgrid with the fault under the same transformer.
In the specific implementation, the operation state instructions fed back by each lower connection device are obtained in real time, the fault instructions are searched from the operation state instructions, and the power supply fault reasons are judged according to the fault instructions.
It should be noted that, by using the first energy storage device under the same transformer as the failed microgrid, the impact on the voltage or power of the grid-connected point under the transformer can be effectively reduced, and the influence on the transformer is reduced.
S30: when the output power of first energy storage equipment equals the lost power of virtual power plant, increase the output power of the microgrid that virtual power plant connects down to the equivalent reduces the output power of first energy storage equipment, wherein, lost power does predetermine transaction power with first total output power's difference.
It should be noted that due to complexity of the microgrid load, in the energy scheduling, the power response is slow, the time delay is high, after the first energy storage device is turned on, when the output power of the first energy storage device tends to be stable and reaches the missing power, a power increase instruction is started to be sent to the microgrid, the output power of the microgrid is increased, a power decrease instruction is sent to the first energy storage device, and the output power of the first energy storage device is decreased until the first energy storage device quits power supply.
Referring to fig. 3, fig. 3 is a power switching diagram of the first energy storage device exiting and the piconet responding.
In specific implementation, the output power of the first energy storage device is adjusted in real time according to real-time monitoring of increment of the output power of the microgrid, so that the purpose of seamless connection can be achieved, and a specific control equation is shown as follows:
PCH+PM=PLACK;
wherein, PCHIs the output power, P, of the first energy storage deviceMIs the total increment of the output power of the microgrid.
As an embodiment, the step of increasing the output power of the micro-grid includes obtaining the output power of each micro-grid and the maximum power of each micro-grid; calculating the target power of each microgrid according to the output power and the maximum power of each microgrid; and increasing the output power of the corresponding microgrid according to the target power.
Specifically, the target power of each microgrid is calculated according to the output power and the maximum power of each microgrid through the following formula,
wherein, PNFor the target power of the nth piconet,PLACKto lack power, PMAXThe maximum power of the nth microgrid; pOUTThe output power of the Nth microgrid; pSUMAnd reserving power for the total micro-grid.
It should be noted that the reserved power refers to a difference between the maximum power of the microgrid and the actual output power, and when the virtual power plant provides power for external power trading, the microgrid usually does not generate power according to the maximum power, but a certain margin is left, so that the microgrid can be guaranteed to respond to emergency situations. Correspondingly, the total reserved power refers to the sum of the reserved powers of all micro-grids connected with the virtual power plant in a downward connection mode.
By controlling the output power of the micro-grid in the manner of increasing the output power in equal proportion to the reserved power, the power increment of each micro-grid can be balanced, the impact on the load of the micro-grid is reduced, and stable power supply is provided.
In the embodiment, whether the first total output power of the virtual power plant is smaller than the preset transaction power is detected; when the first total output power is smaller than the preset transaction power, starting a first energy storage device, and detecting the output power of the first energy storage device; when the output power of the first energy storage equipment is equal to the loss power of the virtual power plant, the output power of the microgrid connected with the virtual power plant is increased, and the output power of the first energy storage equipment is reduced in an equivalent manner. When the lower connection equipment of the virtual power plant breaks down, the first energy storage equipment is adopted to supplement the missing power, then the power supply of the missing power is switched to the microgrid from the first energy storage equipment by controlling the power of the microgrid, the response delay is reduced, the stable external power supply is realized, and the guarantee is provided for external power transaction.
Further, as shown in fig. 4, another embodiment of the emergency energy scheduling method for a virtual power plant according to the present invention is provided based on an embodiment, in this embodiment, after step S30, the method further includes the following steps:
s40: detecting whether the output power of each microgrid after being increased is correspondingly equal to the maximum power of each microgrid;
s50: when the output power of each microgrid after being increased is equal to the maximum power corresponding to each microgrid, detecting whether a second total output power of the virtual power plant is smaller than the preset transaction power, wherein the second total output power is the total output power of the virtual power plant after the output power of each microgrid is increased;
s60: and when the second total output power is smaller than the preset transaction power, starting second energy storage equipment.
It should be noted that when the output power of the micro-grid is regulated, the actual output power of each micro-grid needs to be monitored in real time, and if the actual output power of each micro-grid reaches the maximum power and the external transaction power of the virtual power plant is still not met, the second energy storage device is automatically called to make up for the insufficient power generation. The second energy storage device is different from the first energy storage device, has the characteristics of longer operation time and larger capacity, and can supply power for a longer time. Of course, if long-term operation is required, access to a backup power plant may also be considered.
In the embodiment, whether the output power of each microgrid after being increased is correspondingly equal to the maximum power of each microgrid is detected; when the output power of each microgrid after being increased is equal to the maximum power corresponding to each microgrid, detecting whether a second total output power of the virtual power plant is smaller than the preset transaction power, wherein the second total output power is the total output power of the virtual power plant after the output power of each microgrid is increased; when the second total output power is smaller than the preset transaction power, the second energy storage device is started, and when the transaction power requirement cannot be met by controlling the output power of the microgrid, the second energy storage device is used for supplying power, so that the successful implementation of external transaction of the virtual power plant is further guaranteed.
Further, as shown in fig. 5, a further embodiment of the emergency energy scheduling method for a virtual power plant according to the present invention is provided based on an embodiment, in this embodiment, after step S60, the method further includes the following steps:
s70: detecting whether a third total output power of the virtual power plant is smaller than the preset transaction power, wherein the third total output power is the total output power of the virtual power plant after the second energy storage device is started;
s80: and when the third total output power is smaller than the preset transaction power, sending a load shedding instruction to each microgrid so that each microgrid carries out sectional shedding on the load.
It should be understood that the load is cut off in sections, which means that the load is disconnected from the microgrid in sections so as to maintain the power balance and stability of the virtual power plant.
It should be noted that, if the power shortage of the virtual power plant is large and the output power of the second energy storage device still cannot meet the power generation requirement, a load shedding command is sent to each microgrid, so that each microgrid carries out step-by-step load shedding.
In the concrete implementation, the load can be processed in a grading way, and the load can be cut off according to different types of different industries, and the grades can be divided as follows by taking the chemical industry as an example:
the method comprises the following steps of (1) obtaining a controllable load, wherein the controllable load is a non-productive load, an auxiliary load with less loss during temporary interruption and a main production load possibly causing certain loss after interruption, and the controllable load can be removed, and the specific removal scheme can refer to the following steps:
(1) user load loop access selection sequence: selecting step by step according to a main incoming line, an auxiliary load with less loss after interruption, a non-production load and a main production load which possibly causes certain loss after interruption, and gradually increasing the terminal wiring in the terminal cabinet according to the importance of each controllable load;
(2) after the terminal wiring is finished, the corresponding relation between the tripping rounds and the load circuit is set through parameter configuration, each round can correspond to a plurality of load switches at will, and the load switches with different influence degrees can not be configured in the same round. In principle, 1-2 wheels correspondingly affect lower auxiliary load and non-production load after interruption, 3-6 wheels correspondingly affect main production load which may cause certain loss after interruption, and 7-8 wheels correspondingly apply main and standby switches of users;
(3) the user of single room design of joining in marriage, high low voltage switch equipartition is put in same room of joining in marriage, and the user that the room was joined in marriage to 10kV generally, and the capacity is less, the load is comparatively concentrated, and the user side that the room was designed is joined in marriage to single user adopts different load access modes according to circumstances such as user's main wiring diagram structure, power quantity, production technology, but mainly includes the load of three aspect: total load, main production load, auxiliary load;
(4) the user who divides the electricity distribution room strange land of general branch comprises total drop transformer and a plurality of distribution electric room, arranges high tension switchgear and low tension switchgear respectively in the electricity distribution room of difference, generally is the user of 20kV and above electricity distribution room, this type of user capacity ratio is bigger, the load is more dispersed, this type of user lays optic fibre or communication cable through borrowing user's inside cable channel and follows total electricity distribution room terminal department to each distribution electric room of user in, adopts intelligent instrument to realize the collection and the control to user's switchgear on the spot inside distributing electric room.
In the embodiment, when the lower connection equipment of the virtual power plant has an emergency fault, the output power of the microgrid is controlled firstly, then the output power of the second energy storage equipment is controlled, and finally the three-level standby scheme of load switching is controlled to carry out energy scheduling control, so that the stable implementation of the power transaction of the virtual power plant is ensured.
The invention further provides an emergency energy scheduling system of the virtual power plant.
Referring to fig. 6, fig. 6 is a functional block diagram of an embodiment of an emergency energy scheduling system of a virtual power plant according to the present invention.
In this embodiment, the emergency energy scheduling system of the virtual power plant includes:
the first power detection module 10 is configured to detect whether a first total output power of the virtual power plant is smaller than a preset transaction power;
the first device starting module 20 is configured to start a first energy storage device and detect output power of the first energy storage device when the first total output power is smaller than the preset transaction power;
the power adjusting module 30 is configured to increase the output power of the microgrid connected to the virtual power plant when the output power of the first energy storage device is equal to the loss power of the virtual power plant, and decrease the output power of the first energy storage device by an equal amount, where the loss power is the difference between the preset transaction power and the first total output power.
Optionally, in another embodiment, the first power adjusting module includes:
the power acquisition unit is used for acquiring the output power of each microgrid and the maximum power of each microgrid;
the power calculation unit is used for calculating the target power of each microgrid according to the output power and the maximum power of each microgrid;
and the power increasing unit is used for increasing the output power of the corresponding microgrid according to the target power.
Optionally, in a further embodiment, the first device opening module includes:
the fault acquisition unit is used for acquiring a power supply fault reason when the first total output power is smaller than the preset transaction power;
and the starting unit is used for starting the first energy storage equipment under the same transformer as the failed microgrid when the power supply failure reason is the microgrid failure.
Optionally, in a further embodiment, the power calculating unit includes:
the target power calculating subunit is used for calculating the target power of each microgrid according to the output power and the maximum power of each microgrid through the following formula,
wherein, PNIs the target power of the Nth microgrid, PLACKTo lack power, PMAXThe maximum power of the nth microgrid; pOUTThe output power of the Nth microgrid; pSUMAnd reserving power for the total micro-grid.
Optionally, in a further embodiment, the first power adjusting module further includes:
a power reduction unit for reducing the output power of the first energy storage device by the same amount,
PCH+PM=PLACK;
wherein, PCHIs the output power, P, of the first energy storage deviceMFor total increase of output power of all microgrids, PLACKIs the power loss.
Optionally, in a further embodiment, the system further comprises:
the power comparison module is used for detecting whether the output power of each microgrid after being increased is correspondingly equal to the maximum power of each microgrid;
the second power detection module is used for detecting whether second total output power of the virtual power plant is smaller than the preset transaction power or not when the output power of each microgrid after being increased is equal to the maximum power of each microgrid, wherein the second total output power is the total output power of the virtual power plant after the output power of each microgrid is increased;
and the second equipment starting module is used for starting second energy storage equipment when the second total output power is smaller than the preset transaction power.
Optionally, in a further embodiment, the system further comprises:
the third power detection module is used for detecting whether a third total output power of the virtual power plant is smaller than the preset transaction power, wherein the third total output power is the total output power of the virtual power plant after the second energy storage device is started;
and the load cutting module is used for sending a load cutting instruction to each microgrid when the third total output power is smaller than the preset transaction power so that each microgrid can cut off the load in sections.
The specific embodiment of the emergency energy scheduling system of the virtual power plant of the present invention is basically the same as the embodiments of the emergency energy scheduling method of the virtual power plant, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.