Necessary conditions for solar power grid connection