An Estimation of Hydraulic Power Take-off Unit Parameters for Wave Energy Converter Device Using Non-Evolutionary NLPQL and Evolutionary GA Approaches

: This study is concerned with the application of two major kinds of optimisation algorithms on the hydraulic power take-off (HPTO) model for the wave energy converters (WECs). In general, the HPTO unit’s performance depends on the conﬁguration of its parameters such as hydraulic cylinder size, hydraulic accumulator capacity and pre-charge pressure and hydraulic motor displacement. Conventionally, the optimal parameters of the HPTO unit need to be manually estimated by repeating setting the parameters’ values during the simulation process. However, such an estimation method can easily be exposed to human error and would subsequently result in an inaccurate selection of HPTO parameters for WECs. Therefore, an effective approach of using the non-evolutionary Non-Linear Programming by Quadratic Lagrangian (NLPQL) and evolutionary Genetic Algorithm (GA) algorithms for determining the optimal HPTO parameters was explored in the present study. A simulation–optimisation of the HPTO model was performed in the MAT-LAB/Simulink environment. A complete WECs model was built using Simscape Fluids toolbox in MATLAB/Simulink. The actual speciﬁcations of hydraulic components from the manufacturer were used during the simulation study. The simulation results showed that the performance of optimal HPTO units optimised by NLPQL and GA approaches have signiﬁcantly improved up to 96% and 97%, respectively, in regular wave conditions. The results also showed that both optimal HPTO units were capable of generating electricity up to 62% and 77%, respectively, of their rated capacity in irregular wave circumstances.


Introduction
Ocean waves are one of the renewable energy resources that potentially can be exploited to produce usable electricity due to their excellent features of predictability, high energy density and high source availability [1,2]. Currently, numerous wave energy converters (WECs) have been designed, developed, tested and patented through a variety of harnessing techniques that are subjected to the characteristics of the target location such as shoreline, nearshore and offshore, as reported in [3][4][5][6]. In general, WECs are a combination of three main parts, such as a wave energy converter (WEC) device, power take-off (PTO) unit and control system unit. Recently, various types of PTO units have been developed for WEC devices based on different working principles, such as the air and water turbinebased, direct-electrical drive-based, direct-mechanical drive-based and hydraulic-based, as reported in [7,8]. A hydraulic PTO (HPTO) is considered to be the most effective PTO The paper is organised as follows. The technical descriptions of the considered WEC with HPTO unit and its important configuration parameters are given in Section 2. The simulation studies of the HPTO unit, which includes the simulation set-up process, optimisation process and evaluation of HPTO unit performance, are described in Section 3. Results and discussion are provided in Section 4, and finally, the Conclusions are given in Section 5.

