SinglePhaseTriac
Triode for alternating current
![]()
Library
Modelica/Electrical/PowerConverters/ACAC
Description
Simplified model of a triode for alternating current, built from two antiparallel thyristors.thyristor1 has to be fired during the positive halfwave of the voltage.thyristor2 has to be fired during the negative halfwave of the voltage.
Note: A real triac is fired in positive direction (thyristor1) by a positive gate current and in negative direction (thyristor2) by a negative gate current.The triac goes in blocking condition when the current falls to zero.
This behaviour is simulated by the two firing gates fire1 and fire2:
fire1=falseandfire2=false: gate current = 0, stay in blocking conditionfire1=trueandfire2=false: gate current > 0, firethyristor1fire1=falseandfire2=true: gate current < 0, firethyristor2fire1=trueandfire2=true: forbidden
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_Ron | Ron | Forward state-on differential resistance (closed resistance) | Scalar | |
mo_Goff | Goff | Backward state-off conductance (opened conductance) | Scalar | |
mo_Vknee | Vknee | Forward threshold voltage | Scalar | |
mo_useHeatPort | useHeatPort | = true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'v' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
p | implicit | Positive electrical pin | input | 1 |
n | implicit | Negative electrical pin | output | 1 |
fire1 | implicit | input | 2 | |
fire2 | implicit | input | 3 | |
Port 5 | implicit | Conditional heat port | input | mo_useHeatPort |