Wiring an inverter