I. introduction
The diffusion and power of distorting electrical loads has constantly increased over the last decades, due to the high flexibility and efficiency of power electronics. A further diffusion is expected in the future, in the new smart-grid scenario, based on distributed generation, where almost every load can become virtually a generator.