Research on the Blade Motion of a Bidirectional Energy-Generating Turbine under Integrated Wave and Tidal Current Action

: An integrated wave-tidal current power turbine is affected by both wave and tidal current forces, and its energy efﬁciency is closely related to the velocity and direction of the two forces. To improve the probability of the horizontal axis turbine reaching maximum energy efﬁciency under real-time changing sea conditions, we performed the following investigations in this study. Based on the actual application scenario of Lianyungang port, a time series prediction model of tidal current (velocity and ﬂow direction) and wave (mean wave direction, mean wave period, and signiﬁcant wave height) data for the past year was established. The changes in waves and tidal currents within 24 h after the cutoff point of the existing data were predicted. The integrated wave-tidal current mechanism was studied, and the superposition of wave energy and tidal current energy was transformed into the equivalent velocity vector of wave-tidal current integration. The conversion coefﬁcient between waves and equivalent ﬂows was determined by a numerical wave ﬂume simulation. According to the historical wave and tidal current data, the equivalent velocity range of the integrated action of waves and tidal currents in Lianyungang was determined. The inﬂuence of different blade motions on the energy harvesting efﬁciency of the turbine under the corresponding ﬂow conditions was studied using the Computational Fluid Dynamics (CFD) method to determine the blade motion law of the turbine. The blade motion law of the prototype was veriﬁed in a sea trial experiment. The experimental results were basically consistent with the simulation results for the blade motion law designed according to the wave and tidal current prediction law. This design scheme can provide a reference for engineering design for the development and utilization of new marine energy.

Abstract: An integrated wave-tidal current power turbine is affected by both wave and tidal current forces, and its energy efficiency is closely related to the velocity and direction of the two forces. To improve the probability of the horizontal axis turbine reaching maximum energy efficiency under real-time changing sea conditions, we performed the following investigations in this study. Based on the actual application scenario of Lianyungang port, a time series prediction model of tidal current (velocity and flow direction) and wave (mean wave direction, mean wave period, and significant wave height) data for the past year was established. The changes in waves and tidal currents within 24 h after the cutoff point of the existing data were predicted. The integrated wave-tidal current mechanism was studied, and the superposition of wave energy and tidal current energy was transformed into the equivalent velocity vector of wave-tidal current integration. The conversion coefficient between waves and equivalent flows was determined by a numerical wave flume simulation. According to the historical wave and tidal current data, the equivalent velocity range of the integrated action of waves and tidal currents in Lianyungang was determined. The influence of different blade motions on the energy harvesting efficiency of the turbine under the corresponding flow conditions was studied using the Computational Fluid Dynamics (CFD) method to determine the blade motion law of the turbine. The blade motion law of the prototype was verified in a sea trial experiment. The experimental results were basically consistent with the simulation results for the blade motion law designed according to the wave and tidal current prediction law. This design scheme can provide a reference for engineering design for the development and utilization of new marine energy.

