This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Practical Optimal Control of a Wave-Energy Converter in Regular Wave Environments

Mertcan Yetkin [email protected] Sudharsan Kalidoss [email protected] Frank E. Curtis [email protected] Lawrence V. Snyder [email protected] Arindam Banerjee [email protected] Department of Industrial and Systems Engineering, Lehigh University, Bethlehem PA, USA Department of Mechanical Engineering and Mechanics, Lehigh University, Bethlehem PA, USA
Abstract

A generic formulation for the optimal control of a single wave-energy converter (WEC) is proposed. The formulation involves hard and soft constraints on the motion of the WEC to promote reduced damage and fatigue to the device during operation. Most of the WEC control literature ignores the cost of the control and could therefore result in generating less power than expected, or even negative power. Therefore, to ensure actual power gains in practice, we incorporate a penalty term in the objective function to approximate the cost of applying the control force. A discretization of the resulting optimal control problem is a quadratic optimization problem that can be solved efficiently using state-of-the-art solvers. Using hydrodynamic coefficients estimated by simulations made in WEC-Sim, numerical illustrations are provided of the trade-off between careful operation of the device and power generated. Finally, a demonstration of the real-time use of the approach is provided.

keywords:
Wave energy conversion, optimal control, mathematical optimization, constraints, long-term effectiveness, safe operation
journal: arXiv (under journal review)

1 Introduction

To satisfy growing electricity demands in a sustainable manner, the world needs to rely more on renewable energy resources. In this context, harnessing the energy from ocean waves can be considered a valuable addition to current renewable energy technology. The authors in [1] report that 20% of the world’s total energy demand can be supplied from ocean waves. Although the early recognized work in wave energy conversion dates back 40 years [2, 3], its popularity has increased in the last 10-15 years [4]. Wave energy conversion technology mainly depends on two elements: design of the wave energy converters (WECs) and optimal control methods for efficient energy extraction. This paper focuses on the latter.

Researchers are interested in developing novel methods to increase the efficiency of energy extraction from waves using several approaches, including mathematical optimization and optimal control theory [5, 6]. The work in this paper falls under this category of research. There are numerous WEC designs employing different conversion technologies [4, 7], and energy extraction techniques are inherently dependent on the design. For our purposes, we focus our scope on point absorbers under heaving motion, due to their potential performance and general applicability. Specifically, the two-body point absorber described by Muliawan et al. [8] is considered throughout this study. That said, we speculate that the ideas proposed in this paper can be extended by researchers working on optimal control strategies for different types of devices.

A schematic of a floating two-body point absorber is shown in Figure 1. The float is a slender body running deep in the water while the torus, with a shallower body shape, floats on the surface. The float and torus are wave-following devices and oscillate at different frequencies with the wave. The relative motion between the two in the heave (vertical) direction is exploited for energy conversion.

Refer to caption
Figure 1: Schematic of floating two-body point absorber

Optimizing energy extraction of WECs can be classified into two essential components, commonly described as frequency-domain control and time-domain control [9]. Often, time-domain control approaches are desirable since they present the opportunity to track and adjust the state variables including, but not limited to, position, velocity, and acceleration. In the present work, we propose a generic model that can impose bounds on these state variables, which is possible under a time-domain approach.

Optimal control methodologies have been studied in the literature for optimizing WEC operation. Falnes [10] provides a general review of optimal control methods in wave energy extraction and provides a thorough historical progression. Hals et al. [11] formulate the optimal control problem by considering bounds on the position and the control force and further employ a model-predictive control (MPC) strategy. These authors also note that optimal energy absorption may be better in irregular waves compared to regular waves having the same energy-period and wave-power level. Wang et al. [12] formulate a constrained optimal control problem by imposing limitations on the motion and force while having the control force as a spring-damper controller with a time-dependent damper term. Further, Zou et al. [13] consider a heaving WEC and maximize the energy extraction with both unconstrained and constrained optimal control methodologies. For efficient real-time implementation on real sea data, Bacelli et al. [14] consider a formulation with bounds on the displacement and approximate the states and the force by a linear combination of basis functions.

Model predictive control (MPC), which operates on a moving horizon, presents a framework to adjust the problem by leveraging new information and, thus, aids in the implementation of real-time control. Cretel et al. [15] present an MPC-based control method for maximizing the power output, alleviating the drawbacks of current control strategies such as latching control and reactive control. Richter et al. [16] argue that a more complex MPC strategy is needed in order to incorporate nonlinear effects such as mooring forces. To this end, they propose a nonlinear model predictive control (NPMC) approach as an alternative to the current MPC techniques. Nielsen et al. [17] adopt an MPC framework considering not only the power generation but also the losses in the mechanical-to-electrical conversion of the power. Arguing that the fluctuation in the control strategy causes fatigue in some of the components of WEC, a comparison is made between the power generated and the fatigue.

Throughout these related works on optimal control and/or MPC, little attention has been given to some issues that arise when employing control strategies in practice, such as the cost of applying a control force, inefficiencies in the power conversion system, and long-term damage to the device. In order to make wave energy conversion a viable part of the renewable energy portfolio, more work needs to be done to address such issues. To this end, the primary objectives of this work presented in this paper are the following:

  • 1.

    We augment an optimal control formulation for a WEC by including hard and soft constraints on the device. The inclusion of the constraints of this type can aid in reducing possible damage to the device including short-term stress and long-term fatigue over the components. A more detailed explanation can be found in Section 3.2.

  • 2.

    We augment the objective function with a term designed to account for energy expended in applying the control force. This cost of the control force plays a crucial role. Often ignored in other formulations, our experiments demonstrate that, without accounting for this cost, the net energy could be much less than the model predicts—or even negative.

  • 3.

    We demonstrate that our formulation can be solved quickly enough to execute in real time in a regular wave with experiments over a rolling horizon.

The remainder of the paper is organized as follows. Section 2 presents the hydrodynamic model for the two-body point absorber. Section 3 describes an optimal control formulation of the problem and further details. Section 4 discusses a methodology for real-time implementation of the control strategy. Numerical results are presented in Section 5. Concluding remarks are provided in Section 6.

2 Hydrodynamic model of a point absorber

2.1 Governing equation

The governing equation of motion of a single point absorber in the time domain, also known as the Cummings equation [18], can be written as

(M+m)z¨(t)+0tK(tτ)z˙(τ)𝑑τ=Fex(t)+Fh(t)+FPTO(t)+Fes(t),(M+m)\ddot{z}(t)+\int_{0}^{t}K(t-\tau)\dot{z}(\tau)d\tau=F_{\text{ex}}(t)+F_{\text{h}}(t)+F_{\text{PTO}}(t)+F_{\text{es}}(t), (1)

where z¨(t)\ddot{z}(t) and z˙(t)\dot{z}(t) respectively represent the acceleration (m/s2)(\text{m}/\text{s}^{2}) and velocity (m/s)(\text{m}/\text{s}) of the body at time tt in the heave mode, MM (kg) is the mass of the body, mm (kg) is the added mass (representing the mass of fluid displaced by the body during operation), and K()K(\cdot) (kg/s2)(\text{kg}/\text{s}^{2}) is the memory function of the radiation force that represents the hydrodynamic damping of the system. The forces considered for the current analysis include the excitation force on the body, FexF_{\text{ex}} (N); the hydrostatic force, FhF_{\text{h}} (N); the power take-off (PTO) force, FPTOF_{\text{PTO}} (N); and, the end stop force FesF_{\text{es}} (N) ensuring some stopping conditions. We assume linear wave theory and ignore viscous drag on the system [19].

The excitation force can be written as

Fex(t)=(i2S(fi)ΔfF¯ex(fi)ei(2πfit+ϕi))F_{\text{ex}}(t)=\Re\left(\sum_{i}\sqrt{2S(f_{i})\Delta f}\bar{F}_{\text{ex}}(f_{i})e^{i\left(2\pi f_{i}t+\phi_{i}\right)}\right) (2)

