A method and related equipment for hydrogen production control in deep-sea renewable energy power generation

By layering and dynamically adjusting task allocation in the deep-sea new energy power generation hydrogen production system, the problem of unstable data transmission was solved, achieving efficient and stable completion of hydrogen production tasks and reducing communication costs and energy consumption.

CN119482925BActive Publication Date: 2025-10-31GUANGDONG HUAJU TESTING TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411494024.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-10-31
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

In deep-sea new energy power generation hydrogen production systems, because the subsystems are far from land, data transmission is easily interrupted or bandwidth is limited, making it impossible to effectively complete the hydrogen production task.

Method used

By acquiring network quality and distance information, the subsystems are layered, the allocation subsystem with the lowest total communication cost is selected, and a hierarchical task distribution mechanism is adopted. Each layer of allocation subsystem only needs to communicate with the adjacent layer. A circular queue is established to dynamically adjust task allocation, and the geographically closest subsystems are merged to balance the load.

Benefits of technology

The system optimized data transmission efficiency, reduced the risk of communication interruption and energy consumption, improved resource utilization and system stability, avoided system overload or idleness, and achieved effective hydrogen production under limited data transmission conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119482925B_ABST
    Figure CN119482925B_ABST
Patent Text Reader

Abstract

This application provides a method and related equipment for controlling hydrogen production from deep-sea renewable energy power generation, relating to the field of deep-sea hydrogen production technology. By acquiring network quality and distance information, the subsystems are layered. By considering communication conditions, long-distance transmission is reduced. When selecting the allocation subsystem, the total communication cost is minimized, and data transmission efficiency is optimized. Finally, a hierarchical task distribution mechanism is adopted, where each layer's allocation subsystem only needs to communicate with adjacent layers, significantly reducing data transmission volume and communication distance. It also reduces the risk of communication interruption, while simultaneously reducing energy consumption and operation and maintenance costs, completing the hydrogen production task under limited data transmission conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of deep-sea hydrogen production technology, and in particular to a method and related equipment for controlling hydrogen production in deep-sea new energy power generation. Background Technology

[0002] With the rapid development of renewable energy technologies, offshore wind power has attracted widespread attention due to its abundant resources and relatively small environmental impact. However, offshore wind farms are typically located far from land, and traditional power transmission methods face problems of inefficiency and high costs. To better utilize offshore wind energy resources, offshore distributed water electrolysis hydrogen production technology has emerged, aiming to convert wind energy on-site into hydrogen energy that is easy to store and transport.

[0003] The related offshore distributed water electrolysis hydrogen production technology installs modular hydrogen production equipment on the base platform of each wind turbine tower, directly utilizing the electricity generated by the wind turbines to produce hydrogen. The produced hydrogen is collected in a collection pipe through a small-diameter pipeline, and then compressed or transported directly to shore through a larger-diameter pipeline. The land-based control center remotely monitors and manages each deep-sea renewable energy power generation hydrogen production subsystem by controlling it.

[0004] However, as offshore wind farms expand into deeper waters, data transmission is prone to interruptions or bandwidth limitations due to the greater distance between the subsystems and land. In cases of unstable communication, the hydrogen production subsystem for deep-sea renewable energy power generation may be unable to receive hydrogen production requests from the system. Therefore, there is an urgent need for a method to transmit hydrogen production requests under limited data transmission conditions. Summary of the Invention

[0005] This application provides a method and related equipment for controlling hydrogen production in deep-sea new energy power generation, which is used to transmit hydrogen production tasks under limited data transmission conditions.

[0006] In a first aspect, this application provides a method for controlling hydrogen production from deep-sea renewable energy power generation, applied to a control terminal, comprising: acquiring the network quality of all deep-sea renewable energy power generation hydrogen production subsystems and the control terminal; dividing all deep-sea renewable energy power generation hydrogen production subsystems into several levels based on the network quality of all deep-sea renewable energy power generation hydrogen production subsystems and the distance of all deep-sea renewable energy power generation hydrogen production subsystems from their corresponding onshore storage devices; selecting one deep-sea renewable energy power generation hydrogen production subsystem as the corresponding level's allocation subsystem in each level; the allocation subsystem being the deep-sea renewable energy power generation hydrogen production subsystem with the lowest total communication cost in the corresponding level for communicating with all other deep-sea renewable energy power generation hydrogen production subsystems in the same level; sending a total task to the allocation subsystem of the first level, causing the allocation subsystem of the first level to calculate the hydrogen production task of each deep-sea renewable energy power generation hydrogen production subsystem based on the deep-sea renewable energy power generation hydrogen production subsystems it controls, and distributing it to the corresponding deep-sea renewable energy power generation hydrogen production subsystems; the allocation subsystem of the first level calculating the remaining tasks based on all hydrogen production tasks and the total task, and sending the remaining tasks to the allocation subsystem of the next level.

[0007] By adopting the above technical solutions, the subsystems are layered by acquiring network quality and distance information. By considering communication conditions, long-distance transmission can be reduced. When selecting the allocation subsystem, the total communication cost is minimized, and the data transmission efficiency is optimized. Finally, a hierarchical task distribution mechanism is adopted, so that each layer's allocation subsystem only needs to communicate with the adjacent layer, which greatly reduces the amount of data transmission and communication distance, reduces the risk of communication interruption, and reduces energy consumption and operation and maintenance costs. The hydrogen production transmission task can be completed under limited data transmission conditions.

[0008] In conjunction with some embodiments of the first aspect, in some embodiments, after dividing the entire deep-sea new energy power generation hydrogen production subsystem into several levels, the method further includes: establishing a circular queue containing all levels, wherein the circular queue includes each level once in each cycle; when a total task is received, determining the current position of the circular queue; when the current position is the first level, executing the step of sending the total task to the allocation subsystem of the first level; removing the first level from the circular queue; when the current position is the last level, sending the total task to the allocation subsystem of the last level, so that the allocation subsystem of the last level calculates the hydrogen production task of each deep-sea new energy power generation hydrogen production subsystem according to the deep-sea new energy power generation hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation subsystem. The hydrogen production subsystem: the last-level allocation subsystem calculates the remaining tasks based on all hydrogen production tasks and the total task, and sends the remaining tasks to the allocation subsystem of the next higher level; the last level in the circular queue is removed; when the current position is the middle level, the total task is sent to the allocation subsystem of the middle level, so that the allocation subsystem of the middle level calculates the hydrogen production task of each deep-sea new energy power generation hydrogen production subsystem under its control, and distributes it to the corresponding deep-sea new energy power generation hydrogen production subsystem. The allocation subsystem of the middle level calculates the remaining tasks based on all hydrogen production tasks and the total task, and sends the remaining tasks to the allocation subsystems of the next higher and lower levels; the middle level in the circular queue is removed; when all levels in the circular queue have been removed, the next cycle begins.

[0009] By adopting the above technical solution, a circular queue containing all levels is established, ensuring that each level has the opportunity to become the starting point for task distribution. Through dynamic adjustment of the current position, tasks are rotated and allocated between different levels. This significantly improves the load balance between the distribution subsystems at each level and the controlled deep-sea new energy power generation and hydrogen production subsystem, effectively avoiding situations where some systems are overloaded while others are idle, thereby improving the resource utilization rate and long-term operational stability of the entire system.

