Load management in smart grids considering harmonic distortion and transformer derating | Synapse