evaluating energy maximising control systems for wecs ......example –heaving cone 0.2m 0.8m *...

59
Evaluating energy maximising control systems for WECs using CFD Josh Davidson HyWEC Workshop, Bilbao, 6 th April 2017

Upload: others

Post on 11-Mar-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Evaluating energy maximising control

systems for WECs using CFD

Josh Davidson

HyWEC Workshop, Bilbao,

6th April 2017

Page 2: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Outline

• Motivation

• CFD simulation of a controlled WEC

• Illustrative example

• Adaptive control

– System Identification

– Evaluation of adaptive WEC control using CFD

– Example

• Discussion and Conclusions

Page 3: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Motivation

* Weber, Costello and Ringwood, WEC Technology Performance Levels (TPLs) – Metric for

Successful Development of Economic WEC Technology, Proc. 10th EWTEC, Aalborg, 2013

Page 4: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Motivation

* Adapted from: Weber, Costello and Ringwood, WEC Technology Performance Levels (TPLs) – Metric

for Successful Development of Economic WEC Technology, Proc. 10th EWTEC, Aalborg, 2013

Page 5: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Motivation

* Adapted from: Weber, Costello and Ringwood, WEC Technology Performance Levels (TPLs) – Metric

for Successful Development of Economic WEC Technology, Proc. 10th EWTEC, Aalborg, 2013

Page 6: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Motivation

* Adapted from: Weber, Costello and Ringwood, WEC Technology Performance Levels (TPLs) – Metric

for Successful Development of Economic WEC Technology, Proc. 10th EWTEC, Aalborg, 2013

Page 7: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Motivation

* Davidson et al, ch. Evaluation of energy maximising control systems for WECs using OpenFOAM,

11th OpenFOAM Workshop, Springer, 2017

Page 8: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

* Yu and Li, Reynolds-Averaged Navier-Stokes simulation of the heave performance of a

two-body floating point-absorber wave energy system, Computers and Fluids, 2013

Motivation

Page 9: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Computational Fluid Dynamics

* Davidson et al , Implementation of an OpenFOAM Numerical Wave Tank

for Wave Energy Experiments, Proc. 11th EWTEC, Nantes, 2015

Page 10: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Wave driven motion

Page 11: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Free decay

* Davidson, Giorgi and Ringwood, Identification of Wave Energy Device Models From Numerical Wave Tank

Data – Part 1: Numerical Wave Tank Identification Tests, IEEE Transactions on Sustainable Energy, 2016

Page 12: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Free decay – Reflection analysis

Page 13: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

CFD + PTO = WEC

PTO force on

body

Page 14: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Input PTO force

Page 15: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

WEC Operation

Page 16: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

CFD + PTO + Controller = Today’s topic

MATLAB

script

Free surface

elevation

PTO force on

body

Page 17: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example

- No Control

- PI Control

Buoy

PTO - Buoy diameter = 0.1m

- Buoy resonance = 0.61s

- Sea spectrum peak = 1s

PTO strategies

- Linear model (Cummins Equation)

- OpenFOAM (CFD)

Simulations

Page 18: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Tank

Page 19: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example : Results

Page 20: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example : Operational space

Page 21: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Relative disp. and vel.

Page 22: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Conclusions

- While linear hydrodynamics works well for a surface following

floating body, the large amplitude motions of a WEC under

controlled conditions challenge the validity of linear models

- Control evaluation requires a modelling approach that includes

all system dynamics, nonlinearities, inefficiencies and energy

dissipating mechanisms

- A CFD based NWT offers a good possibility for control

evaluation

Page 23: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

CFD + PTO + Adaptive control =

Current work

• Adaptive control parameters

• Adaptive control models

– Model based control

• CFD provides a realistic simulation model different from the control model

– System Identification

• Tune the parameters of the control model, based on measured WEC responses

• Control model is then representative of controlled conditions, present sea state and other time varying influences

Page 24: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

System Identification

Page 25: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

2n+1

PARAMETERS

Example - Parametric model structure

State space representation of Cummins Equation

Page 26: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Identification algorithm

Page 27: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Data : BEM vs CFD

Page 28: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

* Davidson, Giorgi and Ringwood, Linear parametric hydrodynamic models for ocean wave energy

converters identified from numerical wave tank experiments, Ocean Engineering, 2015