Mathematical Modelling of WEC with HPTO Unit
The design of the WECs depends on the characteristics of the installed location. In the present study, the rotation-based WEC attached to the fixed body concept was considered, as illustrated in Figure 1. This WECs concept has been implemented in numerous studies for various investigation goals, for example, in [29][30][31][32]. This concept is suitable to be installed at shoreline, nearshore and offshore locations. In this concept, the WEC device consists of a single or multiple floating buoy or floater attached to the rotatable arm and connected to the fixed body directed towards the dominant wave direction, as depicted in Figure 1. The multi-design of floater can be used, which is dependent on the direction of the ocean wave, either single or multi-direction. Usually, the semisphere-shaped and boatshaped floater have been considered for the offshore and nearshore location, as investigated in [29,30,[33][34][35]. In this concept, the HPTO unit is utilised to convert the absorbed energy by the WEC device from the ocean wave to become usable electricity. A hydraulic actuator module of the HPTO unit is attached to the rotatable floater arm in order to absorb the mechanical energy produced by the WEC device, as presented in Figure 1. Meanwhile, the rest of the HPTO unit components are placed in the PTO house located on the top of the fixed-structure. In the present study, the model of WECs with a capacity of 0.1 kW was considered.
Energies 2021, 14, x FOR PEER REVIEW 3 of 28 approaches presented in this study can be a useful reference to other researchers and engineers of WECs in order to design an accurate and reliable HPTO unit for the future WECs application. The paper is organised as follows. The technical descriptions of the considered WEC with HPTO unit and its important configuration parameters are given in Section 2. The simulation studies of the HPTO unit, which includes the simulation set-up process, optimisation process and evaluation of HPTO unit performance, are described in Section 3. Results and discussion are provided in Section 4, and finally, the Conclusions are given in Section 5.

Mathematical Modelling of WEC with HPTO Unit
The design of the WECs depends on the characteristics of the installed location. In the present study, the rotation-based WEC attached to the fixed body concept was considered, as illustrated in Figure 1. This WECs concept has been implemented in numerous studies for various investigation goals, for example, in [29][30][31][32]. This concept is suitable to be installed at shoreline, nearshore and offshore locations. In this concept, the WEC device consists of a single or multiple floating buoy or floater attached to the rotatable arm and connected to the fixed body directed towards the dominant wave direction, as depicted in Figure 1. The multi-design of floater can be used, which is dependent on the direction of the ocean wave, either single or multi-direction. Usually, the semisphere-shaped and boat-shaped floater have been considered for the offshore and nearshore location, as investigated in [29,30,[33][34][35]. In this concept, the HPTO unit is utilised to convert the absorbed energy by the WEC device from the ocean wave to become usable electricity. A hydraulic actuator module of the HPTO unit is attached to the rotatable floater arm in order to absorb the mechanical energy produced by the WEC device, as presented in Figure 1. Meanwhile, the rest of the HPTO unit components are placed in the PTO house located on the top of the fixed-structure. In the present study, the model of WECs with a capacity of 0.1 kW was considered.

Hydrodynamic Motion of the Floater
In general, the hydrodynamic motion of the WEC device in real waves can be formulated in the time domain using the linear wave theory, as described in Equation (1). M A is the D'Alembert moment of inertia, M ex is the moment due to the diffracted waves, M rad

Hydrodynamic Motion of the Floater
In general, the hydrodynamic motion of the WEC device in real waves can be formulated in the time domain using the linear wave theory, as described in Equation (1). M A is the D'Alembert moment of inertia, M ex is the moment due to the diffracted waves, M rad is the moment due to radiated waves, M res is the hydrostatic restoring moment and M PTO is the moment due to the HPTO unit. The equation of the hydrodynamic motion in Equation (1) can be expended as given in Equation (2). Here, J WEC is the inertia moment of the floater and arm. Whereas, J add, ∞ is the added mass at the infinite frequency and .. θ arm is the angular acceleration of a WEC device during the pitch motion. Then, k rad (t) is the radiation impulse response function, τ is the time delay and . θ arm is the angular velocity of the floater's arm. Other variables such as k res is the hydrostatic restoring coefficient and θ arm is the angular of the floater's arm during the pitch motion. Finally, h ex (t − τ) is the impulse response function of the excitation moment and η W is the undisturbed wave elevation at the floater center point.
The impulse response function in Equation (2) can be obtained from the hydrodynamic diffraction analysis using Computational Fluid Dynamics (CFD) software. In the present study, the hydrodynamic diffraction analysis of the WEC model was performed using ANSYS/AQWA software.
In addition, the moment due to the HPTO unit, M PTO can be defined using Equations (3)-(5), where F PTO is the feedback force from the HPTO unit applied to the WEC device. The variables L 1 , L 2 , L 3 and L 4 are the lengths between point a, b, c and d, as illustrated in Figure 2 [30,[36][37][38]]. x p is the displacement of hydraulic cylinder piston and L 3,0 is the initial stroke of the hydraulic cylinder.
Energies 2021, 14, x FOR PEER REVIEW 5 of 28  Figure 2A illustrates the considered HPTO unit, which includes a hydraulic actuator, set of control check valves (CV), high-pressure and low-pressure accumulator (HPA and   Figure 2A illustrates the considered HPTO unit, which includes a hydraulic actuator, set of control check valves (CV), high-pressure and low-pressure accumulator (HPA and LPA), hydraulic motor (HM) and electrical generator (G). In the HPTO unit, the large chamber of the hydraulic cylinder (chamber A) is connected to the CV 4 (outlet) and CV 1 (inlet), while the small chamber of DAC (chamber B) is connected to the CV 2 (outlet) and CV 3 (inlet), respectively. Meanwhile, HPA and LPA are placed at the inlet and outlet of the hydraulic motor. During the operation, the wave force generated from the passing ocean wave causes a floater to swing upward and downward repeatedly, as illustrated in Figure  2B. The mechanical force produced by the WEC device forces the rod and piston of the hydraulic cylinder at the specified velocity (ẋ p ) relatively subjected to the PTO load force. During the upward motion, the high-pressurised fluid in chamber A flows to the chamber B through CV 1 , HPA, HM, LPA and CV 2 . On the other hand, the process is vice-versa during downward motion, where high-pressure fluid in chamber B flows to chamber A through CV 3 , HPA, HM, LPA and CV 4 . The high-pressure fluid flows through HM lead to the HM, and G rotates simultaneously at the specified rotation speed (ω G ) subjected to the load torque of the G (τ G ). As a result, the usable electricity can be generated by the continuous motion of this mechanism.

Hydraulic Power Take-off (HPTO) Mechanism
In general, the behaviour of the HPTO unit is strongly nonlinear. Equations (6)-(21) theoretically explain the operation of the considered HPTO unit illustrated in Figure 2. According to Equation (6), the F PTO from the HPTO unit applied to the WEC device depends on the pressure in both hydraulic chambers (p A and p B ) and the effective piston area (A P ). Further, the effects of piston friction (F f ric ) and initial force of rod, piston and oil (F in ) are also considered. These effects can be expressed using Equations (7) and (8), where η f ric is a friction coefficient, ..
x p is the piston acceleration, g is a gravitational acceleration, M p , M r and M oil are the mass of the piston, rod, and oil, respectively [12,36]. .
Since a double-acting-cylinder with a single rod piston is considered a hydraulic actuator, the F PTO is unbalanced during the upward and downward motion of the WEC device due to the unbalanced pressure in both chambers of the hydraulic cylinder. Based on the configuration of the HPTO unit in Figure 2, the F PTO during the upward movement is greater than the F PTO during the downward movement. The dynamics of p A and p B can be described using a fluid continuity equation as in Equations (9) and (10) [12,37]. β e f f , q A and q B are the effective bulk modulus and the in/out volumetric flows in the hydraulic cylinder actuator. x p , .
x p and L are position, velocity and stroke length of the piston. A p,A and A p,B are the effective piston area in the hydraulic chamber A and B, that can be expressed by Equations (11) and (12), where the d p and d r are the diameter of the piston and rod, respectively.
A p,A = πd p 2 /4 (11) For the check valve, the spring-loaded non-return valves are used in this HPTO model. The flow across the valve (q CV ) can be described by the orifice equation, as expressed in Equation (13), where C d is the discharge coefficient, A CV is the check valve opening area and ρ oil is the fluid density. The p CVin and p CVout are the pressure at the inlet and outlet of the check valve [12,38].
Besides that, the gas compression and expansion in the HPA and LPA, which are based on the isentropic process, can be described according to Equations (14) and (15), respectively. Where p HPA , p LPA , p 0,HPA and p 0,LPA are the pressure and pre-charge pressure in the HPA and LPA. γ is the adiabatic index of the compressed gas in the HPA and LPA, while, V HPA. , V LPA , V 0,HPA and V 0,LPA are the initial and the instantaneous volume of gas in the HPA and LPA, respectively. The instantaneous volume of gas can be expressed by Equations (16) and (17), where q HPA and q LPA are the volumetric flow in the HPA and LPA.
Meanwhile, the fluid continuity in the HPTO model should satisfy the following equations: where q HM is the volumetric flow through the hydraulic motor. Here, q HM is given by Equation (20), where D HM , ω HM , and q HM,loss are displacement, speed and volumetric flow losses of the hydraulic motor, respectively. The output torque of the hydraulic motor, τ HM can be expressed by Equation (21), where ∆p HM is the pressure difference in the hydraulic motor. q HM = D HM ω HM − q HM,loss (20) τ HM = D HM ∆p HM Based on the theoretical descriptions provided in Equations (6)- (21), the most important component parameters, which influence the operation of the HPTO model can be defined as summarised in Table 1. The inaccuracy of the selected component parameters will reduce the HPTO unit's capability in converting the absorbed wave energy to electrical energy. Thus, the optimisation of these important component parameters using mathematical algorithms is considered in this study.

Ocean Wave Input Data
A previous study reported that the ranges of the wave height (H W ) and wave period (T W ) at several locations in Terengganu, Malaysia, were equal to the range of 0.2-1.2 m and 2-8 s, respectively [39]. In addition, a further forecast analysis found that the most annual occurrences sea-state at the considered installed location were equal to 0.8 m and 2.5 s. From these statistical results, the regular and irregular wave inputs data were generated based on Airy's wave theory and Joint North Sea Wave Observation Project (JONSWAP) spectrum, as illustrated in Figure 3A,B, respectively. For the irregular wave data profile generation, the peak enhancement factor (γ) of JONSWAP was set to 2. Regular wave input profile data were used in determining the optimal parameters of the HPTO unit process. While the irregular wave input profile data were used to evaluate the effectiveness of the optimal HPTO unit in generating the electricity in inconsistent wave circumstances.

Simulation Set-up of WEC with HPTO Unit Model
In the present study, the main specifications of the computer device that was used for the simulation studies are given in Table 2. As can be seen from Equations (1) and (2), the frequency domain analysis was required to determine the hydrodynamic parameters of the WEC device. Thus, hydrodynamic simulation of the WEC model was preliminarily performed using ANSYS/AQWA software. The hydrodynamic simulation method presented in [40,41] was considered. The results from the preliminary hydrodynamic simulation are presented in Figure 4. The parameters obtained from the hydrodynamic simulation were used to build the complete simulation model of WEC with the HPTO unit in MATLAB ®® /Simulink software, as illustrated in Figure 5. A WEC model based on the linear wave motion, as mentioned in Equations (1)-(5), was developed using the function blocks.
Meanwhile, the HPTO model was developed using the hydraulic components in the Simscape Fluid toolbox, such as double hydraulic chamber single rod jack, hydraulic motor, hydraulic accumulator, hydraulic check valve with saturation, et cetera. The actual parameters of the hydraulic components from manufacturers were used to configure the HPTO model. Since the selection of the HPTO components was incredibly complex due to the variety of hydraulic products from the manufacturers and suppliers, the specification data of hydraulic components from a well-known manufacturer such as Parker Hannifin was considered, as summarised in Appendix A. The data in Appendix A were used as a guideline in determining the optimal configuration parameters of each element in the HPTO model simulation.
Furthermore, a simple dynamic sub-model of a rotary load was utilised to represent the permanent magnet synchronous generator (PMSG) unit. The generated electrical

Simulation Set-up of WEC with HPTO Unit Model
In the present study, the main specifications of the computer device that was used for the simulation studies are given in Table 2. As can be seen from Equations (1) and (2), the frequency domain analysis was required to determine the hydrodynamic parameters of the WEC device. Thus, hydrodynamic simulation of the WEC model was preliminarily performed using ANSYS/AQWA software. The hydrodynamic simulation method presented in [40,41] was considered. The results from the preliminary hydrodynamic simulation are presented in Figure 4. The parameters obtained from the hydrodynamic simulation were used to build the complete simulation model of WEC with the HPTO unit in MATLAB ®® /Simulink software, as illustrated in Figure 5. A WEC model based on the linear wave motion, as mentioned in Equations (1)-(5), was developed using the function blocks.      Meanwhile, the HPTO model was developed using the hydraulic components in the Simscape Fluid toolbox, such as double hydraulic chamber single rod jack, hydraulic motor, hydraulic accumulator, hydraulic check valve with saturation, et cetera. The actual parameters of the hydraulic components from manufacturers were used to configure the HPTO model. Since the selection of the HPTO components was incredibly complex due to the variety of hydraulic products from the manufacturers and suppliers, the specification data of hydraulic components from a well-known manufacturer such as Parker Hannifin was considered, as summarised in Appendix A. The data in Appendix A were used as a guideline in determining the optimal configuration parameters of each element in the HPTO model simulation. Furthermore, a simple dynamic sub-model of a rotary load was utilised to represent the permanent magnet synchronous generator (PMSG) unit. The generated electrical power output from the HPTO model was calculated based on the speed-power curve of PMSG, which was obtained from the manufacturer. In addition, the PTO force, hydraulic motor torque, hydraulic motor speed and electrical power were the acquired outputs from the HPTO model. The detailed specifications of each component that were used in the HPTO model are presented in Table 3. Simulation results of the WEC with non-optimal HPTO unit using the regular waves input profile data are shown in Figure 6. Figure 6A shows that the displacement of WEC was relatively lower than the wave displacement due to the PTO force applied to the WEC device. The PTO force profile applied to the WEC device is shown in Figure 6B. The figure shows that the PTO forces applied to the WEC device during the upward and downward motion were equal to 1.5 kN and 0.7 kN, respectively. Meanwhile, Figure 6C shows the electrical power generated from the non-optimal HPTO unit only can be reached up to an average of 71 W, which was 71% of its rated capacity. Energies 2021, 14, x FOR PEER REVIEW 11 of 28

Optimisation of Configuration Parameter
As the sea state was relatively unstable throughout the year, a suitable HPTO unit was compulsory for a WEC device to ensure that the ocean wave energy can be maximally absorbed and converted to electrical energy. Conventionally, the optimal parameters of the HPTO unit were obtained by iteratively simulating the HPTO model using any sophisticated analysis software. In this process, the designer was required to manually specify a set of configuration parameters value, evaluate the HPTO unit model and analyse the PTO model output. Normally, this process may be repeated many times due to unsatisfactory results from the HPTO performance. Consequently, the designer again proposed a new set of HPTO parameters value based on experience and intuition, which probably will result in a better output of the HPTO model. This optimisation process will end when the time runs out. Unfortunately, sophisticated analysis software and high-speed computer technology were unable to help the designer in determining the optimal parameters of the HPTO unit using this technique.
Alternatively, the optimisation technique HPTO unit parameters using a computer algorithm was presented in this study. By using this technique, the designer was taken out from the trial-and-error loop process. The sophisticated computer was now utilised to conduct a complete determination process of the optimal configuration parameters. Through this technique, the designer workload can be reduced, in which the designer only focused on the interpretation of the optimisation results. Moreover, the determination of the optimal configuration parameters can be found in a shorter and more accurate time compared to the case using a conventional technique. In the algorithm-based optimisation technique, many kinds of algorithms can be applied to solve the optimisation problem.
In the present study, the simulation-optimisation using two major types of optimisation algorithms was explored in this present study. A specific objective function (OF)

Optimisation of Configuration Parameter
As the sea state was relatively unstable throughout the year, a suitable HPTO unit was compulsory for a WEC device to ensure that the ocean wave energy can be maximally absorbed and converted to electrical energy. Conventionally, the optimal parameters of the HPTO unit were obtained by iteratively simulating the HPTO model using any sophisticated analysis software. In this process, the designer was required to manually specify a set of configuration parameters value, evaluate the HPTO unit model and analyse the PTO model output. Normally, this process may be repeated many times due to unsatisfactory results from the HPTO performance. Consequently, the designer again proposed a new set of HPTO parameters value based on experience and intuition, which probably will result in a better output of the HPTO model. This optimisation process will end when the time runs out. Unfortunately, sophisticated analysis software and highspeed computer technology were unable to help the designer in determining the optimal parameters of the HPTO unit using this technique.
Alternatively, the optimisation technique HPTO unit parameters using a computer algorithm was presented in this study. By using this technique, the designer was taken out from the trial-and-error loop process. The sophisticated computer was now utilised to conduct a complete determination process of the optimal configuration parameters. Through this technique, the designer workload can be reduced, in which the designer only focused on the interpretation of the optimisation results. Moreover, the determination of the optimal configuration parameters can be found in a shorter and more accurate time compared to the case using a conventional technique. In the algorithm-based optimisation technique, many kinds of algorithms can be applied to solve the optimisation problem.
In the present study, the simulation-optimisation using two major types of optimisation algorithms was explored in this present study. A specific objective function (OF) was designed to maximise the electrical energy generation of the HPTO unit, as described in Equation (22). Here, P PTO,ref and P PTO represented the desired and the actual electrical power output of the HPTO unit. The optimisation problem in Equation (22) was solved by two kinds of optimisation algorithms, i.e., NLPQL and GA. In order to provide a fairground for comparison between two optimisation algorithms, the same constraints, design parameters, and objective function were considered for both cases under study. The details of the considered algorithms are described in the following subsections.

Non-Evolutionary NLPQL-Based Optimisation
The NLPQL algorithm was a local optimiser and has the advantages of fast convergence and high-stability [42]. In several studies, the NLPQL-based optimisation was applied to solve and optimise various non-linear problems during the design stage [42][43][44][45]. Figure 7A shows the flowchart of the NLPQL-based optimisation technique. Initially, the NLPQL-based optimisation process was started by randomly generating the guest point of each study parameter (d p , d r , p 0,HPA , V cap,HPA , p 0,LPA , V cap,LPA , D HM ). Then, in the first iteration, the generated random guest point was chosen for each study parameter, and the HPTO model was then evaluated based on the objective function in Equation (22). The linear search calculation method was then implemented in order to determine the convergence satisfaction of the objective function. As presented in Figure 7A, the new iteration will be started if the objective function does not meet the convergence criterion. A new iteration was initially started to determine the new search direction and step size using the sequential quadratic programming (SQP) method. Then, the variables for each study parameters were determined based on the new search direction and step size. Finally, the Hessian approximation was updated by the modified BFGS-formula, as described in [42]. The parameters setting of the NLPQL-based optimisation is listed in Table 4. This process was repeated until the NLPQL algorithm met the termination accuracy.

Evolutionary GA-Based Optimisation
In contrast to the NLPQL, GA was an evolutionary algorithm that was inspired by the natural evolution process. GA has been effectively applied to a wide range of realworld problems. In this algorithm, the variables of the optimisation problem were coded in chromosomes. Figure 7B presents the flowchart of the GA pseudo-code. The GAbased optimisation process was initially started by randomly generating a population of chromosomes (study parameters: d p , d r , p 0,HPA , V cap,HPA , p 0,LPA , V cap,LPA , D HM ), as presented in Figure 7B. Thereafter, for the first iteration, the random values from the generated population were chosen for each study parameter. The HPTO model was then evaluated based on the objective function in Equation (22). The chromosomes of the population were then sorted according to the least cost or highest fitness. Some percentages of the best chromosomes were transferred directly to the next generation based on their merit. Then, three GA operators named as selection, crossover and mutation were implemented to manipulate the rest of the chromosomes for the next generation. During the selection rule, the parent's chromosome that contributed to the current population was selected for the next generation process. Then, pairs of selected parents were recombined by a crossover operator to produce new chromosomes. A mutation rule was then applied to the new chromosomes to avoid the GA converging to the local optimum. Finally, this process was iterated until the satisfactory fitness level was reached. The parameters setting of GA was gathered in Table 5. chromosome that contributed to the current population was selected for the next generation process. Then, pairs of selected parents were recombined by a crossover operator to produce new chromosomes. A mutation rule was then applied to the new chromosomes to avoid the GA converging to the local optimum. Finally, this process was iterated until the satisfactory fitness level was reached. The parameters setting of GA was gathered in Table 5.

Comparisons between NLPQL and GA Optimisation of HPTO Unit
In order to evaluate the best optimisation approaches for the HPTO unit, a critical comparison analysis was performed. The comparison in terms of the final objective function, the best-estimated parameter values and the HPTO unit's performance were considered.

Comparisons between NLPQL and GA Optimisation of HPTO Unit
In order to evaluate the best optimisation approaches for the HPTO unit, a critical comparison analysis was performed. The comparison in terms of the final objective function, the best-estimated parameter values and the HPTO unit's performance were considered.   Table 6 presents the best configuration parameters sets of the HPTO unit that were successfully estimated using NLPQL and GA optimisation approaches. As shown in the table, the dp and dr parameters of the hydraulic cylinder were estimated at 3% and 12.8% smaller than their initial values for the NLPQL case, which equaled to 34.9mm and 21.8mm, respectively. For the GA case, the dp and dr were estimated closely to their minimum constraints, which equal to 37.6mm and 10mm. Apart from that, the data in Table 6 reported that the best-estimated values of the p0,HPA, and Vcap,HPA from the NLPQL, and GA optimisation were significantly different from their initial condition. The optimal value of p0,HPA was estimated larger than its initial value for both cases. While, for the Vcap,HPA, Table  Figure 8A showed that the estimation process of the best configuration parameters was completed after the 22 number of iterations since the NLPQL operator had satisfied its accuracy requirement. The overall simulation-optimisation process using the NLPQL algorithm was carried out for 3237 s (approximately 53 m 57 s). As shown in the figure, the lowest objective function value at 22 iterations was obtained at 0.0492. Meanwhile, 56 numbers of iterations were needed to find the optimum case by the GA operator, as exhibited in Figure 9A. A complete simulation-optimisation process by the GA operator was performed for 7 h and 32 min. The lowest objective function was obtained equal to 0.0375, as illustrated in Figure 9A. Besides that, Figure 8B-E showed the chronological variation of the HPTO parameters throughout the optimisation process by the NLPQL algorithm. From these figures, the HPTO parameters seemed to approach the optimum conditions starting from 14 number of iterations. On the other hand, for the GA optimisation, Figure 9B-E showed that some of the HPTO parameters reached the best condition after 5 iterations.

Best Estimated Parameters
In summary, the comparison of the chronological results of both optimisation approaches in Figure 8, and Figure 9 found that the optimisation using the NLPQL algorithm was much faster than the GA optimisation case. The reason was that since the NLPQL was the local optimisation approach, this algorithm depended on the initial point of each HPTO parameter. As reported in [42], the numerical test showed that different initial points required different time consumed and would give different optimal results. In contrast to the NLPQL algorithm, since the GA is a global algorithm, it takes more time in its exploration and exploitation processes that consider more points in search space in order to find the optimum condition. Thus, it returns more accurate and reliable results as depicted in Figure 9. In order to improve the performance of the NLPQL algorithm, the hybridisation of the NLPQL algorithm with the other global optimisation operators can be considered, as presented in [46]. In [46], the optimal starting points of the NLPQL algorithm were set by GA, and better optimum results have turned up. Table 6 presents the best configuration parameters sets of the HPTO unit that were successfully estimated using NLPQL and GA optimisation approaches. As shown in the table, the d p and d r parameters of the hydraulic cylinder were estimated at 3% and 12.8% smaller than their initial values for the NLPQL case, which equaled to 34.9 mm and 21.8 mm, respectively. For the GA case, the d p and d r were estimated closely to their minimum constraints, which equal to 37.6 mm and 10 mm. Apart from that, the data in Table 6 reported that the best-estimated values of the p 0,HPA, and V cap,HPA from the NLPQL, and GA optimisation were significantly different from their initial condition. The optimal value of p 0,HPA was estimated larger than its initial value for both cases. While, for the V cap,HPA , Table 6 clearly shows that the best values of V cap,HPA were estimated 65% lower and 275% larger than its initial value for the NLPQL and GA cases. For the p 0,LPA and V cap,LPA , the best-estimated values were not too significantly different from their initial values for both cases. Furthermore, it can be found in Table 6 that the best values of D HM were significantly different between both optimisation cases. The result from the table shows that the GA operator successfully estimated a smaller value of D HM compared to the NLPQL case.

Best Estimated Parameters
In summary, based on the comparison of best configuration parameters estimated from both optimisation approaches, a few preliminary conclusions in terms of physical size, cost of the HPTO unit and others can be drawn. Practically, the physical size, weight and cost of the HPTO unit depend on its configuration parameters. Based on the results in Table 6, it can be preliminarily concluded that the physical size and weight of the HPTO unit for the NLPQL approach were much smaller than the GA approach case. This was due to the larger capacity of HPA as estimated by the GA approach. The physical size and weight of the HPTO unit were vital to being reduced since they can influence the complete design of the WECs, as reported in [13]. Moreover, the configuration parameters also influenced the total cost of the HPTO unit. As reported in [10], the hydraulic accumulator and the hydraulic motor were the most expensive HPTO unit components. Thus, from Table 6, it can be concluded that the overall cost of the WECs from the NLPQL optimisation approach was much lower than the GA case.  Table 7 compares the operational behaviour of the HPTO unit for the non-optimal, NLPQL-optimal, and GA-optimal cases. By comparing the data in Table 7 and Appendix A, the HPTO unit's operations were satisfied with its operational constraints for all cases. As reported in Table 7, the overall operating pressure of the HPTO unit increased for both optimal cases. For example, the operating pressures of the hydraulic cylinder chambers for the NLPQL-optimal case increased by 8.6% (side A) and 8.8% (side B). While, for the GAoptimal case, the operating pressures of the hydraulic cylinder increased by 56.6% (side A) and 56.8% (side B) from the non-optimal case, respectively. Besides that, the pressures in the HPA for both cases also increased up to 10.1% and 60.8%, respectively. The hydraulic motor pressure also significantly increased by 9.4% and 60% for both cases, up to 47.5 bar and 69.8 bar. Table 7. Comparison of the operational behaviour of the HPTO unit for non-optimal, NLPQL-optimal, and GA-optimal cases. The increasing pressure in the HPTO unit significantly increased the speed and torque of the hydraulic motor. As depicted in Table 7, the hydraulic motor speed and torque increased to its rated (200 rpm, 6 Nm) for both cases. In short, the results in Table 7 clearly show that the operational speed and torque of the hydraulic were influenced by the pressure of the other components in the HPTO unit. Thus, the presented results in Table 7 proved that the optimisation process by NLPQL and GA were highly effective in estimating the best component parameters of the HPTO unit.

Performance of the WECs
Technically, the force of the HPTO unit was directly proportional to its operational pressure [15,37]. Since the HPTO unit's pressure significantly increased, the HPTO force applied to the WEC device also increased, as depicted in Figure 10. Comparing Figure 10 with Figure 6B showed that the HPTO force applied to the WEC obviously increased for both cases. As depicted in Figure 10A, the HPTO forces applied to the WEC for the NLPQL case can be reached up to 1.65 kN (upward) and 0.78 kN (downward). While, for the GA-optimal case, the HPTO forces applied to the WEC can be reached up to 2.3 kN (upward) and 1.2 kN (downward), respectively. The results clearly showed that the overall HPTO force applied to the WEC device for the GA-optimal case was significantly larger than the HPTO force in the NLPQL case. This significant difference was attributed due to the larger pre-charge gas pressure and volume capacity of the HPA in the HPTO unit for the GA-optimal case, as depicted in Table 6. A larger pre-charge gas pressure required a more massive flow of high-pressure fluid [10]. In addition, from both figures, it can be seen that the HPTO forces applied to the WEC device during the upward movement were larger compared to the downward movement for both cases. This was due to the unsymmetrical double-acting hydraulic cylinder used in the HPTO unit. Since the hydraulic cylinder chambers were unsymmetrical, the fluid pressure in the chamber, which comprises a large effective piston area, was higher than the fluid pressure in the small effective area chamber, as clearly described in [10]. Furthermore, the HPTO force's effect on the displacement of the WEC device and hydraulic cylinder piston can be seen in Figure 11. Figure 11A,B illustrated the displacement of the wave, WEC, and hydraulic cylinder piston during the HPTO unit operation for both optimal cases. In Figure 11A, it was depicted that the average displacements of the WEC device and hydraulic cylinder piston for the NLPQL-optimal were 77.5% and 19.3% of the average wave elevation. Meanwhile, for the GA-optimal case, the average displacement of the WEC device and hydraulic cylinder piston was 65% and 16% of average wave elevation. The comparison of the results in Figures 6A and 11 showed that the displacement of the WEC device and hydraulic cylinder piston was slightly reduced for the NLPQL-optimal and GA-optimal cases. The reduction was due to the larger HPTO force applied to the WEC device in both cases. In addition, the comparison of Figure 11A,B showed that the average displacement of the WEC device and hydraulic cylinder piston for GA-optimal was less than the NLPQL-optimal case.  Furthermore, the HPTO force's effect on the displacement of the WEC device and hydraulic cylinder piston can be seen in Figure 11. Figure 11A,B illustrated the displacement of the wave, WEC, and hydraulic cylinder piston during the HPTO unit operation for both optimal cases. In Figure 11A, it was depicted that the average displacements of the WEC device and hydraulic cylinder piston for the NLPQL-optimal were 77.5% and 19.3% of the average wave elevation. Meanwhile, for the GA-optimal case, the average displacement of the WEC device and hydraulic cylinder piston was 65% and 16% of average wave elevation. The comparison of the results in Figures 6A and 11 showed that the displacement of the WEC device and hydraulic cylinder piston was slightly reduced for the NLPQL-optimal and GA-optimal cases. The reduction was due to the larger HPTO force applied to the WEC device in both cases. In addition, the comparison of Figure 11A,B showed that the average displacement of the WEC device and hydraulic cylinder piston for GA-optimal was less than the NLPQL-optimal case.  Apart from that, Figure 12 illustrated the comparison of the electrical power generation profiles of WECs for both optimal cases. Comparing the results in Figure 12 with Figure 6C, the overall electrical power generated from the HPTO unit optimised by NLPQL and GA approaches was successfully enhanced. For the non-optimal case, the electrical power profile in Figure 6C clearly indicated that the electrical power generated from the HPTO unit was lower than its rated capacity. Figure 6C showed the electrical power generated from the non-optimal HPTO was up to 71% (71 W) of its rated capacity. In contrast to both optimal cases. From Figure 12, the result showed the electrical generated output of HPTO was close to its rated capacity. The average electrical power generated from the HPTO unit for the NLPQL-optimal and GA-optimal cases was calculated up to 96% (96 W) and 97% (97 W) rated capacity, respectively. The comparison results in Figure 12 also showed that the electrical power generated from the HPTO unit of the GA-optimal case fluctuated less compared to the NLPQL-optimal case. This was due to the larger HPA used in the HPTO unit of the GA-optimal case. In addition, both of the optimal HPTO units reached their steady-state condition around 80 s. ated output of HPTO was close to its rated capacity. The average electrical power generated from the HPTO unit for the NLPQL-optimal and GA-optimal cases was calculated up to 96% (96 W) and 97% (97 W) rated capacity, respectively. The comparison results in Figure 12 also showed that the electrical power generated from the HPTO unit of the GAoptimal case fluctuated less compared to the NLPQL-optimal case. This was due to the larger HPA used in the HPTO unit of the GA-optimal case. In addition, both of the optimal HPTO units reached their steady-state condition around 80 s.

Evaluations of Optimal WECs Using Irregular Wave Data
The optimal HPTO units obtained from the optimisation processes were evaluated using irregular wave elevation input in order to evaluate their performance in generating the electricity in irregular wave circumstances. The results in Figure 13 provided the hydraulic cylinder piston responses for both cases. The figure showed that the displacement of the hydraulic cylinder piston for GA-optimal was smaller than the NLPQL-optimal case. This was due to the different pressures in the hydraulic cylinder chambers, as shown in Figure 14. Figure 14A showed that the reciprocating motions of the piston for the NLQPL case produced high-pressure liquid in both hydraulic cylinder chambers that reached up to 54 Bar. At the same time, the pressure of the hydraulic cylinder chamber for the GA case reached up to 75 Bar. The pressure difference for both cases was due to the difference in the HPTO unit's parameter design.
The high-pressure liquid produced in the hydraulic cylinder chamber then flowed to HPA and hydraulic motor. The HPA was used as liquid energy storage to smooth out pressure fluctuation in the HPTO unit. Thus, the liquid's pressure, which exceeded the HPA pre-charge pressure setting, was accumulated in the HPA ballast. In contrast, the HPA released the high-pressure liquid stored in its ballast when the HPTO system's pressure was lower than its pre-charge pressure setting. Figure 15 showed the pressure of the HPA for both optimal cases. For both cases, the pre-charge pressures of HPA were set to 46.9 Bar and 68.9 Bar, as previously given in Table 6. In Figure 15A, the pressure of the

Evaluations of Optimal WECs Using Irregular Wave Data
The optimal HPTO units obtained from the optimisation processes were evaluated using irregular wave elevation input in order to evaluate their performance in generating the electricity in irregular wave circumstances. The results in Figure 13 provided the hydraulic cylinder piston responses for both cases. The figure showed that the displacement of the hydraulic cylinder piston for GA-optimal was smaller than the NLPQL-optimal case. This was due to the different pressures in the hydraulic cylinder chambers, as shown in Figure 14. Figure 14A showed that the reciprocating motions of the piston for the NLQPL case produced high-pressure liquid in both hydraulic cylinder chambers that reached up to 54 Bar. At the same time, the pressure of the hydraulic cylinder chamber for the GA case reached up to 75 Bar. The pressure difference for both cases was due to the difference in the HPTO unit's parameter design.
The high-pressure liquid produced in the hydraulic cylinder chamber then flowed to HPA and hydraulic motor. The HPA was used as liquid energy storage to smooth out pressure fluctuation in the HPTO unit. Thus, the liquid's pressure, which exceeded the HPA pre-charge pressure setting, was accumulated in the HPA ballast. In contrast, the HPA released the high-pressure liquid stored in its ballast when the HPTO system's pressure was lower than its pre-charge pressure setting. Figure 15 showed the pressure of the HPA for both optimal cases. For both cases, the pre-charge pressures of HPA were set to 46.9 Bar and 68.9 Bar, as previously given in Table 6. In Figure 15A, the pressure of the HPA reached up to 49 Bar, which was 4.5% higher than its pre-charge pressure setting several times. For the GA case, the highest pressure of the HPA can be reached up to 69.01 Bar, which was 0.16% higher than its pre-charge pressure setting, as depicted in Figure 15B. The difference in the pressure variation rate of HPA in both cases was due to the different HPA volume capacity. As given in Table 6, the volume capacity of HPA for the GA-optimal case was larger than the NLPQL-optimal case. In addition, the comparison of results in Figure 15A,B showed that the high-pressure liquid accumulation was more often for the GA-optimal case. This was due to a larger volume capacity of HPA used in the HPTO unit.
The smoothing effects of the HPA unit on the pressure in the HPTO unit for both optimal cases can be clearly seen in Figure 16. Figure 16A,B showed the smoothed pressure of the hydraulic motor for both cases. The comparison results in Figure 16A,B showed that the smoothing effect of the hydraulic motor pressure for the GA-optimal case was higher than the NLPQL-optimal case. It can be seen from the figures, the pressure of the hydraulic motor fluctuated less for the GA-optimal case compared to the NLPQLoptimal case. However, at the initial state of both cases, the hydraulic motor's pressure was more fluctuating due to insufficient energy stored in the HPA, as depicted in Figure 15. In addition, Figure 17 illustrated the comparison of the hydraulic motor speed for both cases. From the figure, the average speed of the hydraulic motor for the GA-optimal case was higher than the NLQPL-optimal case, which was 163 rpm instead of 137 rpm. electrical power generated from the PMSG generator in the HPTO unit was equal to 55 W, which was only 55% of its rated capacity, as shown in Figure 18A. For this case, the highest electrical power that was generated only reached up to 71 W. This was significantly different for the cases of the optimal HPTO unit optimised by NLPQL and GA approaches. It can be seen in Figure 18B,C, both optimal HPTO units capable of generating electricity of up to an average of 62 W and 77 W, which was 62% and 77% of its rated capacity, respectively.         Figure 18A-C presented the electrical power profiles of the HPTO unit for the nonoptimal, NLPQL-optimal and GA-optimal cases. For the non-optimal case, the average electrical power generated from the PMSG generator in the HPTO unit was equal to 55 W, which was only 55% of its rated capacity, as shown in Figure 18A. For this case, the highest electrical power that was generated only reached up to 71 W. This was significantly different for the cases of the optimal HPTO unit optimised by NLPQL and GA approaches. It can be seen in Figure 18B,C, both optimal HPTO units capable of generating electricity of up to an average of 62 W and 77 W, which was 62% and 77% of its rated capacity, respectively. Energies 2021, 14, x FOR PEER REVIEW 24 of 28

Conclusions
A comprehensive study was conducted to estimate the configuration parameters of the HPTO unit for a wave energy conversion device using a non-evolutionary NLPQL and evolutionary genetic algorithm. Seven important configuration parameters of the HPTO unit were considered in this optimisation study. The simulation-optimisation of HPTO model parameters was performed using MATLAB ®® /Simulink software. The optimisation function problem was designed to maximise the output power generated from the HPTO unit. The optimal HPTO unit was then evaluated using irregular wave input to evaluate its performance in irregular circumstances. From the simulation studies, the key results can be listed as follows: • The simulation-optimisation using the NLPQL algorithm was completed after the 22 number of iterations with the duration of 3237 s (approximately 53 m 57 s) after the NLPQL operator had satisfied its accuracy requirement. Importantly, the overall performance of HPTO has significantly improved up to 96% in regular wave conditions. • The simulation-optimisation duration using the GA technique is longer than the NLPQL approach, which was completed after 7 h and 32 min. However, the overall performance of HPTO has significantly improved up to 97% in regular wave conditions.

•
The HPTO unit estimated by the NLPQL approach is much smaller in terms of size, weight and cost compared to the GA approach. Thus, the HPTO unit's cost estimated by NLPQL is cheaper than the HPTO unit cost estimated by the GA approach.

•
The results show that both optimal HPTO units can generate electricity up to 62% and 77% of rated capacity in irregular wave circumstances.

Conclusions
A comprehensive study was conducted to estimate the configuration parameters of the HPTO unit for a wave energy conversion device using a non-evolutionary NLPQL and evolutionary genetic algorithm. Seven important configuration parameters of the HPTO unit were considered in this optimisation study. The simulation-optimisation of HPTO model parameters was performed using MATLAB ®® /Simulink software. The optimisation function problem was designed to maximise the output power generated from the HPTO unit. The optimal HPTO unit was then evaluated using irregular wave input to evaluate its performance in irregular circumstances. From the simulation studies, the key results can be listed as follows:

•
The simulation-optimisation using the NLPQL algorithm was completed after the 22 number of iterations with the duration of 3237 s (approximately 53 m 57 s) after the NLPQL operator had satisfied its accuracy requirement. Importantly, the overall performance of HPTO has significantly improved up to 96% in regular wave conditions. • The simulation-optimisation duration using the GA technique is longer than the NLPQL approach, which was completed after 7 h and 32 min. However, the overall performance of HPTO has significantly improved up to 97% in regular wave conditions. • The HPTO unit estimated by the NLPQL approach is much smaller in terms of size, weight and cost compared to the GA approach. Thus, the HPTO unit's cost estimated by NLPQL is cheaper than the HPTO unit cost estimated by the GA approach.

•
The results show that both optimal HPTO units can generate electricity up to 62% and 77% of rated capacity in irregular wave circumstances.

•
In conclusion, both of the optimisation approaches were effective in determining the optimal parameters of the HPTO unit. For the sake of quickness, the NLPQL approach is more relevant. While, for the sake of effectiveness, the GA approach is more recommended.
The simulation-optimisation framework presented may help the engineers and researchers of WECs to design a reliable and high-efficiency HPTO unit for wave energy converter devices. It is suggested that further researches should be conducted in the following areas: • Further experimental validation of the best estimated HPTO unit is needed to verify the accuracy of the developed model simulation.

•
The simulation-optimisation of the HPTO unit using other types of the optimisation algorithm, such as Particle Swarm Optimization, Gravitational Search Algorithm, et cetera, needs to be explored to achieve a good trade-off between cost and performance.

•
The simulation-optimisation using other software types, such as Simcenter Amesim software invented by Siemens, is highly recommended.