Generalized convertor models for iterative harmonic analysis in power systems