Megawatt-level direct-current charging