Frequency stabilization method and device, storage medium and computer program product
By calculating the frequency deviation and power adjustment amount based on the frequency data of the power system, the first power of the electrolytic cell is allocated to stabilize the frequency of the power system, the instability problem caused by frequency fluctuations of the power system is solved and the flexibility of frequency adjustment is improved.
Patent Information
- Application Number
- CN202510051239.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-15
AI Technical Summary
When the frequency of the power system fluctuates, the electrolytic cell lacks flexibility in the power adjustment of the power system, which can easily lead to the problem of instability of the power system.
By determining the frequency deviation from the frequency data of the power system and calculating the power adjustment amount based on the frequency deviation and the number of electrolytic cells, the first power of the electrolytic cell is distributed to stabilize the frequency of the power system.
It effectively solves the instability problem caused by frequency fluctuations in the power system and improves the flexibility of frequency adjustment of the power system.
Smart Images

Figure CN119834287A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of renewable energy and power engineering, and in particular to a frequency stabilization method and device, a storage medium, and a computer program product. Background Art
[0002] With the acceleration of the transformation of the global energy structure, renewable energy has become an indispensable part of the power system. However, the intermittent and volatile nature of renewable energy will increase the volatility of the power system frequency. In existing technologies, electrolyzers are often used to absorb excess electricity or provide electricity when there is a power shortage, thereby assisting frequency control. However, in traditional power systems, the operation mode of electrolyzers is relatively fixed, focusing mainly on the efficient and stable production of hydrogen, and the ability to respond to frequency fluctuations is limited, which can easily lead to power system instability.
[0003] Regarding the related technology, when the frequency of the power system fluctuates, the electrolyzer lacks flexibility in power adjustment to the power system, which easily leads to the problem of power system instability. No effective solution has been proposed yet.
[0004] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention
[0005] The embodiments of the present application provide a frequency stabilization method and device, a storage medium, and a computer program product to at least solve the problem in the related art that when the frequency of the power system fluctuates, the electrolytic cell lacks flexibility in power adjustment to the power system, which easily leads to instability of the power system.
[0006] According to one aspect of an embodiment of the present application, a frequency stabilization method is provided, comprising: determining a frequency deviation of an electric power system according to frequency data of the electric power system, wherein the electric power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy; when the frequency deviation is greater than a preset value, determining a power adjustment amount of the electrolyzer according to the frequency deviation and the number of electrolyzers currently in operation, wherein the electrolyzer is used to adjust the frequency of the electric power system; determining a first power of an i-th electrolyzer among the electrolyzers according to the power adjustment amount and a target output power of the electrolyzer, and allocating the first power to the i-th electrolyzer to stabilize the actual frequency of the electric power system, wherein i is a positive integer.
[0007] In an exemplary embodiment, determining the frequency deviation of the power system according to the frequency data of the power system includes: determining the frequency deviation according to the following formula : ,in, is the standard frequency of the power system, is the actual frequency, and the frequency data includes the standard frequency and the actual frequency.
[0008] In an exemplary embodiment, determining the power adjustment amount of the electrolytic cell according to the frequency deviation and the number of electrolytic cells currently in operation includes: determining the power adjustment amount according to the following formula: : ,in, is the frequency regulation coefficient of the power system, is the frequency deviation, is the number of the electrolytic cells.
[0009] In an exemplary embodiment, determining the first power of the i-th electrolytic cell in the electrolytic cell according to the power adjustment amount and the target output power of the electrolytic cell includes: determining the first power according to the following formula: : ,in, is the target output power, is the power adjustment amount, is the flexibility weight of the i-th electrolyzer among the electrolyzers.
[0010] In an exemplary embodiment, after allocating the first power to the i-th electrolyzer to stabilize the frequency of the power system, the method further includes: determining the second power of the i-th electrolyzer according to the following formula: : ,in, is the power recovery coefficient of the electrolytic cell, is the target output power; and the second power is distributed to the i-th electrolytic cell so that the output power of the i-th electrolytic cell is restored to a standard range.
[0011] In an exemplary embodiment, after allocating the first power to the i-th electrolytic cell to stabilize the frequency of the power system, the method further includes: again acquiring the frequency data of the power system after being stabilized by the i-th electrolytic cell to determine the frequency deviation; when the frequency deviation is still greater than the preset value, starting an alarm device set for the power system and generating an early warning report based on the actual frequency; encrypting the early warning report to obtain an encrypted early warning report; and transmitting the encrypted early warning report to a mobile device of a target object that maintains the power system to instruct the target object to detect the power system.
[0012] In an exemplary embodiment, after allocating the first power to the i-th electrolytic cell to stabilize the frequency of the power system, the method further includes: determining a power supply set for the alarm device, wherein the power supply is used to store electrical energy converted from solar energy; and when the remaining power of the alarm device is less than a preset threshold, starting the power supply to power the alarm device.
[0013] According to another aspect of an embodiment of the present application, a frequency stabilization device is also provided, including: a first determination module, used to determine the frequency deviation of the power system based on the frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by the fluctuation of the renewable energy; a second determination module, used to determine the power adjustment amount of the electrolyzer according to the frequency deviation and the number of electrolyzers currently in operation when the frequency deviation is greater than a preset value, wherein the electrolyzer is used to adjust the frequency of the power system; a stabilization module, used to determine the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and allocate the first power to the i-th electrolyzer to stabilize the frequency of the power system, wherein i is a positive integer.
[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned frequency stabilization method when running.
[0015] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the frequency stabilization method through the computer program.
[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0017] Through this application, the frequency deviation of the power system is determined according to the frequency data of the power system. When the frequency deviation is greater than a preset value, the power adjustment amount of the electrolyzer is determined according to the frequency deviation and the number of electrolyzers currently in operation. The first power of the i-th electrolyzer in the electrolyzer is determined according to the power adjustment amount and the target output power of the electrolyzer, and the first power is allocated to the i-th electrolyzer to stabilize the actual frequency of the power system. This solves the problem in the related art that when the frequency of the power system fluctuates, the electrolyzer lacks flexibility in power adjustment of the power system, which easily leads to instability of the power system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 It is a hardware structure block diagram of a computer terminal of a frequency stabilization method according to an embodiment of the present application;
[0021] Figure 2 is a flow chart of a frequency stabilization method according to an embodiment of the present application;
[0022] Figure 3 It is a structural block diagram of a frequency stabilization device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1FIG. 1 is a hardware structure block diagram of a computer terminal of a frequency stabilization method according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor (Central Processing Unit, MCU) or a programmable logic device (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the frequency stabilization method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0027] A wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0028] In this embodiment, a frequency stabilization method is provided, which is applied to the above-mentioned computer terminal. Figure 2 is a flow chart of a frequency stabilization method according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0029] Step S202, determining a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy;
[0030] Step S204, when the frequency deviation is greater than a preset value, determining the power adjustment amount of the electrolytic cell according to the frequency deviation and the number of electrolytic cells currently in operation, wherein the electrolytic cell is used to adjust the frequency of the power system;
[0031] Step S206, determining the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and allocating the first power to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer.
[0032] Through the above steps, the frequency deviation of the power system is determined according to the frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by the fluctuation of the renewable energy; when the frequency deviation is greater than the preset value, the power adjustment amount of the electrolyzer is determined according to the frequency deviation and the number of electrolyzers currently in operation, wherein the electrolyzer is used to adjust the frequency of the power system; the first power of the i-th electrolyzer in the electrolyzer is determined according to the power adjustment amount and the target output power of the electrolyzer, and the first power is allocated to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer. This solves the problem in the related art that when the frequency of the power system fluctuates, the electrolyzer lacks flexibility in power adjustment of the power system, which easily leads to instability of the power system.
[0033] In an exemplary embodiment, determining the frequency deviation of the power system according to the frequency data of the power system includes: determining the frequency deviation according to the following formula : ,in, is the standard frequency of the power system, is the actual frequency, and the frequency data includes the standard frequency and the actual frequency.
[0034] When the actual frequency Equal to standard frequency When the frequency deviation 0, indicating that the power system frequency is in an ideal state, with supply and demand balanced. Lower than standard frequency , the frequency deviation obtained by this formula is If the actual frequency is negative, it means that the power system needs to increase power output to raise the frequency to the standard level. Higher than standard frequency , frequency deviation A positive value indicates that the power system should reduce power output to reduce the frequency to the standard level. It is set during the design and operation of the power system, usually 50 Hz or 60 Hz. The setting of standard frequency ensures that all equipment in the power system can operate in the best condition. Any deviation from the standard frequency may affect the performance and life of the equipment.
[0035] In an exemplary embodiment, determining the power adjustment amount of the electrolytic cell according to the frequency deviation and the number of electrolytic cells currently in operation includes: determining the power adjustment amount according to the following formula: : ,in, is the frequency regulation coefficient of the power system, is the frequency deviation, is the number of the electrolytic cells.
[0036] It should be made clear that It represents the total power value that needs to be increased or decreased when the electrolyzer array (i.e. all electrolyzers currently in operation) responds to the change in the power system frequency at time t. When it is a positive number, that is, the actual frequency is higher than the standard frequency, the total power adjustment of the electrolyzer array will increase, which means that the electrolyzer array needs to absorb more power to reduce the frequency of the power system; conversely, when When negative, the electrolyzer array reduces power absorption, or releases stored power to increase the frequency of the power system. The frequency regulation coefficient of the power system is a pre-set parameter used to adjust the intensity of the electrolyzer array's response to frequency deviations. The size of the frequency regulation coefficient determines the sensitivity of the electrolyzer array to frequency changes. A high value means that the electrolyzer array responds more strongly to frequency changes, can absorb or release electricity more quickly, and provides stronger support for the stable operation of the power system; a low value means that the electrolyzer array responds more strongly to frequency changes, can absorb or release electricity more quickly, and provides stronger support for the stable operation of the power system; A lower value means a gentler response, which may be suitable for smaller frequency changes, avoiding over-adjustment of the electrolyser power.
[0037] In an exemplary embodiment, determining the first power of the i-th electrolytic cell in the electrolytic cell according to the power adjustment amount and the target output power of the electrolytic cell includes: determining the first power according to the following formula: : ,in, is the target output power, is the power adjustment amount, is the flexibility weight of the i-th electrolyzer among the electrolyzers.
[0038] In determining the total additional power adjustment for the electrolyser array Afterwards, the flexibility weight of each electrolyzer The total adjustment is distributed to each electrolyzer in proportion. The power adjustment value of the i-th electrolyzer is is the target output power of the electrolyzer array Plus the additional power adjustment calculated based on the flexibility weight. This power allocation strategy based on flexibility weight ensures that the electrolyzers with the strongest adjustment capabilities in the electrolyzer array respond to the power adjustment requirements first, while those electrolyzers with weaker adjustment capabilities will receive corresponding power adjustment values according to their weights.
[0039] In an exemplary embodiment, after allocating the first power to the i-th electrolyzer to stabilize the frequency of the power system, the method further includes: determining the second power of the i-th electrolyzer according to the following formula: : ,in, is the power recovery coefficient of the electrolytic cell, is the target output power; and the second power is distributed to the i-th electrolytic cell so that the output power of the i-th electrolytic cell is restored to a standard range.
[0040] When the frequency of the power system returns to normal, the operating power of the electrolyzer needs to be gradually restored to the standard range. The above formula calculates the target output power Compared with the actual operating power of the electrolyzer at the previous moment The difference between , and then multiply it by the power recovery factor of the electrolyzer , to determine the recovery increment of the electrolytic cell power. The second power of the electrolytic cell is the actual operating power at the last moment With restore increment It should be clear that the second power It represents the target power for the electrolyzer power to recover from the adjustment state in response to the frequency deviation in the power system to the normal operation state. represents the actual operating power of the ith electrolytic cell at the previous moment t-1, It reflects the latest status of the electrolyzer during the frequency adjustment process. is the power recovery coefficient of the electrolytic cell, which is used to control the speed of power recovery of the electrolytic cell. It determines the speed at which the electrolyzer recovers from the adjustment state to the target output power. A higher γ value means that the electrolyzer power recovers faster, while a lower γ value means that the electrolyzer power recovers slower.
[0041] In an exemplary embodiment, after allocating the first power to the i-th electrolytic cell to stabilize the frequency of the power system, the method further includes: again acquiring the frequency data of the power system after being stabilized by the i-th electrolytic cell to determine the frequency deviation; when the frequency deviation is still greater than the preset value, starting an alarm device set for the power system and generating an early warning report based on the actual frequency; encrypting the early warning report to obtain an encrypted early warning report; and transmitting the encrypted early warning report to a mobile device of a target object that maintains the power system to instruct the target object to detect the power system.
[0042] The frequency data of the power system is obtained again, and the frequency deviation between the real-time frequency and the standard frequency is calculated. If the frequency deviation still exceeds the preset value, it means that the frequency of the power system has not returned to normal and further intervention is required. When the frequency deviation is greater than the preset value, the alarm device is activated and an early warning report is generated. Among them, the alarm device includes but is not limited to an audible and visual alarm, which is used to immediately attract attention in the control center, and the early warning report contains detailed information such as the specific value of the frequency deviation, the power adjustment of the electrolyzer, and the recommended operation guide. In order to protect the security of the power system and the privacy of data, the early warning report needs to be encrypted before transmission to prevent unauthorized access and data leakage, and ensure that only authorized personnel can interpret the content of the report. The encrypted early warning report is transmitted to the mobile device of the target object responsible for maintaining the power system, such as a smartphone or tablet. Through instant communication of the mobile device, the target object can be quickly notified of the abnormal state of the power system and the response of the electrolyzer, so that they can take necessary detection and maintenance measures in time. After the mobile device receives the encrypted early warning report, the target object (usually the power system operation and maintenance personnel) can decrypt the report to understand the current state of the power system and the power adjustment of the electrolyzer. Based on this information, the target object can conduct detailed inspections of the power system to determine the specific causes of frequency deviations and take appropriate measures to adjust or repair them.
[0043] In an exemplary embodiment, after allocating the first power to the i-th electrolytic cell to stabilize the frequency of the power system, the method further includes: determining a power supply set for the alarm device, wherein the power supply is used to store electrical energy converted from solar energy; and when the remaining power of the alarm device is less than a preset threshold, starting the power supply to power the alarm device.
[0044] During the day or when there is sufficient sunlight, the solar panel converts the received solar energy into electrical energy, and charges the electrical energy into the energy storage battery through the power management module. When it is detected that the remaining power of the alarm device is lower than the preset threshold, it means that the battery of the alarm device is insufficient to support its operation for the next period of time, and additional power supply is required. Once the remaining power of the alarm device is lower than the preset threshold, the power management module provides power to the alarm device. In this way, even if the main power supply is interrupted or the power system is unstable, the alarm device can continue to operate by relying on the solar power supply system, ensuring that an early warning can be issued in time when the power system frequency is abnormal.
[0045] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0046] In this embodiment, a frequency stabilization device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0047] Figure 3 : is a structural block diagram of a frequency stabilization device according to an embodiment of the present application, the device comprising:
[0048] A first determination module 30, configured to determine a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy;
[0049] A second determination module 32 is used to determine the power adjustment amount of the electrolyzer according to the frequency deviation and the number of electrolyzers currently in operation when the frequency deviation is greater than a preset value, wherein the electrolyzer is used to adjust the frequency of the power system;
[0050] The stabilization module 34 is used to determine the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and distribute the first power to the i-th electrolyzer to stabilize the frequency of the power system, wherein i is a positive integer.
[0051] Through the above device, the frequency deviation of the power system is determined according to the frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by the fluctuation of the renewable energy; when the frequency deviation is greater than a preset value, the power adjustment amount of the electrolyzer is determined according to the frequency deviation and the number of electrolyzers currently in operation, wherein the electrolyzer is used to adjust the frequency of the power system; the first power of the i-th electrolyzer in the electrolyzer is determined according to the power adjustment amount and the target output power of the electrolyzer, and the first power is allocated to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer. This solves the problem in the related art that when the frequency of the power system fluctuates, the electrolyzer lacks flexibility in power adjustment of the power system, which easily leads to instability of the power system.
[0052] In an exemplary embodiment, the first determination module 30 is further configured to determine the frequency deviation according to the following formula: : ,in, is the standard frequency of the power system, is the actual frequency, and the frequency data includes the standard frequency and the actual frequency.
[0053] In an exemplary embodiment, the second determining module 32 is further configured to determine the power adjustment amount according to the following formula: : ,in, is the frequency regulation coefficient of the power system, is the frequency deviation, is the number of the electrolytic cells.
[0054] In an exemplary embodiment, the stabilization module 34 is further configured to determine the first power according to the following formula: : ,in, is the target output power, is the power adjustment amount, is the flexibility weight of the i-th electrolyzer among the electrolyzers.
[0055] In an exemplary embodiment, the stabilization module 34 is further configured to determine the second power of the i-th electrolytic cell according to the following formula: : ,in, is the power recovery coefficient of the electrolytic cell, is the target output power; and the second power is distributed to the i-th electrolytic cell so that the output power of the i-th electrolytic cell is restored to a standard range.
[0056] In an exemplary embodiment, the stabilization module 34 is also used to obtain the frequency data of the power system after stabilization by the i-th electrolytic cell again to determine the frequency deviation; when the frequency deviation is still greater than the preset value, start the alarm device set for the power system and generate an early warning report according to the actual frequency; encrypt the early warning report to obtain an encrypted early warning report; transmit the encrypted early warning report to a mobile device of a target object that maintains the power system to instruct the target object to detect the power system.
[0057] In an exemplary embodiment, the stabilization module 34 is also used to determine the power supply set for the alarm device, wherein the power supply is used to store electrical energy converted from solar energy; when the remaining power of the alarm device is less than a preset threshold, the power supply is started to power the alarm device.
[0058] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0059] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0060] S1, determining a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy;
[0061] S2, when the frequency deviation is greater than a preset value, determining the power adjustment amount of the electrolytic cell according to the frequency deviation and the number of electrolytic cells currently in operation, wherein the electrolytic cell is used to adjust the frequency of the power system;
[0062] S3, determining the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and allocating the first power to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer.
[0063] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0064] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0065] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0066] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0067] S1, determining a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy;
[0068] S2, when the frequency deviation is greater than a preset value, determining the power adjustment amount of the electrolytic cell according to the frequency deviation and the number of electrolytic cells currently in operation, wherein the electrolytic cell is used to adjust the frequency of the power system;
[0069] S3, determining the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and allocating the first power to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer.
[0070] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0071] An embodiment of the present application further provides a computer program product, comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program product, and when the computer program is executed by a processor, the steps of the method described in each embodiment of the present application are implemented.
[0072] Optionally, in this embodiment, the above computer program may be configured to implement the following steps when executed by a processor:
[0073] S1, determining a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy;
[0074] S2, when the frequency deviation is greater than a preset value, determining the power adjustment amount of the electrolytic cell according to the frequency deviation and the number of electrolytic cells currently in operation, wherein the electrolytic cell is used to adjust the frequency of the power system;
[0075] S3, determining the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and allocating the first power to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer.
[0076] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0077] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0078] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A frequency stabilization method, characterized in that: include: determining a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy; In the case where the frequency deviation is greater than a preset value, determining a power adjustment amount of the electrolyzer according to the frequency deviation and the number of electrolyzers currently in operation, wherein the electrolyzer is used to adjust the frequency of the power system; The first power of the i-th electrolyzer among the electrolyzers is determined according to the power adjustment amount and the target output power of the electrolyzer, and the first power is allocated to the i-th electrolyzer to stabilize the actual frequency of the power system, wherein i is a positive integer.
2. The frequency stabilization method according to claim 1, characterized in that: Determining the frequency deviation of the power system according to the frequency data of the power system includes: The frequency deviation is determined according to the following formula : ,in, is the standard frequency of the power system, The actual frequency is the frequency data including the standard frequency and the actual frequency.
3. The frequency stabilization method according to claim 1, characterized in that: Determining the power adjustment amount of the electrolyzer according to the frequency deviation and the number of electrolyzers currently in operation, comprising: The power adjustment amount is determined according to the following formula : ,in, is the frequency regulation coefficient of the power system, is the frequency deviation, is the number of the electrolytic cells.
4. The frequency stabilization method according to claim 1, characterized in that: Determining a first power of an i-th electrolytic cell among the electrolytic cells according to the power adjustment amount and the target output power of the electrolytic cell comprises: The first power is determined according to the following formula : ,in, is the target output power, is the power adjustment amount, is the flexibility weight of the i-th electrolyzer among the electrolyzers.
5. The frequency stabilization method according to claim 1, characterized in that: After allocating the first power to the i-th electrolyzer to stabilize the frequency of the power system, the method further includes: The second power of the i-th electrolytic cell is determined according to the following formula : ,in, is the power recovery coefficient of the electrolytic cell, output power for the target; The second power is distributed to the i-th electrolytic cell so that the output power of the i-th electrolytic cell is restored to a standard range.
6. The frequency stabilization method according to claim 1, characterized in that: After allocating the first power to the i-th electrolyzer to stabilize the frequency of the power system, the method further includes: Reacquiring frequency data of the power system after being stabilized by the i-th electrolyzer to determine the frequency deviation; In the case where the frequency deviation is still greater than the preset value, an alarm device provided for the power system is activated, and a warning report is generated according to the actual frequency; Encrypting the early warning report to obtain an encrypted early warning report; The encrypted early warning report is transmitted to a mobile device of a target object that maintains the power system to instruct the target object to detect the power system.
7. The frequency stabilization method according to claim 6, characterized in that: After allocating the first power to the i-th electrolyzer to stabilize the frequency of the power system, the method further includes: Determining a power supply provided for the alarm device, wherein the power supply is used to store electrical energy converted from solar energy; When the remaining power of the alarm device is less than a preset threshold, the power supply is started to supply power to the alarm device.
8. A frequency stabilization device, characterized in that: include: A first determination module is configured to determine a frequency deviation of the power system according to frequency data of the power system, wherein the power system includes electric energy generated by renewable energy, and the frequency deviation is caused by fluctuations of the renewable energy; A second determination module is used to determine the power adjustment amount of the electrolyzer according to the frequency deviation and the number of electrolyzers currently in operation when the frequency deviation is greater than a preset value, wherein the electrolyzer is used to adjust the frequency of the power system; A stabilization module is used to determine the first power of the i-th electrolyzer among the electrolyzers according to the power adjustment amount and the target output power of the electrolyzer, and distribute the first power to the i-th electrolyzer to stabilize the frequency of the power system, wherein i is a positive integer.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 7 when executed.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.