[0010] In conjunction with some embodiments of the first aspect, in some embodiments, the step of sending the remaining tasks to the allocation subsystems of the upper and lower layers specifically includes: the intermediate layer obtaining the number of remaining levels above the intermediate layer and the number of remaining levels below the intermediate layer from the control terminal; calculating the proportion of the number of remaining levels above the intermediate layer to the total number of remaining levels; multiplying the remaining tasks by the proportion to obtain the upload tasks; subtracting the upload tasks from the remaining tasks to obtain the download tasks; the allocation subsystem of the intermediate layer sending the upload tasks to the allocation subsystem of the upper layer; and the allocation subsystem of the intermediate layer sending the download tasks to the allocation subsystem of the lower layer.

[0011] By adopting the above technical solution, and by calculating the ratio of the number of remaining levels above and below the intermediate layer, the task allocation is ensured to match the hierarchical structure. Based on this ratio, the remaining tasks are divided into upload tasks and download tasks, making the task allocation more balanced. By taking into account the complexity of the hierarchical structure, the imbalance that may be caused by simple average allocation is avoided, and the situation of task backlog or idle resources is reduced.

[0012] In conjunction with some embodiments of the first aspect, in some embodiments, before the step of dividing the entire deep-sea new energy power generation hydrogen production subsystem into several levels, the method further includes: determining the number of levels according to a level number function; wherein the level number function is:

[0013]

[0014] K i nit=α*N

[0015]

[0016] CV Q =Q std / Q avg

[0017]

[0018] CV D =D std / D avg

[0019] In the formula, K represents the number of levels. i nit is the initial number of levels, K Q K is the network quality adjustment factor. D α is the distance adjustment factor, N is the base level coefficient, and CV is the total number of all deep-sea new energy power generation and hydrogen production subsystems. Q For network quality coefficients, Q is the network quality threshold. std Q represents the average standard deviation of network quality for all deep-sea renewable energy power generation and hydrogen production subsystems. avg For the average network quality of all deep-sea renewable energy power generation hydrogen production subsystems, CV D This is the distance adjustment factor. To adjust the threshold for distance, D std D represents the average standard deviation of the distance for all deep-sea renewable energy power generation and hydrogen production subsystems. avg The average distance for all deep-sea new energy power generation hydrogen production subsystems.

[0020] By adopting the above technical solutions and taking into account network quality and distance factors, the hierarchical division is made more in line with actual communication conditions.

[0021] In conjunction with some embodiments of the first aspect, in some embodiments, after selecting a deep-sea new energy power generation and hydrogen production subsystem as the allocation subsystem for each level, the method further includes: the allocation subsystem in the current level determines the geographical area of ​​the controlled deep-sea new energy power generation and hydrogen production subsystem, where the current level is any level; the allocation subsystem in the current level divides the geographical area into rectangular grids; the allocation subsystem in the current level allocates the controlled deep-sea new energy power generation and hydrogen production subsystem to the corresponding grids according to their geographical coordinates; if the number of subsystems in the current grid is lower than a minimum number threshold, the allocation subsystem in the current level merges the previous grid with the grid with the fewest adjacent subsystems, where the previous grid is any grid; the allocation subsystem in the current level deletes the grids, resulting in several sub-partitions for the current level; In each sub-partition, the allocation subsystem within the hierarchy selects a deep-sea renewable energy power generation and hydrogen production subsystem as the corresponding sub-partition's second allocation subsystem. The second allocation subsystem is the deep-sea renewable energy power generation and hydrogen production subsystem within the corresponding sub-partition that has the lowest total communication cost with all other deep-sea renewable energy power generation and hydrogen production subsystems in the same layer. When the current layer's allocation subsystem receives remaining tasks, it splits these tasks according to the number of sub-partitions and sends them to the second allocation subsystem. The second allocation subsystem calculates the hydrogen production task for each deep-sea renewable energy power generation and hydrogen production subsystem it controls and distributes it to the corresponding subsystem. The current layer's allocation subsystem calculates new remaining tasks based on all hydrogen production tasks and the remaining tasks, and sends these new remaining tasks to the allocation subsystem of the next layer.

[0022] By adopting the above technical solution, the control area is divided into rectangular grids, and subsystems are assigned to corresponding grids based on geographical location. Grids with fewer subsystems are merged, thus avoiding resource fragmentation. The subsystem with the lowest communication cost in each sub-partition is selected as the second subsystem for allocation, further optimizing local communication efficiency. By splitting tasks according to the number of sub-partitions, the total communication cost is further reduced, and the accuracy of task allocation and execution efficiency are improved.

[0023] In conjunction with some embodiments of the first aspect, in some embodiments, after the step of allocating the allocation subsystem in the current level to the corresponding grid according to the geographical coordinates of the controlled deep-sea new energy power generation hydrogen production subsystem, the method further includes: if the difference in the number of subsystems between adjacent grids exceeds a preset threshold, then the subsystems near the boundary of the grid with more subsystems are reassigned to the adjacent grid with fewer subsystems, until the difference in the number of subsystems between adjacent grids is lower than the preset threshold or the maximum number of adjustments is reached.

[0024] By employing the above technical solution, unevenly distributed regions are identified by comparing the differences in the number of subsystems between adjacent grids. Dynamic adjustment is achieved by reassigning subsystems near the boundary in grids with a larger number of subsystems to adjacent grids with a smaller number of subsystems. This method improves the balance of grid partitioning and helps enhance the stability of subsystem allocation.

[0025] In conjunction with some embodiments of the first aspect, in some embodiments, after the step of sending the total task to the first-layer distribution subsystem, the method further includes: the distribution subsystem continuously monitoring its own load; when the load of the distribution subsystem reaches a preset threshold, identifying the deep-sea new energy power generation and hydrogen production subsystem geographically closest to the distribution subsystem; merging the geographically closest deep-sea new energy power generation and hydrogen production subsystem with the distribution subsystem to form a new extended distribution subsystem; the new extended distribution subsystem jointly undertaking the communication and computing tasks of the original distribution subsystem; recalculating the load of the extended distribution subsystem; if the load of the extended distribution subsystem is still higher than the preset threshold, repeating the above steps until the load is lower than the preset threshold or the predetermined maximum number of merging is reached; after the extended distribution subsystem is formed, the original distribution subsystem maintains its role in task distribution, continuing to be responsible for receiving the total task and distributing it to each deep-sea new energy power generation and hydrogen production subsystem; other subsystems in the extended distribution subsystem assist the original distribution subsystem in processing computing tasks.

[0026] By adopting the above technical solution, the load status of the distribution subsystem is continuously monitored, and potential overload risks are identified in a timely manner. When the load reaches a preset threshold, the geographically closest subsystems are merged to form an extended distribution subsystem, realizing dynamic expansion of resources. By repeatedly merging until the load requirements are met or the maximum number of merging is reached, the effectiveness of load balancing is ensured. Furthermore, other subsystems in the extended distribution subsystem only assist the original distribution subsystem in handling computing tasks and do not participate in communication and task distribution. The original distribution subsystem is the deep-sea new energy power generation and hydrogen production subsystem with the lowest total communication cost determined through prior calculations. By maintaining the communication and distribution role of the original distribution subsystem, the system continues to operate with the lowest total communication cost.

