How do I size a transformer for the harmonic distortion of an electric vehicle (EV) charger?

Level 1, 2 and 3 chargers should be considered as DC power supplies which will cause voltage and current harmonics. Harmonics will cause distortion and extra heating in a transformer. A transformer's kVA size or K-Factor (minimum K=4) should be specified to handle the extra heating caused by these harmonics.