modelSinglePhaseTriac

Triode for alternating current

Extends from Modelica.Electrical.Analog.Interfaces.TwoPin (Component with two electrical pins).

Information

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=false and fire2=false: gate current = 0, stay in blocking condition
  • fire1=true and fire2=false: gate current > 0, fire thyristor1
  • fire1=false and fire2=true : gate current < 0, fire thyristor2
  • fire1=true and fire2=true : forbidden

Parameters

TypeNameDefaultDescription
SI.ResistanceRon1e-5Forward state-on differential resistance (closed resistance)
SI.ConductanceGoff1e-5Backward state-off conductance (opened conductance)
SI.VoltageVknee0Forward threshold voltage
BooleanuseHeatPortfalse= true, if heatPort is enabled
SI.TemperatureT293.15Fixed device temperature if useHeatPort = false

Connectors

TypeNameDefaultDescription
PositivePinp (from TwoPin)Positive electrical pin
NegativePinn (from TwoPin)Negative electrical pin
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortConditional heat port
Modelica.Blocks.Interfaces.BooleanInputfire1
Modelica.Blocks.Interfaces.BooleanInputfire2

Components

TypeNameDefaultDescription
SI.Voltagev (from TwoPin)Voltage drop of the two pins (= p.v - n.v)
SI.Currentip.iCurrent flowing from pin p to pin n
Modelica.Electrical.Analog.Ideal.IdealThyristorthyristor1
Modelica.Electrical.Analog.Ideal.IdealThyristorthyristor2