[0027] Secondly, this application provides a deep-sea new energy power generation hydrogen production control system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, which includes computer instructions, and the one or more processors call the computer instructions to cause the deep-sea new energy power generation hydrogen production control system to perform the method described in the first aspect and any possible implementation thereof.

[0028] Thirdly, this application provides a computer program product containing instructions that, when the computer program product is run on a deep-sea new energy power generation hydrogen production control system, cause the deep-sea new energy power generation hydrogen production control system to perform the method described in the first aspect and any possible implementation thereof.

[0029] Fourthly, this application provides a computer-readable storage medium including instructions that, when executed on a deep-sea new energy power generation hydrogen production control system, cause the deep-sea new energy power generation hydrogen production control system to perform the method described in the first aspect and any possible implementation thereof.

[0030] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:

[0031] 1. By acquiring network quality and distance information, the subsystems are layered, and communication conditions are considered, which helps reduce long-distance transmission. When selecting the allocation subsystem, the total communication cost is minimized, and data transmission efficiency is optimized. Finally, a hierarchical task distribution mechanism is adopted, where each layer's allocation subsystem only needs to communicate with adjacent layers, significantly reducing data transmission volume and communication distance, reducing the risk of communication interruption, and simultaneously reducing energy consumption and operation and maintenance costs, thus completing the hydrogen production transmission task under limited data transmission conditions.

[0032] 2. A circular queue encompassing all levels was established to ensure that each level has the opportunity to become the starting point for task distribution. By dynamically adjusting the current position, tasks were rotated and allocated between different levels. This significantly improved the load balance between the distribution subsystems at each level and the deep-sea new energy power generation and hydrogen production subsystems they control, effectively avoiding situations where some systems were overloaded while others were idle, thereby improving the resource utilization and long-term operational stability of the entire system.

[0033] 3. By dividing the control area into rectangular grids and assigning subsystems to corresponding grids based on geographical location, resource fragmentation is avoided by merging grids with fewer subsystems. Selecting the subsystem with the lowest communication cost in each sub-partition as the second subsystem for allocation further optimizes local communication efficiency. Splitting tasks according to the number of sub-partitions further reduces the total communication cost and improves the accuracy and efficiency of task allocation. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of an exemplary scenario for the application of the deep-sea new energy power generation hydrogen production control method in the embodiments of this application;

[0035] Figure 2 This is a flowchart illustrating a hydrogen production control method for deep-sea new energy power generation in an embodiment of this application.

[0036] Figure 3 This is another schematic diagram of the hydrogen production control method for deep-sea new energy power generation in the embodiments of this application;

[0037] Figure 4 This is another schematic diagram of the hydrogen production control method for deep-sea new energy power generation in the embodiments of this application;

[0038] Figure 5 This is another schematic diagram of the hydrogen production control method for deep-sea new energy power generation in the embodiments of this application;

[0039] Figure 6 This is an exemplary hardware structure diagram of the hydrogen production control system for deep-sea new energy power generation in this application embodiment. Detailed Implementation

[0040] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to and includes any or all possible combinations of one or more of the listed items.

[0041] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0042] Before describing the technical solution of this application, let's first describe the application scenario.

[0043] refer to Figure 1 , Figure 1 This is a schematic diagram of an exemplary scenario for the application of the deep-sea new energy power generation hydrogen production control method in the embodiments of this application.

[0044] A control terminal is set up on shore to be responsible for overall control and task allocation.

[0045] There are multiple deep-sea new energy power generation and hydrogen production subsystems distributed at sea, each of which includes wind turbine units and corresponding hydrogen production equipment.

[0046] Hydrogen is produced directly on the wind turbine side. The generated hydrogen is collected into a collection manifold through a small-sized gas pipeline, and then compressed or transported directly to the shore through a large-diameter pipeline.

[0047] The control terminal communicates with each subsystem via the network to allocate and control tasks.

[0048] refer to Figure 2 , Figure 2 This is a flowchart illustrating a method for controlling hydrogen production from deep-sea renewable energy power generation in an embodiment of this application; S201, Obtain the network quality of all deep-sea renewable energy power generation hydrogen production subsystems and control terminals;

[0049] In some embodiments, the control terminal sends probe signals to all deep-sea new energy power generation hydrogen production subsystems and assesses the quality of network connectivity based on the received responses.

[0050] In some specific embodiments, the control terminal sends requests to each subsystem, records round-trip time, analyzes the packet loss rate of received data packets, measures signal strength and noise ratio, and calculates a network quality score based on the above data.

[0051] In some specific embodiments: the control terminal requests to measure the round-trip time and packet loss rate of each subsystem, while simultaneously measuring the available bandwidth. Additional measurements are triggered when there are significant fluctuations in the network. The average and standard deviation of the round-trip time are calculated, and the percentage of packet loss and available bandwidth are recorded. The network quality score is calculated using the formula: Score = (1 / average round-trip time) * 0.4 + (1 - packet loss rate) * 0.3 + (available bandwidth / maximum bandwidth) * 0.3.

[0052] S202. Based on the network quality of all deep-sea new energy power generation hydrogen production subsystems and the distance of all deep-sea new energy power generation hydrogen production subsystems from the corresponding onshore storage equipment, the entire deep-sea new energy power generation hydrogen production subsystems are divided into several levels.

[0053] In some embodiments, network quality (using the network quality score obtained in S201) and distance (calculating the straight-line distance from each subsystem to the corresponding onshore storage device) are considered. Then, a comprehensive score is calculated for each subsystem: Comprehensive score = Network quality score * W1 + (1 - Normalized distance) * W2, where W1 and W2 are weights and their sum is 1, and the normalized distance is the actual distance divided by the maximum distance. All subsystems are then sorted in descending order based on their comprehensive scores, and finally, all deep-sea renewable energy power generation and hydrogen production subsystems are divided into several levels based on the number of levels.

[0054] It should be noted that the number of layers can be set to a fixed threshold based on actual conditions, or the threshold can be dynamically adjusted considering network quality and distance.

[0055] In some embodiments, the method for dynamically adjusting the threshold based on network quality and distance is as follows:

[0056] The number of levels is determined according to the level function; where the level function is:

[0057]

[0058] K i nit=α*N

[0059]

[0060] CV Q =Q std / Q avg

[0061]

[0062] CV D =D std / D avg

[0063] In the formula, K represents the number of levels. i nit is the initial number of levels, K Q K is the network quality adjustment factor. D α is the distance adjustment factor, N is the base level coefficient, and CV is the total number of all deep-sea new energy power generation and hydrogen production subsystems. Q For network quality coefficients, Q is the network quality threshold. std Q represents the average standard deviation of network quality for all deep-sea renewable energy power generation and hydrogen production subsystems. avg For the average network quality of all deep-sea renewable energy power generation hydrogen production subsystems, CV D This is the distance adjustment factor. To adjust the threshold for distance, D std D represents the average standard deviation of the distance for all deep-sea renewable energy power generation and hydrogen production subsystems. avg The average distance for all deep-sea new energy power generation hydrogen production subsystems.

[0064] It is evident that by considering network quality and distance factors, the hierarchical division becomes more aligned with actual communication conditions.