where fif_{i} (1/s1/\text{s}) are wave frequencies, ϕi\phi_{i} (rad) are random phases, F¯ex\bar{F}_{\text{ex}} (N/m\text{N}/\text{m}) represent complex vectors of wave excitation force per meter of wave amplitude in the frequency domain, Δf\Delta f (1/s1/\text{s}) is an appropriate frequency step, and S(f)S(f) (m2/Hz\text{m}^{2}/\text{Hz}) represents the spectrum of the incident wave field [20]. For single regular wave conditions investigated in this paper, the excitation force FexF_{\text{ex}} is linear in terms of w(t)w(t).

The hydrostatic force can be written as

Fh(t)=ρgSwz(t),F_{\text{h}}(t)=\rho gS_{w}z(t), (3)

where ρ\rho (kg/m3\text{kg}/\text{m}^{3}) is the density of the water, gg (m/s2\text{m}/\text{s}^{2}) is the acceleration due to gravity and SwS_{w} (m2\text{m}^{2}) is the cross section area of the WEC at the water plane. Since the parameters in equation (3) are constant, it can be rewritten as

Fh(t)=Khz(t).F_{h}(t)=K_{h}z(t). (4)

Due to the mechanical complexity of the PTO system, it is common to limit operating stroke length of the WEC by introducing physical bounds, known as end stops [21]. Numerically, the end stops are modeled as a restoring force with large restoring coefficient [8]. The end stop force activates only when the relative motion between the WEC bodies exceeds the limits; for the current simulations, a limit of 3-3 m to 33 m is used. The end stop force acting on the WEC is given as

Fes=Kes((z(t)+zes)u(zesz(t))+(z(t)zes)u(z(t)zes)),F_{es}=-K_{es}\left((z(t)+z_{es})u(-z_{es}-z(t))+(z(t)-z_{es})u(z(t)-z_{es})\right), (5)

where KesK_{es} (N/m\text{N}/\text{m}) is the restoring coefficient, zesz_{es} (m) is the stroke limit and uu is the step function. In most operating conditions, the stroke length is within the limit.

In the present analysis, the point absorber is attached to the seabed with a long mooring line so that the mooring force acting on the system is negligible. The power take-off (PTO) force is ideal in the sense that it can exert any desired force within some limits.

2.2 Hydrodynamic model used in the simulation

We estimate the system coefficients for the control system from a numerical simulation of the point absorber. In our numerical simulation, the hydrodynamic coefficients, such as added mass, hydrodynamic damping coefficient and excitation forces, are calculated in the frequency domain using WAMIT [22], which is a potential flow solver based on a boundary element method (BEM). The linear wave theory assumption is adopted in the BEM solver, i.e., the wave amplitude is assumed to be very small compared with the wavelength. Therefore, the body-boundary conditions and free surface are linearized, and the gradient of velocity potential, Φ\Phi, satisfies the Laplace equation (2Φ=0\nabla^{2}\Phi=0) in the fluid domain. The added-mass and damping coefficients calculated using velocity potential are given by

mijiωζij=ρSbniϕj𝑑S,m_{ij}-\frac{i}{\omega}\zeta_{ij}=\rho\iint_{S_{b}}n_{i}\phi_{j}dS, (6)

where mijm_{ij} is the added-mass coefficient and ζij\zeta_{ij} is the hydrodynamic damping coefficient.

The excitation force (XiX_{i}) on the WEC due to the incident wave potential (ϕ0\phi_{0}) is given by

Xi=iωρSb(niϕ0ϕiϕ0n)𝑑S.X_{i}=-i\omega\rho\iint_{S_{b}}\left(n_{i}\phi_{0}-\phi_{i}\frac{\partial\phi_{0}}{\partial n}\right)dS. (7)

The multi-body dynamics of the WEC is modeled using WEC-Sim [23], which is a MATLAB-based, open-source code. In WEC-Sim, the complex interaction between the incident waves, device motion, and power take-off mechanism is modeled in the time domain. The power performance and device motion of the WEC are simulated using the radiation and diffraction method. In the present analysis, the hydrodynamic bodies (float and torus) of the WEC are surface meshed and constrained to operate in one degree of freedom (heave, in the present case). With the hydrodynamic coefficients calculated from WAMIT, WEC-Sim calculates the time-domain motion and power performance of the WEC. In Section 3.6, we describe how we estimated the system coefficients, including the hydrodynamic system, control, and wave coefficients.

3 Mathematical formulation of the optimal control problem

In this section, we develop an optimal control formulation. We first simplify the governing equation using state variables, and then introduce a basic formulation with additional components designed to promote desirable solution properties. Our complete formulation is given in Section 3.5.

By using the simplifications introduced in Section 2.1, we have the refined version of the equation (1) of the WEC with state variables as

(M+m)z¨(t)+Kz˙(t)=Kexw(t)+Khz(t)+FPTO,(M+m)\ddot{z}(t)+K\dot{z}(t)=K_{\text{ex}}w(t)+K_{\text{h}}z(t)+F_{\text{PTO}}, (8)

where K=K()K=K(\cdot) and Kexw(t)=Fex(t)K_{ex}w(t)=F_{ex}(t) for some KexK_{ex} with only a regular wave as input. We shall simplify further by approximating the acceleration term involving z¨(t)\ddot{z}(t). Not that, for a sinusoidal wave, say defined by κ(t)=sin(at)\kappa(t)=\sin(at), the position and acceleration have perfect negative correlation due to the fact that κ¨(t)=a2sin(at)\ddot{\kappa}(t)=-a^{2}\sin(at). Thus, we can further simplify (8) to obtain

Kz˙(t)+(Kh+ξ)z(t)=Kexw(t)+FPTO,K\dot{z}(t)+(-K_{\text{h}}+\xi)z(t)=K_{\text{ex}}w(t)+F_{\text{PTO}}, (9)

where ξz(t)\xi z(t) approximates the acceleration term from (8).

In the remainder of this section, we develop our proposed optimal control formulation. We begin with a basic formulation, then add components designed to promote desirable solution properties. Our complete formulation is given in Section 3.5.

3.1 Basic optimal control problem

The objective of WEC control is the maximization of the total energy extracted throughout a given horizon TT, which can be simply described as

maxu,z˙,z0Tu(t)z˙(t)𝑑t,\max_{u,\dot{z},z}-\int_{0}^{T}u(t)\dot{z}(t)dt, (10)

where u(t)u(t) is the control force at time tt.In the context of the governing equation described in the previous section, u(t)u(t) represents the PTO force at time tt. Based on (9), the control force is considered to have a linear relationship with the states of the system.

Applying a forward Euler discretization to the system dynamics in (9), we have the following discrete-time optimal control problem:

maxu,z˙,zk=1N[u(tk1)z˙(tk1)+u(tk)z˙(tk)]2Δtk\max_{u,\dot{z},z}-\sum_{k=1}^{N}{\frac{[u(t_{k-1})\dot{z}(t_{k-1})+u(t_{k})\dot{z}(t_{k})]}{2}}\Delta t_{k} (11)

subject to:

a given initial point (z˙(0),z(0));\displaystyle\text{a given initial point $(\dot{z}(0),z(0))$}; (12)
[z˙(tk+1)z(tk+1)]=A[z˙(tk)z(tk)]+bu(tk)+cw(tk)\displaystyle\left[\begin{array}[]{c}\dot{z}(t_{k+1})\\ z(t_{k+1})\end{array}\right]=A\left[\begin{array}[]{c}\dot{z}(t_{k})\\ z(t_{k})\end{array}\right]+bu(t_{k})+cw(t_{k}) for k{0,1,,N};\displaystyle\text{for }k\in\{0,1,\dots,N\}; (17)
γu(tk)γ\displaystyle-\gamma\leq u(t_{k})\leq\gamma for k{0,1,,N},\displaystyle\text{for }k\in\{0,1,\dots,N\}, (18)