Introduction
In the development and utilization of renewable marine energy, tidal current energy [1,2] and wave energy [3] are not only a research focus with high technological maturity but are also a hotspot of engineering applications. The two are inseparable and have an integrated effect. For example, suspended tidal turbines can obtain tidal current energy at large velocities near the sea, but are also affected by surface waves. Ethan et al. [4] studied the influence of surface gravity waves on the performance of tidal current turbines. The results showed that waves yield a small increase in turbine performance which can be explained by Stokes drift velocity. Lu et al. [5] analyzed the performance influence of vertical axis tidal current turbines under waves and tidal currents through experiments, and proved that the presence of waves increased the output power of tidal current turbines and improved their power generation performance. The tidal energy turbine designed by Wang et al. [6] from Shanghai Ocean University increased the absorbed power by 23 W under the combined action of waves and tidal currents compared with that under the same flow conditions, and the energy acquisition efficiency was increased by one percentage point. Therefore, the integration and collaboration of wave energy and tidal current energy into the same operating system can strengthen the multi-energy interconnection, promote the complementary advantages of multiple energy sources, improve the power generation per unit volume of sea area, and output a more stable performance. It can reduce the use of standby power generation equipment in renewable energy power generation, which not only reduces costs but is also beneficial for environmental protection.
Domestic and foreign scholars have conducted a great deal of research on the combined action mechanism of tidal current energy and wave energy. In 1987, Hedges [7] formally proposed the concept and preliminary structure of wave and tidal current integrated power generation, and integrated power generation technology began to develop. With the development of research technology, various types of wave and tidal current energy integration devices are emerging. Omar et al. [8] carried out research on wave-tidal current interaction theory and power generation technology, as well as many prototype experiments. Draycott et al. [9] carried out a nonlinear wave load test of a horizontal axis tidal current turbine and studied the influence of waves on tidal current turbines by using a 1:15 scale pool model. However, the development of wave and tidal current integration technology in China has lagged behind that of other countries [10,11]. In 2011, Shanghai Ocean University first proposed an integrated wave-tidal current power generation scheme and developed an integrated marine wave-tidal current power generation device with a single-unit capacity of no less than 500 W [12]. However, a complete theoretical system of resource evaluation and the mechanism of wave-tidal current integration have not been established. There are still problems such as the low energy conversion efficiency and poor reliability of wave-tidal current integrated power generation devices, and there are still numerous hurdles to clear before the large-scale promotion and application of such devices [13,14]. Therefore, the research on the mechanism of wave-current integration is of great significance for the improvement of the energy harvesting efficiency of the wave-tidal current integrated power generation turbine.
Many studies show that horizontal axis blades of tidal current turbines have a higher power generation efficiency and self-starting performance than turbines with vertical axis blades [15][16][17][18]. In the design of a horizontal axis tidal current energy turbine, a variablepitch turbine can adapt to changes in tidal current velocity and direction by adjusting the blade declination to improve the self-starting performance and energy acquisition efficiency of the turbine [19,20]. However, most variable-pitch turbines do not consider the role of wave integration in the design process of blade motion law, and actual sea conditions are more complex than a single tidal current. Therefore, improving the energy efficiency of variable-pitch turbines under the action of wave-tidal current integration remains a challenge, and the posture change law of the turbine should be designed according to the characteristics of wave-tidal current integration. International scholars have conducted limited research on the variable posture law of horizontal axis turbines under wave-tidal current combined action. At the same time, for a determined sea area, tidal currents and waves have certain rules. The tidal current has strong periodicity, and waves also show certain cyclical fluctuation with the seasons [21]. The data have a strong correlation in the time scale, but the time series of waves and tidal currents are nonlinear, and a simple linear regression method cannot be used for prediction. It is necessary to select a more effective prediction model according to the characteristics of waves and tidal currents parameters to predict the variation of waves and tidal currents and provide a reference for the design of blade motion law.
In this paper, we propose a design method of blade motion law based on the prediction of the change law of waves and tidal currents, so that the horizontal axis turbine can achieve the maximum energy harvesting efficiency at different times and under different working conditions. We take the S-foil bidirectional energy harvesting horizontal axis turbine as the study object and Lianyungang port as the practical application scenario. Through an analysis of the open tidal current and wave data from the past year, the neural network prediction model of wave (mean wave direction, mean wave period, and significant wave height) and tidal current (velocity and direction) data is constructed to predict the change law of waves and tidal currents within 24 h after the existing data cutoff point. On this basis, a mathematical model of the mechanism of wave-tidal current integration is deduced and established. Since the turbine mainly captures the kinetic energy generated by the lateral inflow, the complex mechanism of wave-tidal current integration is simplified in this paper, and the wave-tidal current integration is converted into an equivalent tidal current velocity vector so that forces on the turbine in all directions are integrated into the lateral force to better study the hydrodynamic performance of the horizontal axis turbine. This equivalent vector is related to tidal current velocity, tidal current direction, mean wave direction, mean wave period, and significant wave height. Then, the conversion coefficient of waves and equivalent flows is determined by numerical wave tank experiments, and the equivalent velocity range of wave-tidal current integration in Lianyungang port is determined. Finally, the influence of different blade deflection angles on the energy harvesting efficiency of the turbine under different flow conditions is studied by the CFD method to determine the variable attitude law of the turbine, which is verified in a sea trial experiment. Compared with the S-foil horizontal axis turbine previously designed by our research group [22], the variable-pitch turbine proposed in this paper adopts the blade motion law designed based on the prediction of the change law of waves and tidal currents, which not only ensures the acquisition of tidal current energy, but also integrates the wave energy, so that the energy acquisition efficiency under the same flow condition is increased by about 10%. In addition, this study provides a new method for the engineering design of new marine energy development and utilization, and provides a new idea for the improvement of power generation efficiency. This paper is organized as follows. The prediction of the change law of waves and tidal currents according to the existing data of Lianyungang is presented in Section 2. The mathematical mechanism of wave-tidal current integration according to the physical characteristics of wave and tidal current is presented in Section 3. The blade motion law of the turbine is studied in Section 4, together with the details of CFD simulations. Section 5 shows the sea trial results of the prototype turbine. Finally, the conclusions of this paper are presented in Section 6.

