Photonics and Renewable energy