Modelling a Triac without the electrical palette

I want to model this circuite.


U_n comes from a ideal Voltagesource. Has someone an idea how to model a triac, because there is no thyristor block in xcos.

thanks in advance.