Prediction of Waves and Tidal Currents
Tidal current velocity, tidal current direction, mean wave direction, mean wave period, and significant wave height are five parameters with high correlations with dynamic seawater acquisition that have a certain periodicity and are independent of each other. As a powerful recurrent neural network, Long-term and Short-term Memory (LSTM) can maintain an internal input memory, compensating for the gradient disappearance and gradient explosion problems present in the training process of Recurrent Neural Network (RNN). LSTM can effectively solve the problem of correlation between data before and after processing and can be widely used for the prediction of periodic time series data [23,24]. Therefore, an LSTM model based on the five columns of data is established to predict tidal current and wave data within 24 h after the cutoff point of the existing data.

Characteristics of the LSTM Neural Network
In this study, an LSTM neural network, which is a kind of artificial neural network (ANN) that includes the time cycle structure in deep learning and can accurately model time series data, was used. In the calculation of the LSTM neural network model, past iterations and samples are remembered, which can affect the current decision. The current and past input data as well as the past LSTM neural network computation state are considered as the input to solve the current output. Therefore, the time series needs to be discretized with equal time steps, dt, and the output of the training model is as follows: where g(*) is the activation function of the output layer, V is the weight matrix of the output layer, and s t is the calculation formula of the hidden layer, which includes three types of input, namely, the current input layer x t , the input of the hidden layer at the previous time step s t−1 , and the status of the neuron at the previous time step c t−1 . f (*) is the activation function of the hidden layer, U is the synaptic weight matrix from the input layer to the hidden layer, and W is the synaptic weight matrix from s t−1 to the hidden layer at this time step.

Construction of Prediction Model
The tidal current (velocity, direction) and wave (mean wave direction, mean wave period, and significant wave height) data of Lianyungang station from June 2020 to June 2021 were obtained from the National Ocean Information Center and the European Centre for Medium-Range Weather Forecasts Re-Analysis-5 (ERA5) reanalysis database, respectively. The ratio of the training set to the test set for each single column of data was set to 8:2. The input and output of the training model were constructed by using the recursive structure of the sliding window. Compared with the training samples of traditional structures, the training samples of the recursive structure were trained by multiple time data, ensuring the time coupling of the input and output. Let X i be the vector that constitutes the input and Y i be the vector that constitutes the output. The number of vectors is i, the length of the input window is j (j < t), the window length is the number of input steps, and the number of output steps is 24. The prediction diagram of the recursive structure is shown in Figure 1. A stacked LSTM network composed of three hidden layers was constructed to train single-column data, and the dropout algorithm was used to improve the generalization ability and robustness of the model. The changes in tidal currents and waves within 24 h after the existing data cutoff point could thus be predicted. The model structure of the LSTM network is shown in Figure 2. In the multistep prediction process, LSTM was expanded into a feed-forward neural network, and the input vector and output vector were acquired from the first moment in a circular way, thus forming the input vector set X in and the output vector set Y out . The model accuracy (acc), coefficient of determination (R 2 ), and root mean square error (RMSE) are used to evaluate the model. The calculation equations [25] are as follows.
The acc is as follows: where e i =ŷ i − y i is the calculation error,ŷ i is the predicted value, and y i is the actual value.
The RMSE is as follows: The R 2 is as follows: where y is the average value.
To accelerate the convergence speed of neural network training and improve the computational efficiency, the data need to be normalized, and the expression is as follows: where x max and x min are the maximum and minimum values of the sample data.

