Numerical study on the performance of a wave energy converter with three hinged bodies