I. Introduction
As an important hub for marine transportation, the port is being gradually developed into the most important logistics information center in the world. Meanwhile, it is also a major energy consumer and polluter in the surrounding area due to the energy-intensive processes, logistics, and industries. Air pollutants from ships, port freight vehicles, and port equipment include particulate matter, sulfur dioxide, and nitrogen oxides, and the shipping sector contributes up to 2.2% of total global emissions [1]. With the clean and inexhaustible nature of renewable energy, the seaport microgrid (SMG) with cold ironing based on distributed generation (DG) is a promising solution for the full electrification of ports in the future. It can also provide redundancy for port power systems as a backup of the main grid [2]. In terms of system security and seaport demands, SMGs have also nonnegligible issues concerning device safety and power quality in them.