A sustainable electrical interface to mitigate emissions due to power supply in ports