Microgrid solution for installation on offshore platform