Modeling of air-conditioner compressor single phase induction motor for transient analysis