Automated Power-Line Filter Design Under High 50-Hz Current Load Conditions