Arc welding by means of accumulated energy