With the development of the economy, as a hub for waterway transportation, ports not only bring convenience to trade and transportation, but also bring environmental pollution problems to ports due to docked ships. To accelerate the construction of green ports, the world is vigorously promoting the use of shore power in ports.