PolyphaseTriac
Triodes for alternating current
![]()
Library
Modelica/Electrical/PowerConverters/ACAC
Description
Simplified model of mtriodes for alternating current, each 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_m | m | Number of phases | Scalar | |
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_mh | mh | Number of heatPorts=number of phases | Scalar | |
mo_useHeatPort | useHeatPort | = true, if all heat ports are enabled | Number | 0 |
mo_T | T | Fixed device temperatures if useHeatPort = false | Vector |

| 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 |
|---|---|---|---|---|
plug_p | implicit | Positive polyphase electrical plug with m pins | input | 1 |
plug_n | implicit | Negative polyphase electrical plug with m pins | output | 1 |
fire1 | implicit | input | 2 | |
fire2 | implicit | input | 3 | |
Port 5 | implicit | Conditional heat ports | input | mo_useHeatPort |