Optimal Power Generation using Solar System