This package contains analog electrical multiphase components with idealized behaviour, like thyristor, diode, switch, transformer.
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
IdealThyristor | Multiphase ideal thyristor |
IdealGTOThyristor | Multiphase ideal GTO thyristor |
IdealCommutingSwitch | Multiphase ideal commuting switch |
IdealIntermediateSwitch | Multiphase ideal intermediate switch |
IdealDiode | Multiphase ideal diode |
IdealTransformer | Multiphase ideal transformer |
Idle | Multiphase idle branch |
Short | Multiphase short cut branch |
IdealOpeningSwitch | Multiphase ideal opener |
IdealClosingSwitch | Multiphase ideal closer |
OpenerWithArc | Multiphase opener with arc |
CloserWithArc | Multiphase closer with arc |
Contains m ideal thyristors (Modelica.Electrical.Analog.Ideal.IdealThyristor).
Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed thyristor resistance [Ohm] | |
Conductance | Goff[m] | Opened thyristor conductance [S] | |
Voltage | Vknee[m] | Treshold voltage [V] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] | |
input BooleanInput | fire[m] |
model IdealThyristor "Multiphase ideal thyristor" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start= fill(1.E-5, m)) "Closed thyristor resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened thyristor conductance"; parameter Modelica.SIunits.Voltage Vknee[m](final min=zeros(m), start = zeros(m)) "Treshold voltage"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput fire[m]; Modelica.Electrical.Analog.Ideal.IdealThyristor idealThyristor[m]( final Ron=Ron, final Goff=Goff, final Vknee=Vknee, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin, idealThyristor.p); connect(idealThyristor.n, plug_n.pin); connect(fire, idealThyristor.fire); connect(idealThyristor.heatPort, heatPort); end IdealThyristor;
Contains m ideal GTO thyristors (Modelica.Electrical.Analog.Ideal.IdealGTOThyristor).
Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed thyristor resistance [Ohm] | |
Conductance | Goff[m] | Opened thyristor conductance [S] | |
Voltage | Vknee[m] | Treshold voltage [V] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] | |
input BooleanInput | fire[m] |
model IdealGTOThyristor "Multiphase ideal GTO thyristor" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed thyristor resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened thyristor conductance"; parameter Modelica.SIunits.Voltage Vknee[m](final min=zeros(m), start = zeros(m)) "Treshold voltage"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput fire[m]; Modelica.Electrical.Analog.Ideal.IdealGTOThyristor idealGTOThyristor[m]( final Ron=Ron, final Goff=Goff, final Vknee=Vknee, each final useHeatPort=useHeatPort); equationconnect(idealGTOThyristor.p, plug_p.pin); connect(idealGTOThyristor.n, plug_n.pin); connect(fire, idealGTOThyristor.fire); connect(idealGTOThyristor.heatPort, heatPort); end IdealGTOThyristor;
Contains m ideal commuting switches (Modelica.Electrical.Analog.Ideal.IdealCommutingSwitch).
Extends from Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed switch resistance [Ohm] | |
Conductance | Goff[m] | Opened switch conductance [S] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
HeatPort_a | heatPort[mh] | |
input BooleanInput | control[m] | true => p--n2 connected, false => p--n1 connected |
PositivePlug | plug_p | |
NegativePlug | plug_n2 | |
NegativePlug | plug_n1 |
model IdealCommutingSwitch "Multiphase ideal commuting switch" parameter Integer m(final min=1) = 3 "Number of phases"; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed switch resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened switch conductance"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput control[m] "true => p--n2 connected, false => p--n1 connected"; Interfaces.PositivePlug plug_p(final m=m); Interfaces.NegativePlug plug_n2(final m=m); Interfaces.NegativePlug plug_n1(final m=m); Modelica.Electrical.Analog.Ideal.IdealCommutingSwitch idealCommutingSwitch[ m]( final Ron=Ron, final Goff=Goff, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin, idealCommutingSwitch.p); connect(idealCommutingSwitch.n2, plug_n2.pin); connect(idealCommutingSwitch.n1, plug_n1.pin); connect(control, idealCommutingSwitch.control); connect(idealCommutingSwitch.heatPort, heatPort); end IdealCommutingSwitch;
Contains m ideal intermediate switches (Modelica.Electrical.Analog.Ideal.IdealIntermediateSwitch).
Extends from Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed switch resistance [Ohm] | |
Conductance | Goff[m] | Opened switch conductance [S] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
HeatPort_a | heatPort[mh] | |
input BooleanInput | control[m] | true => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected |
PositivePlug | plug_p1 | |
PositivePlug | plug_p2 | |
NegativePlug | plug_n2 | |
NegativePlug | plug_n1 |
model IdealIntermediateSwitch "Multiphase ideal intermediate switch" parameter Integer m(final min=1) = 3 "Number of phases"; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed switch resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened switch conductance"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput control[m] "true => p1--n2, p2--n1 connected, otherwise p1--n1, p2--n2 connected"; Interfaces.PositivePlug plug_p1(final m=m); Interfaces.PositivePlug plug_p2(final m=m); Interfaces.NegativePlug plug_n2(final m=m); Interfaces.NegativePlug plug_n1(final m=m); Modelica.Electrical.Analog.Ideal.IdealIntermediateSwitch idealIntermediateSwitch[m]( final Ron=Ron, final Goff=Goff, each final useHeatPort=useHeatPort); equationconnect(plug_p2.pin, idealIntermediateSwitch.p2); connect(idealIntermediateSwitch.n2, plug_n2.pin); connect(idealIntermediateSwitch.p1, plug_p1.pin); connect(idealIntermediateSwitch.n1, plug_n1.pin); connect(control, idealIntermediateSwitch.control); connect(idealIntermediateSwitch.heatPort, heatPort); end IdealIntermediateSwitch;
Contains m ideal diodes (Modelica.Electrical.Analog.Ideal.IdealDiode).
Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed diode resistance [Ohm] | |
Conductance | Goff[m] | Opened diode conductance [S] | |
Voltage | Vknee[m] | Treshold voltage [V] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] |
model IdealDiode "Multiphase ideal diode" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed diode resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened diode conductance"; parameter Modelica.SIunits.Voltage Vknee[m](final min=zeros(m), start = zeros(m)) "Treshold voltage"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode[m]( final Ron=Ron, final Goff=Goff, final Vknee=Vknee, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin, idealDiode.p); connect(idealDiode.n, plug_n.pin); end IdealDiode;
Contains m ideal transformers (Modelica.Electrical.Analog.Ideal.IdealTransformer).
Note: Due to the above equations, also DC signals will be transformed!
Extends from Interfaces.FourPlug (Component with two m-phase electric ports).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Real | n[m] | Turns ratio | |
Boolean | considerMagnetization | false | Choice of considering magnetization |
Inductance | Lm1[m] | Magnetization inductances w.r.t. primary side [H] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p1 | |
PositivePlug | plug_p2 | |
NegativePlug | plug_n1 | |
NegativePlug | plug_n2 |
model IdealTransformer "Multiphase ideal transformer" extends Interfaces.FourPlug; parameter Real n[m](start=fill(1, m)) "Turns ratio"; parameter Boolean considerMagnetization=false "Choice of considering magnetization"; parameter SIunits.Inductance Lm1[m](start=fill(1,m)) "Magnetization inductances w.r.t. primary side";Modelica.Electrical.Analog.Ideal.IdealTransformer idealTransformer[m]( final n=n, each final considerMagnetization=considerMagnetization, final Lm1=Lm1); equationconnect(plug_p1.pin, idealTransformer.p1); connect(plug_p2.pin, idealTransformer.p2); connect(plug_n1.pin, idealTransformer.n1); connect(plug_n2.pin, idealTransformer.n2); end IdealTransformer;
Contains m idles (Modelica.Electrical.Analog.Ideal.Idle)
Extends from Interfaces.TwoPlug (Component with one m-phase electric port).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n |
model Idle "Multiphase idle branch" extends Interfaces.TwoPlug;Modelica.Electrical.Analog.Ideal.Idle idle[m]; equationconnect(plug_p.pin, idle.p); connect(idle.n, plug_n.pin); end Idle;
Contains m short cuts (Modelica.Electrical.Analog.Ideal.Short)
Extends from Interfaces.TwoPlug (Component with one m-phase electric port).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n |
model Short "Multiphase short cut branch" extends Interfaces.TwoPlug;Modelica.Electrical.Analog.Ideal.Short short[m]; equationconnect(plug_p.pin, short.p); connect(short.n, plug_n.pin); end Short;
Contains m ideal opening switches (Modelica.Electrical.Analog.Ideal.IdealOpeningSwitch).
Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed switch resistance [Ohm] | |
Conductance | Goff[m] | Opened switch conductance [S] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] | |
input BooleanInput | control[m] | true => switch open, false => p--n connected |
model IdealOpeningSwitch "Multiphase ideal opener" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed switch resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened switch conductance"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput control[m] "true => switch open, false => p--n connected"; Modelica.Electrical.Analog.Ideal.IdealOpeningSwitch idealOpeningSwitch[m]( final Ron=Ron, final Goff=Goff, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin, idealOpeningSwitch.p); connect(idealOpeningSwitch.n, plug_n.pin); connect(control, idealOpeningSwitch.control); connect(idealOpeningSwitch.heatPort, heatPort); end IdealOpeningSwitch;
Contains m ideal closing switches (Modelica.Electrical.Analog.Ideal.IdealClosingSwitch).
<Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed switch resistance [Ohm] | |
Conductance | Goff[m] | Opened switch conductance [S] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] | |
input BooleanInput | control[m] | true => p--n connected, false => switch open |
model IdealClosingSwitch "Multiphase ideal closer" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed switch resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened switch conductance"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput control[m] "true => p--n connected, false => switch open"; Modelica.Electrical.Analog.Ideal.IdealClosingSwitch idealClosingSwitch[m]( final Ron=Ron, final Goff=Goff, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin, idealClosingSwitch.p); connect(idealClosingSwitch.n, plug_n.pin); connect(control, idealClosingSwitch.control); connect(idealClosingSwitch.heatPort, heatPort); end IdealClosingSwitch;
Contains m opening switches with arc (Modelica.Electrical.Analog.Ideal.OpenerWithArc).
Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed switch resistance [Ohm] | |
Conductance | Goff[m] | Opened switch conductance [S] | |
Voltage | V0[m] | Initial arc voltage [V] | |
VoltageSlope | dVdt[m] | Arc voltage slope [V/s] | |
Voltage | Vmax[m] | Max. arc voltage [V] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] | |
input BooleanInput | control[m] | true => switch open, false => p--n connected |
model OpenerWithArc "Multiphase opener with arc" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed switch resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened switch conductance"; parameter Modelica.SIunits.Voltage V0[m](start=fill(30,m)) "Initial arc voltage"; parameter Modelica.SIunits.VoltageSlope dVdt[m](start=fill(10E3,m)) "Arc voltage slope"; parameter Modelica.SIunits.Voltage Vmax[m](start=fill(60,m)) "Max. arc voltage"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput control[m] "true => switch open, false => p--n connected"; Modelica.Electrical.Analog.Ideal.OpenerWithArc openerWithArc[m]( final Ron=Ron, final Goff=Goff, final V0=V0, final dVdt=dVdt, final Vmax=Vmax, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin, openerWithArc.p); connect(openerWithArc.n, plug_n.pin); connect(control, openerWithArc.control); connect(openerWithArc.heatPort, heatPort); end OpenerWithArc;
Contains m closing switches with arc (Modelica.Electrical.Analog.Ideal.CloserWithArc).
Extends from Interfaces.TwoPlug (Component with one m-phase electric port), Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Type | Name | Default | Description |
---|---|---|---|
Integer | m | 3 | Number of phases |
Resistance | Ron[m] | Closed switch resistance [Ohm] | |
Conductance | Goff[m] | Opened switch conductance [S] | |
Voltage | V0[m] | Initial arc voltage [V] | |
VoltageSlope | dVdt[m] | Arc voltage slope [V/s] | |
Voltage | Vmax[m] | Max. arc voltage [V] | |
Integer | mh | m | Number of heatPorts=number of phases |
Boolean | useHeatPort | false | =true, if all HeatPorts are enabled |
Temperature | T[mh] | fill(293.15, m) | Fixed device temperatures if useHeatPort = false [K] |
Type | Name | Description |
---|---|---|
PositivePlug | plug_p | |
NegativePlug | plug_n | |
HeatPort_a | heatPort[mh] | |
input BooleanInput | control[m] | true => switch open, false => p--n connected |
model CloserWithArc "Multiphase closer with arc" extends Interfaces.TwoPlug; parameter Modelica.SIunits.Resistance Ron[m](final min=zeros(m), start = fill(1.E-5, m)) "Closed switch resistance"; parameter Modelica.SIunits.Conductance Goff[m](final min=zeros(m), start = fill(1.E-5, m)) "Opened switch conductance"; parameter Modelica.SIunits.Voltage V0[m](start=fill(30,m)) "Initial arc voltage"; parameter Modelica.SIunits.VoltageSlope dVdt[m](start=fill(10E3,m)) "Arc voltage slope"; parameter Modelica.SIunits.Voltage Vmax[m](start=fill(60,m)) "Max. arc voltage"; extends Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort(final mh=m, final T=fill(293.15,m));Modelica.Blocks.Interfaces.BooleanInput control[m] "true => switch open, false => p--n connected"; Modelica.Electrical.Analog.Ideal.CloserWithArc closerWithArc[m]( final Ron=Ron, final Goff=Goff, final V0=V0, final dVdt=dVdt, final Vmax=Vmax, each final useHeatPort=useHeatPort); equationconnect(plug_p.pin,closerWithArc. p); connect(closerWithArc.n, plug_n.pin); connect(control,closerWithArc. control); connect(closerWithArc.heatPort, heatPort); end CloserWithArc;