where Δtk\Delta t_{k} is the discretization interval for the kkth time period, k{0,1,,N}k\in\{0,1,\dots,N\}. In the discretized system dynamics represented by (17), A2×2A\in\mathbb{R}^{2\times 2} is the coefficient matrix for the discretized system involving the velocity and the position of the device, b2b\in\mathbb{R}^{2} is the coefficient vector for the control force u(t)u(t), and c2c\in\mathbb{R}^{2} is the coefficient vector for the wave position w(t)w(t). Equation (12) enforces the initial condition of the system given an initial point, whereas (18) limits the control force applied into the system by γ\gamma, denoting the maximum physical limit on the force, in Newtons. We refer to this constraint as a “hard bound.”

Observe that Δtk\Delta t_{k} can be different for different kk, based on the specific discretization method used. In the formulation above, the objective in (11) is approximated via the trapezoidal method. If an equidistant discretization method is considered, the objective in (11) would be given by

maxu,z˙,zk=0Nu(tk)z˙(tk),\max_{u,\dot{z},z}-\sum_{k=0}^{N}u(t_{k})\dot{z}(t_{k}), (19)

which is common in the literature; see, e.g., [11, 15].

3.2 Constraints to promote reduced damage to the device

The optimal solution to the formulation above may involve control forces that are undesirable from the perspective of the safety and longevity of the device. One concern is that the force might alternate quickly between a large positive quantity and a large negative quantity, creating a hammering effect that can cause fatigue over the long term. Another concern is that the force might stay at a large positive or a large negative quantity for a long time and apply constant pressure to the mechanical components, especially to the joint parts of the device. This, too, may result in undue wear-and-tear on the device.

A solution to these potential causes of damage is to impose a “soft bound” on the control force, wherein one penalizes the objective function for any control value that exceeds a certain fraction of the hard bound constraint (18). In particular, we incorporate into the objective the term

k=1Nρ(|u(tk1)|γη)++ρ(|u(tk)|γη)+2Δtk,-\sum_{k=1}^{N}\frac{\rho\left(|u(t_{k-1})|-\gamma\eta\right)^{+}+\rho\left(|u(t_{k})|-\gamma\eta\right)^{+}}{2}\Delta t_{k}, (20)

where ρ0\rho\geq 0 is the per unit penalty for exceeding the soft bound, ()+=max{0,}(\cdot)^{+}=\max\{0,\cdot\}, and η(0,1]\eta\in(0,1] is the fraction of the hard bound at which to impose the soft bound.

Finally, it is very common to have a physical limit on the displacement of the torus relative to the float. As is done in several works [14, 11, 16, 12], we consider a bound on the maximum displacement of the device (which is in fact the relative displacement between the torus and the float), given as

δz(tk)δfor k{0,1,,N+1},-\delta\leq z(t_{k})\leq\delta\qquad\text{for }k\in\{0,1,\dots,N+1\}, (21)

where δ\delta is the constant of displacement in meters. Another interpretation of (21) is that it prevents the torus from going underwater completely, or rising above the sea level and slamming onto the sea surface.

3.3 Cost of applying the control force

Many WEC control models in the literature do not account for the cost or energy required to apply the control. In other words, they maximize the energy captured by the WEC using formulations similar to (11)–(18), but they ignore the energy that must be expended to exert this control force. As a result, the net energy captured by the device may be much less than predicted by the model—it may even be negative.

Refer to caption
Figure 2: Optimal solution of an instance without incorporating the cost of control force. Subplots represent trajectories of control (uu), position (zz), velocity (z˙\dot{z}) and wave elevation (ww), respectively.

As a simple example, suppose that there is no incident wave, i.e., Fex(t)0F_{\text{ex}}(t)\equiv 0. For certain values of the remaining parameters, and with initial conditions, the optimal solution to (11)–(18) (plotted in Figure 2) has non-zero control force and a strictly positive optimal objective function value 105\approx 10^{5} (i.e., a strictly positive energy extraction). This suggests that we can extract energy even if there is no wave. Of course, this is erroneous, and the discrepancy comes from the model’s failure to account for the energy expended to exert the control force. In this simple example, the motion of the WEC comes solely from the control force (since there is no incident wave), and the energy required to exert that force must exceed the energy extracted from the motion. Hence, this solution involves a net loss of energy, even though the model suggests a gain. Any optimization model that does not incorporate the cost of control will suffer from this same sort of error.

Although the “cost” of the control force has not been included explicitly in WEC control models, one could argue that it is accounted for implicitly in some control strategies. For example, relatively simpler control methods such as latching control [24] or phase control [25] restrict the control policy to have a certain form, rather than optimizing over all possible controllers; since these control methods are common, one might infer that they do not incur excessive control costs. However, we argue that these control methods are too simplistic, since they do not promote device safety and offer less flexibility to be extended to irregular wave environments. Therefore, advanced control models such as the one proposed here are more promising. For such models, including the cost of control as an explicit term in the model is essential.

Of course, it may be difficult to derive an explicit expression for the control cost. Such expressions may be highly complex, and may depend on the specific power conversion system. Therefore, as a proxy, we assume that the instantaneous cost of applying a force uu has the functional form 𝒪(u2)\mathcal{O}(u^{2}), i.e., that it equals λ1u2\lambda_{1}u^{2} for a constant λ1\lambda_{1}. We chose a form by calibrating various nonlinear models using data from [26], which considers magnetic damping as a controller for a specific system. More details on our derivation of this functional form are given in Appendix A. Of course, for systems that use different PTO systems and control strategies than those in [26], the control cost may have a form that is different from 𝒪(u2)\mathcal{O}(u^{2}). For such systems, one can use the approach we outline in Appendix A, or another approach, to estimate the functional form, and then insert that form into our optimization model. That is, our framework is flexible enough to handle any form of the instantaneous control cost, and our contribution lies in the modeling and solution approach, rather than in the specific form used for this cost.

3.4 Ensuring smoothness of the control force

The optimal control strategy resulting from the basic formulation in Section 3.1 is likely to be non-smooth since any arbitrary control policy satisfying the bounds is allowed. For example, in bang-bang control policies, the control is always at its bounds. Some works in the literature, e.g., [27], try to exploit this type of structure and develop efficient procedures for finding the optimal solution within the family of bang-bang policies. However, control policies, like bang-bang, that have sharp jumps in the control might not be desirable for two main reasons:

  1. 1.

    It may not be possible to apply a non-smooth control policy, since most power take-off systems are best suited for smooth control forces.

  2. 2.

    Non-smooth control would create additional wear and tear on the components of the WEC.

Thus, we would like the control sequence to be smooth in our formulation. One straightforward way to encourage smoothness is to add the term

λ2(Δu(tk))2-\lambda_{2}(\Delta u(t_{k}))^{2}

to the objective function, where λ2\lambda_{2} is a parameter to adjust the importance of smoothness. By approximating Δu(tk)\Delta u(t_{k}) from the differences in u(tk)u(t_{k}) and applying the trapezoidal rule, one obtains the term

λ2((u(tk)u(tk1))2+(u(tk1)u(tk2))2)2Δtk.-\frac{\lambda_{2}\left((u(t_{k})-u(t_{k-1}))^{2}+(u(t_{k-1})-u(t_{k-2}))^{2}\right)}{2\Delta t_{k}}. (22)

From another perspective, this term can also be considered as the cost of changing the control force, with a cost coefficient of λ2\lambda_{2}.

3.5 Complete formulation of the problem

Combining all the elements discussed in Sections 3.13.4, we have the complete formulation of the discrete-time optimal control problem:

maxu,z˙,z,αk=2N[u(tk1)z˙(tk1)+u(tk)z˙(tk)]ρ(αk1+αk)2Δtkλ1(u(tk1)2+u(tk)2)2Δtkλ2((u(tk)u(tk1))2+(u(tk1)u(tk2))2)2Δtk\begin{split}\max_{u,\dot{z},z,\alpha}&\sum_{k=2}^{N}{\frac{-[u(t_{k-1})\dot{z}(t_{k-1})+u(t_{k})\dot{z}(t_{k})]-\rho(\alpha_{k-1}+\alpha_{k})}{2}}\Delta t_{k}\\ &-\frac{\lambda_{1}(u(t_{k-1})^{2}+u(t_{k})^{2})}{2}\Delta t_{k}\\ &-\frac{\lambda_{2}\left((u(t_{k})-u(t_{k-1}))^{2}+(u(t_{k-1})-u(t_{k-2}))^{2}\right)}{2\Delta t_{k}}\end{split} (23)

