Design of oscillating-water-column wave energy converters with an application to self-powered sensor buoys