Generators driven by ocean waves would work around the clock.
Cloudy, rainy, snowy days affect solar, but not waves.
Wave generation of energy also would not waste our land mass and kill millions of birds.
What’s easiest for an enemy to disrupt? ....Solar
Except when there are no waves.