[0065] S203. In each level, select one deep-sea new energy power generation hydrogen production subsystem as the corresponding level's distribution subsystem; the distribution subsystem is the deep-sea new energy power generation hydrogen production subsystem with the lowest total communication cost in the corresponding level that communicates with all other deep-sea new energy power generation hydrogen production subsystems in the same level.

[0066] In some embodiments, each deep-sea renewable energy power generation hydrogen production subsystem first calculates its own network quality score, using the same scoring method as step S201: Score = (1 / average round-trip delay) * 0.4 + (1 - packet loss rate) * 0.3 + (available bandwidth / maximum bandwidth) * 0.3. Subsequently, each subsystem communicates with other subsystems in the same layer, exchanging network quality information. Each subsystem calculates its communication cost with all other subsystems in the same layer, defined as 1 / network quality score. The subsystems accumulate these communication costs to obtain their total communication cost. Then, the subsystems elect the subsystem with the lowest total communication cost as the allocation subsystem for that layer using a distributed algorithm. The selected allocation subsystem reports its new role to the control terminal and notifies other subsystems in the same layer.

[0067] S204. Send the total task to the first-level distribution subsystem, so that the first-level distribution subsystem calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem under its control, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem. The first-level distribution subsystem calculates the remaining tasks based on all hydrogen production tasks and the total task, and sends the remaining tasks to the next-level distribution subsystem.

[0068] The total task refers to the total amount of hydrogen production that needs to be completed, the hydrogen production task represents the specific amount of hydrogen production allocated to each subsystem, and the remaining task refers to the remaining amount of hydrogen production after subtracting the allocated tasks from the total task.

[0069] In some embodiments, the control terminal first sends the total hydrogen production task to the first-level distribution subsystem. This distribution subsystem calculates and allocates specific hydrogen production tasks based on the capabilities of the subsystems it controls (such as power generation, hydrogen production efficiency, etc.). Then, it calculates the remaining unallocated task volume and passes this remaining task to the next-level distribution subsystem. This process is carried out layer by layer until all tasks are allocated or the final level is reached.

[0070] In some specific embodiments, the first-level allocation subsystem first collects the following data for each subsystem: current power generation, electrolyzer efficiency, current hydrogen storage, and maximum storage capacity. Then, it calculates the total available power generation (the sum of the current power generation of all subsystems) and the total hydrogen production capacity (total available power generation divided by the average electrolyzer efficiency). A linear programming algorithm is used to optimize the hydrogen production task of each subsystem, with the goal of maximizing the total hydrogen production. Constraints include: the hydrogen production task of each subsystem cannot be negative, cannot exceed its current power generation divided by the electrolyzer efficiency, and the hydrogen production task plus the current storage cannot exceed the maximum storage capacity. After optimization, the allocation subsystem sends its calculated hydrogen production task to each deep-sea new energy power generation hydrogen production subsystem as the hydrogen production task for the next time period.

[0071] In a specific embodiment, for each subsystem, the available energy for hydrogen production is calculated as follows: current power generation - system self-consumption + available energy storage; the maximum hydrogen production capacity of each subsystem is calculated as: available energy * hydrogen production efficiency factor; considering the historical load of each subsystem, a load factor (range 0-1) is introduced, with lower historical loads corresponding to higher load factors; the weighted hydrogen production capacity is calculated as: maximum hydrogen production capacity * load factor; the hydrogen production task of each subsystem is calculated as follows: hydrogen production task = (weighted hydrogen production capacity of the subsystem / sum of weighted hydrogen production capacities of all subsystems) * total hydrogen production demand.

[0072] It is evident that layering the subsystems by acquiring network quality and distance information, and considering communication conditions, helps reduce long-distance transmission. When selecting the allocation subsystem, minimizing the total communication cost and optimizing data transmission efficiency were considered. Finally, a hierarchical task distribution mechanism was adopted, where each allocation subsystem only needs to communicate with its adjacent layer, significantly reducing data transmission volume and communication distance. This also reduces the risk of communication interruption, while simultaneously decreasing energy consumption and maintenance costs, enabling the hydrogen production transmission task to be completed under limited data transmission conditions.

[0073] The aforementioned solution addresses the technical challenge of transmitting hydrogen production tasks under limited data transmission conditions. However, in practical deep-sea renewable energy power generation hydrogen production control methods, the control terminal sends the total task to the first-level distribution subsystem. This first-level distribution subsystem calculates and distributes the hydrogen production tasks to the deep-sea renewable energy power generation hydrogen production subsystems it controls, and then sends the remaining tasks to the next-level distribution subsystem. This task allocation method may lead to an imbalance in task distribution. Specifically, higher-level distribution subsystems and their controlled deep-sea renewable energy power generation hydrogen production subsystems bear heavier tasks, while lower-level distribution subsystems and their controlled deep-sea renewable energy power generation hydrogen production subsystems have lighter tasks. Especially when the total task volume is small, the first few levels of deep-sea renewable energy power generation hydrogen production subsystems may be overloaded or even saturated, while the lower levels are idle or underloaded. This imbalance may cause excessive load differences between the distribution subsystems and their controlled deep-sea renewable energy power generation hydrogen production subsystems, thus affecting the long-term stable operation and economic benefits of the system.

[0074] Figure 3 This is another schematic diagram of the hydrogen production control method for deep-sea new energy power generation in the embodiments of this application;

[0075] Therefore, after step S202, the following steps are also included:

[0076] S301. Establish a circular queue containing all levels, wherein the circular queue includes each level once in each cycle; wherein, a circular queue is a special queue data structure whose characteristic is that when the tail of the queue is reached, the next element will return to the beginning of the queue, forming a cycle.

[0077] In some embodiments, the control terminal creates a circular queue data structure containing all levels. This queue is arranged in hierarchical order, such as first level, second level, third level, etc. When the last level is reached, the next element automatically returns to the first level, forming a cycle. This structure ensures that each level has the opportunity to be considered and processed multiple times during task allocation.

[0078] In a preferred embodiment, the circular queue operates in an alternating order of "first layer, last layer, second layer, penultimate layer," etc. While ensuring that "the circular queue includes all layers once in each cycle," the "distance" between adjacent layers in the circular queue is maximized. This is because the deep-sea new energy power generation hydrogen production subsystem may face the technical challenge of uneven load distribution: the first few layers of the subsystem may experience overload or even saturation, while the later layers may be idle or underloaded. Maximizing the "distance" prevents localized overload caused by continuous use of adjacent layers.

[0079] In some specific implementations, an empty array or linked list is created as the basic structure of the queue; information of each level is added to the queue in hierarchical order; a pointer is set to point to the current position of the queue; and a loop mechanism is implemented so that the pointer automatically returns to the beginning when it reaches the end of the queue, which is not limited here.

[0080] S302. When the main task is received, determine the current position of the circular queue;

[0081] In some embodiments, the control terminal checks the current state of the circular queue and determines the next defined level.

[0082] S303. When the current position is the first layer, execute step S203;

[0083] S304. Remove the first level from the circular queue;

[0084] Removal refers to the operation of temporarily removing or marking something as processed from a circular queue.

[0085] In some embodiments, the control terminal may remove the first-level record from the circular queue or mark it as processed.

