Mathematical modelling of a floating Clam-type wave energy converter