Giant power plants built along the shore would capture water.
If the water drops by more than 38 degrees Celsius(daytime to nighttime), then energy can be saved and turned into electricity. OTEC is more s reliable because it is not located far out to sea like wave-generator machines. These machines lose some of their power when they send the electricity hundreds of kilometers to the shore.