[0086] S305. When the current position is the last layer, the total task is sent to the allocation subsystem of the last layer, so that the allocation subsystem of the last layer calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem according to the deep-sea new energy power generation and hydrogen production subsystem under its control, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem. The allocation subsystem of the last layer calculates the remaining tasks according to all hydrogen production tasks and the total task, and sends the remaining tasks to the allocation subsystem of the upper layer.

[0087] It should be noted that the principle and process of this step are similar to those of step S203. The relevant principle and process can be referred to step S203, and will not be repeated here.

[0088] S306. Remove the last layer from the circular queue;

[0089] It should be noted that the principle and process of this step are similar to those of step S304. The relevant principle and process can be referred to step S304, and will not be repeated here.

[0090] S307. When the current position is the intermediate layer, the total task is sent to the distribution subsystem of the intermediate layer, so that the distribution subsystem of the intermediate layer calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem according to the deep-sea new energy power generation and hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem. The distribution subsystem of the intermediate layer calculates the remaining tasks according to all hydrogen production tasks and the total task, and sends the remaining tasks to the distribution subsystems of the upper layer and the lower layer.

[0091] In this context, an intermediate layer refers to any level in a hierarchical structure that is neither the first nor the last level.

[0092] Unlike the last layer, the middle layer needs to split the remaining tasks and send them to the allocation subsystems of the upper and lower layers.

[0093] In some embodiments, the parts may be divided equally; however, this is not a limitation.

[0094] In some embodiments, the task reception status of each subsystem is confirmed; the remaining tasks are calculated; and the allocation ratio of the remaining tasks is dynamically determined based on the historical performance of the upper and lower layers; no limitation is made here.

[0095] The steps of sending the remaining tasks to the allocation subsystems of the upper and lower layers specifically include:

[0096] S3071. The intermediate layer obtains the number of remaining levels above the intermediate layer and the number of remaining levels below the intermediate layer from the control terminal;

[0097] In some embodiments, the distribution subsystem of the intermediate layer first establishes a connection with the control terminal, and then requests and receives two key data through a predefined protocol or interface: the number of remaining levels above the intermediate layer and the number of remaining levels below the intermediate layer.

[0098] In some specific embodiments, the intermediate layer can proactively send a query request to the control terminal, which includes the current layer information. After receiving the request, the control terminal calculates and returns the number of remaining layers above and below. After receiving the request, the control terminal queries the network topology database to determine the current position of the intermediate layer, calculates the number of remaining layers above and below, and finally sends the result back to the intermediate layer. This is not limited here.

[0099] S3072. Calculate the proportion of the remaining levels above the intermediate level to the total remaining levels;

[0100] In some embodiments, the allocation subsystem of the intermediate layer first adds the number of remaining levels above the intermediate layer and the number of remaining levels below the intermediate layer to obtain the total number of remaining levels. Then, it divides the number of remaining levels above the intermediate layer by the total number of remaining levels to obtain a decimal between 0 and 1. This decimal is the desired proportion. This proportion reflects the share that the upper-layer network should bear in task allocation.

[0101] S3073. Multiply the remaining tasks by the proportion to obtain the upload tasks;

[0102] In some embodiments, the allocation subsystem of the intermediate layer first obtains the total number of remaining unallocated tasks, which may be a numerical value or a list of tasks. Then, it multiplies this remaining number of tasks by the proportion calculated in the previous step, and the result is the number of tasks that need to be uploaded to the upper-layer network.

[0103] S3074. Subtract the upload tasks from the remaining tasks to obtain the download tasks;

[0104] In some embodiments, the allocation subsystem of the intermediate layer subtracts the number of upload tasks calculated in the previous step from the total number of remaining tasks, and the difference is the number of tasks that need to be sent down to the lower layer network.

[0105] S3075, The middle layer's allocation subsystem sends the upload task to the upper layer's allocation subsystem;

[0106] S3076, The intermediate layer's distribution subsystem sends the downlink task to the next layer's distribution subsystem.

[0107] As can be seen, by calculating the ratio of the number of remaining levels above and below the intermediate layer, the task allocation is ensured to match the hierarchical structure. Based on this ratio, the remaining tasks are divided into uploading tasks and downloading tasks, making the task allocation more balanced. By taking into account the complexity of the hierarchical structure, the imbalance that may be caused by simple average allocation is avoided, and the situation of task backlog or idle resources is reduced.

[0108] S308. Remove the intermediate layer from the circular queue;

[0109] It should be noted that the principle and process of this step are similar to those of step S304. The relevant principle and process can be referred to step S304, and will not be repeated here.

[0110] S309. After all levels in the circular queue have been removed, the next cycle begins.

[0111] In some embodiments, the control terminal checks the state of the circular queue to confirm whether all levels have been processed. If so, the system resets the queue state to prepare for a new cycle. This may include restoring the unprocessed state of all levels, resetting pointer positions, clearing temporary data, and other operations.

[0112] As can be seen, establishing a circular queue encompassing all levels ensures that each level has the opportunity to become the starting point for task distribution. By dynamically adjusting the current position, tasks are rotated and allocated between different levels. This significantly improves the load balance between the distribution subsystems at each level and the deep-sea new energy power generation and hydrogen production subsystem they control, effectively avoiding situations where some systems are overloaded while others are idle, thereby improving the resource utilization and long-term operational stability of the entire system.

[0113] The above embodiments address the issue of accumulated waiting times at each level, significantly extending the waiting time at lower levels, especially the last level. However, in practical applications, after dividing the entire deep-sea renewable energy power generation and hydrogen production subsystem into several levels, the subsystems within each level often exhibit a fan-shaped or rectangular spatial distribution. This distribution characteristic leads to a problem: even if the subsystem with the lowest total communication cost with all other deep-sea renewable energy power generation and hydrogen production subsystems in the same level is selected as the allocation subsystem, the overall communication cost within that level may still be high. This is because the maximum distance between subsystems within a level may be relatively large, resulting in high communication costs between some subsystems and the allocation subsystem. Therefore, simply minimizing the total communication cost may not be sufficient to optimize the communication efficiency of the entire level.

[0114] Please see Figure 4 , Figure 4 This is another schematic diagram of the hydrogen production control method for deep-sea new energy power generation in the embodiments of this application;

[0115] After step S203, step S204 is replaced by S401 to S408, and the method further includes:

[0116] S401. The distribution subsystem in the current level determines the geographical area of ​​the controlled deep-sea new energy power generation hydrogen production subsystem. The current level can be any level.

[0117] The geographical area refers to the geographical spatial range in which these subsystems are distributed.

[0118] In some embodiments, the allocation subsystem at the current level first needs to obtain the geographical location information of all deep-sea renewable energy power generation and hydrogen production subsystems within its jurisdiction, which may include latitude and longitude coordinates. Then, the allocation subsystem analyzes this coordinate data to determine the minimum geographical area encompassing all subsystems. This area is typically represented in the form of a rectangle or polygon, defining the sea area managed by the current level.

[0119] In some specific embodiments, a bounding box method is used to find the minimum and maximum latitude and longitude values ​​among all subsystem coordinates to determine a rectangular region. The specific steps include: traversing the coordinates of all subsystems, recording the minimum and maximum latitude and longitude values, and using these values ​​to construct a rectangular bounding box, which is not limited here.

[0120] S402. The allocation subsystem in the current level divides the geographic area into rectangular grids;