subject to

constraints (12), (17), (18), (21)
αkγηu(tk)αk+γη\displaystyle-\alpha_{k}-\gamma\eta\leq u(t_{k})\leq\alpha_{k}+\gamma\eta for k{0,1,,N}\displaystyle\text{for }k\in\{0,1,\dots,N\} (24)
αk0\displaystyle\alpha_{k}\geq 0 for k{0,1,,N}.\displaystyle\text{for }k\in\{0,1,\dots,N\}. (25)

The objective function (23) maximizes the total energy extraction minus the cost of applying the control force and penalties for violations of the soft bounds on the control limits. Constraints (24) and (25) are used in conjunction with the second term in the objective as an equivalent linear representation of the soft bound condition (20). Specifically, the auxiliary variables αk\alpha_{k} describe the amount by which the force exceeds the soft bound, which are penalized in the objective with a constant per unit cost ρ\rho.

We make the following remarks about this complete model.

  • 1.

    It is assumed that the unit cost violation term ρ\rho is a constant. In order to achieve different bound structures, one can use a function ρ()\rho(\cdot) instead of specifying only one cost coefficient ρ\rho, where the function depends on the amount of violation.

  • 2.

    Power smoothness of the operation can be handled internally in the mechanical/electrical power take-off component [28, 29].

  • 3.

    The same mechanical/electrical component is used for both taking power from the system and feeding power into the system to apply the control.

  • 4.

    Since the parameter λ1\lambda_{1} gives the cost of applying the control force, it also captures the conversion inefficiency of the system. For instance, if we assume a conversion efficiency ratio 0<ψ<10<\psi<1, then we have a system that can only capture a proportion ψ\psi of the total energy injected into the system by the controller, and we can extract only a proportion ψ\psi of the total energy harvested. In this case, the inefficiency in the conversion system can be incorporated into λ1\lambda_{1} by properly adjusting this coefficient.

3.6 Estimation of the coefficients

We simulate the wave–structure interaction of the WEC using WEC-Sim. The time-domain simulation of a wave–structure interaction is generated by the radiation and diffraction method. In this method, the hydrodynamic coefficients are calculated with a frequency-domain boundary element method and the system dynamics is solved in the time domain. We then estimate the coefficients AA, bb, and cc in the linear equation (17) by simulating the device under different wave conditions and control policies. Specifically, we use the following three-step procedure. The estimations in each step are done using least-squares regression.

  1. 1.

    First, we consider a free-decay experiment in which the device is given an initial condition with no wave input. From this experiment, we estimate the hydrodynamic coefficient matrix AA.

  2. 2.

    Second, we consider a free-floating experiment in which the device is floating with some wave input. Using the previously estimated coefficient matrix AA, we estimate the wave coefficient vector cc in this step.

  3. 3.

    Finally, we conduct an experiment with the same input wave and some control policy. Using the previously estimated coefficients AA and cc, we estimate the control coefficient vector bb. A caveat here is that we cannot simply use the control policy used in the simulation to estimate the coefficients, since the system representation in (17) is only an approximation. That said, we know that in regular waves, the control policy has a sinusoidal form with the same period as the wave input. Thus, to estimate bb, we consider sinusoidal control policies with a fixed amplitude (as the force limit), with the same period as the wave input, and with all possible shifts within the discretization level; we then choose the coefficients that resulted in the least error in the regression.

Note that all the coefficients are estimated independently to ensure that they accurately represent the system. An advantage of this procedure is that the hydrodynamic coefficient matrix AA is estimated only once since the device remains the same. However, if a different wave input is considered, one needs to start over from step 2. If the new wave input has the same period, it is straightforward to scale the wave coefficients cc accordingly. However, it is not so clear how to adjust the coefficients when a wave input with a different period is considered. This problem may be a possible future direction.

Typical wave conditions for the east coast of the United States have an average wave period of 4–6 seconds and significant wave height around 6 meters [30]. We use these numbers to guide our choice of wave inputs in our estimation, which are summarized in Table 1. Note that these conditions are off-resonance for the device (wave period10s)(\text{wave period}\neq 10s).

Significant Wave Height (m) Period (s)
Wave 1 6 4
Wave 2 6 5
Wave 3 6 6
Table 1: Wave inputs considered in the estimation

3.7 Coefficients for the system

The estimated coefficients for the system in which the input wave has 6-meter significant wave height and 4-second wave period are:

A=[0.99390.03780.009970.9998],b=[0.0123×1066.1785×1011],c=[0.00452.2480×105].A=\left[\begin{array}[]{cc}0.9939&-0.0378\\ 0.00997&0.9998\end{array}\right],\quad b=\left[\begin{array}[]{c}0.0123\times 10^{-6}\\ 6.1785\times 10^{-11}\end{array}\right],\quad c=\left[\begin{array}[]{c}0.0045\\ 2.2480\times 10^{-5}\end{array}\right]. (26)

In order to visually inspect the dynamics of the hydrodynamic system using the coefficients from (26), we rolled forward the equations in (17). Figure 3 plots the resulting trajectories using using a sinusoidal control policy that respects the bounds on the control variables. (The control policy used has a similar form to the policy used in the third phase of the estimation). From the figure, it is clear that the system appears to be stable, with trajectories that conform to expectations. Moreover, by comparing the real and computed trajectories in Figure 4, it is clear that the estimated coefficients yield dynamics that accurately represent the system.

Refer to caption
Figure 3: Reconstruction of the system trajectory for verification, where the input wave has 6-meter significant wave height and 4-second period. Subplots represent control, position, velocity and wave elevation, respectively.
Refer to caption
Figure 4: Simulation data and regressed trajectories for velocity (first subplot) and position (second subplot) where a control strategy is present and the input wave has 6-meter significant wave height and 4-second period.

The coefficients for 6-meter significant wave height and 5-second wave period are:

A=[0.99390.03780.009970.9998],b=[0.0325×1061.6256×1010],c=[0.01427.0887×105].A=\left[\begin{array}[]{cc}0.9939&-0.0378\\ 0.00997&0.9998\end{array}\right],\quad b=\left[\begin{array}[]{c}0.0325\times 10^{-6}\\ 1.6256\times 10^{-10}\end{array}\right],\quad c=\left[\begin{array}[]{c}0.0142\\ 7.0887\times 10^{-5}\end{array}\right]. (27)

Finally, the coefficients for 6-meter, 6-second waves are:

A=[0.99390.03780.009970.9998],b=[0.0429×1062.1485×1010],c=[0.02041.0219×104].A=\left[\begin{array}[]{cc}0.9939&-0.0378\\ 0.00997&0.9998\end{array}\right],\quad b=\left[\begin{array}[]{c}0.0429\times 10^{-6}\\ 2.1485\times 10^{-10}\end{array}\right],\quad c=\left[\begin{array}[]{c}0.0204\\ 1.0219\times 10^{-4}\end{array}\right]. (28)

4 Receding horizon approach for real-time control

In this section, we discuss our receding-horizon approach for WEC control. The idea is that, rather than solving the optimization problem over a long time horizon, we instead solve reasonably small problems over short time horizons, during which our estimates of the wave inputs and the state of the dynamical system are likely to be accurate. Then, we implement some portion of the resulting control strategy, then make a new forecast of the wave over the next time horizon, and re-solve the model.

In particular, suppose we wish to solve problems with a horizon length of TT time periods, discretized into time steps of length Δt\Delta t. Every TcT^{c} time periods (called the “controller update horizon”), we re-solve the problem. For example, if T=100T=100 seconds, Δt=0.1\Delta t=0.1 second, and Tc=5T^{c}=5 seconds, then every 5 seconds, we solve a problem consisting of T/Δt=1000T/\Delta t=1000 discretization points. We implement the control values for the first 5 seconds of that horizon, then update the wave forecast and re-solve.