Analysis of Prediction Results
As shown in Figure 3, the trained model is applied to the test set, and 100 samples are randomly selected to compare the predicted value with the real value. The prediction accuracies of the five time series datasets are 0.98, 0.94, 0.92, 0.90, and 0.97. The R 2 values are 0.92, 0.91, 0.90, 0.96, and 0.93. The RMSE values are 0.01, 7.73, 14.96, 0.08, and 0.38. The prediction accuracies of the five time series datasets are greater than 90%, and the highest accuracy is 98%, meaning that the prediction results are good. The RMSE values of the tidal current direction and mean wave direction are both larger than that of the other three datasets. This is because the direction range of waves and tidal currents is 0 • -360 • , and its absolute error is relatively large relative to that of the mean wave period, significant wave height, and tidal current velocity. Therefore, the RMSE values cannot fully characterize the quality of the prediction model. In combination with the relative errors and R 2 values in Figure 3b,c, it can be seen that the trends of the predicted value and the real value curves are similar, the relative errors of tidal current direction and mean wave direction are small. In addition, the R 2 values of five datasets are greater than 90%, indicating that the input and output of the LSTM model are strongly correlated, and the independent variables selected in the prediction model can explain more than 90% of the dependent variables. In summary, this prediction model can accurately predict the changes in tidal currents and waves within 24 h after the existing data cutoff point. In the practical application process, the wave and tidal current data of the past 72 h can be collected from official websites to continuously predict their changes in the next 24 h to achieve the continuity of prediction.
Compared with fixed-blade declination turbines, adjusting the blade declination angle according to the changing regularity of tidal currents and waves can make the turbine more efficient. The energy harvesting efficiency of the wave-tidal current generation turbine can be effectively improved by predicting the variation law of tidal currents and waves in advance, then designing the variation angle law of turbine blades in advance according to the variation law of tidal currents and waves, and then controlling the corresponding angle of blade deflection at the predicted time point with a control algorithm. Since the minimum accuracy of the prediction above can reach 90%, according to the predicted data, the regular blade motion can be designed to achieve a 90% probability of maximizing the efficiency of the turbine per hour during a day.

Mathematical Mechanism of Wave-Tidal Current Integration
The research in this paper is based on the S-foil bidirectional energy harvesting marine power turbine developed by our research group. The prototype structure is shown in Figure 4. The turbine can work under bidirectional flow to achieve bidirectional energy harvesting. The energy of the combined action of waves and tidal currents in the turbine is always perpendicular to the rotating plane of the turbine. In the design process of the turbine posture change law, calculating the equivalent vector of the wave and tidal current integration energy will make the theoretical design of the turbine posture change law more targeted and convenient. Furthermore, wave-tidal current coupling is a relatively complex physical process. Therefore, in this paper, the actual working conditions of waves and tidal currents are appropriately idealized, and the complex wave-tidal current coupling process is simplified as a linear superposition mathematical model to integrate the input energy of waves and tidal currents acting on the turbine. This not only fully considers the integration of the two energies but also makes the derivation process simpler.

