Wave energy power generation control method and device, electronic equipment and computer program product
By using the preset WEC neural network model in the offshore wind energy-wave energy integrated energy system to process current and historical information to adjust action instructions, the system's response to wave changes is solved and the stability and efficiency of wave energy power generation are improved.
Patent Information
- Application Number
- CN202411046336.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-09-06
AI Technical Summary
In offshore wind energy-wave energy integrated energy systems, existing technologies are difficult to respond to wave changes in real time, resulting in large fluctuations in wave energy power generation efficiency. Moreover, traditional control methods are complex and time-consuming to calculate, making it difficult to capture optimal energy.
The preset WEC neural network model is used to automatically adjust action instructions to adapt to changes in the external environment by obtaining current time and historical system information, reducing dependence on future time information, avoiding predictive calculations, and improving system flexibility and stability.
It reduces the volatility of wave energy power generation efficiency, improves the stability and calculation speed of the system, can more effectively respond to wave changes in various situations, and enhances energy conversion efficiency.
Smart Images

Figure CN118601790A
Abstract
Description
Technical Field
[0001] The present application relates to the field of renewable energy, and in particular to a wave energy power generation control method, device, electronic equipment and computer program product. Background Art
[0002] The offshore wind-wave energy integrated energy system is a power generation system that combines two renewable energy sources (offshore wind energy and wave energy). The principle of wind power generation is to convert wind energy into mechanical energy through wind rotors and drive wind turbines to generate electricity; the principle of wave power generation is to capture the kinetic energy and potential energy of waves through WECs and convert them into mechanical energy to drive generators to generate electricity. Among them, WEC (Wave Energy Converter) consists of one or more floating bodies or structures that can move with the waves. These floating bodies or structures are connected to the generator through mechanical, hydraulic or pneumatic devices. When the waves fluctuate up and down or move left and right, the floating body or structure will move accordingly, thereby driving the generator to rotate and generate electricity.
[0003] The offshore wind-wave energy integrated energy system improves the efficiency of wave energy generation by controlling and adjusting the movement of WEC to respond to wave changes in a timely manner. At present, the motion calculation of controlling WEC often depends on the wave information at the future moment. Since the wave information at the future moment is predicted based on a fixed calculation method, the flexibility is poor. For wave information in various situations, prediction errors often occur. In addition, since the wave information at the future moment needs to be predicted, the motion calculation of controlling WEC is too complicated and time-consuming, making it difficult for WEC to respond to waves in real time, resulting in greater volatility in the efficiency of wave energy generation. Summary of the invention
[0004] In view of the above problems, the present application provides a wave energy power generation control method, device, electronic device and computer program product to achieve the purpose of reducing the volatility of wave energy power generation efficiency. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a wave energy power generation control method, which is applied to an offshore wind energy-wave energy integrated energy system. The wave energy power generation control method comprises:
[0006] Acquire current system information at a current moment and historical system information at multiple historical moments, wherein the current system information and the historical system information both include: wave energy generation power, wave height, longitudinal displacement of a floating body of a wave energy converter WEC, and floating body speed of the WEC;
[0007] Inputting the current system information and a plurality of the historical system information into a preset WEC neural network model to obtain an action instruction of the WEC;
[0008] According to the action instruction, the WEC is controlled to perform an action at a moment next to the current moment, and returns to execute the step of obtaining the current system information at the current moment and the historical system information at multiple historical moments.
[0009] In a possible implementation, inputting the current system information and the plurality of historical system information into a preset WEC neural network model to obtain the action instruction of the WEC includes:
[0010] Inputting the current system information and a plurality of the historical system information into a preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model;
[0011] Performing normal distribution operation on the thrust average value and the thrust standard deviation to obtain the thrust command of the WEC;
[0012] The thrust command is used as an operation command of the WEC.
[0013] In a possible implementation, inputting the current system information and the plurality of historical system information into a preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model includes:
[0014] Aggregating the current system information and the plurality of historical system information into a set of data, and inputting the data into the preset WEC neural network model as the state space of the preset WEC neural network model;
[0015] The current system information and a plurality of the historical system information are calculated by using a plurality of neurons in the preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model.
[0016] In a possible implementation, the obtaining of current system information at a current moment and historical system information at multiple historical moments includes:
[0017] Acquire current system information at the current moment from the environment in which the WEC is located;
[0018] The historical system information of a plurality of consecutive historical moments is obtained from a historical time period before the current moment.
[0019] A second aspect of the present application provides a wave energy power generation control device, which is applied to an offshore wind energy-wave energy integrated energy system, and the wave energy power generation control device comprises:
[0020] An acquisition unit, used to acquire current system information at a current moment and historical system information at multiple historical moments, wherein the current system information and the historical system information both include: wave energy generation power, wave height, longitudinal displacement of a floating body of a wave energy converter WEC, and floating body speed of the WEC;
[0021] A calculation unit, used for inputting the current system information and a plurality of the historical system information into a preset WEC neural network model to obtain an action instruction of the WEC;
[0022] An execution unit is used to control the WEC to perform an action at a moment next to the current moment according to the action instruction, and trigger the acquisition unit.
[0023] In a possible implementation, the computing unit includes:
[0024] A thrust parameter acquisition subunit, used for inputting the current system information and a plurality of historical system information into a preset WEC neural network model, and obtaining a thrust average value and a thrust standard deviation output by the preset WEC neural network model;
[0025] a thrust parameter calculation subunit, configured to perform a normal distribution operation on the thrust mean value and the thrust standard deviation to obtain a thrust instruction of the WEC;
[0026] The instruction acquisition subunit is used to use the thrust instruction as an action instruction of the WEC.
[0027] In a possible implementation, the thrust parameter acquisition subunit is specifically configured as follows:
[0028] Aggregating the current system information and the plurality of historical system information into a set of data, and inputting the data into the preset WEC neural network model as the state space of the preset WEC neural network model;
[0029] The current system information and a plurality of the historical system information are calculated by using a plurality of neurons in the preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model.
[0030] In a possible implementation, the acquisition unit is specifically configured as follows:
[0031] Acquire current system information at the current moment from the environment in which the WEC is located;
[0032] The historical system information of a plurality of consecutive historical moments is obtained from a historical time period before the current moment.
[0033] A third aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0034] The memory is used to store computer programs;
[0035] The processor is used to execute the computer program so that the electronic device can implement the wave energy power generation control method of the first aspect or any implementation manner of the first aspect.
[0036] A fourth aspect of the present application provides a computer program product, comprising computer-readable instructions, which, when executed on an electronic device, enables the electronic device to implement the wave energy power generation control method of the first aspect or any implementation of the first aspect.
[0037] By means of the above technical solution, the present application provides a wave energy power generation control method, device, electronic device and computer program product. The wave energy power generation control method obtains the action of the WEC device by combining the system information at the current moment and the historical information at multiple historical moments, thereby reducing the dependence on information at future moments. In addition, the method adopts a preset WEC neural network model to obtain the action of the WEC device. The neural network can automatically adjust its internal structure and parameters to adapt to changes in the external environment, making the neural network more flexible and effective when dealing with complex and dynamic environments. The method avoids the calculation of predicting future moments, reduces the motion calculation time of the WEC device, and can cope with waves in various situations through the neural network. By completing the training of the preset WEC neural network model, a better action instruction can be obtained to improve the stability of wave power generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0039] Figure 1 A schematic diagram of a flow chart of a wave energy power generation control method provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a structure of a neural network provided in an embodiment of the present application;
[0041] Figure 3 A schematic structural diagram of a wave energy power generation control device provided in an embodiment of the present application;
[0042] Figure 4 A hardware structure block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0044] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0045] The terms "first", "second" etc. in the specification of the application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable in appropriate circumstances, and this is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0046] The offshore wind-wave energy integrated energy system combines the offshore wind power platform with the array wave energy generation system. It can not only combine the offshore wind and wave energy to output electricity, but also use wave energy as an independent source of electricity at the dispatching level, and merge with wind energy to smooth the fluctuations of wind power generation in different time periods, helping to overcome the difficulties of grid connection caused by the temporal randomness of renewable energy. However, the modeling of the offshore wind-wave energy integrated energy system needs to consider many parameters and variables, and the existing system control methods are not easy to jointly control wind power generation and wave power generation, especially when it involves maximum power point tracking and constraint problems at the same time, the complexity of the calculation will be greatly increased, which is not conducive to the efficiency of the offshore wind-wave energy integrated energy system.
[0047] The fundamental measure to improve the efficiency and feasibility of offshore wind-wave energy integrated energy systems is to develop effective control strategies for offshore wind-wave energy integrated energy systems. Since the movement of waves and wind is random and unpredictable, in order to suppress power fluctuations, an ideal wave energy device should achieve high energy conversion efficiency under normal sea conditions and operating conditions, and serve as a compensating energy source for wind power generation, output stable electricity in combination with wind energy, and constrain the displacement of the floating body of the wave energy device under extreme sea conditions to protect the wave energy device.
[0048] However, there are non-causal convolution terms in the hydrodynamic modeling equations of wave energy devices. Non-causal control not only increases the computational complexity, but is also difficult to implement in reality. That is, the optimal energy capture strategy of the wave energy device at the current moment depends on the wave parameters at the future moment, and when predicting the wave parameters at the future moment, a fixed calculation method is often used to obtain them. However, due to the randomness of the wave movement itself, the fixed calculation method is difficult to flexibly respond to wave information in various situations, so that errors often occur when predicting the wave parameters at the future moment. The calculation process of predicting the wave parameters at the future moment is cumbersome, which makes the motion calculation of the wave energy device equally cumbersome, making it difficult for the wave energy device to respond to the waves in time, difficult to capture the optimal energy, and difficult to achieve a high energy conversion efficiency.
[0049] Furthermore, the traditional control methods of wave energy devices have difficulty in dealing with the constraints in the wave energy generation process, such as the displacement constraints and speed constraints of the wave energy device. When the wave frequency is unique and given, and the constraints of the wave energy device are not considered, the theoretical optimal motion mode of the wave energy device is: satisfying the amplitude and phase conditions of the waves, so that the motion of the wave energy device maintains a certain relationship with the wave excitation force. Therefore, the goal of the traditional control method is to achieve the theoretical optimal motion mode. However, if the constraints of the wave energy device are considered, the theoretical optimal motion mode is not easy to solve, and the adjustment freedom of the traditional control method is limited, and it is not easy to achieve the theoretical optimal motion mode. Furthermore, if the constraints are processed, it will inevitably bring a computational burden.
[0050] In addition, in actual working conditions, it is difficult to obtain a mathematical model of the offshore wind-wave energy integrated energy system, which also brings obstacles to the design of control strategies for wave energy devices.
[0051] In order to solve the above problems, the present application provides a wave energy power generation control method. The wave energy power generation control method of the present application is described in detail below with reference to the accompanying drawings.
[0052] Reference Figure 1 , Figure 1 A flow chart of a wave energy power generation control method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, a wave energy power generation control method provided in an embodiment of the present application is applied to an offshore wind energy-wave energy integrated energy system and may include steps S10 to S12. These steps are described in detail below.
[0053] S10, obtaining current system information at the current moment and historical system information at multiple historical moments, wherein the current system information and the historical system information both include: wave energy generation power, wave height, longitudinal displacement of the floating body of the wave energy converter WEC, and floating body speed of the WEC;
[0054] S11, inputting current system information and multiple historical system information into a preset WEC neural network model to obtain WEC action instructions;
[0055] S12. According to the action instruction, control the WEC to perform an action at the next moment of the current moment, and return to execute S10.
[0056] Among them, the offshore wind energy-wave energy integrated energy system in this embodiment may include a wind power generation device, a wave energy device, a control system and a transmission system.
[0057] The wave energy power generation power can be the power generation power of the wave energy device in the offshore wind energy-wave energy integrated energy system. In this embodiment, the wave energy power generation power refers to the power generation power of the wave energy device under ideal conditions; the wave height can refer to the vertical height of the wave. In this embodiment, the wave height can be obtained by a wave height meter; WEC (Wave Energy Converter) refers to a device that can extract energy from waves and convert it into electrical energy. Different from WEC types such as floating pendulums, oscillating water columns or raft devices, the WEC type in this embodiment is a point absorber. The point absorber is a wave energy device similar to a buoy, which can mainly be composed of a cylindrical floating body and a mooring device. The mooring device is mainly used to resist wave forces, maintain the positioning of the floating body, and ensure that the floating body can work stably under different sea conditions. Due to the fixing effect of the mooring device, when formulating the control strategy in this embodiment, the rotation, pitch and other movements of the floating body can be ignored, and only the up and down translation displacement of the floating body can be considered. The longitudinal displacement of the floating body of WEC can refer to: the displacement of the floating body along the propagation direction (longitudinal) of the wave under the push of the wave. The floating body speed of WEC can refer to the speed at which the floating body moves along a specific direction (longitudinal or heave direction) under the push of waves.
[0058] This embodiment can obtain the current system information at the current moment from the environment where the WEC is located; and select a historical time period before the current moment, and obtain the historical system information of multiple consecutive historical moments from the historical time period. Each moment has a corresponding set of data including wave energy generation power, wave height, longitudinal displacement of the floating body and floating body speed.
[0059] After obtaining the current system information and multiple historical system information, the current system information and multiple historical system information can be input into a preset WEC neural network model to obtain the thrust average value and thrust standard deviation output by the preset WEC neural network model, perform normal distribution operation on the thrust average value and the thrust standard deviation, obtain the thrust command of the WEC, and use the thrust command as the action command of the WEC.
[0060] Among them, neural networks can be a way to implement deep reinforcement learning, which can solve high-dimensional problems that cannot be solved by tabular methods and has advantages in the case of continuous state and action space. Among them, reinforcement learning is one of the paradigms and methodologies of machine learning. Through the continuous interaction between the intelligent agent (an entity that perceives the environment, performs actions and thereby affects the environment, and achieves effective interaction with the environment) and the environment, it optimizes its own action strategy to maximize long-term benefits. Deep reinforcement learning combines the perception ability of deep learning and the decision-making ability of reinforcement learning, increases the abstraction and representation capabilities, and greatly expands the scope of application of reinforcement learning.
[0061] Specifically, the process of obtaining the thrust average value and the thrust standard deviation in this embodiment can be: aggregating the current system information and multiple historical system information into a set of data, and inputting the data into the preset WEC neural network model as the state space of the preset WEC neural network model, calculating the current system information and multiple historical system information through multiple neurons in the preset WEC neural network model, and obtaining the thrust average value and thrust standard deviation output by the preset WEC neural network model.
[0062] The preset WEC neural network model is a neural network model that has been trained and is used to process current system information and historical system information to obtain action instructions. In this embodiment, the SAC (Soft Actor-Critic) algorithm is mainly used to train the model. The specific acquisition process of the preset WEC neural network model can be described as follows:
[0063] Relying on the physical model of the combined power generation platform established in Simulink software, the WEC action model is built in the Python environment. The WEC action model can be used to simulate the interaction with the environment at each step in the model training process.
[0064] A deep reinforcement learning network is constructed based on the WEC action model. In this deep reinforcement learning network, it can be divided into the agent, the state space of the interaction between the agent and the environment, and the selected action initiated by the agent to the environment at the current moment. , reward function and experience pool. Among them, the state space can include the state space at the current moment and the state space of multiple consecutive historical moments before the current moment . The current state space , the state space of multiple consecutive historical moments before the current moment , the selected action at the current moment And the reward function Merge and store as a set of data, which can be stored in the form of: [ , , , ].
[0065] In this embodiment, the agent may include 4 value networks and 1 policy network. The value network is used to evaluate the value of the current state and action, and the policy network is a neural network that outputs action instructions for executing actions. The reward function is the basis of the agent's learning behavior, and its goal is to guide the agent to learn the optimal strategy by maximizing the cumulative reward (or return).
[0066] Based on the WEC action model, the state space in the above deep reinforcement learning network can be defined as: , , , ], It can represent the longitudinal displacement of the floating body. can represent the velocity of the floating body (i.e., the derivative of the displacement), It can represent the wave height measured by the wave height meter. It can represent the wave energy generation efficiency under ideal conditions. Therefore, the state space at the current moment is Can refer to: the current moment [ , , , ], the state space of multiple consecutive historical moments before the current moment Can refer to: multiple historical moments [ , , , ].
[0067] Regarding the design of the reward function, firstly, since the main goal of the WEC control strategy is to achieve optimal energy extraction, and energy can be reflected by power, the instantaneous power needs to be maximized in the reward function. Secondly, the WEC control strategy also needs to consider constraints, so the constraints are added to the reward function as penalty terms.
[0068] Therefore, in this embodiment, the representation of the reward function can be as follows:
[0069]
[0070] in, The action space defined for this example (the set of all possible actions that the agent can perform in a given environment or task, defining the range of actions that the agent can choose when interacting with the environment); It can indicate the current speed of the floating body; It can represent the instantaneous mechanical power calculated by the motor thrust and the current speed of the floating body; It can represent the weight coefficient of the floating body displacement; It can represent flexible displacement (when the WEC responds to wave fluctuations, its structure or components undergo a certain degree of deformation to adapt to the wave movement); It can be a displacement penalty term, which plays a role in limiting the movement range of the floating body; It can express the weight coefficient of power quality; It can represent the penalty factor of power quality, It can represent the penalty term for output power.
[0071] The effect of the penalty term is: the penalty term can gradually increase as the displacement of the floating body approaches the displacement limit or the output power quality of the offshore wind energy-wave energy integrated energy system decreases. When the floating body displaces within a safe range and the offshore wind energy-wave energy integrated energy system outputs stable high-quality electricity, the penalty term has almost no effect.
[0072] The parameters involved in the penalty term in the reward function, such as the weight coefficient of the floating body displacement and the weight coefficient of the power quality, need to be obtained through multiple training and debugging. Specifically, first, the parameters in the penalty term cannot be too large, otherwise it may cause the penalty term to account for too large a proportion in the reward function. Secondly, the parameters in the penalty term cannot be too small, otherwise it will be difficult for the penalty term to achieve a constraint effect. Finally, the parameters in the penalty term cannot affect the convergence of training and debugging. Therefore, this embodiment needs to select parameters that can be trained to converge, and continuously debug the parameters of the penalty term during training until the effect of the above-mentioned penalty term can be achieved.
[0073] In this embodiment, the standard wave information generated autonomously for a period of time (multiple consecutive moments) is input into the WEC action model, and the current moment in the standard wave information is converted into the [ , , , ] (system information) as the current state space , multiple consecutive historical moments [ , , , ] as a state space of multiple consecutive historical moments , and aggregated into a set of data as the state space input policy network. Multiple neurons in the policy network perform calculations to obtain the mean difference and standard deviation of the thrust, and after performing a normal distribution operation on the mean difference and standard deviation of the thrust, determine the execution action and output the action instruction.
[0074] Since multiple sets of current moments and multiple continuous historical moments before the current moment can be obtained within a continuous period of time, this embodiment can generate multiple sets of [ , , , ]. At this time, each group of [ , , , ] can represent the execution actions determined by the policy network at each current moment, the value of the reward function, the state space at the current moment, and the state space of multiple consecutive historical moments before the current moment. , , , ] are stored in the experience pool as multiple sets of training data until the experience pool is full of training data.
[0075] This embodiment randomly obtains training data from the experience pool, and the value network calculates the value of the set of training data. The policy network autonomously updates its own parameters according to the value calculated by the value network, and the value network also updates itself according to the value of the reward function in the training data. At the same time, the system information is obtained from the outside world and input into the policy network after the updated parameters. The policy network determines the action to be executed and generates a new set of [ , , , ] to update the experience pool (store new training data, delete the earliest set of training data in the data queue) and simulate the action instructions determined by the policy network through the WEC action model, affecting the environment, thereby affecting the next system information obtained from the outside world. Therefore, the policy function autonomously updates the parameters according to the value calculated by the value network, while obtaining new system information from the outside world to generate a new [ , , , ] to update the experience pool. When the value of the reward function in the training data gradually stabilizes and converges to a larger value in about 100 rounds of training, it means that the WEC action model has completed training.
[0076] In addition, the WEC action model obtains new system information from the outside world every 0.01 seconds, and the WEC action model simulates and executes the action determined by the policy network every 0.02 seconds according to the action instruction. For example, new system information is obtained from the outside world at 0.01 seconds, input into the policy network for calculation, and the action determined by the policy space calculated at 0.01 seconds is simulated at 0.02 seconds. After simulating and executing the action instruction, system information is obtained from the outside world, and the current system information, the system information at 0.01 seconds, and the system information at 0.02 seconds are obtained from the outside world at 0.03 seconds as historical system information, and are input into the policy space for calculation, and the action determined by the policy space calculated at 0.03 seconds is executed at 0.04 seconds.
[0077] In summary, the acquisition process of the preset WEC neural network model can be: constructing a WEC action model and constructing a deep reinforcement learning network based on the WEC action model, obtaining standard system information and generating multiple sets of training data through the policy network, and storing multiple sets of training data in the experience pool until the experience pool is full of training data. Randomly obtain training data from the experience pool, calculate the value of the training data through the value network, and update the policy network according to the value, and also update the value network at the same time. The WEC action model obtains new system information from the outside world, generates new training data through the updated policy network to update the experience pool, and simulates the action determined by the execution policy network to change the current environment, so that new system information can be obtained from the outside world next time. At the same time, continue to obtain training data from the updated experience pool to update the parameters of the policy network. When the value of the reward function in the training data gradually stabilizes and converges to a larger value, it means that the WEC action model training is completed, and the preset WEC neural network model in this embodiment is obtained.
[0078] After the preset WEC neural network model is obtained, it can be used for WEC control. When storing the preset WEC neural network model, this embodiment can store the neural network parameters in the preset WEC neural network model in layers, store the weight and bias of each layer as different data, and store them as a neural network structure. Figure 2 The structure of the neural network shown can be divided into Layer1, Layer2 and Layer3. Layer1 can be divided into Layer1.weight and Layer1.bias, Layer2 can be divided into Layer2.weight and Layer2.bias, and Layer3 can be divided into Layer3.weight and Layer3.bias. Figure 2 This is just an example to simply illustrate the structure of the neural network.
[0079] This embodiment uses matlab language and C language to reconstruct the preset WEC neural network model in turn, and compiles it into a program so that it can read the structure of the neural network parameters in the corresponding format. The compiled program is burned into the single-chip microcomputer, and the structure of the stored neural network parameters is read, so that this embodiment can realize the control of WEC through the single-chip microcomputer.
[0080] The embodiment of the present application provides a wave energy power generation control method, which obtains the action of the WEC device by combining the system information at the current moment and the historical information at multiple historical moments, thereby reducing the dependence on information at future moments. In addition, the method uses a preset WEC neural network model to obtain the action of the WEC device. The neural network can automatically adjust its internal structure and parameters to adapt to changes in the external environment, making the neural network more flexible and effective when dealing with complex and dynamic environments. The method avoids the calculation of predicting future moments, reduces the motion calculation time of the WEC device, and can cope with waves in various situations through the neural network. By completing the training of the preset WEC neural network model, a better action instruction can be obtained to improve the stability of wave power generation.
[0081] Furthermore, the wave energy power generation control method in this embodiment does not rely on accurate platform modeling, and deep reinforcement learning can handle the displacement amplitude limitation problem by defining a reward function, without the need for complex optimization methods, to avoid damage to the WEC due to displacement exceeding the limit in extreme sea conditions. Moreover, the neural network calculation used in this embodiment is essentially an elementary operation of matrices, which reduces the difficulty of real-time calculation. Therefore, the wave energy power generation control method proposed in this embodiment can effectively improve the calculation speed and stability of the offshore wind energy-wave energy integrated energy system.
[0082] A wave energy power generation control method provided by an embodiment of the present application is introduced above, and a device for executing the above wave energy power generation control method will be introduced below.
[0083] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a wave energy power generation control device provided in an embodiment of the present application. Figure 3 As shown, the wave energy power generation control device is applied to an offshore wind energy-wave energy integrated energy system, comprising:
[0084] The acquisition unit 100 is used to acquire current system information at a current moment and historical system information at multiple historical moments, wherein the current system information and the historical system information both include: wave energy generation power, wave height, longitudinal displacement of the floating body of the wave energy converter WEC, and floating body speed of the WEC;
[0085] The calculation unit 110 is used to input the current system information and a plurality of historical system information into a preset WEC neural network model to obtain an action instruction of the WEC;
[0086] The execution unit 120 is used to control the WEC to perform an action at the next moment after the current moment according to the action instruction, and trigger the acquisition unit 100 .
[0087] In a possible implementation, the computing unit 110 includes:
[0088] A thrust parameter acquisition subunit, used for inputting current system information and multiple historical system information into a preset WEC neural network model, and obtaining a thrust average value and a thrust standard deviation output by the preset WEC neural network model;
[0089] The thrust parameter calculation subunit is used to perform normal distribution calculation on the thrust mean value and thrust standard deviation to obtain the thrust command of the WEC;
[0090] The command acquisition subunit is used to use the thrust command as the action command of the WEC.
[0091] In a possible implementation, the thrust parameter acquisition subunit is specifically configured as follows:
[0092] Aggregate current system information and multiple historical system information into a set of data and input the data into a preset WEC neural network model as a state space of the preset WEC neural network model;
[0093] By presetting multiple neurons in the WEC neural network model, current system information and multiple historical system information are calculated to obtain the thrust average value and thrust standard deviation output by the preset WEC neural network model.
[0094] In a possible implementation, the acquisition unit 100 is specifically configured as follows:
[0095] Get the current system information at the current moment from the environment where the WEC is located;
[0096] Obtain historical system information for multiple consecutive historical moments from a historical time period before the current moment.
[0097] The present application also provides an electronic device in an embodiment. Figure 4 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0098] like Figure 4 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 403. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0099] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a memory card, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0100] An embodiment of the present application also provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any wave energy power generation control method provided in the embodiment of the present application.
[0101] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any wave energy power generation control method provided in the embodiment of the present application.
[0102] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0103] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0104] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0105] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
[0106] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0107] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. A wave energy power generation control method, It is characterized in that Applied to an offshore wind energy-wave energy integrated energy system, the wave energy power generation control method comprises: Acquire current system information at a current moment and historical system information at multiple historical moments, wherein the current system information and the historical system information both include: wave energy generation power, wave height, longitudinal displacement of a floating body of a wave energy converter WEC, and floating body speed of the WEC; Inputting the current system information and a plurality of the historical system information into a preset WEC neural network model to obtain an action instruction of the WEC; According to the action instruction, the WEC is controlled to perform an action at a moment next to the current moment, and returns to execute the step of obtaining the current system information at the current moment and the historical system information at multiple historical moments.
2. The wave energy power generation control method according to claim 1, It is characterized in that The step of inputting the current system information and the plurality of historical system information into a preset WEC neural network model to obtain the WEC action instruction includes: Inputting the current system information and a plurality of the historical system information into a preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model; Performing normal distribution operation on the thrust average value and the thrust standard deviation to obtain the thrust command of the WEC; The thrust command is used as an operation command of the WEC.
3. The wave energy power generation control method according to claim 2, It is characterized in that The step of inputting the current system information and the plurality of historical system information into a preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model includes: Aggregating the current system information and the plurality of historical system information into a set of data, and inputting the data into the preset WEC neural network model as the state space of the preset WEC neural network model; The current system information and a plurality of the historical system information are calculated by using a plurality of neurons in the preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model.
4. The wave energy power generation control method according to claim 1, It is characterized in that The obtaining of current system information at the current moment and historical system information at multiple historical moments includes: Acquire current system information at the current moment from the environment in which the WEC is located; The historical system information of a plurality of consecutive historical moments is obtained from a historical time period before the current moment.
5. A wave energy power generation control device, It is characterized in that Applied to an offshore wind energy-wave energy integrated energy system, the wave energy power generation control device comprises: An acquisition unit, used to acquire current system information at a current moment and historical system information at multiple historical moments, wherein the current system information and the historical system information both include: wave energy generation power, wave height, longitudinal displacement of a floating body of a wave energy converter WEC, and floating body speed of the WEC; A calculation unit, used for inputting the current system information and a plurality of the historical system information into a preset WEC neural network model to obtain an action instruction of the WEC; An execution unit is used to control the WEC to perform an action at a moment next to the current moment according to the action instruction, and trigger the acquisition unit.
6. The wave energy power generation control device according to claim 5, It is characterized in that The computing unit comprises: A thrust parameter acquisition subunit, used for inputting the current system information and a plurality of historical system information into a preset WEC neural network model, and obtaining a thrust average value and a thrust standard deviation output by the preset WEC neural network model; a thrust parameter calculation subunit, configured to perform a normal distribution operation on the thrust mean value and the thrust standard deviation to obtain a thrust instruction of the WEC; The instruction acquisition subunit is used to use the thrust instruction as an action instruction of the WEC.
7. The wave energy power generation control device according to claim 6, It is characterized in that The thrust parameter acquisition subunit is specifically configured as follows: Aggregating the current system information and the plurality of historical system information into a set of data, and inputting the data into the preset WEC neural network model as the state space of the preset WEC neural network model; The current system information and a plurality of the historical system information are calculated by using a plurality of neurons in the preset WEC neural network model to obtain a thrust average value and a thrust standard deviation output by the preset WEC neural network model.
8. The wave energy power generation control device according to claim 5, It is characterized in that The acquisition unit is specifically configured as follows: Acquire current system information at the current moment from the environment in which the WEC is located; The historical system information of a plurality of consecutive historical moments is obtained from a historical time period before the current moment.
9. An electronic device, It is characterized in that The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the wave energy power generation control method according to any one of claims 1 to 4.
10. A computer program product, It is characterized in that The invention comprises computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the wave energy power generation control method as claimed in any one of claims 1 to 4.
Citation Information
Patent Citations
Control method based on moving average analysis model for ocean wave power generation device
CN108301963A
Control method and device of wave power generation device and electronic equipment
CN117145688A
Wave energy power generation system prediction and control method based on deep learning neural network
CN118312748A
Adaptive control of wave energy converters
US11939945B1
Model predictive control of parametric excited pitch-surge modes in wave energy converters
US20180163691A1
Cited By
All-working-condition operation method and device of bidirectional tidal unit, electronic equipment and unit
CN119878435A