The choice of the optimization horizon TT is crucial in practice, since one wants it large enough so that the resulting strategy accounts for a longer period so it is not myopic and some part of it can be implemented before the next problem is set up and solved. On the other hand, one wants TT to be small enough that the current estimates of the system dynamics and wave are accurate. Finally, we must set the discretization time step Δt\Delta t and the controller update horizon TcT^{c} large enough so that the horizon-TT problem can be solved within TcT^{c} time units. We refer to the model’s ability to solve the horizon-TT problem within the available time, i.e., within TcT^{c}, as real-time control.

Algorithm 1 Receding horizon control strategy
1:Input: State at initial time T0T_{0}, optimization time horizon TT, discretization time step Δt\Delta t, and controller update horizon TcT^{c}
2:Output: Sequence of control values
3:for j=0,1,2,j=0,1,2,\dots do
4:     Set the current time as TjT_{j}
5:      Obtain a wave prediction for the next TT seconds
6:     Solve the constrained optimal control problem over the optimization time horizon using the initial state at TjT_{j}, the discretization time step Δt\Delta t, and the wave prediction over [Tj,Tj+T][T_{j},T_{j}+T]
7:     Implement the control values for the next TcT^{c} seconds and collect the state at time Tj+TcT_{j}+T^{c}
8:     Update Tj+1Tj+TcT_{j+1}\leftarrow T_{j}+T^{c}
9:end for

Algorithm 1 presents our strategy for real-time control. To handle the general situation of irregular waves, the algorithm includes a step to make short-term wave prediction [31]. For simplicity, however, in the remainder of our study, we consider regular waves. This obviates the need to perform step 5 and to modify the dynamical system coefficients with each time horizon.

5 Numerical results

In this section, we provide the results of numerical experiments for solving the optimization problem given in Section 3.5. Firstly, in Section 5.1, we discuss a strategy for choosing the cost coefficients λ1\lambda_{1} and λ2\lambda_{2}, providing numerical demonstrations of experiments used when choosing these coefficients. We also demonstrate the sensitivity of the objective value with respect to λ1\lambda_{1} and λ2\lambda_{2} to further emphasize the importance of these cost coefficients. Then, in Section 5.2, we experiment over different values of the parameters η\eta and ρ\rho and demonstrate their effect on the difficulty of the problem and the objective value. Lastly, in Section 5.3, we employ the receding horizon control scheme and demonstrate the capabilities of our model in a more realistic setting.

The mathematical models are formulated in the AMPL modelling language [32] and solved via IPOPT [33], which employs a primal–dual interior point method. Furthermore, all the experiments in this section are done considering a wave input with 6-meter significant wave height and 4-second wave period. We also conducted our experiments on instances with other wave inputs, but we did not include the results of those experiments since the main conclusions are similar.

5.1 Choosing the cost coefficients λ1\lambda_{1} and λ2\lambda_{2}

The values of the objective function coefficients λ1\lambda_{1} and λ2\lambda_{2}, which are intended to capture the cost of applying and changing the control force, are difficult to quantify precisely, but it is possible to identify a range of plausible values for them. Note that if we set λ1\lambda_{1} or λ2\lambda_{2} to too small a value, then we are saying that the control force can be applied nearly for free; this will result in the control force altering the device motion dramatically, not following the regular period of the waves, as described in Section 3.3. For sufficiently large values of the coefficients, the control force is so expensive that we will not apply it at all, and the device will simply follow the wave. With a regular wave input, the velocity of the device should have the same period as the wave; therefore, our suggestion is to choose the smallest values of λ1\lambda_{1} and λ2\lambda_{2} that result in the period of the velocity being sufficiently close to that of the wave.

For these experiments, the optimization time horizon was set as 7 times the wave period, Δtk=0.01\Delta t_{k}=0.01, γ=106\gamma=10^{6}, δ=3\delta=3, and η=1\eta=1 (meaning that the soft bound equals the hard bound). We then considered two sets of pairs (λ1,λ2)(\lambda_{1},\lambda_{2}) as follows.

  1. (a)

    λ2=0\lambda_{2}=0 with λ1{1010,109,,104}\lambda_{1}\in\{10^{-10},10^{-9},\dots,10^{-4}\}.

  2. (b)

    λ1=0\lambda_{1}=0 with λ2{1010,109,,104}\lambda_{2}\in\{10^{-10},10^{-9},\dots,10^{-4}\}.

Using these pairs of values, we solved the optimization problem and calculated the average realized period of the velocity trajectory. Figure 5 shows the calculated average period of the velocity trajectory for a wave input with a period of 4 seconds and a significant wave height of 6 meters.

Refer to caption
Figure 5: Average periods of velocity with different λ1\lambda_{1} and λ2\lambda_{2} values, where the wave input has 6-meter significant wave height and 4-second period. Each λ\lambda is investigated separately, i.e., when we investigate λ1\lambda_{1}, we set λ2=0\lambda_{2}=0.

The figure bears out the suggestion above that the calculated velocity trajectory has a shorter period than the waves if the coefficients are small, and approaches the period of the waves as the coefficients increase. We choose the smallest λ1\lambda_{1} and λ2\lambda_{2} values such that the average period of the velocity is within 5%5\% of the wave period. For this instance, we chose λ1=107\lambda_{1}=10^{-7} and λ2=109\lambda_{2}=10^{-9}.

As a sanity check, Figure 6 provides optimal objective values and energy absorption over different (λ1,λ2)(\lambda_{1},\lambda_{2}) values. The figure shows that with larger cost coefficients, the energy absorption and the objective function go to 0, suggesting that the optimal control trajectory goes to 0, which makes sense for large (λ1,λ2)(\lambda_{1},\lambda_{2}) values. Overall, these results help us to verify that λ1=107\lambda_{1}=10^{-7} and λ2=109\lambda_{2}=10^{-9} are large enough to keep the period of the device in sync with the wave, yet small enough that the device is capable of absorbing energy in the model.

Refer to caption
Figure 6: Optimal objective values and energy absorption with different λ1\lambda_{1} and λ2\lambda_{2} values, where the wave input has 6-meter significant wave height and 4-second period. Each λ\lambda is investigated separately, i.e., when we investigate λ1\lambda_{1}, we set λ2=0\lambda_{2}=0.

When we conducted similar experiments considering the other wave inputs, we found that slightly different (λ1,λ2)(\lambda_{1},\lambda_{2}) values satisfied our criterion. This is due to the fact that by changing the period of the wave input, the optimal control sequence has a different period, thus the cost for applying control might require a different coefficient to ensure that the period of the device and the wave are in sync. Since, in a realistic setting, the parameters λ1\lambda_{1} and λ2\lambda_{2} are likely to be fixed (not tunable for different wave conditions), as a final choice of λ1\lambda_{1} and λ2\lambda_{2} we choose the largest values among all trials with different wave inputs. This led us to choose λ1=106\lambda_{1}^{*}=10^{-6} and λ2=106\lambda_{2}^{*}=10^{-6} for our remaining experiments.

As a further sanity check, as well as to illustrate the sensitivity of the optimal solution with respect to the values of λ1\lambda_{1} and λ2\lambda_{2}, we evaluate the error that arises from using incorrect cost coefficients in the model. In particular, suppose that the true cost coefficients are λ=(λ1,λ2)=(106,106)\lambda^{*}=(\lambda_{1}^{*},\lambda_{2}^{*})=(10^{-6},10^{-6}). We then define the following quantities:

