Wind is solar energy, it's the product of the sun heating air.
Given that the sun puts down about 800 watts /m2 (1HP/sq yd of surface
area) there's plenty of power "available" & it can keep the wind blowing
even when in darkness, because of the aggregate huge amounts of energy
that are deposited every 24 hrs.