[0121] A rectangular grid refers to dividing an entire geographic area into several equally sized rectangular regions. In some embodiments, the allocation subsystem divides the entire geographic area into multiple equally sized rectangular grids based on a predefined grid size or number of grids. Each grid is assigned a unique identifier for subsequent subsystem allocation and task management. The grid size needs to balance management granularity and computational complexity; it cannot be too large to lose the meaning of subdivision, nor too small to cause excessive computational burden.

[0122] In some specific embodiments, the latitude and longitude span of a single grid is determined, the number of grid rows and columns to be divided is calculated, a grid matrix is ​​generated, and an identifier is assigned to each grid; this is not limited here.

[0123] S403. The allocation subsystem in the current level allocates the controlled deep-sea new energy power generation hydrogen production subsystem to the corresponding grid according to the geographical coordinates of the subsystem.

[0124] In some embodiments, the allocation subsystem traverses all controlled deep-sea renewable energy power generation and hydrogen production subsystems, reading the geographic coordinates of each subsystem. Then, it calculates which grid each coordinate point falls within and stores the subsystem's information (such as identifiers, performance parameters, etc.) in the corresponding grid's data structure. This process essentially establishes a mapping relationship between subsystems and grids.

[0125] In some specific embodiments, a direct calculation method is used to directly calculate the grid index to which the subsystem belongs based on the coordinates of the subsystem and the size of the grid. The specific steps include: reading the latitude and longitude coordinates of the subsystem, calculating the offset of the coordinates relative to the lower left corner of the entire area, calculating the row and column index based on the offset and the grid size, and adding the subsystem information to the data structure of the corresponding grid. This is not limited here.

[0126] S404. If the number of subsystems in the current grid is lower than the minimum number threshold, the allocation subsystem in the current level will merge the previous grid with the grid with the fewest adjacent subsystems, and the previous grid can be any grid.

[0127] The minimum quantity threshold refers to the minimum number of deep-sea renewable energy power generation hydrogen production subsystems that should be included in each grid. Adjacent grids refer to grids that are geographically adjacent to the current grid.

[0128] In some embodiments, the subsystem traverses all grids, checks the number of subsystems in each grid, and if it finds that the number of subsystems in a certain grid (called the front grid) is lower than a preset minimum number threshold, it searches all the adjacent grids, selects the grid with the fewest subsystems, and then merges the two grids.

[0129] In a preferred embodiment, step S404 is followed by step S409.

[0130] S409. If the difference in the number of subsystems between adjacent grids exceeds a preset threshold, the subsystems of the grid with more subsystems near the boundary will be redistributed to the adjacent grids with fewer subsystems until the difference in the number of subsystems between adjacent grids is lower than the preset threshold or the maximum number of adjustments is reached.

[0131] In some embodiments, the differences in the number of subsystems between adjacent grids are compared. If the difference exceeds a preset threshold, an adjustment is initiated. During the adjustment process, subsystems near the boundary in grids with a larger number of subsystems are redistributed to adjacent grids with a smaller number of subsystems. This process is repeated until one of two conditions is met: either the difference in the number of subsystems between adjacent grids is reduced below the preset threshold, or a preset maximum number of adjustments is reached. This ensures a balanced distribution of subsystems across grids, improving the overall system's management efficiency and operational stability.

[0132] As can be seen, unevenly distributed regions can be identified by comparing the differences in the number of subsystems between adjacent grids. Dynamic adjustment is achieved by redistributing subsystems near the boundary in grids with a larger number of subsystems to adjacent grids with a smaller number of subsystems. This method improves the balance of grid partitioning and helps enhance the stability of subsystem allocation.

[0133] S405. The allocation subsystem in the current level deletes the grid, resulting in several sub-partitions in the current level;

[0134] The delete grid operation refers to removing the original grid structure and replacing it with a new sub-partition structure.

[0135] In some embodiments, the allocation subsystem clears the original grid structure information, including grid boundary definitions and adjacency relationships between grids. Then, each merged region is treated as an independent sub-partition. Each sub-partition contains its geographical extent, a list of included deep-sea renewable energy power generation and hydrogen production subsystems, and other possible attributes (such as total power generation capacity, hydrogen production capacity, etc.). This process effectively transforms the original fine-grained grid management into coarser-grained sub-partition management.

[0136] In some specific embodiments, each merged grid is directly converted into a sub-partition, retaining the necessary information and deleting redundant grid data; all merged grids are traversed, a corresponding sub-partition object is created for each grid, the relevant geographic range and subsystem information are copied to the sub-partition object, and the original grid data structure is deleted, which is not limited here.

[0137] S406. In each sub-partition, the allocation subsystem in the current level selects a deep-sea new energy power generation and hydrogen production subsystem as the second allocation subsystem for the corresponding sub-partition; the second allocation subsystem is the deep-sea new energy power generation and hydrogen production subsystem with the lowest total communication cost in the corresponding sub-partition that communicates with all other deep-sea new energy power generation and hydrogen production subsystems in the same level.

[0138] In some embodiments, the allocation subsystem evaluates all deep-sea renewable energy power generation and hydrogen production subsystems within each sub-region. The core criterion for evaluation is communication efficiency, i.e., the total cost of communication between the subsystem and all other subsystems within the same region. This cost may consider multiple factors, such as physical distance, network latency, and bandwidth. The subsystem with the lowest calculated total cost is selected as the second allocation subsystem for that sub-region, responsible for receiving tasks from higher levels and further allocating them to other subsystems within the region.

[0139] S407. When the allocation subsystem in the current level receives the remaining tasks, it splits the remaining tasks according to the number of sub-partitions and then sends them to the second allocation subsystem. The second allocation subsystem calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem according to the deep-sea new energy power generation and hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem.

[0140] S408. The current layer's allocation subsystem calculates the new remaining tasks based on all hydrogen production tasks and remaining tasks, and sends the new remaining tasks to the next layer's allocation subsystem.

[0141] In some embodiments, the current layer's allocation subsystem first needs to aggregate the allocated task volume, which includes the total number of tasks sent to each subpartition. Then, this allocated volume is compared with the initially received remaining task volume to calculate the new remaining task volume. If new remaining tasks exist, the allocation subsystem packages this task information and sends it to the next layer's allocation subsystem via a network connection to continue with finer-grained task allocation.

[0142] As can be seen, by dividing the control area into rectangular grids and assigning subsystems to corresponding grids based on geographical location, and by merging grids with fewer subsystems, resource fragmentation is avoided. Selecting the subsystem with the lowest communication cost in each sub-partition as the second subsystem for allocation further optimizes local communication efficiency. Splitting tasks according to the number of sub-partitions further reduces the total communication cost and improves the accuracy and efficiency of task allocation.

[0143] Figure 5 This is another schematic diagram of the hydrogen production control method for deep-sea new energy power generation in the embodiments of this application;

[0144] In some embodiments, after step S204, the method further includes:

[0145] S501, the distribution subsystem continuously monitors its own load status;

[0146] In some embodiments, the allocation subsystem continuously collects various performance metrics, such as CPU utilization, memory usage, network traffic, and task queue length, through its internal monitoring module. This data is periodically recorded and analyzed to assess the current system load level. Through continuous monitoring, the system can promptly identify potential performance bottlenecks or overload situations, providing a basis for subsequent load balancing and system expansion decisions.