fλ(x(λ))\displaystyle f_{\lambda^{*}}(x(\lambda)) :objective function evaluated with λ using the solution obtained\displaystyle:\text{objective function evaluated with $\lambda^{*}$ using the solution obtained}
by solving the problem with cost coefficients λ=(λ1,λ2)\lambda=(\lambda_{1},\lambda_{2})
fλ(x(λ))\displaystyle f_{\lambda^{*}}(x(\lambda^{*})) :objective function evaluated with λ using the solution obtained\displaystyle:\text{objective function evaluated with $\lambda^{*}$ using the solution obtained}
by solving the problem with cost coefficients λ=(λ1,λ2)\lambda^{*}=(\lambda_{1}^{*},\lambda_{2}^{*})

In Figure 7, we plot the values

ratio=fλ(x(λ))fλ(x(λ))\text{ratio}=\frac{f_{\lambda^{*}}(x(\lambda))}{f_{\lambda^{*}}(x(\lambda^{*}))}

as a function of λ1\lambda_{1} with λ2=λ2\lambda_{2}=\lambda_{2}^{*} (top plot) and also as a function of λ2\lambda_{2} with λ1=λ1\lambda_{1}=\lambda_{1}^{*} (bottom plot). When λ1=λ1\lambda_{1}=\lambda_{1}^{*} (resp. λ2=λ2\lambda_{2}=\lambda_{2}^{*}), the ratio is equal to 1 in the top plot (resp. bottom plot). Otherwise, the ratio shows the objective value lost by solving the problem with the “wrong” cost coefficients. We see from this experiment that it is arguably much worse to underestimate the cost coefficients than to overestimate them. In particular, if the problem is solved with a cost coefficient that is too large, then the plotted ratio is less than 1, but at least still positive. On the other hand, if the problem is solved with a cost coefficient that is too small, then the plotted ratio can be negative. These experiments support our inclusion of these costs in the objective function, and support our idea of choosing the largest coefficients among all trials.

Refer to caption
Figure 7: Assuming that the true cost coefficients are λ1=106\lambda_{1}^{*}=10^{-6} and λ2=106\lambda_{2}^{*}=10^{-6}, objective value ratios with different λ1\lambda_{1} and λ2\lambda_{2} values, where the wave input has a significant wave height of 6 meters and a wave period of 4 seconds.

5.2 Choosing proper η\eta and ρ\rho values promoting reduced damage to the device

In order to decide on appropriate values for η\eta (the soft bound ratio) and ρ\rho (the penalty term for exceeding the bound), we model and solve the optimization problem (23)–(25) under multiple values of η\eta and ρ\rho. In particular, we set the problem horizon as one full wave period, Δtk=0.01\Delta t_{k}=0.01, γ=106\gamma=10^{6}, and δ=3\delta=3, and λ\lambda values set as in the previous section. We tested all combinations of η\eta values in {150,250,,4950,5050}\{\frac{1}{50},\frac{2}{50},\dots,\frac{49}{50},\frac{50}{50}\} and ρ\rho values in {150,250,,4950,5050}\{\frac{1}{50},\frac{2}{50},\dots,\frac{49}{50},\frac{50}{50}\}, resulting in a total of 50×50=250050\times 50=2500 instances. The whole procedure was relatively fast since we limit the horizon to one full wave period, and since IPOPT can solve the model (23)–(25) quickly. It is worth mentioning that all the instances are successfully solved to local optimality. Note that each of the instances is solved multiple times with different initial points, and in all of these cases we get the same optimal solution, suggesting that the local optimum may be globally optimal.

Refer to caption
Figure 8: Optimal objective values with different η\eta and ρ\rho values, where the wave input has 6-meter significant wave height and 4-second period.

Figure 8 plots the optimal objective function value under different safety parameters. As can be seen from the figure, the optimal objective value decreases as ρ\rho increases and as η\eta decreases. Moreover, the optimal objective function value is flat for η\eta greater than 0.2\approx 0.2, since below that range, the optimal control trajectory is already bounded away from γ\gamma. This effect will be demonstrated in more detail in the next section. Also, it can be said that the effect of η\eta is more direct, and that it inherently affects the impact of ρ\rho on the objective function.

Of course, the choice of the safety parameters primarily depends on the application and is subject to the modeler’s preferences. We will further explore the impact of η\eta and ρ\rho on the optimal solution in the next section.

Figure 9 plots the total CPU time (user CPU + system CPU) returned by the solver IPOPT integrated in the modelling software AMPL. The total CPU time required to solve the problem is relatively small throughout the parameter grid, except when the fraction of soft bound (η\eta) gets small and becomes an active constraint. In this region, the problem becomes dramatically harder as η0\eta\rightarrow 0, with CPU times roughly quadrupled compared to the other instances.

Refer to caption
Figure 9: CPU times with different η\eta and ρ\rho values, where the wave input has 6-meter significant wave height and 4-second period.

5.3 Receding horizon experiments

In this section, we use the receding horizon approach described in Section 4, using the previously determined λ\lambda values, initial time T0=200T_{0}=200, horizon T=wave periodT=\text{wave period}, time step Δt=0.01\Delta t=0.01, controller update horizon Tc=110×(wave period)T_{c}=\frac{1}{10}\times(\text{wave period}), and number of receding periods K=100K=100. We also test each of the following η\eta and ρ\rho values:

  1. 1.

    η=1\eta=1 (soft bound equals hard bound),

  2. 2.

    η=0.1\eta=0.1 and ρ=1\rho=1,

  3. 3.

    η=0.1\eta=0.1 and ρ=0.1\rho=0.1.

In order to ensure that the control sub-sequence resulting from each problem at the end of a receding period is connected to the next one, we set the initial point of the control trajectory in each receding period as the last entry of the implemented control trajectory obtained from the solution of the previous problem.

5.3.1 Receding horizon results when η=1\eta=1

Refer to caption
Figure 10: Solution of the receding horizon approach with η=1\eta=1, where the wave input has 6-meter significant wave height and 4-second period. The subplots show control (uu), position (zz), velocity (z˙\dot{z}), excess force (α\alpha), and wave elevation (ww), respectively.

Figure 10 plots the solution of the real time procedure (first plot), and the resulting trajectory (second and third plots), the excess force (fourth plot), and, for reference, the incident wave elevation (fifth plot). As can be seen, the control is smooth and has the same period as the wave input. As discussed in the previous section, the control is bounded away from the hard bound γ\gamma, due to the choice of λ\lambda parameters. Since the soft bound is chosen as the hard bound, the excess force (i.e., αk\alpha_{k}, the amount by which the force exceeds the soft bound) is zero. The velocity also has the same period as the wave input, which was guaranteed by our proper choice of λ\lambda values.

Refer to caption
Figure 11: Summary of the receding horizon approach with η=1\eta=1, where the wave input has 6-meter significant wave height and 4-second period.

Figure 11 plots a summary of each problem solved at each receding period. The xx-axis represents the problem at each receding period, where the total number of receding periods is K=100K=100. Note that at each receding period, only the objective value corresponding to the implemented control policy is calculated. We can see the periodicity in the optimal objective value every 5 receding periods since the controller update horizon is chosen to be 15×(half wave-period)\frac{1}{5}\times\text{(half wave-period)} and the generation repeats itself every half wave-period. More importantly, in order to maximize the total energy extracted, the optimal objective value becomes negative for short periods of time. This result supports the remark made by Falnes [9], which states that in optimal control, the control system must be efficient enough to feed back part of the extracted energy. Moreover, we can see that the average optimal objective value becomes flat after a few periods since the effect of the initial point decreases over time. It is also clear that the solution time fluctuates around 0.14 seconds, never exceeding 0.16 or falling below 0.12. Therefore, this specific experiment can be done in real time since the solution time corresponding to each receding horizon is around 0.14s0.14s, which is strictly less than the controller update horizon 1104=0.4s\frac{1}{10}4=0.4s.

5.3.2 Receding horizon results when η=0.1\eta=0.1 and ρ=1\rho=1

Refer to caption
Figure 12: Solution of the receding horizon approach with η=0.1\eta=0.1 and ρ=1\rho=1, where the wave input has 6-meter significant wave height and 4-second period. The subplots show control (uu), position (zz), velocity (z˙\dot{z}), excess force (α\alpha), and wave elevation (ww), respectively.