Wave Energy
Many existing studies simplify the actual wave condition as a linear wave to calculate wave energy, but the sea conditions in different sea areas are different. It is necessary to determine the applicable wave theory of Lianyungang port according to the values of H/gT 2 and d/gT 2 to calculate the corresponding wave energy [26]. The water depth of Lianyungang port (34.8N, 119.4E) is approximately 14 m according to the China Port Network. Significant wave height, mean wave period, and mean wave direction corresponding to this position were obtained from the ERA5 reanalysis database, and the time resolution is an hour. When significant wave height and the mean wave period of 2018-2021 are introduced into H/gT 2 and d/gT 2 , the obtained values are 0.0037 and 0.0817 respectively, which is in line with the applicable scope of the Stokes second-order nonlinear wave theory. Therefore, the Stokes second-order nonlinear wave theory is taken as the theoretical waveform of Lianyungang port to solve the wave energy. Equations (6)-(11) are the calculation formulas of the solution process [27].
The dispersion relation of the Stokes second-order nonlinear wave is as follows: The velocity potential function is as follows: The wave surface equation is as follows: The water particle movement velocity components are as follows: where Θ = kx − wt, d is the water depth (m), H is the wave height (m), T is the wave period (s), L is the wavelength (m), k is the wavenumber, and w is the angular frequency (rad/s). The energy of horizontal motion of wave particles acting on the turbine in unit wavelength is as follows: Equations (6)- (10) can be substituted into Equation (11) to approximate the solution of wave energy using MATLAB software yields:

Equivalent Velocities of Waves and Tidal Currents
The tidal current energy calculation equation is as follows: where ρ is the seawater density (kg/m 3 ) and S is the flow area (m 2 ). Since the wave energy does not entirely act on the turbine, the effective wave load acting on the turbine is transformed into the flow load under the same flow area through the equation, and the equivalent flow velocity corresponding to the wave energy is calculated. The wave energy in the unit wavelength is written as the form of tidal current energy: where the coefficient 1/η represents the proportion of the wave energy actually acting on the turbine. The equivalent tidal current velocity, v w , of wave energy per unit wavelength acting on the turbine is expressed as follows: The equivalent velocity is superimposed on the tidal current velocity, v t , at this position to obtain the combined velocity, v, of wave-tidal current integration. The vector form of the tidal current velocity and the equivalent velocity of a wave is expressed as follows: where ∠ → v w and ∠ → v t represent the wave direction angle and tidal current direction angle, respectively.
The velocity vector of wave-tidal current integration is as follows: The transformation of the coordinate system between the two-dimensional geographic coordinate system and the mathematical rectangular coordinate system XOY is carried out as shown in Figure 5. In the figure, (a) is the coordinate system of the combined velocity vector integrating waves and tidal currents, and (b) is the mathematical rectangular coordinate system XOY. In the coordinate system in Figure 5a, due north (positive direction of the X axis) is at 0 degrees, and due east (positive direction of the Y axis) is at 90 degrees. As shown in Figure 5, in coordinate system (a), the vertical axis is the X-axis, the horizontal axis is the Y-axis, and the positive direction of the angle is clockwise. In coordinate system (b), the vertical axis is the Y-axis, the horizontal axis is the X-axis, and the positive direction of the angle is counterclockwise. A vector of angle θ and length l in frame (a) corresponds to a vector of angle 2π − θ and length l in frame (b), and the two vectors are projected with the same sign on the X-axis in their respective coordinates and an opposite sign on the Y-axis.
The velocity vector is substituted into the coordinate transformation relationship, as shown in Figure 6 In frame (b), the projection of the velocity vector,  According to the above transformation relation, the two velocity vectors of tidal currents and waves are decomposed in the coordinate system (b) as shown in Equation (19): The combined vector is converted to coordinate system (a) by using the conversion relationship, and the integrated velocity vector in the real geographical coordinate system is obtained as shown in Equation (20):

