Inverter for pumping stations