Design and implementation of solar energy