Disclosure of Invention
In view of the above problems, the invention aims to provide an intelligent control method, an intelligent control system and an intelligent control storage medium for an optical storage Chai Wei power grid, which are used for automatically switching a power supply source of a load according to a power grid state and a photovoltaic power generation state so as to ensure the stability of electric energy supply, and also used for intelligently adjusting the power generated by diesel and the charge and discharge conditions of an energy storage battery, so that the electricity consumption cost is reduced and the cost performance of electric energy supply is improved.
The first aspect of the invention provides an intelligent control method of an optical storage Chai Wei power grid, which comprises the following steps:
acquiring first power information and second power information;
judging whether the power supply requirement of a load is met or not according to the first power information and the second power information;
If yes, a photovoltaic power supply mode is entered;
if not, acquiring first power grid state information, and judging whether the first power grid state information is in a power supply state or not;
if yes, entering a power grid power supply mode;
if not, acquiring first electric quantity information;
Judging whether the power supply requirement of a load is met or not according to the first electric quantity information and the first power information;
if yes, entering an energy storage power supply mode;
If not, entering a diesel power supply mode.
In this scheme, according to first power information with second power information, judge whether satisfy the power supply demand of load, specifically be:
Sequentially collecting and recording the second power information according to a preset time period;
Obtaining a first power sequence according to the recorded second power information and a preset ordering rule;
according to the quantity of the second power information in the first power sequence, third power information is obtained from the first power sequence according to a preset extraction rule;
obtaining first power difference information according to the difference value between the third power information and the first power information;
Determining a first power difference threshold according to the first power information;
judging whether the first power difference information is the first power difference threshold value or not;
if yes, the power supply requirement of the load is met;
If not, the power supply requirement of the load is not met.
In this scheme, according to first electric quantity information with first power information, judge whether satisfy the power supply demand of load, specifically do:
judging whether the first power information exceeds a preset first power threshold value or not;
if yes, obtaining first time length information according to the first electric quantity information and the first power information;
judging whether the first time length information exceeds a preset first time length threshold value or not;
if yes, the power supply requirement of the load is met;
If not, the power supply requirement of the load is not met.
In this scheme, still include:
acquiring power supply mode information;
When the power supply mode information is judged to be the photovoltaic power supply mode or the energy storage power supply mode, the static change-over switch is driven to be switched to an off state according to a preset first switch control instruction;
When judging that the power supply mode information is the power grid power supply mode, driving the static change-over switch to be switched to a conducting state according to a preset first switch control instruction, and driving the automatic change-over switch to be switched to a power grid access state according to a preset second switch control instruction;
When the power supply mode information is judged to be the diesel power supply mode, the static change-over switch is driven to be switched to be in a conducting state according to a preset first switch control instruction, and the automatic change-over switch is driven to be switched to be in a diesel passage state according to a preset second switch control instruction.
In this scheme, still include:
acquiring power supply mode information;
Judging whether the power supply mode information is an energy storage power supply mode or not;
if yes, driving the energy storage converter to control the energy storage equipment to discharge according to a preset first discharge control instruction;
If not, driving the energy storage converter to supplement electric energy to the energy storage equipment according to a preset first charging control instruction.
In this scheme, still include:
acquiring power supply mode information;
Judging that the power supply mode information is in a diesel power supply mode;
acquiring fourth power information;
obtaining second power difference information according to the difference value between the fourth power information and the first power information;
Determining first power generation offset information according to the second power difference information;
obtaining power generation control quantity information according to a preset feedback control strategy according to the first power generation deviation value information;
And adjusting the power generation power of the diesel generator according to the power generation control amount information.
The second aspect of the present invention provides an intelligent control system for an optical storage Chai Wei power grid, which includes an intelligent control method program for an optical storage Chai Wei power grid, where the intelligent control method program for the optical storage Chai Wei power grid is executed by the processor to implement the following steps:
acquiring first power information and second power information;
judging whether the power supply requirement of a load is met or not according to the first power information and the second power information;
If yes, a photovoltaic power supply mode is entered;
if not, acquiring first power grid state information, and judging whether the first power grid state information is in a power supply state or not;
if yes, entering a power grid power supply mode;
if not, acquiring first electric quantity information;
Judging whether the power supply requirement of a load is met or not according to the first electric quantity information and the first power information;
if yes, entering an energy storage power supply mode;
If not, entering a diesel power supply mode.
In this scheme, according to first power information with second power information, judge whether satisfy the power supply demand of load, specifically be:
Sequentially collecting and recording the second power information according to a preset time period;
Obtaining a first power sequence according to the recorded second power information and a preset ordering rule;
according to the quantity of the second power information in the first power sequence, third power information is obtained from the first power sequence according to a preset extraction rule;
obtaining first power difference information according to the difference value between the third power information and the first power information;
Determining a first power difference threshold according to the first power information;
judging whether the first power difference information is the first power difference threshold value or not;
if yes, the power supply requirement of the load is met;
If not, the power supply requirement of the load is not met.
In this scheme, according to first electric quantity information with first power information, judge whether satisfy the power supply demand of load, specifically do:
judging whether the first power information exceeds a preset first power threshold value or not;
if yes, obtaining first time length information according to the first electric quantity information and the first power information;
judging whether the first time length information exceeds a preset first time length threshold value or not;
if yes, the power supply requirement of the load is met;
If not, the power supply requirement of the load is not met.
A third aspect of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a program for an intelligent control method of an optical storage Chai Wei grid, where the program for an intelligent control method of an optical storage Chai Wei grid is executed by a processor, to implement the steps of the intelligent control method of an optical storage Chai Wei grid as described in any one of the foregoing.
The invention provides an intelligent control method, a system and a storage medium of an optical storage Chai Wei power grid, which are characterized in that whether the power supply requirement of a load is met is judged according to first power information and second power information, a photovoltaic power supply mode is entered if the power supply requirement is met, whether the first power grid state information is in a power supply state is judged if the power supply condition is not met, the power supply mode is entered if the power supply requirement of the load is met, whether the power supply requirement of the load is met is judged according to first electric quantity information and the first power information, an energy storage power supply mode is entered if the power supply requirement of the load is met, a diesel power supply mode is entered if the power supply requirement of the load is not met, the power supply of the load is automatically switched according to the power grid state and the photovoltaic power generation state, so that the stability of electric energy supply is ensured, and the cost of electricity consumption is reduced and the cost performance of electric energy supply is improved by intelligently adjusting the charging and discharging conditions of diesel power generation power and an energy storage battery.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The terms "first," "second," and the like, as used in embodiments of the present invention, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Nor does the terms "a," "an," or "the" or similar terms mean a limitation of quantity, but rather that at least one is present. Likewise, the word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps preceding or following the methods of embodiments of the present invention are not necessarily performed in a sequential order. Rather, the various steps may be processed in reverse order or simultaneously. Also, other operations may be added to or removed from these processes.
In addition, functional modules in the embodiments of the present invention may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
Fig. 1 shows a schematic diagram of an intelligent control device of an optical storage Chai Wei grid.
As shown in fig. 1, an intelligent control device for an optical storage Chai Wei power grid, the device includes:
An automatic transfer switch ATS, a static transfer switch STS and an energy storage converter PCS;
The automatic transfer switch ATS is a switch for automatically transferring power supply and is used for switching an external power supply to a power grid or a diesel generator;
The static change-over switch STS is a power supply change-over switch and is used for switching an external power supply into a conducting state or a disconnecting state;
The energy storage converter PCS is equipment for changing the electric energy form and is used for controlling the charging and discharging states of the energy storage equipment.
The maximum power point tracking MPPT technology is that the photovoltaic module always works on the maximum power point by adjusting the output voltage and current of the photovoltaic inverter in the photovoltaic power generation system, so that the maximum power output of the photovoltaic power generation system is realized. The external power supply source of the load is switched by the automatic transfer switch, and the external power supply source is switched to a power grid or a diesel generator. The connection state of the external power supply is switched by the static transfer switch, that is, it is determined whether the load is connected to the external power supply by the static transfer switch. The main function of the energy storage converter is to convert electric energy from a direct current form to an alternating current form or from the alternating current form to the direct current form, so as to control the charging and discharging working conditions of the energy storage device. After absorbing solar energy, the photovoltaic array converts the solar energy into electric energy through the PCB and the MPPT, and is used for providing electric energy for a load or charging an energy storage battery.
Fig. 2 shows a flowchart of an intelligent control method of the optical storage Chai Wei power grid according to the present invention.
As shown in fig. 2, the invention discloses an intelligent control method of an optical storage Chai Wei power grid, which comprises the following steps:
s202, acquiring first power information and second power information;
S204, judging whether the power supply requirement of the load is met or not according to the first power information and the second power information;
S206, if yes, entering a photovoltaic power supply mode;
s208, if not, acquiring first power grid state information, and judging whether the first power grid state information is in a power supply state or not;
s210, if yes, entering a power grid power supply mode;
S212, if not, acquiring first electric quantity information;
S214, judging whether the power supply requirement of the load is met or not according to the first electric quantity information and the first power information;
s216, if yes, entering an energy storage power supply mode;
s218, if not, entering a diesel power supply mode.
The first power information is power required by a load during operation and is called load power, the second power information is power obtained through a photovoltaic power generation system, converted into power which can be used for power supply or storage and then becomes photovoltaic power generation power, the first power grid state information is supply conditions of a mains supply power grid and comprises a power supply state and a power failure state, and the first electric quantity information is electric quantity storage conditions of energy storage equipment. In the embodiment, firstly, whether the electric energy supply provided by the current photovoltaic system can meet the requirement of load operation is judged according to the photovoltaic power generation power obtained by the photovoltaic system, if so, a photovoltaic power supply mode is entered, namely, the load operation electric energy requirement is provided by the photovoltaic system, and the power supply of an external power supply is cut off so as to improve the cost performance of load power consumption. And if the photovoltaic power generation cannot meet the power consumption requirement of the load, the power generated by the photovoltaic power generation is used for charging energy storage equipment, and the electric energy required by the work of the load is provided by an external power supply, wherein in the selection of the external power supply, a mains supply grid is selected as a rule to reduce the power consumption cost, and if the mains supply grid is in a power supply state, the power supply mode of the power grid is entered. And finally, if the utility power grid is in a power failure state, selecting the energy storage equipment to supply power or the diesel generator to supply power according to the electric energy storage condition of the energy storage equipment, namely judging whether the energy storage equipment meets the requirement of load operation according to the electric energy storage condition of the energy storage equipment and the electric energy supply requirement required by the load, if so, entering an energy storage power supply mode, supplying electric energy to the load through the energy storage equipment, and if not, entering a diesel power supply mode, and generating power to the load through the diesel generator. According to the invention, the power supply of the load is automatically switched according to the power grid state and the photovoltaic power generation state, so that the stability of power supply is ensured.
Fig. 3 shows a flow chart for determining the acquisition mode of the positioning information when the electric power is sufficient.
According to an embodiment of the present invention, as shown in fig. 3, the determining whether the power supply requirement of the load is satisfied according to the first power information and the second power information is specifically:
s302, sequentially collecting and recording the second power information according to a preset time period;
S304, obtaining a first power sequence according to the recorded second power information and a preset ordering rule;
s306, acquiring third power information from the first power sequence according to a preset extraction rule according to the number of the second power information in the first power sequence;
S308, obtaining first power difference information according to the difference value between the third power information and the first power information;
s310, determining a first power difference threshold according to the first power information;
S312, judging whether the first power difference value information is the first power difference value threshold value or not;
S314, if yes, the power supply requirement of the load is met;
S316, if not, it indicates that the power supply requirement of the load is not satisfied.
It should be noted that, in the photovoltaic power generation power strategy of the present solution, the third power information is photovoltaic power generation stable power that can be provided by the photovoltaic power generation system. When judging whether the photovoltaic power meets the working requirement of a load, firstly, obtaining stable power which can be provided by photovoltaic power generation according to a preset photovoltaic power calculation strategy, continuously measuring and recording real-time photovoltaic power generation power of a photovoltaic power generation system according to a preset time period, obtaining a first power sequence according to the ascending or descending mode of the recorded photovoltaic power generation values, obtaining the position of the photovoltaic power generation power in the first power sequence according to the quantity of the photovoltaic power generation power in the sequence, and obtaining third power information, wherein for example, the first power sequence consisting of 100 pieces of second power information is used for extracting the third power information according to the position from the small part to the large part, namely, in the ascending sequence, the 20 th second power information in the sequence is extracted as the third power information, and in the descending sequence, the 80 th second power information in the sequence is extracted as the third power information. The method ensures that the photovoltaic power generation power can be kept above the third power information by extracting smaller values, and reduces the influence of the measurement error on the extraction result of the third power information by intercepting. In order to cope with the rising of the power demand caused by the temporary emergency in the working process of the load, the invention sets the demand threshold by setting the fault-tolerant value according to a certain proportion, for example, when the load power is 1000W and the proportion of the fault-tolerant value is 20%, the fault-tolerant value is 200W at the moment, that is, when the supplied power is at least 1200W, the situation of meeting the load demand can be considered. And finally, judging whether the difference value between the third power information and the load power exceeds the fault tolerance value, namely, a first power difference value threshold value, if so, indicating that the generated power of the photovoltaic power generation system meets the power supply power requirement of the load operation, and if not, indicating that the generated power of the photovoltaic power generation system does not meet the power supply power requirement of the load operation.
Fig. 4 shows a flow chart for determining an acquisition mode of positioning information when the power is insufficient.
According to an embodiment of the present invention, as shown in fig. 4, according to whether the first electric quantity information and the first power information meet the power supply requirement of the load, specifically:
S402, judging whether the first power information exceeds a preset first power threshold value;
s404, if yes, obtaining first time length information according to the first electric quantity information and the first power information;
s406, judging whether the first time length information exceeds a preset first time length threshold value;
s408, if yes, the power supply requirement of the load is met;
s410, if not, it indicates that the power supply requirement of the load is not satisfied.
It should be noted that, the first time period information is a duration for which the energy is continuously provided to the load through the energy storage device. When judging whether the energy storage equipment meets the working requirement of a load, firstly judging whether the load power exceeds a preset first power threshold, wherein the first power threshold represents the upper limit of the power which can be provided by the energy storage equipment and is used for improving the use safety of the energy storage equipment, and when the power provided by the energy storage equipment exceeds the upper limit of the power, the risk of heating and burning is judged. When the load power is judged to be in the range of the power supply power which can be provided by the energy storage equipment, calculating to obtain the sustainable duration of the energy storage equipment for providing the power for the load according to the first electric quantity information and the load power information of the energy storage equipment, and recording the sustainable duration as the first duration information. When the first time length information exceeds a preset first time length threshold value, the energy storage equipment is used as a power supply source to meet the power supply power requirement of load operation. If the first time length information does not exceed the preset first time length threshold value, the electric quantity of the energy storage equipment is identified to be at a lower level, and the energy storage equipment is required to be forbidden to provide electric energy for the load, so that the situation that the service life of the energy storage equipment is reduced due to transitional discharge is avoided.
According to an embodiment of the present invention, further comprising:
acquiring power supply mode information;
When the power supply mode information is judged to be the photovoltaic power supply mode or the energy storage power supply mode, the static change-over switch is driven to be switched to an off state according to a preset first switch control instruction;
When judging that the power supply mode information is the power grid power supply mode, driving the static change-over switch to be switched to a conducting state according to a preset first switch control instruction, and driving the automatic change-over switch to be switched to a power grid access state according to a preset second switch control instruction;
When the power supply mode information is judged to be the diesel power supply mode, the static change-over switch is driven to be switched to be in a conducting state according to a preset first switch control instruction, and the automatic change-over switch is driven to be switched to be in a diesel passage state according to a preset second switch control instruction.
The power supply mode information is a power supply mode in which the system is located.
In this embodiment, when the power supply mode information is determined to be the photovoltaic power supply mode or the energy storage power supply mode, it indicates that power supply of the external power supply needs to be cut off, so that by setting a preset first switch control instruction, the static change-over switch is driven to be switched to an off state according to an operation status code in the instruction, and an effect of disconnecting the external power supply from the load is achieved.
In another embodiment, when the power supply mode information is determined to be the power supply mode of the power grid, it indicates that the power grid in the external power supply needs to be connected to supply power to the load, so that the static change-over switch is driven to be switched to a connection state according to an operation state code in the instruction by setting a preset first switch control instruction, and the automatic change-over switch is driven to be switched to a power grid access state according to an operation state code in the instruction by a preset second switch control instruction, so that the load can be in circuit connection with the power grid in the external power supply, and the power grid can supply power to the load.
In another embodiment, when the power supply mode information is determined to be the diesel power supply mode, it indicates that diesel power in an external power supply needs to be connected to supply power to a load, so that by setting a preset first switch control instruction, the static change-over switch is driven to be switched to a connection state according to an operation state code in the instruction, and by setting a preset second switch control instruction, the automatic change-over switch is driven to be switched to a diesel power generator access state according to an operation state code in the instruction, so that the load can be in circuit connection with a diesel power generator in the external power supply, and the diesel power is generated to supply power to the load.
According to an embodiment of the present invention, further comprising:
acquiring power supply mode information;
Judging whether the power supply mode information is an energy storage power supply mode or not;
if yes, driving the energy storage converter to control the energy storage equipment to discharge according to a preset first discharge control instruction;
If not, driving the energy storage converter to supplement electric energy to the energy storage equipment according to a preset first charging control instruction.
It should be noted that in this embodiment, whether the power supply mode information is the energy storage power supply mode is determined, if so, it indicates that the energy storage device discharges to provide electric energy for the load, so that the energy storage device is driven to provide electric energy for the load according to the discharge power in the instruction by a preset first discharge control instruction, if not, it indicates that the energy storage device can perform electric energy supplementing operation, so that the energy storage device is driven to charge according to the charging power available in real time by a preset first charging instruction.
According to an embodiment of the present invention, further comprising:
acquiring power supply mode information;
Judging that the power supply mode information is in a diesel power supply mode;
acquiring fourth power information;
obtaining second power difference information according to the difference value between the fourth power information and the first power information;
Determining first power generation offset information according to the second power difference information;
obtaining power generation control quantity information according to a preset feedback control strategy according to the first power generation deviation value information;
And adjusting the power generation power of the diesel generator according to the power generation control amount information.
The fourth power information is electric power provided by the diesel generator through power generation. In order to avoid the problems of rising of diesel cost caused by excessive diesel combustion and insufficient power generation caused by insufficient diesel combustion, the invention is provided with a feedback control strategy for adjusting the diesel supply quantity of the diesel generator in real time according to the power generation, thereby realizing self-adaptive adjustment of the diesel combustion quantity. And in order to cope with the situation of temporary abrupt change of load power, after a preset power fault tolerance value is overlapped according to the second power difference information, determining first power generation deviation value information which is used for representing the difference value between the power generation power of the current diesel generator and the target power. And then obtaining power generation control quantity information according to the first power generation deviation value information and a preset feedback control strategy, wherein the feedback control strategy is PID control, and according to the first power generation deviation value information and the proportional coefficient, the integral coefficient and the differential coefficient in the PID control, the proportional control quantity, the integral control quantity and the differential control quantity are respectively obtained to obtain the power generation control quantity information. And finally, adjusting the diesel oil supply amount of the diesel oil generator according to the power generation control amount information, and adjusting the air injection amount matched with the diesel oil generator according to the diesel oil supply amount, so as to realize the self-adaptive adjustment of the power generation power of the diesel oil generator, thereby reducing the consumption of diesel oil while ensuring that the power generation power meets the load work requirement, and further reducing the cost of diesel oil power generation.
It is worth mentioning that the method further comprises:
acquiring the first power sequence;
According to the quantity of the second power information in the first power sequence, obtaining first power average information according to a preset average algorithm;
Obtaining a first power deviation value according to the first power sequence and the first power average value information;
determining a power deviation threshold according to the first power average value information;
judging whether the first power deviation value is lower than a power deviation threshold value or not;
if so, the second power information is in a stable state and can be used as a power supply.
In this embodiment, the stability of the second power information is detected to determine whether the photovoltaic power generation can be used as a power supply of the load. Setting the intercepting length of the first power sequence according to the quantity of the second power information in the first power sequence, and calculating first power average value information according to the intercepted first power sequence to represent the average value of the second power information. And then, according to the second power information in the intercepted first power sequence, sequentially comparing the second power information with the first power average value information deviation value, and calculating the average value of the square sum of the deviation values to obtain a first power deviation value. When the first power deviation value is lower than a preset power deviation threshold value, the second power information is indicated to float slightly, namely the stability reaches a preset requirement and can be considered to be in a stable state.
It is worth mentioning that the method further comprises:
acquiring power supply mode information;
Judging that the power supply mode information is in a power grid power supply mode;
Acquiring the first electric quantity information;
judging whether the first electric quantity information is lower than a preset first electric quantity threshold value or not;
if so, driving the energy storage converter to supplement electric energy to the energy storage equipment according to preset charging power information.
It should be noted that, in this embodiment, when the power supply mode information is determined to be the power grid power supply mode, in order to avoid that the energy storage device is in a low-power state for a long time and affects the service life of the energy storage device, whether emergency energy supply is needed is determined according to the power quantity information of the energy storage device. When the first electric quantity information is lower than a preset first electric quantity threshold value, the electric quantity of the energy storage equipment is in an excessively low state, and at the moment, a power grid is set to charge the energy storage equipment through an energy storage converter according to preset charging power.
It is worth mentioning that the method further comprises:
acquiring power supply mode information;
Judging that the power supply mode information is in a diesel power supply mode;
Acquiring the first electric quantity information;
judging whether the first electric quantity information is lower than a preset first electric quantity threshold value or not;
If yes, fourth power information is obtained;
and driving the energy storage converter to supplement electric energy to the energy storage equipment according to the fourth power information.
It should be noted that, in this embodiment, when the power supply mode information is determined to be the diesel power supply mode, in order to avoid that the energy storage device is in a low-power state for a long time and affects the service life of the energy storage device, whether emergency energy supply is needed is determined according to the power information of the energy storage device. When the first electric quantity information is lower than a preset first electric quantity threshold value, the electric quantity of the energy storage equipment is in an excessively low state, at the moment, the power generation power of the diesel generator is obtained, and the part of the power generation power exceeding the load power is set as the charging power of the energy storage converter, so that the diesel generator charges the energy storage equipment through the energy storage converter.
Fig. 5 shows a block diagram of an intelligent control system of an optical storage Chai Wei grid according to the present invention.
As shown in fig. 5, the invention discloses an intelligent control system 5 of an optical storage Chai Wei power grid, which comprises a memory 51 and a processor 52, wherein the memory comprises an intelligent control method program of the optical storage Chai Wei power grid, and the intelligent control method program of the optical storage Chai Wei power grid is executed by the processor to realize the following steps:
acquiring first power information and second power information;
judging whether the power supply requirement of a load is met or not according to the first power information and the second power information;
If yes, a photovoltaic power supply mode is entered;
if not, acquiring first power grid state information, and judging whether the first power grid state information is in a power supply state or not;
if yes, entering a power grid power supply mode;
if not, acquiring first electric quantity information;
Judging whether the power supply requirement of a load is met or not according to the first electric quantity information and the first power information;
if yes, entering an energy storage power supply mode;
If not, entering a diesel power supply mode.
The first power information is power required by a load during operation and is called load power, the second power information is power obtained through a photovoltaic power generation system, converted into power which can be used for power supply or storage and then becomes photovoltaic power generation power, the first power grid state information is supply conditions of a mains supply power grid and comprises a power supply state and a power failure state, and the first electric quantity information is electric quantity storage conditions of energy storage equipment. In the embodiment, firstly, whether the electric energy supply provided by the current photovoltaic system can meet the requirement of load operation is judged according to the photovoltaic power generation power obtained by the photovoltaic system, if so, a photovoltaic power supply mode is entered, namely, the load operation electric energy requirement is provided by the photovoltaic system, and the power supply of an external power supply is cut off so as to improve the cost performance of load power consumption. And if the photovoltaic power generation cannot meet the power consumption requirement of the load, the power generated by the photovoltaic power generation is used for charging energy storage equipment, and the electric energy required by the work of the load is provided by an external power supply, wherein in the selection of the external power supply, a mains supply grid is selected as a rule to reduce the power consumption cost, and if the mains supply grid is in a power supply state, the power supply mode of the power grid is entered. And finally, if the utility power grid is in a power failure state, selecting the energy storage equipment to supply power or the diesel generator to supply power according to the electric energy storage condition of the energy storage equipment, namely judging whether the energy storage equipment meets the requirement of load operation according to the electric energy storage condition of the energy storage equipment and the electric energy supply requirement required by the load, if so, entering an energy storage power supply mode, supplying electric energy to the load through the energy storage equipment, and if not, entering a diesel power supply mode, and generating power to the load through the diesel generator. According to the invention, the power supply of the load is automatically switched according to the power grid state and the photovoltaic power generation state, so that the stability of power supply is ensured.
According to the embodiment of the invention, whether the power supply requirement of the load is satisfied is judged according to the first power information and the second power information, specifically:
Sequentially collecting and recording the second power information according to a preset time period;
Obtaining a first power sequence according to the recorded second power information and a preset ordering rule;
according to the quantity of the second power information in the first power sequence, third power information is obtained from the first power sequence according to a preset extraction rule;
obtaining first power difference information according to the difference value between the third power information and the first power information;
Determining a first power difference threshold according to the first power information;
judging whether the first power difference information is the first power difference threshold value or not;
if yes, the power supply requirement of the load is met;
If not, the power supply requirement of the load is not met.
It should be noted that, in the photovoltaic power generation power strategy of the present solution, the third power information is photovoltaic power generation stable power that can be provided by the photovoltaic power generation system. When judging whether the photovoltaic power meets the working requirement of a load, firstly, obtaining stable power which can be provided by photovoltaic power generation according to a preset photovoltaic power calculation strategy, continuously measuring and recording real-time photovoltaic power generation power of a photovoltaic power generation system according to a preset time period, obtaining a first power sequence according to the ascending or descending mode of the recorded photovoltaic power generation values, obtaining the position of the photovoltaic power generation power in the first power sequence according to the quantity of the photovoltaic power generation power in the sequence, and obtaining third power information, wherein for example, the first power sequence consisting of 100 pieces of second power information is used for extracting the third power information according to the position from the small part to the large part, namely, in the ascending sequence, the 20 th second power information in the sequence is extracted as the third power information, and in the descending sequence, the 80 th second power information in the sequence is extracted as the third power information. The method ensures that the photovoltaic power generation power can be kept above the third power information by extracting smaller values, and reduces the influence of the measurement error on the extraction result of the third power information by intercepting. In order to cope with the rising of the power demand caused by the temporary emergency in the working process of the load, the invention sets the demand threshold by setting the fault-tolerant value according to a certain proportion, for example, when the load power is 1000W and the proportion of the fault-tolerant value is 20%, the fault-tolerant value is 200W at the moment, that is, when the supplied power is at least 1200W, the situation of meeting the load demand can be considered. And finally, judging whether the difference value between the third power information and the load power exceeds the fault tolerance value, namely, a first power difference value threshold value, if so, indicating that the generated power of the photovoltaic power generation system meets the power supply power requirement of the load operation, and if not, indicating that the generated power of the photovoltaic power generation system does not meet the power supply power requirement of the load operation.
According to the embodiment of the invention, whether the power supply requirement of the load is satisfied according to the first electric quantity information and the first power information is specifically:
judging whether the first power information exceeds a preset first power threshold value or not;
if yes, obtaining first time length information according to the first electric quantity information and the first power information;
judging whether the first time length information exceeds a preset first time length threshold value or not;
if yes, the power supply requirement of the load is met;
If not, the power supply requirement of the load is not met.
It should be noted that, the first time period information is a duration for which the energy is continuously provided to the load through the energy storage device. When judging whether the energy storage equipment meets the working requirement of a load, firstly judging whether the load power exceeds a preset first power threshold, wherein the first power threshold represents the upper limit of the power which can be provided by the energy storage equipment and is used for improving the use safety of the energy storage equipment, and when the power provided by the energy storage equipment exceeds the upper limit of the power, the risk of heating and burning is judged. When the load power is judged to be in the range of the power supply power which can be provided by the energy storage equipment, calculating to obtain the sustainable duration of the energy storage equipment for providing the power for the load according to the first electric quantity information and the load power information of the energy storage equipment, and recording the sustainable duration as the first duration information. When the first time length information exceeds a preset first time length threshold value, the energy storage equipment is used as a power supply source to meet the power supply power requirement of load operation. If the first time length information does not exceed the preset first time length threshold value, the electric quantity of the energy storage equipment is identified to be at a lower level, and the energy storage equipment is required to be forbidden to provide electric energy for the load, so that the situation that the service life of the energy storage equipment is reduced due to transitional discharge is avoided.
According to an embodiment of the present invention, further comprising:
acquiring power supply mode information;
When the power supply mode information is judged to be the photovoltaic power supply mode or the energy storage power supply mode, the static change-over switch is driven to be switched to an off state according to a preset first switch control instruction;
When judging that the power supply mode information is the power grid power supply mode, driving the static change-over switch to be switched to a conducting state according to a preset first switch control instruction, and driving the automatic change-over switch to be switched to a power grid access state according to a preset second switch control instruction;
When the power supply mode information is judged to be the diesel power supply mode, the static change-over switch is driven to be switched to be in a conducting state according to a preset first switch control instruction, and the automatic change-over switch is driven to be switched to be in a diesel passage state according to a preset second switch control instruction.
The power supply mode information is a power supply mode in which the system is located.
In this embodiment, when the power supply mode information is determined to be the photovoltaic power supply mode or the energy storage power supply mode, it indicates that power supply of the external power supply needs to be cut off, so that by setting a preset first switch control instruction, the static change-over switch is driven to be switched to an off state according to an operation status code in the instruction, and an effect of disconnecting the external power supply from the load is achieved.
In another embodiment, when the power supply mode information is determined to be the power supply mode of the power grid, it indicates that the power grid in the external power supply needs to be connected to supply power to the load, so that the static change-over switch is driven to be switched to a connection state according to an operation state code in the instruction by setting a preset first switch control instruction, and the automatic change-over switch is driven to be switched to a power grid access state according to an operation state code in the instruction by a preset second switch control instruction, so that the load can be in circuit connection with the power grid in the external power supply, and the power grid can supply power to the load.
In another embodiment, when the power supply mode information is determined to be the diesel power supply mode, it indicates that diesel power in an external power supply needs to be connected to supply power to a load, so that by setting a preset first switch control instruction, the static change-over switch is driven to be switched to a connection state according to an operation state code in the instruction, and by setting a preset second switch control instruction, the automatic change-over switch is driven to be switched to a diesel power generator access state according to an operation state code in the instruction, so that the load can be in circuit connection with a diesel power generator in the external power supply, and the diesel power is generated to supply power to the load.
According to an embodiment of the present invention, further comprising:
acquiring power supply mode information;
Judging whether the power supply mode information is an energy storage power supply mode or not;
if yes, driving the energy storage converter to control the energy storage equipment to discharge according to a preset first discharge control instruction;
If not, driving the energy storage converter to supplement electric energy to the energy storage equipment according to a preset first charging control instruction.
It should be noted that in this embodiment, whether the power supply mode information is the energy storage power supply mode is determined, if so, it indicates that the energy storage device discharges to provide electric energy for the load, so that the energy storage device is driven to provide electric energy for the load according to the discharge power in the instruction by a preset first discharge control instruction, if not, it indicates that the energy storage device can perform electric energy supplementing operation, so that the energy storage device is driven to charge according to the charging power available in real time by a preset first charging instruction.
According to an embodiment of the present invention, further comprising:
acquiring power supply mode information;
Judging that the power supply mode information is in a diesel power supply mode;
acquiring fourth power information;
obtaining second power difference information according to the difference value between the fourth power information and the first power information;
Determining first power generation offset information according to the second power difference information;
obtaining power generation control quantity information according to a preset feedback control strategy according to the first power generation deviation value information;
And adjusting the power generation power of the diesel generator according to the power generation control amount information.
The fourth power information is electric power provided by the diesel generator through power generation. In order to avoid the problems of rising of diesel cost caused by excessive diesel combustion and insufficient power generation caused by insufficient diesel combustion, the invention is provided with a feedback control strategy for adjusting the diesel supply quantity of the diesel generator in real time according to the power generation, thereby realizing self-adaptive adjustment of the diesel combustion quantity. And in order to cope with the situation of temporary abrupt change of load power, after a preset power fault tolerance value is overlapped according to the second power difference information, determining first power generation deviation value information which is used for representing the difference value between the power generation power of the current diesel generator and the target power. And then obtaining power generation control quantity information according to the first power generation deviation value information and a preset feedback control strategy, wherein the feedback control strategy is PID control, and according to the first power generation deviation value information and the proportional coefficient, the integral coefficient and the differential coefficient in the PID control, the proportional control quantity, the integral control quantity and the differential control quantity are respectively obtained to obtain the power generation control quantity information. And finally, adjusting the diesel oil supply amount of the diesel oil generator according to the power generation control amount information, and adjusting the air injection amount matched with the diesel oil generator according to the diesel oil supply amount, so as to realize the self-adaptive adjustment of the power generation power of the diesel oil generator, thereby reducing the consumption of diesel oil while ensuring that the power generation power meets the load work requirement, and further reducing the cost of diesel oil power generation.
It is worth mentioning that the method further comprises:
acquiring the first power sequence;
According to the quantity of the second power information in the first power sequence, obtaining first power average information according to a preset average algorithm;
Obtaining a first power deviation value according to the first power sequence and the first power average value information;
determining a power deviation threshold according to the first power average value information;
judging whether the first power deviation value is lower than a power deviation threshold value or not;
if so, the second power information is in a stable state and can be used as a power supply.
In this embodiment, the stability of the second power information is detected to determine whether the photovoltaic power generation can be used as a power supply of the load. Setting the intercepting length of the first power sequence according to the quantity of the second power information in the first power sequence, and calculating first power average value information according to the intercepted first power sequence to represent the average value of the second power information. And then, according to the second power information in the intercepted first power sequence, sequentially comparing the second power information with the first power average value information deviation value, and calculating the average value of the square sum of the deviation values to obtain a first power deviation value. When the first power deviation value is lower than a preset power deviation threshold value, the second power information is indicated to float slightly, namely the stability reaches a preset requirement and can be considered to be in a stable state.
It is worth mentioning that the method further comprises:
acquiring power supply mode information;
Judging that the power supply mode information is in a power grid power supply mode;
Acquiring the first electric quantity information;
judging whether the first electric quantity information is lower than a preset first electric quantity threshold value or not;
if so, driving the energy storage converter to supplement electric energy to the energy storage equipment according to preset charging power information.
It should be noted that, in this embodiment, when the power supply mode information is determined to be the power grid power supply mode, in order to avoid that the energy storage device is in a low-power state for a long time and affects the service life of the energy storage device, whether emergency energy supply is needed is determined according to the power quantity information of the energy storage device. When the first electric quantity information is lower than a preset first electric quantity threshold value, the electric quantity of the energy storage equipment is in an excessively low state, and at the moment, a power grid is set to charge the energy storage equipment through an energy storage converter according to preset charging power.
It is worth mentioning that the method further comprises:
acquiring power supply mode information;
Judging that the power supply mode information is in a diesel power supply mode;
Acquiring the first electric quantity information;
judging whether the first electric quantity information is lower than a preset first electric quantity threshold value or not;
If yes, fourth power information is obtained;
and driving the energy storage converter to supplement electric energy to the energy storage equipment according to the fourth power information.
It should be noted that, in this embodiment, when the power supply mode information is determined to be the diesel power supply mode, in order to avoid that the energy storage device is in a low-power state for a long time and affects the service life of the energy storage device, whether emergency energy supply is needed is determined according to the power information of the energy storage device. When the first electric quantity information is lower than a preset first electric quantity threshold value, the electric quantity of the energy storage equipment is in an excessively low state, at the moment, the power generation power of the diesel generator is obtained, and the part of the power generation power exceeding the load power is set as the charging power of the energy storage converter, so that the diesel generator charges the energy storage equipment through the energy storage converter.
A third aspect of the present invention provides a computer readable storage medium, where the computer readable storage medium includes a program for an intelligent control method of an optical storage Chai Wei grid, where the program for an intelligent control method of an optical storage Chai Wei grid is executed by a processor, to implement the steps of the intelligent control method of an optical storage Chai Wei grid as described in any one of the foregoing.
The invention provides an intelligent control method, a system and a storage medium of an optical storage Chai Wei power grid, which are characterized in that whether the power supply requirement of a load is met is judged according to first power information and second power information, a photovoltaic power supply mode is entered if the power supply requirement is met, whether the first power grid state information is in a power supply state is judged if the power supply condition is not met, the power supply mode is entered if the power supply requirement of the load is met, whether the power supply requirement of the load is met is judged according to first electric quantity information and the first power information, an energy storage power supply mode is entered if the power supply requirement of the load is met, a diesel power supply mode is entered if the power supply requirement of the load is not met, the power supply of the load is automatically switched according to the power grid state and the photovoltaic power generation state, so that the stability of electric energy supply is ensured, and the cost of electricity consumption is reduced and the cost performance of electric energy supply is improved by intelligently adjusting the charging and discharging conditions of diesel power generation power and an energy storage battery.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.