I quickly drew up this circuit area to try and understand it. This is part of a battery charger. 120VAC to 24VDC/20A. AC power is simply directly to a step down transformer, then through rectifier diodes and oil filled cap.
I am rather confident this alternistor is toast as the gate is shorted to T1. However, I am trying to source a replacement and trying to understand the circuit better to make sure I spec the triac correctly.
The triac is a Q4025P, an opto is a MOC3031
From the looks of the circuit, it looks like the gate gets AC power? How can that be right? It almost looks like the circuit is designed to take advantage of the Vdrop through the triac to operate the gate but....