This information is part of the Modelica Standard Library maintained by the Modelica Association.
The simple TRIAC example shows how the SimpleTriac is used within an alternating current circuit.
The TRIAC is not conducting until the Gate input g becomes positive. Then it becomes "conducting". If the TRIAC voltage changes its direction, the TRIAC becomes blocking. Due to the antiparallel connection of the internal two thyristors the same behavior is repeated in the negative half-wave.
Simulate until 0.001 seconds. Display V.p.v (input voltage), simpleTriac.g.i (gate input), and both simplelTriac.n.v and simpleTriac.n.i, which demonstrate the TRIAC behavior.