Modeling and identification of a bridge rectifier under quasi-sinusoidal conditions