Whereas Figure 10 considered the extreme case in which the soft bound equals the hard bound, Figure 12 plots another extreme case, in which the soft bound imposes a very tight constraint on the control trajectory (η=0.1\eta=0.1). The choice of ρ=1\rho=1 makes the cost of exceeding the soft bound very large, hence, the control is essentially restricted to the soft bound, with one exception around 7 seconds into the horizon. This violation is very small: the bound of 2×1052\times 10^{5} N is violated by approximately 100100 N. Other than that, the position and velocity are similar to those in Figure 10 except that now the motion is slightly less dampened.

Refer to caption
Figure 13: Summary of the receding horizon approach with η=0.1\eta=0.1 and ρ=1\rho=1, where the wave input has 6-meter significant wave height and 4-second period.

Figure 13 gives us a similar summary, in which now the problem at each receding period is much harder to solve, with an average solution time of 0.5s0.5s (not a surprise, in light of Figure 9). Moreover, the objective value has decreased compared to the case in which η=1\eta=1, since now we are limiting the amplitude of the control by having a large cost associated with exceeding the soft bound. Unfortunately, this instance cannot be implemented in real time, since solving each problem requires more time than the the controller update horizon. However, one can adjust the controller update horizon appropriately if real-time control is essential.

5.3.3 Receding horizon results when η=0.1\eta=0.1 and ρ=0.1\rho=0.1

Now, we consider the same soft bound used in the previous section with a much smaller cost penalty for violating it: ρ=0.1\rho=0.1.

Refer to caption
Figure 14: Solution of the receding horizon approach with η=0.1\eta=0.1 and ρ=0.1\rho=0.1, where the wave input has 6-meter significant wave height and 4-second period. The subplots show control (uu), position (zz), velocity (z˙\dot{z}), excess force (α\alpha), and wave elevation (ww), respectively.

As can be observed in Figure 14, there aren’t large violations of the soft bound, which can be seen more clearly in the excess force plot, where it is nonzero around the peak points of the control trajectory. Since we used a non-zero penalty for the violation (ρ=0.1)(\rho=0.1), this result demonstrates a trade-off between exceeding the soft bound and absorption of energy. In other words, we can observe that the trajectory amplitude here is strictly between those in Figures 10 and 12.

Refer to caption
Figure 15: Summary of the receding horizon approach with η=0.1\eta=0.1 and ρ=0.1\rho=0.1, where the wave input has 6-meter significant wave height and 4-second period.

Based on Figure 15, the computational difficulty of the problem remains similar to that in Figure 13; however, in this case, the objective is slightly better since we impose less of a penalty for exceeding the soft bound. Additionally, as was expected, the objective value is worse than the case given in Figure 11 since the soft bound was not active in that case. Finally, due to the relatively large solution times, this instance is not real-time solvable.

6 Conclusion

In this paper, we propose a generic optimal control model for a single wave-energy converter, considering the device to be a two-body point absorber. Our model makes two main contributions to the literature: (1) It incorporates a realistic term to represent the cost or energy expended in the control force, thus addressing a deficiency of earlier models that led to inaccurate estimates of the actual energy extracted from the device. (2) It imposes both hard and soft bounds on the control force and relative displacement, thus promoting safe operation of the device.

The hydrodynamic coefficients of the device are estimated using simulation via WEC-Sim. We derived an approximate form for the cost of the control force and integrated it into the objective function. The formulation of the optimal control problem resulted in a quadratic program (QP) with a non-convex objective function.

In our numerical results, we demonstrate the effect of cost and safety parameters on the optimal energy absorption, underlining the importance of correctly estimating the cost parameters. Furthermore, we illustrate the trade-off between the safe operation of the device and the energy absorbed. Finally, we display the capabilities of the model by utilizing it in a real-time optimization framework.

Our model and analysis assume regular waves. An important extension for future work is to consider irregular waves as the wave input. This extension requires incorporation of a prediction scheme and the update of system coefficients into the real-time optimization framework. Hopefully, the update of the system coefficients can be done in a systematic manner via appropriate transformation, rather than using an MPC-like approach, to further decrease the complexity of the real-time implementation.

Another possible extension is the control of multiple WECs simultaneously, while maintaining the optimality and the quality of the estimation. This problem is rather challenging since it requires a dynamic estimation of the coefficients incorporating the interaction between bodies, and implementing a control policy that can optimize the system as a whole rather than individually.

We also believe that a better form for the cost of the control force may be derived, by utilizing more detailed information of a specific WEC. The incorporation of a more accurate form for the cost of the control force would further reduce the gap between the theory and the practice of WEC control.

Acknowledgement

This research was supported in part by NSF grants #CMMI-1400164 and CCF-1442858. This support is gratefully acknowledged.

References

