Wait a moment and close the Right switch for welding!
EveryCircuit doesn't have a Optocoupler so I maked a Current-controlled current source to instead it.
At the first, the transformer coil will charged to 15 amps, then the CMOS will off. Energy will return to the capacitor across two diodes. When return finished, the CMOS will restart and the transfromer coil will charged again.
This circuit is not good enough so I will improve this later.
Made in China, isNaN2