Wave Equivalent Velocity Coefficient
A three-dimensional numerical wave tank was established in Fluent, and its twodimensional section diagram and boundary conditions are shown in Figure 7. The total grid calculation domain is a rectangular domain with a length of 12D, a width of 6D, and a height of 10D, which is divided into two calculation domains: the air domain and the wave domain. The height ratio of the wave grid calculation domain to the air domain is 3:2. The shape of the air domain is regular compared with that of the wave grid calculation domain. Therefore, the air domain was divided by sweeping grids, and the wave grid calculation domain was divided by tetrahedral grids. When meshing, the size of the turbine wall grid was set to 2.5 mm, the minimum size of the global mesh was set to 0.35 mm, the maximum size of the global surface mesh was set to 35 mm, and the growth rate was set to 1.2. In order to capture the wave propagation of the free surface and the change of wave motion more accurately, the grid was encrypted in a wave height range above and below the static water surface along the wave height direction. The mesh height of the encrypted area was set to 0.1 times that of the wave height, the mesh size in the wavelength direction was set to 0.05 times that of the wavelength, and the mesh size in the width direction of the tank was consistent with the length direction. The total number of grids was 2,108,683, and the Y + value was set to be less than 20. The computational grid model is shown in Figure 8. To calculate the equivalent wave velocity, the Volume of Fluid (VOF) method was used to track the free surface. The Stokes second-order wave was selected. The wave period was set as 0.5 s, the wave height was set as 0.1 m, and the wavenumber was set as 1. According to Equation (6), the wavelength L was obtained as 0.6 m. The Shear Stress Transfer (SST) k-omega turbulence model was chosen, and the pressure-implicit with the splitting of the operator (PISO) algorithm was used as the pressure-velocity coupling algorithm.  Table 1. The average velocity of each point is 0.34 m/s. The wave energy conversion coefficient, η, can be calculated by Equations (14) and (15) to be approximately 7.48; thus, the coefficient of wave equivalent tidal current velocity can be further deduced. The wave and tidal current data of Lianyungang port in the past year are substituted to obtain the equivalent velocity range of 0.1-1.2 m/s. Substituting the predicted data of tidal current velocity, tidal current direction, mean wave period, mean wave direction, and significant wave height in Section 2.1 for the next 24 h into Equations (15)- (20), the integrated action velocity vector in the next 24 h can be predicted.
The integration of tidal current energy and wave energy simplifies the effect of complex sea water movement on the turbine into an equivalent velocity vector that varies with time. According to the change in the predicted equivalent velocity size to design the turbine blade motion law, and according to the predicted equivalent velocity direction to design the gesture change law of the turbine, the automatic control system of the blade motion power can be designed according to the obtained law, meaning that the maximum energy acquisition efficiency can be achieved over most of the day.

