Assessing the optimal location for a shoreline wave energy converter