Page 29: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

Page 30: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

Page 31: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

Page 32: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

Page 33: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

Page 34: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Results

Page 35: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example - Conclusions

- Local linearisation- Nonlinear resistive energy dissipation captured into

the linear radiation term

- Amplitude dependent

- Possibility for model scheduling depending on

operating conditions

- Optimisation problem for the given model

structure was non-convex, required genetic

algorithm to solve- Leads to investigation of discrete time models

Page 36: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Discrete time models

• Ringwood, Davidson and Giorgi, ch. Identifying models using recorded data,

Numerical Modelling of WECs : State-of-the-art for single devices and arrays, Elsevier, 2016

Page 37: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Discrete time models

ARX

ARX - Polynomial (KGP)

Page 38: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Discrete time models

ANN

Page 39: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Discrete time models - ExampleTraining

Validation

Page 40: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Identifying subcomponents

Example – Heaving cone

0.2m

0.8m

* Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

hydrodynamic models , 1st Int. Conference on Renewable Energies Offshore (RENEW 2014), 2014

Page 41: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example – Nonlinear static block

Page 42: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example – Nonlinear static block

Page 43: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example – Small amplitude results

Page 44: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example – Large amplitude results

Page 45: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Example – Large amplitude results

Page 46: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Discrete time models - Conclusions

- Discrete time models better suit the inherent

discrete nature of sampled data- Least squares parameter identification

- Disadvantage in that they are black-box- Parameters have no direct physical interpretation

- However, can be given a ‘shade of grey’ by identifying

subcomponents that have physical meaning

- Range of linear and nonlinear model structures

available

- CFD offers a range of testing and measurement

possibilities for obtaining useful data

Page 47: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Adaptive Control

* Davidson, Genest and Ringwood , Adaptive control of a wave energy converter

simulated in a numerical wave tank, Proc. 12th EWTEC, Cork, 2017

Page 48: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Optimal control (1/2)

• Based on a receding horizon PS control algorithm

• The state and control variables are approximated by their truncated series

on a given set of orthogonal functions on a fixed control horizon I=[t,t+TH]

• The basis function chosen for the optimal control are the half-range

Chebyshev Fourier functions (see next slide)

• The performance function maximised by the control algorithm

corresponds to the absorbed energy

`

• Since all the basis function are orthogonal, the cost function is directly

proportional to:

Page 49: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

HRCF functions

Page 50: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Optimal control (2/2)

• Whilst maximising the cost function, J, the control algorithm needs to

ensure that the dynamical equations describing the system are satisfied :

• Expressed in terms of residuals, and replacing each state and control

variable by the truncated series:

Where, D is the differentiation matrix, R is the radiation matrix

corresponding to the radiation force generated by the velocity over the

control horizon and Fr(t) is the radiation force generated by past velocities

Page 51: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Model initialization- Choosing 7 basis functions in the RHPS control model leads to a 15x30 matrix of parameters

M

N

Page 52: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Adaptive control - Results

Page 53: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Adaptive control - Parameter adaption

Page 54: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Adaptive control - Parameter adaption

Page 55: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Adaptive control - Backstepping

Page 56: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Adaptive control - Results

Page 57: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Future work

- Implement PTO and mooring models in NWT

- Extend PTO control evaluation, to holistic control evaluation

- Adaptable control of physical properties of the WEC

- Geometry. Inertia, submergence etc

- Implement controllers outside of MATLAB

- … make comparison between CFD and fully nonlinear potential

flow NWT for WEC under controlled conditions

Page 58: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Overall Conclusions

- Numerical Wave Tanks are a valuable tool for WEC analysis and

development

- Modern computational power, makes CFD feasible for some, but

perhaps not all, applications (yet?)

- SPH could also prove useful, particularly for cases where CFD has

difficulties in handling large amplitude mesh motion

- Identifying nonlinear parametric models from CFD experiments,

allows long duration simulation to be run quickly

- Evaluating model based controllers should be performed with a

simulation model different from the control model

Page 59: Evaluating energy maximising control systems for WECs ......Example –Heaving cone 0.2m 0.8m * Davidson, Giorgi and Ringwood, Numerical wave tank identification of nonlinear discrete-time

Discussion / questions???

Acknowledgement: This presentation is based upon work supported

by Science Foundation Ireland under Grant No. 13/IA/1886.