Working principle of wind and solar street lights