Theoretical Maximum Energy Acquisition Efficiency
The turbine blade is an S-foil. The symmetry of the S-foil and its optimized hydrodynamic properties give the turbine a good bidirectional flow absorption capacity [28]. The blade section parameters of the prototype designed according to the improved Wilson method [29] are as shown in Table 2. Due to the reaction to the torque exerted on the turbine by the flow, the flow behind the rotor rotates in the opposite direction, and the rotation of the wake reduces the energy absorption by the turbine. Therefore, considering the rotation of the turbine wake, the axial velocity induction factor, a, and the circumferential velocity induction factor, b [30], are introduced. The stress analysis of the blade element is shown in Figure 9. The inflow angle, ϕ, of the blade element is as follows: where v is the inflow velocity (m/s), w is the turbine rotation angular velocity (rad/s), and λ is the tip speed ratio for blade r.
When the system is stably operating, a = 1 3 , b = a(1−a) λ 2 = 2 9λ 2 . a and b are then substituted into Equation (21): where the design tip speed ratio λ t = wR v and x = r R . The turbine energy harvesting efficiency can be expressed by its power coefficient (C p ): where ξ = C L /C D , ξ is the lift-to-drag ratio, C L is the lift coefficient, and C D is the drag coefficient. The ideal twist angle of the blade element is as follows: where α b is the best angle of attack of the blade element, and the lift-drag ratio of the blade element is largest under the best angle of attack, meaning that the turbine energy harvesting efficiency is maximum when the blade is at the best angle of attack [31]. The fluid simulation of the 12 sections of the blade was carried out in Fluent. The range of flow velocity in Lianyungang port was determined to be 0.1-1.2 m/s by the equivalent flow velocity of waves and tidal currents calculated in Section 3.3. Therefore, 12 cross-section airfoils were simulated under the conditions of an attack angle of 0 • -18 • and an inflow velocity of 0.1-1.2 m/s. Each computational domain of the airfoil was set to a rectangular domain, as shown in Figure 10. The triangular mesh was used for the whole calculation domain. When meshing, the mesh size near the airfoil was set to 0.1 mm. At the same time, in order to encrypt the mesh, it was necessary to add a six-layer expansion line outside the airfoil profile, and the expansion rate was set to be 1.15. The final mesh number was 20,899. The SST k-omega turbulence model was used in the simulation. The inlet boundary was set as the velocity inlet, and the outlet boundary was set as the outflow.
The Semi-Implicit Method for Pressure Linked Equation (SIMPLE) algorithm was selected, and the number of iterations was set as 300. When the parameters in the residual curve were lower than 0.001, convergence was achieved. At the same time, the corresponding lift and drag coefficients were monitored, the lift-drag ratio was calculated, and the angle of attack corresponding to the maximum lift-drag ratio was determined. From the simulation calculation, it can be seen that, for different flow velocities, the maximum lift-drag ratios corresponding to the 12 sections are as shown in Figure 11.  The maximum lift-drag ratio curves of each section at different flow velocities in Figure 11 were linearly fitted by a cubic polynomial; namely, ξ = p 1 x 3 + p 2 x 2 + p 3 x + p 4 , where p 1 , p 2 , p 3 , and p 4 are fitting coefficients. The R-square values of the 12 curve fitting equations were greater than 97%, and the fitting effect was good. The 12 curve equations were substituted into Equation (23), and the obtained values are shown in Table 3. It is known that, when the flow velocity is low, the theoretical energy harvesting efficiency of the turbine is low. With increasing flow velocity, the energy harvesting efficiency increases gradually, and the maximum efficiency can reach 29.5%. The same setting method was used for each working condition of the turbine: the total grid calculation domain was set to the cylindrical domain, and the rotating domain and the outer watershed were established for the turbine. When meshing, the size of the turbine wall grid was set to 1 mm, the size of the grid at the interface between the rotating domain and the outer watershed was set to 4 mm, and the boundary grid of the outer watershed was set to 6 mm. A total of 4,231,110 grids were divided, and the grid quality was checked. The grid with an element quality value between 0.6 and 1 accounted for 87% of the total, which met the calculation requirements. Then, the inlet boundary was set as the velocity inlet, and the outlet boundary was set as the outflow in Fluent. The SST k-omega turbulence model was selected. The PISO algorithm was used for the pressure and velocity coupling algorithm, and the Multiple Reference Frame (MRF) method was used to simulate the turbine. The iterative steps were set to 1500. When the parameters in the residual curve were lower than 0.001, convergence was achieved. The torque coefficients of the turbine were monitored, and the power coefficients were calculated according to Equations (25) and (26). The calculation results are shown in Figure 12.
where P out is the output power (W), P in is the input power (W), M is the output torque of the rotor (N·m), and A is the sweep area of the rotor. The optimal twist angles and corresponding power coefficients corresponding to each flow condition are shown in Table 4.  Table 4 shows that the power coefficients obtained by the simulation are close to the corresponding theoretical power coefficient. When the inflow velocity is 0.3-0.5 m/s, the energy acquisition efficiency is at its maximum when the turbine blade deflection angle is 26 • . When the inflow velocity is 0.6-1.2 m/s, the energy acquisition efficiency is maximal when the turbine blade deflection angle is 20 • . The binomial fitting method is used for interpolation between 0.1 and 0.3 m/s, and the twist angle relationship corresponding to the flow velocity is as follows: When the inflow velocity is 0.5-0.6 m/s, linear interpolation is used. The relationship between flow velocity and the twist angle is as follows:

