Necessary conditions for solar street lights to work