Comparative analysis of performance for seven and five levels inverter