ocean thermal energy conversion (otec) is a way of getting useful energy from the world's oceans. the sun shines on the oceans of the world and in the hot parts near the water at the sea's surface can be quite warm, sometimes as high as 30°c.