Renewable Energy Management: Optimization and control of the renewable energy for Sustaibale Development