Grid Connected Microgrid Optimization and Control for a Coastal Island in the Indian Ocean