References

  • [1] A. Pecher, J. P. Kofoed, Handbook of ocean wave energy, Springer London, 2017.
  • [2] K. Budal, Theory for absorption of wave power by a system of interacting bodies, Journal of Ship Research 21 (4) (1977) 248–253.
  • [3] K. Budar, J. Falnes, A resonant point absorber of ocean-wave power, Nature 256 (5517) (1975) 478–479.
  • [4] A. F. de O.Falcão, Wave energy utilization: a review of the technologies, Renewable and Sustainable Energy Reviews 14 (3) (2010) 899–918.
  • [5] J. Hals, J. Falnes, T. Moan, A comparison of selected strategies for adaptive control of wave energy converters, Journal of Offshore Mechanics and Arctic Engineering 133 (3) (2011) 031101–031101–12.
  • [6] J. V. Ringwood, G. Bacelli, F. Fusco, Energy-maximizing control of wave-energy converters: The development of control system technology to optimize their operation, IEEE Control Systems Magazine 34 (5) (2014) 30–55.
  • [7] B. Drew, A. R. Plummer, M. N. Sahinkaya, A review of wave energy converter technology, Proceedings of The Institution of Mechanical Engineers Part A-Journal of Power and Energy 223 (2009) 887–902.
  • [8] M. J. Muliawan, Z. Gao, T. Moan, A. Babarit, Analysis of a two-body floating wave energy converter with particular focus on the effects of power take-off and mooring systems on energy capture, Journal of Offshore Mechanics and Arctic Engineering 135 (3) (2013) 031902–031902–12.
  • [9] J. Falnes, Ocean waves and oscillating systems: linear interactions including wave-energy extraction, Cambridge University Press, 2002.
  • [10] J. Falnes, Optimum control of oscillation of wave-energy converters, International Journal of Offshore and Polar Engineering 12 (02).
  • [11] J. Hals, J. Falnes, T. Moan, Constrained optimal control of a heaving buoy wave-energy converter, Journal of Offshore Mechanics and Arctic Engineering 133 (1) (2011) 011401–011401–15.
  • [12] L. Wang, J. Engström, M. Göteman, J. Isberg, Constrained optimal control of a point absorber wave energy converter with linear generator, Journal of Renewable and Sustainable Energy 7 (4) (2015) 043127.
  • [13] S. Zou, O. Abdelkhalik, R. Robinett, G. Bacelli, D. Wilson, Optimal control of wave energy converters, Renewable energy 103 (2017) 217–225.
  • [14] G. Bacelli, J. V. Ringwood, J.-C. Gilloteaux, A control system for a self-reacting point absorber wave energy converter subject to constraints, IFAC Proceedings Volumes 44 (1) (2011) 11387–11392.
  • [15] J. A. Cretel, G. Lightbody, G. P. Thomas, A. W. Lewis, Maximisation of energy capture by a wave-energy point absorber using model predictive control, IFAC Proceedings Volumes 44 (1) (2011) 3714–3721.
  • [16] M. Richter, M. E. Magana, O. Sawodny, T. K. Brekken, Nonlinear model predictive control of a point absorber wave energy converter, IEEE Transactions on Sustainable Energy 4 (1) (2013) 118–126.
  • [17] K. M. Nielsen, T. S. Pedersen, P. Andersen, S. Ambühl, Optimizing control of wave energy converter with losses and fatigue in power take off, IFAC-PapersOnLine 50 (1) (2017) 14680–14685.
  • [18] W. Cummins, The impulse response function and ship motions, David Taylor Model Basin Washington DC, 1962.
  • [19] S. Kalidoss, A. Banerjee, Performance evaluation of floating two-body wave energy converter with hydraulic power take-off system, in: Proceedings of the Fourth International Conference in Ocean Engineering (ICOE2018), Springer, 2019, pp. 883–897.
  • [20] A. Babarit, J. Hals, M. Muliawan, A. Kurniawan, T. Moan, J. Krokstad, Numerical benchmarking study of a selection of wave energy converters, Renewable energy 41 (2012) 44–63.
  • [21] Y. Hong, M. Eriksson, C. Boström, R. Waters, Impact of generator stroke length on energy production for a direct drive wave energy converter, Energies 9 (9) (2016) 730.
  • [22] C. Lee, J. Newman, Wamit user manual, version 7.0, WAMIT, Inc., Chestnut Hill, MA.
  • [23] K. Ruehl, C. Michelen, S. Kanner, M. Lawson, Y.-H. Yu, Preliminary verification and validation of wec-sim, an open-source wave energy converter design tool, in: ASME 2014 33rd International Conference on Ocean, Offshore and Arctic Engineering, Vol. 9B: Ocean Renewable Energy, American Society of Mechanical Engineers, 2014, p. V09BT09A040.
  • [24] A. Babarit, A. H. Clément, Optimal latching control of a wave energy device in regular and irregular waves, Applied Ocean Research 28 (2) (2006) 77–91.
  • [25] F. d. O. F. a. António, Phase control through load control of oscillating-body wave energy converters with hydraulic pto system, Ocean Engineering 35 (3) (2008) 358–366.
  • [26] J. T. Klamo, Effects of damping and reynolds number on vortex-induced vibrations, Ph.D. thesis, California Institute of Technology (2007).
  • [27] G. Li, G. Weiss, M. Mueller, S. Townley, M. R. Belmont, Wave energy converter control by wave prediction and dynamic programming, Renewable Energy 48 (2012) 392–403.
  • [28] P. Moreno-Torres, M. Blanco, G. Navarro, M. Lafoz, Power smoothing system for wave energy converters by means of a supercapacitor-based energy storage system, in: 2015 17th European Conference on Power Electronics and Applications (EPE’15 ECCE-Europe), 2015, pp. 1–9. doi:10.1109/EPE.2015.7309312.
  • [29] R. Hansen, M. Kramer, E. Vidal, Discrete displacement hydraulic power take-off system for the wavestar wave energy converter, Energies 6 (8) (2013) 4001–4044. doi:10.3390/en6084001.
    URL http://dx.doi.org/10.3390/en6084001
  • [30] National oceanic and atmospheric administration’s national data buoy center, https://www.ndbc.noaa.gov/, accessed on 05-08-2019.
  • [31] F. Fusco, J. V. Ringwood, Short-term wave forecasting for real-time control of wave energy converters, IEEE Transactions on Sustainable Energy 1 (2) (2010) 99–106.
  • [32] R. Fourer, D. M. Gay, B. W. Kernighan, AMPL: a modeling language for mathematical programming, Vol. 1, Scientific Press San Francisco, 1993.
  • [33] A. Wächter, L. T. Biegler, On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming, Mathematical programming 106 (1) (2006) 25–57.

Appendix A Derivation of functional form for the cost of the control force

The functional form of the cost of the control force is derived by considering a damper as a controller. For simplicity, in the derivation, we will use the notation that is introduced in [26] (rather than attempting to bring their notation in line with ours), and explain the notation as it is introduced. In [26], the author derives the magnetic damping term as

bmag=f(w,R,)isup2,b_{mag}=f(w,R,\dots)i_{sup}^{2}, (29)

where isupi_{sup} is the current supplied to the system and f(w,R,)f(w,R,\dots) is a constant depending on the magnetic system parameters. The power required to generate current isupi_{sup} can be found (under an assumption of DC power) through

P\displaystyle P =VI,\displaystyle=VI,
which can be rewritten using Ohm’s law, V=IRV=IR, to obtain
P\displaystyle P =I2R\displaystyle=I^{2}R
I2\displaystyle I^{2} =PR,\displaystyle=\frac{P}{R},

where PP is the power, VV is the voltage, II is the current and RR is the resistance. Plugging the last equation into (29) gives

bmag\displaystyle b_{mag} =f~(w,R,)P,\displaystyle=\tilde{f}(w,R,\dots)P,
where f~=fR\tilde{f}=\frac{f}{R}. This gives us the relation
P\displaystyle P =bmagf~.\displaystyle=\frac{b_{mag}}{\tilde{f}}. (30)

Ultimately, we want to obtain a functional form such that for some function gg, we have Pg(F)P\approx g(F), where FF represents the applied control force and PP represents the power required to generate that force. From now on, our focus will only be on the functional form of gg, without considering the constant terms. To this end, we will use the form of a damping controller,

F=bz˙,F=-b\dot{z}, (31)

where z˙\dot{z} represents the velocity and bb the damping coefficient, then try to capture the relation between bb and z˙\dot{z} under the best possible sea conditions for the two-body device we are considering. By using the force equation, we have the generated power expressed as

P=Fz˙=bz˙2.P=-F\dot{z}=b\dot{z}^{2}.

Now, based on the experiments in [8], we have some experimental data for the power capture under different damping coefficients. Specifically, Figure 16 shows several power function values when different damping coefficients are implemented in the control strategy, where the control strategy has the form given in (31). It is important to note that the power function is wave-normalized for regular waves.

Refer to caption
Figure 16: Power function under different damping coefficients

By dividing the normalized power by the damping coefficient, we obtain the values shown in Figure 17.

Refer to caption
Figure 17: Average squared velocity under different damping coefficients

The next step is to fit a functional relationship between bb and the average z˙2\dot{z}^{2}, but before doing that, let us observe some properties of the relation between them:

  1. 1.

    When bb\shortuparrow, z˙2\dot{z}^{2}\shortdownarrow.

  2. 2.

    When bb\rightarrow\infty, z˙20\dot{z}^{2}\rightarrow 0.

  3. 3.

    When b0b\rightarrow 0, z˙2\dot{z}^{2}\rightarrow some upper limit.

  4. 4.

    The damping coefficient bb should increase faster than the decrease in z˙2\dot{z}^{2}, so that the multiplication bz˙2b\dot{z}^{2} increases as shown in Figure 16.

These properties hold for certain exponential, logarithmic, and polynomial functions. Therefore, we used each of these three families of nonlinear regression models, fitting each to our data. We chose the model with the largest R2R^{2} value; that model is:

z˙2=1330.2b+9158.7,\dot{z}^{2}=\frac{1330.2}{b+9158.7},

which is graphically shown in Figure 18.

Refer to caption
Figure 18: The fitted model for the relation between average squared velocity and the damping coefficient

Now, we can further derive

z˙2\displaystyle\dot{z}^{2} 𝒪(1b),\displaystyle\approx\mathcal{O}\left(\frac{1}{b}\right),
and since we know that b>0b>0, we have
|z˙|\displaystyle|\dot{z}| 𝒪(1b).\displaystyle\approx\mathcal{O}\left(\frac{1}{\sqrt{b}}\right).
By combining the relations in (31) and (30), we end up with
|F|=b|z˙|\displaystyle|F|=b|\dot{z}| 𝒪(b)𝒪(P)\displaystyle\approx\mathcal{O}(\sqrt{b})\approx\mathcal{O}(\sqrt{P})
P\displaystyle P 𝒪(F2).\displaystyle\approx\mathcal{O}(F^{2}).

The last statement, P𝒪(F2)P\approx\mathcal{O}(F^{2}), simply describes the resulting functional form for the cost of applying the control force. In our notation, FF is represented by uu, and PP represents the power consumed to generate a force uu.