Conditions for wind and solar power generation