[0147] When the load of the distribution subsystem does not reach the preset threshold, the first-level distribution subsystem calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem according to the deep-sea new energy power generation and hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem. The first-level distribution subsystem calculates the remaining tasks based on all hydrogen production tasks and the total task, and sends the remaining tasks to the next-level distribution subsystem.

[0148] S502. When the load of the distribution subsystem reaches a preset threshold, identify the deep-sea new energy power generation hydrogen production subsystem that is geographically closest to the distribution subsystem.

[0149] In some embodiments, when the allocation subsystem detects that the load exceeds a preset threshold (e.g., CPU utilization exceeds 80% or memory usage exceeds 90%), it initiates a search process. This process accesses a database or geographic information system containing location information for all deep-sea renewable energy power generation and hydrogen production subsystems. By comparing the geographic coordinates of each subsystem with the allocation subsystem's own location, the nearest subsystem is calculated. Selecting the nearest subsystem minimizes communication latency and resource consumption during subsequent merging processes.

[0150] S503. Merge the hydrogen production subsystem of the deep-sea new energy power generation subsystem with the distribution subsystem, which is the closest in geographical location, to form a new extended distribution subsystem;

[0151] In some embodiments, a high-speed communication link needs to be established between the two subsystems, which may require adjustments to network configuration or the addition of dedicated communication equipment. Secondly, the computing resources of the two systems need to be integrated, potentially including sharing processors, memory, and storage space. Thirdly, the databases and task queues of the two systems need to be synchronized and integrated. Finally, the system software may need to be updated to enable it to coordinate and manage the added resources and functions. The new extended allocation subsystem formed by this merging process will have stronger task processing capabilities and higher reliability.

[0152] S504, the new extended allocation subsystem jointly undertakes the communication and computing tasks of the original allocation subsystem;

[0153] In some embodiments, the expanded allocation subsystem reassesses the current task queue and resource status, and then employs a load balancing strategy to distribute tasks originally handled by a single allocation subsystem across the expanded system. For communication tasks, this may involve establishing multiple parallel data transmission channels, or dynamically selecting the optimal communication path based on network conditions. For computational tasks, this may involve parallel processing of tasks, or allocating suitable computational work based on the characteristics of different system nodes. This redistribution and shared responsibility of tasks can significantly improve the overall processing capacity and efficiency of the system.

[0154] S505, Recalculate the load of the extended distribution subsystem;

[0155] In some embodiments, the extended allocation subsystem initiates a comprehensive performance evaluation process. This process may include collecting metrics such as CPU utilization, memory usage, network traffic, and disk I / O from each subsystem node, and then combining these metrics according to a predefined computational model to derive an overall load metric. This new load metric reflects the actual operating status of the extended system when processing the current task, providing important information for subsequent decision-making.

[0156] S506. If the load of the extended distribution subsystem is still higher than the preset threshold, repeat the above steps until the load is lower than the preset threshold or the predetermined maximum number of merges is reached.

[0157] In some embodiments, the system compares the newly calculated load value with a preset threshold. If the load is still higher than the threshold, it indicates that the current expansion is insufficient to meet system requirements, and system merging needs to continue. At this point, the subsystem will re-execute steps S502 to S505 to find the next nearest subsystem to merge with. This process will be repeated until one of two conditions is met: either the system load drops below the preset threshold, indicating that the ideal processing capacity has been reached; or the predetermined maximum number of merges has been reached. This is to prevent the system from expanding indefinitely, which could lead to excessive management complexity or wasted resources.

[0158] S507. After the extended allocation subsystem is formed, the original allocation subsystem retains its role in task distribution and continues to be responsible for receiving the overall task and distributing it to each deep-sea new energy power generation and hydrogen production subsystem; other subsystems in the extended allocation subsystem assist the original allocation subsystem in processing computing tasks.

[0159] It should be noted that the original allocation subsystem has all the functions, while the other subsystems in the extended allocation subsystem only assist the original allocation subsystem in handling computing tasks and do not participate in communication and task distribution.

[0160] As can be seen, by continuously monitoring the load of the distribution subsystem and promptly identifying potential overload risks, when the load reaches a preset threshold, the geographically closest subsystems are merged to form an extended distribution subsystem, thus achieving dynamic resource expansion. By repeatedly merging until the load requirements are met or the maximum number of merges is reached, the effectiveness of load balancing is ensured. Furthermore, other subsystems in the extended distribution subsystem only assist the original distribution subsystem in handling computational tasks and do not participate in communication and task distribution. The original distribution subsystem is the deep-sea new energy power generation and hydrogen production subsystem with the lowest total communication cost determined through prior calculations. By maintaining the communication and distribution role of the original distribution subsystem, the system continues to operate with the lowest total communication cost.

[0161] The following describes an exemplary deep-sea new energy power generation hydrogen production control system 600 provided in an embodiment of this application. Figure 6 This is an exemplary hardware structure diagram of the deep-sea new energy power generation hydrogen production control system 600 provided in this application embodiment.

[0162] In some embodiments, the deep-sea new energy power generation hydrogen production control system 600 is a computer device or includes a computer device in the deep-sea new energy power generation hydrogen production control system 600. The computer device includes a processor, memory, and network interface connected via a system bus. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with other external terminals or servers via a network connection. In some embodiments, the network interface can be a wired network interface; in some embodiments, the network interface can also be a wireless network interface. When the computer program is executed by the processor, it implements the methods in the embodiments of this application.

[0163] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0164] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0165] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0166] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0167] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for controlling hydrogen production in deep-sea renewable energy power generation, characterized in that, Applications to control terminals include: Obtain the network quality of all deep-sea new energy power generation hydrogen production subsystems and the control terminal; Based on the network quality of all the deep-sea renewable energy power generation and hydrogen production subsystems and the distance of all the deep-sea renewable energy power generation and hydrogen production subsystems from their corresponding onshore storage devices, all the deep-sea renewable energy power generation and hydrogen production subsystems are divided into several levels; wherein: Based on network quality and distance, a comprehensive score is calculated for each subsystem; the comprehensive score = network quality score * W1 + (1 - standardized distance) * W2, where W1 and W2 are weights and their sum is 1, and the standardized distance is the actual distance divided by the maximum distance; All subsystems are sorted in descending order based on the comprehensive score, and then the entire deep-sea new energy power generation and hydrogen production subsystem is divided into several levels according to the number of levels. The number of levels is determined according to the level function; where the level function is: In the formula, K is the number of levels, K i nit is the initial number of levels, K Q K is the network quality adjustment factor. D This is the distance adjustment factor; The allocation subsystem in the current level determines the geographical area of ​​the controlled deep-sea new energy power generation and hydrogen production subsystem, where the current level can be any level. The allocation subsystem in the current level divides the geographical area into rectangular grids; The allocation subsystem in the current level allocates the controlled deep-sea new energy power generation hydrogen production subsystem to the corresponding grid according to the geographical coordinates of the subsystem. If the number of subsystems in the current grid is lower than the minimum number threshold, the allocation subsystem in the current level will merge the current grid with the adjacent grid with the fewest number of subsystems, and the current grid can be any grid; The allocation subsystem in the current level deletes the grid, resulting in several sub-partitions of the current level; In each of the aforementioned levels, one of the deep-sea new energy power generation and hydrogen production subsystems is selected as the corresponding distribution subsystem for that level; the distribution subsystem is the deep-sea new energy power generation and hydrogen production subsystem with the lowest total communication cost in the corresponding level when communicating with all other deep-sea new energy power generation and hydrogen production subsystems in the same level. The overall task is sent to the allocation subsystem of the first layer, so that the allocation subsystem of the first layer calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem under its control, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem. The allocation subsystem of the first layer calculates the remaining tasks based on all the hydrogen production tasks and the overall task, and sends the remaining tasks to the allocation subsystem of the next layer.

