Rotational speed control and electrical rated power of an oscillating-water-column wave energy converter