Background
With the development of new energy technology, the number of photovoltaic modules and devices in the optical storage system is increased, and the operating frequency of the optical storage system is easy to fluctuate under the conditions of different illumination intensities or increased device power consumption and the like. The frequency of the photovoltaic power station exceeds a preset frequency range, and the photovoltaic power station adjusts the actual power of the light storage system.
In the prior art, the primary frequency modulation of the optical storage system is mainly performed through energy storage equipment, and the power generation condition of the optical storage system is not considered, so that the power generation loss of the optical storage system is caused.
Disclosure of Invention
The invention mainly aims to provide a power adjusting method, a power adjusting device and a computer readable storage medium, and aims to solve the problem of power generation loss of an optical storage system.
In order to achieve the above object, the present invention provides a power adjustment method, which includes the following steps:
collecting the operating frequency of a power grid where the light storage system is located;
when the operating frequency exceeds a preset frequency interval, acquiring a difference value between a target power and an actual power;
when the difference is smaller than zero, adjusting the running state of an energy storage unit in the optical storage system according to the difference;
and when the difference value is larger than zero, adjusting the running state of a photovoltaic unit in the light storage system according to the difference value.
In an embodiment, when the difference is smaller than zero, the step of adjusting the operating state of the energy storage unit in the light storage system according to the difference comprises:
acquiring the sum of the absolute value of the difference and the original energy storage power of the energy storage unit to obtain a target energy storage power;
and when the target energy storage power is larger than the maximum energy storage power of the energy storage unit, reducing the power generation power of the photovoltaic unit.
In an embodiment, the step of reducing the charging power of the photovoltaic unit when the target energy storage power is greater than the maximum energy storage power of the energy storage unit includes:
when the target energy storage power is larger than the maximum energy storage power of the energy storage unit, taking the maximum energy storage power as the charging power of the energy storage unit;
determining the photovoltaic target power of the photovoltaic unit according to the difference value between the target energy storage power and the maximum energy storage power;
and determining the generating power of the photovoltaic unit according to the photovoltaic target power.
In an embodiment, the step of obtaining the target energy storage power includes:
and when the target energy storage power is less than or equal to the maximum energy storage power of the energy storage unit, taking the target energy storage power as the charging power of the energy storage unit.
In an embodiment, the step of determining the generated power of the photovoltaic unit according to the photovoltaic target power comprises:
if the photovoltaic target power is larger than or equal to the primary frequency modulation input threshold value, taking the photovoltaic target power as the generating power of the photovoltaic unit;
and if the photovoltaic target power is smaller than the primary frequency modulation input threshold value, taking the primary frequency modulation input threshold value as the generating power of the photovoltaic unit.
In an embodiment, when the difference is greater than zero, the step of adjusting the operating state of the photovoltaic unit in the light storage system according to the difference includes:
when the light storage system is in a power limiting state, acquiring the sum of the absolute value of the difference and the original generating power of the photovoltaic unit to obtain target generating power;
and when the target generating power is larger than the available generating power of the photovoltaic unit, increasing the discharging power of the energy storage unit.
In an embodiment, when the target generated power is larger than the available generated power of the photovoltaic unit, the step of increasing the generated power of the energy storage unit comprises:
when the target generated power is larger than the available generated power of the photovoltaic unit, taking the available generated power as the generated power of the photovoltaic unit;
determining the discharging target power of the energy storage unit according to the difference value between the target power generation power and the rated power generation power;
and determining the discharge power of the energy storage unit according to the discharge target power.
In an embodiment, after the step of obtaining the target generated power, the method further includes:
and if the target generating power is smaller than the available generating power, taking the target generating power as the generating power of the photovoltaic unit.
In an embodiment, when the difference is greater than zero, the step of adjusting the operating state of the photovoltaic unit in the light storage system according to the difference includes:
when the light storage system is in an unlimited power state, determining the target discharge power of the energy storage unit;
if the target discharge power is smaller than the maximum energy storage discharge power, taking the target discharge power as the discharge power of the energy storage unit;
and if the target discharge power is larger than or equal to the maximum energy storage discharge power, taking the maximum energy storage discharge power as the discharge power of the energy storage unit.
To achieve the above object, the present invention further provides a power adjustment apparatus, which includes a memory, a processor, and a power adjustment program stored in the memory and executable on the processor, and when executed by the processor, the power adjustment program implements the steps of the power adjustment method as described above.
To achieve the above object, the present invention also provides a computer-readable storage medium storing a power adjustment program, which when executed by a processor, implements the steps of the power adjustment method as described above.
The invention provides a power adjusting method, a power adjusting device and a computer readable storage medium, which are used for collecting the operating frequency of a power grid where an optical storage system is located; when the operating frequency exceeds a preset frequency interval, acquiring a difference value between a target power and an actual power; when the difference is less than zero, adjusting the running state of an energy storage unit in the optical storage system according to the difference; and when the difference value is larger than zero, adjusting the running state of the photovoltaic unit in the light storage system according to the difference value. When the operating frequency of the power grid of the optical storage system exceeds a preset frequency range, a difference value between the target power and the actual power is calculated, the actual power of the optical storage system is adjusted through the energy storage unit and the photovoltaic unit according to the difference value, the actual power of the optical storage system is adjusted only by means of charging and discharging of the energy storage unit, and loss of generated energy in the optical storage system is avoided.
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.
The main solution of the embodiment of the invention is as follows: collecting the operating frequency of a power grid where the light storage system is located; when the operating frequency exceeds a preset frequency interval, acquiring a difference value between a target power and an actual power; when the difference is less than zero, adjusting the running state of an energy storage unit in the optical storage system according to the difference; and when the difference value is larger than zero, adjusting the running state of the photovoltaic unit in the light storage system according to the difference value.
When the operating frequency of the power grid of the optical storage system exceeds a preset frequency range, a difference value between the target power and the actual power is calculated, the actual power of the optical storage system is adjusted through the energy storage unit and the photovoltaic unit according to the difference value, the actual power of the optical storage system is adjusted only by means of charging and discharging of the energy storage unit, and loss of generated energy in the optical storage system is avoided.
As an implementation, the power adjusting apparatus may be as shown in fig. 1.
The embodiment of the invention relates to a power adjusting device, which comprises: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components. The power adjusting device can be intelligent terminal equipment such as a computer, and the power adjusting device controls a photovoltaic unit and an energy storage unit in the light storage system.
The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a power adjustment program may be included in a memory 102, which is a computer-readable storage medium; and the processor 101 may be configured to invoke the power adjustment program stored in the memory 102 and perform the following operations:
collecting the operating frequency of a power grid where the light storage system is located;
when the operating frequency exceeds a preset frequency interval, acquiring a difference value between a target power and an actual power;
when the difference is smaller than zero, adjusting the running state of an energy storage unit in the optical storage system according to the difference;
and when the difference value is larger than zero, adjusting the running state of a photovoltaic unit in the light storage system according to the difference value.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
acquiring the sum of the absolute value of the difference and the original energy storage power of the energy storage unit to obtain a target energy storage power;
and when the target energy storage power is larger than the maximum energy storage power of the energy storage unit, reducing the power generation power of the photovoltaic unit.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
when the target energy storage power is larger than the maximum energy storage power of the energy storage unit, taking the maximum energy storage power as the charging power of the energy storage unit;
determining the photovoltaic target power of the photovoltaic unit according to the difference value between the target energy storage power and the maximum energy storage power;
and determining the generating power of the photovoltaic unit according to the photovoltaic target power.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
and when the target energy storage power is less than or equal to the maximum energy storage power of the energy storage unit, taking the target energy storage power as the charging power of the energy storage unit.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
if the photovoltaic target power is larger than or equal to the primary frequency modulation input threshold value, taking the photovoltaic target power as the generating power of the photovoltaic unit;
and if the photovoltaic target power is smaller than the primary frequency modulation input threshold value, taking the primary frequency modulation input threshold value as the generating power of the photovoltaic unit.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
when the light storage system is in a power limiting state, acquiring the sum of the absolute value of the difference and the original generating power of the photovoltaic unit to obtain target generating power;
and when the target generating power is larger than the available generating power of the photovoltaic unit, increasing the discharging power of the energy storage unit.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
when the target generated power is larger than the available generated power of the photovoltaic unit, taking the available generated power as the generated power of the photovoltaic unit;
determining the discharging target power of the energy storage unit according to the difference value between the target power generation power and the rated power generation power;
and determining the discharge power of the energy storage unit according to the discharge target power.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
and if the target generating power is smaller than the available generating power, taking the target generating power as the generating power of the photovoltaic unit.
In one embodiment, the processor 101 may be configured to invoke a power adjustment program stored in the memory 102 and perform the following operations:
when the light storage system is in an unlimited power state, determining the target discharge power of the energy storage unit;
if the target discharge power is smaller than the maximum energy storage discharge power, taking the target discharge power as the discharge power of the energy storage unit;
and if the target discharge power is larger than or equal to the maximum energy storage discharge power, taking the maximum energy storage discharge power as the discharge power of the energy storage unit.
Based on the hardware architecture of the power adjustment device, an embodiment of the power adjustment method of the present invention is provided.
Referring to fig. 2, fig. 2 is a first embodiment of the power adjustment method of the present invention, which includes the following steps:
and step S10, collecting the operating frequency of the power grid where the light storage system is located.
Specifically, the operating frequency is the power grid frequency of the light storage system, the operating frequency represents the number of times that alternating current in the power grid periodically changes in each second, and the power grid frequency of the Chinese power system is 50 Hz.
And step S20, acquiring a difference value between the target power and the actual power when the operating frequency exceeds a preset frequency interval.
Specifically, when the power generation end of the optical storage system reduces the power generation power or the load end increases the power consumption of the electrical energy, the operating frequency changes, which may cause the operating frequency of the optical storage system to exceed the preset frequency interval. In the case that the operating frequency of the light storage system exceeds the preset frequency interval, for example, the grid frequency of the chinese power system is 50Hz, and the preset frequency interval may be that the operating frequency is higher than 49.94Hz and lower than 50.06 Hz. The operation frequency exceeds the preset frequency interval, namely the operation frequency is higher than 50.06Hz or lower than 49.94 Hz. The operation frequency can be adjusted by adjusting the charging power or the discharging power of the energy storage unit, or by adjusting the power generation power of the photovoltaic unit, so as to adjust the operation frequency of the optical storage system.
The target power is generated power after the optical storage system performs primary frequency modulation when the operating frequency exceeds the preset frequency interval, so that the operating frequency is in the preset frequency interval. The actual power is the current generated power of the light storage system. When the operating frequency exceeds the preset frequency interval, the difference between the target power and the actual power needs to be determined, and the actual power of the optical storage system is adjusted according to the difference, so that the actual power is equal to the target power.
And step S30, when the difference is less than zero, adjusting the running state of the energy storage unit in the light storage system according to the difference.
Specifically, when the difference between the target power and the actual power is smaller than zero, that is, the target power of the optical storage system is smaller than the actual power of the optical storage system, the generated energy of the optical storage system is too large, the energy storage unit can be controlled to charge, and redundant electric quantity in the optical storage system is stored in the energy storage unit, so that the actual power of the optical storage system is reduced.
And step S40, when the difference is larger than zero, adjusting the running state of the photovoltaic unit in the light storage system according to the difference.
Specifically, when the difference between the target power and the actual power is greater than zero, that is, the target power of the optical storage system is greater than the actual power of the optical storage system, and the power generation amount of the optical storage system is small, the power generation power of the optical storage system can be increased, so that the actual power of the optical storage system can be increased.
In the technical scheme of this embodiment, when the operating frequency of the power grid of the optical storage system exceeds the preset frequency range, the difference between the target power and the actual power is calculated, the actual power of the optical storage system is adjusted through the energy storage unit and the photovoltaic unit according to the difference, the actual power of the optical storage system is adjusted only by means of charging and discharging of the energy storage unit, and loss of generated energy in the optical storage system is avoided.
Referring to fig. 3, fig. 3 is a second embodiment of the power adjustment method of the present invention, and based on the first embodiment, the step S30 includes:
step S31, acquiring the sum of the absolute value of the difference and the original energy storage power of the energy storage unit to obtain a target energy storage power;
and step S32, when the target energy storage power is larger than the maximum energy storage power of the energy storage unit, reducing the power generation power of the photovoltaic unit.
Specifically, when the difference between the target power and the actual power is less than zero, that is, the target power of the optical storage system is less than the actual power of the optical storage system, the power generation amount of the optical storage system is too large, and the target energy storage power of the optical storage system is determined according to the sum of the difference between the target power and the actual power and the original energy storage power of the energy storage unit.
When the target energy storage power is greater than the maximum energy storage power of the energy storage unit, the energy storage unit cannot reach the target energy storage power due to the limitation of the maximum energy storage power of the energy storage unit, and therefore, in order to reduce the actual power of the optical storage system, the generation power of the photovoltaic unit needs to be reduced.
And when the target energy storage power is less than or equal to the maximum energy storage power of the energy storage unit, taking the target energy storage power as the charging power of the energy storage unit. When the target energy storage power is less than or equal to the maximum energy storage power of the energy storage unit, the power generation power of the photovoltaic unit does not need to be adjusted, and the charging power of the energy storage unit is independently adjusted, so that the actual power of the optical storage system is reduced.
In the technical scheme of this embodiment, the actual power of the optical storage system is adjusted by determining the energy storage unit, the power generation power of the photovoltaic unit is adjusted when the target energy storage power is greater than the maximum energy storage power of the energy storage unit, the charging power of the energy storage unit is independently adjusted when the target energy storage power is less than or equal to the maximum energy storage power of the energy storage unit, and the actual power of the optical storage system is consistent with the target power by adjusting the energy storage unit and the photovoltaic unit.
Referring to fig. 4, fig. 4 is a third embodiment of the power adjustment method of the present invention, and based on the second embodiment, the step S32 includes:
step S321, when the target energy storage power is greater than the maximum energy storage power of the energy storage unit, using the maximum energy storage power as the charging power of the energy storage unit;
step S322, determining photovoltaic target power of a photovoltaic unit according to the difference value between the target energy storage power and the maximum energy storage power;
step S323, determining the generated power of the photovoltaic unit according to the photovoltaic target power.
Specifically, when the target energy storage power is greater than the maximum energy storage power of the energy storage unit, the maximum energy storage power is used as the charging power of the energy storage unit, the difference value between the target energy storage power and the maximum energy storage power is determined, the photovoltaic target power of the photovoltaic unit is determined, and the power generation power of the photovoltaic unit is determined according to the photovoltaic target power. And the energy storage unit simultaneously adjusts the actual power of the light storage system according to the charging power and the generating power of the photovoltaic unit so as to enable the actual power to be consistent with the target power.
In the technical scheme of this embodiment, the energy storage unit and the photovoltaic unit together adjust the actual power of the optical storage system by determining the charging power of the energy storage unit and the generating power of the photovoltaic unit, so that the actual power is consistent with the target power.
Referring to fig. 5, fig. 5 is a fourth embodiment of the power adjustment method of the present invention, and based on the third embodiment, the step S323 includes:
step S3231, if the photovoltaic target power is greater than or equal to a primary frequency modulation input threshold value, taking the photovoltaic target power as the generating power of the photovoltaic unit;
step S3232, if the photovoltaic target power is smaller than a primary frequency modulation input threshold value, using the primary frequency modulation input threshold value as the power generation power of the photovoltaic unit.
Specifically, when the target energy storage power is greater than the maximum energy storage power of the energy storage unit, the generated power of the photovoltaic unit needs to be reduced. When the photovoltaic target power is greater than or equal to the primary frequency modulation input threshold value, the photovoltaic unit does not need to avoid the shutdown risk of equipment in the optical storage system, and the photovoltaic target power can be used as the power generation power of the photovoltaic unit. When the photovoltaic target power is smaller than the primary frequency modulation input threshold value, the photovoltaic unit generates power according to the photovoltaic target power, equipment in the light storage system risks shutdown, and therefore the primary frequency modulation input threshold value is used as the power generation power of the photovoltaic unit.
In the technical scheme of this embodiment, when the generated power of the photovoltaic unit is reduced, the operating condition of the equipment in the optical storage system is considered, and under the condition that the equipment in the optical storage system is ensured to operate normally, the generated power of the photovoltaic unit is reduced, so that the generated power of the photovoltaic unit is reduced.
Referring to fig. 6, fig. 6 is a fifth embodiment of the power adjustment method of the present invention, and based on any one of the first to fourth embodiments, the step S40 includes:
step S41, when the light storage system is in a power limiting state, acquiring the sum of the absolute value of the difference and the original generating power of the photovoltaic unit to obtain a target generating power;
and step S42, when the target generated power is larger than the available generated power of the photovoltaic unit, increasing the discharge power of the energy storage unit.
Specifically, when the difference between the target power and the actual power is greater than zero, that is, the target power of the optical storage system is greater than the actual power of the optical storage system, and the power generation amount of the optical storage system is small. When the light storage system is in a power limiting state, the power generation power of the photovoltaic unit can be improved to improve the actual power of the light storage system. And determining the target generating power by the sum of the absolute value of the difference value of the target power and the actual power of the light storage system and the original generating power of the photovoltaic unit.
When the target power generation power is greater than the available power generation power of the photovoltaic unit, the photovoltaic unit cannot reach the target power generation power, and the light storage system needs to be charged by increasing the discharge power of the energy storage unit, so that the light storage system reaches the target power.
When the target power generation power is smaller than the available power generation power of the photovoltaic unit, the photovoltaic unit can reach the target power generation power, and the target power generation power is used as the power generation power of the photovoltaic unit without calling the energy storage unit, so that the light storage system can reach the target power.
In the technical scheme of this embodiment, the target power generation power for the light storage system to generate power is determined when the light storage system is in a power-limited state, and the actual power in the light storage system is increased by moving the photovoltaic unit and the energy storage unit, so that the actual power reaches the target power.
Referring to fig. 7, fig. 7 is a sixth embodiment of the power adjustment method of the present invention, and based on the fifth embodiment, the step S42 includes:
step S421, when the target generated power is larger than the available generated power of the photovoltaic unit, taking the available generated power as the generated power of the photovoltaic unit;
step S422, determining the discharging target power of the energy storage unit according to the difference value between the target generated power and the available generated power;
step 423, determining the discharging power of the energy storage unit according to the discharging target power.
Specifically, when the target generating power is greater than the available generating power of the photovoltaic unit, the photovoltaic unit cannot reach the target generating power, the energy storage unit is required to discharge so as to adjust the actual power of the optical storage system, the discharging target power of the energy storage unit is determined according to the difference value between the target generating power and the available generating power of the photovoltaic unit, the energy storage unit discharges, and the actual power of the optical storage system reaches the target power through the photovoltaic unit and the energy storage unit.
In the technical scheme of this embodiment, the generated power of the photovoltaic unit and the discharge power of the energy storage unit are determined, and the actual power of the optical storage system is adjusted through the energy storage unit and the photovoltaic unit together, so that the actual power is consistent with the target power.
Referring to fig. 8, fig. 8 is an eighth embodiment of the power adjustment method of the present invention, and based on the first embodiment, the step S40 includes:
step S43, when the light storage system is in an unlimited power state, determining the target discharge power of the energy storage unit;
step S44, if the target discharge power is smaller than the maximum energy storage discharge power, the target discharge power is used as the discharge power of the energy storage unit;
step S45, if the target discharge power is greater than or equal to the maximum energy storage discharge power, the maximum energy storage discharge power is used as the discharge power of the energy storage unit.
Specifically, when the difference between the target power and the actual power is greater than zero, that is, the target power of the optical storage system is greater than the actual power of the optical storage system, and the power generation amount of the optical storage system is small. When the light storage system is in an unlimited power state, the actual power in the light storage system cannot be increased by increasing the power generation power of the photovoltaic unit, and the actual power of the light storage system can only be adjusted by adjusting the discharge power of the energy storage unit. And when the target discharge power of the energy storage unit is greater than or equal to the maximum energy storage discharge power, the energy storage unit cannot reach the target discharge power, and the maximum energy storage discharge power is taken as the discharge power of the energy storage unit.
In the technical scheme of this embodiment, the optical storage system determines the target power generation power for the optical storage system to generate power in an unlimited power state, and increases the actual power in the optical storage system by adjusting the discharge power of the energy storage unit, so that the actual power reaches the target power.
The present invention also provides a power adjustment apparatus, which includes a memory, a processor, and a power adjustment program stored in the memory and executable on the processor, and when executed by the processor, the power adjustment program implements the steps of the power adjustment method according to the above embodiment.
The present invention also provides a computer-readable storage medium storing a power adjustment program, which when executed by a processor implements the steps of the power adjustment method according to the above embodiment.
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.
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 apparatus 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 apparatus. 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 apparatus that comprises the element.
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 computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (such as 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.