2. The method according to claim 1, characterized in that, After the step of dividing the entire deep-sea new energy power generation hydrogen production subsystem into several levels, the method further includes: Establish a circular queue containing all the said levels, wherein the circular queue includes each of the said levels once in each cycle; Upon receiving the total task, determine the current position of the circular queue; When the current position is the first layer, the step of sending the total task to the allocation subsystem of the first layer is executed; Remove the first layer from the circular queue; When the current position is the last layer, the total task is sent to the allocation subsystem of the last layer, so that the allocation subsystem of the last layer calculates the hydrogen production task of each deep-sea new energy power generation hydrogen production subsystem according to the deep-sea new energy power generation hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation hydrogen production subsystem. The allocation subsystem of the last layer calculates the remaining tasks according to the total task and the total task, and sends the remaining tasks to the allocation subsystem of the upper layer. Remove the last layer from the circular queue; When the current position is the intermediate layer, the total task is sent to the distribution subsystem of the intermediate layer, so that the distribution subsystem of the intermediate layer calculates the hydrogen production task of each deep-sea new energy power generation hydrogen production subsystem according to the deep-sea new energy power generation hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation hydrogen production subsystem. The distribution subsystem of the intermediate layer calculates the remaining tasks according to all hydrogen production tasks and the total task, and sends the remaining tasks to the distribution subsystems of the upper layer and the lower layer. Remove the intermediate layer from the circular queue; Once all the levels in the circular queue have been removed, the next cycle begins.

3. The method according to claim 2, characterized in that, The step of sending the remaining tasks to the allocation subsystems of the upper and lower layers specifically includes: The intermediate layer obtains the number of remaining levels above the intermediate layer and the number of remaining levels below the intermediate layer from the control terminal; and calculates the proportion of the number of remaining levels above the intermediate layer to the total number of remaining levels. Multiply the remaining tasks by the ratio to obtain the upload tasks; Subtract the upload task from the remaining tasks to obtain the download task; The allocation subsystem of the intermediate layer sends the upload task to the allocation subsystem of the upper layer; The distribution subsystem of the intermediate layer sends the downlink task to the distribution subsystem of the next layer.

4. The method according to claim 1, characterized in that, Before the step of dividing all the deep-sea new energy power generation hydrogen production subsystems into several levels, the method further includes: The number of levels is determined according to the level function; where the level function is: In the formula, K is the number of levels, K i nit is the initial number of levels, K Q K is the network quality adjustment factor. D α is the distance adjustment factor, N is the base level coefficient, and CV is the total number of all deep-sea new energy power generation and hydrogen production subsystems. Q For network quality coefficients, CV Q0 Q is the network quality threshold. std Q represents the average standard deviation of the network quality for all the aforementioned deep-sea renewable energy power generation and hydrogen production subsystems. avg CV represents the average network quality of all the aforementioned deep-sea renewable energy power generation and hydrogen production subsystems. D For distance adjustment factor, CV D0 To adjust the threshold for distance, D std D represents the average standard deviation of the distance for all the aforementioned deep-sea new energy power generation and hydrogen production subsystems. avg The average distance for all the aforementioned deep-sea new energy power generation hydrogen production subsystems.

5. The method according to claim 1, characterized in that, After the allocation subsystem in the current level deletes the grid to obtain several sub-partitions of the current level, the method further includes: In each sub-partition, the allocation subsystem in the current level selects one of the deep-sea new energy power generation and hydrogen production subsystems as the second allocation subsystem for the corresponding sub-partition; the second allocation subsystem is the deep-sea new energy power generation and hydrogen production subsystem with the lowest total communication cost in the corresponding sub-partition when communicating with all other deep-sea new energy power generation and hydrogen production subsystems in the same level. When the allocation subsystem in the current level receives the remaining tasks, it splits the remaining tasks according to the number of sub-partitions and then sends them to the second allocation subsystem. The second allocation subsystem calculates the hydrogen production task of each deep-sea new energy power generation and hydrogen production subsystem according to the deep-sea new energy power generation and hydrogen production subsystem it controls, and distributes it to the corresponding deep-sea new energy power generation and hydrogen production subsystem. The allocation subsystem of the current layer calculates new remaining tasks based on all hydrogen production tasks and the remaining tasks, and sends the new remaining tasks to the allocation subsystem of the next layer.

6. The method according to claim 5, characterized in that, After the step of selecting a deep-sea new energy power generation hydrogen production subsystem as the corresponding allocation subsystem in each of the aforementioned levels, the method further includes: If the difference in the number of subsystems between adjacent grids exceeds a preset threshold, the subsystems of the grid with more subsystems near the boundary will be redistributed to the adjacent grids with fewer subsystems until the difference in the number of subsystems between adjacent grids is lower than the preset threshold or the maximum number of adjustments is reached.

7. The method according to claim 1, characterized in that, After the step of sending the total task to the allocation subsystem of the first layer, the method further includes: The distribution subsystem continuously monitors its own load status; When the load of the distribution subsystem reaches a preset threshold, identify the deep-sea new energy power generation hydrogen production subsystem that is geographically closest to the distribution subsystem; The deep-sea new energy power generation hydrogen production subsystem, which is geographically closest to the subsystem, is merged with the distribution subsystem to form a new extended distribution subsystem; The new extended allocation subsystem jointly undertakes the communication and computing tasks of the original allocation subsystem; Recalculate the load of the extended distribution subsystem; If the load of the extended distribution subsystem is still higher than the preset threshold, repeat the above steps until the load is lower than the preset threshold or the predetermined maximum number of merges is reached. After the extended allocation subsystem is formed, the original allocation subsystem retains its role in task distribution and continues to be responsible for receiving the total task and distributing it to each of the deep-sea new energy power generation and hydrogen production subsystems; other subsystems in the extended allocation subsystem assist the original allocation subsystem in processing computing tasks.

8. A deep-sea new energy power generation hydrogen production control system, characterized in that, The deep-sea new energy power generation hydrogen production control system includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the deep-sea new energy power generation hydrogen production control system to perform the method as described in any one of claims 1-7.

9. A computer program product containing instructions, characterized in that, When the computer program product is run on the deep-sea new energy power generation hydrogen production control system, the deep-sea new energy power generation hydrogen production control system performs the method as described in any one of claims 1-7.

10. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the deep-sea new energy power generation hydrogen production control system, the deep-sea new energy power generation hydrogen production control system performs the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Comprehensive energy layered optimal operation method and system of hydrogen-containing utilization system

    CN114123274A

  • Energy control method for distributed wind-solar hydrogen production system and related equipment

    CN119228582A

  • Primary frequency modulation control method based on participation of modular large-scale hydrogen production power supply in power system

    CN119675028A