Electric welding and energy storage studs