Text this: Studying and simulating transformer configuration to improve power quality