Nowadays, extensive electrification of maritime transportation, represented by the seaport microgrids and all-electric ships (AESs), has been viewed as a feasible route to enhance the overall system flexibility as well as to mitigate the resulted in growing environmental issues. However, with the…