Sea Experimental Verification of Wave-Tidal Current Integration
The variable posture law of the hydraulic turbine prototype is verified, and the prototype parameters are shown in Table 5. The prediction model in Section 2 was used to predict the integrated equivalent flow vector of waves and tidal currents for 19 June 2021. The prediction results are shown in Table 6. In the two time periods of 10:00-12:00 and 19:00-22:00, the integrated action speed was between 0.3 and 0.5 m/s. In combination with the environmental conditions, these two time periods could be selected for experiments. During the experiment, turbine models with blade twist angles of 26 • and 20 • were taken as the experimental group and the control group, respectively ( Figure 13). The experimental layout and the model sea trial site are shown in Figure 14. The orientation of the device was adjusted according to the integrated action direction at different moments in Table 6. With 60 s as the sampling period, the output voltage and current were collected, and the output power and its average were calculated. The power coefficients were calculated according to Equation (26). The calculation results are shown in Figure 15. The chart shows that when the flow velocity is 0.3-0.5 m/s, the power coefficient of the experimental group (the blade twist angle is 26 • ) is greater than that of the control group (the blade twist angle is 20 • ), but it is still less than the theoretical maximum power coefficient. This is because the instability of the flow velocity in the actual sea test resulted in the instability of power generation, but their curve trends are consistent, which is in line with the conclusion of the blade motion law in Section 4.2. Compared with the S-foil wave-tidal current integrated power turbine previously studied by our research team, the blade motion law of the turbine based on the prediction of the wave-tidal current law designed in this paper improves the energy harvesting efficiency of the turbine by about 10% under the same flow conditions.

Conclusions
(1) The LSTM neural network prediction model was established for the five parameters (mean wave direction, mean wave period, significant wave height, tidal current velocity, and tidal current direction) of the measured station in the past year, and the data 24 h after the existing data cutoff point were predicted. The results showed that the prediction accuracies of the LSTM neural network model for these five marine parameters were greater than 90%, and the determination coefficients were greater than 90%, indicating that the LSTM model has a good prediction effect for marine parameters. The model can also be further used to predict other marine environmental parameters.
(2) We considered the actual working conditions of the S-foil bidirectional powerharvesting turbine in the process of deducing the mathematical mechanism of wavecurrent integration. The input energy of waves and tidal currents acting on the turbine was superimposed as an equivalent combined velocity vector. It was deduced that the combined velocity was a function of tidal current velocity, tidal current direction, mean wave period, mean wave direction, and significant wave height. In addition, the equivalent tidal current coefficient of the wave was determined to be 7.48 by using a three-dimensional numerical wave tank. This method not only simplifies the design of blade motion law of a horizontal axis turbine, but also provides a reference for the theoretical derivation of multi-energy integrated power generation.
(3) Through the three-dimensional numerical simulation of the turbine under different working conditions, the blade motion law was obtained. Furthermore, through the sea trial of the prototype turbine, the correctness of the variable posture law of the turbine was verified. When the integrated action speed was 0.3-0.5 m/s, the turbine with a blade torsion angle of 26 • was more efficient than the turbine with a blade torsion angle of 20 • , which was in line with the design conclusion of the blade motion law in Section 4.2.
(4) The integrated velocity vectors in the next 24 h were predicted by combining the prediction data of five time series and the integrated wave-tidal current action combined vector function. The predicted data were applied to the design of the blade motion law and the rotation law of the turbine fuselage, which could effectively improve the hourly energy acquisition efficiency of the turbine in the working process. Compared with the S-foil wave-tidal current integrated power turbine previously studied by our research team, the blade motion law of the turbine blade based on the prediction of the wave-tidal current law designed in this paper improved the energy efficiency of the turbine by about 10% under the same flow conditions. Therefore, the design method of the blade motion law can provide a reference for improving the efficiency of hydraulic turbines in engineering.
In this study, through theoretical analysis and sea trial experiments, a blade motion law designed based on the prediction of the change law of waves and tidal currents was verified. This experimental method provides a new idea for improving the energy acquisition efficiency of power generation devices. The experimental results can also provide a reference for the engineering design for the development and utilization of new marine energy.