Title: A simulation study of power factor and harmonics