Inverter to run power tools