Package Modelica.​Electrical.​MultiPhase.​Basic
Basic components for electrical multiphase models

Information

This package contains basic analog electrical multiphase components.

Extends from Modelica.​Icons.​Package (Icon for standard packages).

Package Contents

NameDescription
CapacitorIdeal linear electrical capacitors
ConductorIdeal linear electrical conductors
DeltaDelta (polygon) connection
InductorIdeal linear electrical inductors
MultiDeltaDelta (polygon) connection of multi phase systems consisting of multiple base systems
MultiStarStar connection of multi phase systems consisting of multiple base systems
MultiStarResistanceResistance connection of star points
MutualInductorLinear mutual inductor
PlugToPin_nConnect one (negative) Pin
PlugToPin_pConnect one (positive) Pin
PlugToPins_nConnect all (negative) Pins
PlugToPins_pConnect all (positive) Pins
ResistorIdeal linear electrical resistors
SaturatingInductorSimple model of inductors with saturation
StarStar-connection
TransformerMultiphase Transformer
VariableCapacitorIdeal linear electrical capacitors with variable capacitance
VariableConductorIdeal linear electrical conductors with variable conductance
VariableInductorIdeal linear electrical inductors with variable inductance
VariableResistorIdeal linear electrical resistors with variable resistance
ZeroInductorLinear zero sequence inductor

Model Modelica.​Electrical.​MultiPhase.​Basic.​Star
Star-connection

Information

Connects all pins of plug_p to pin_n, thus establishing a so-called star-connection.

See also

Delta, MultiStar, MultiDelta

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePinpin_n 

Model Modelica.​Electrical.​MultiPhase.​Basic.​Delta
Delta (polygon) connection

Information

Connects in a cyclic way plug_n.pin[j] to plug_p.pin[j+1], thus establishing a so-called delta (or polygon) connection when used in parallel to another component.

See also

Star, MultiStar, MultiDelta

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 

Model Modelica.​Electrical.​MultiPhase.​Basic.​MultiStar
Star connection of multi phase systems consisting of multiple base systems

Information

Star (wye) connection of a multi phase circuit consisting of multiple base systems (see multi phase guidelines). The potentials at the star points are all equal.

See also

Star, Delta, MultiDelta

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
final IntegermSystemsModelica.Electrical.MultiPhase.Functions.numberOfSymmetricBaseSystems(m)Number of base systems
final IntegermBasicinteger(m / mSystems)Phase number of base systems

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugstarpoints 

Model Modelica.​Electrical.​MultiPhase.​Basic.​MultiDelta
Delta (polygon) connection of multi phase systems consisting of multiple base systems

Information

Delta (polygon) connection of a multi phase circuit consisting of multiple base systems (see multi phase guidelines).

See also

Star, Delta, MultiStar

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
final IntegermSystemsModelica.Electrical.MultiPhase.Functions.numberOfSymmetricBaseSystems(m)Number of base systems
final IntegermBasicinteger(m / mSystems)Phase number of base systems

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 

Model Modelica.​Electrical.​MultiPhase.​Basic.​MultiStarResistance
Resistance connection of star points

Information

Multi star points are connected by resistors. This model is required to operate multi phase systems with even phase numbers to avoid ideal connections of start points of base systems; see multi phase guidelines.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
final IntegermBasicModelica.Electrical.MultiPhase.Functions.numberOfSymmetricBaseSystems(m)Number of symmetric base systems
ResistanceR1000000Insulation resistance between base systems

Connectors

TypeNameDescription
PositivePlugplug 
NegativePinpin 

Model Modelica.​Electrical.​MultiPhase.​Basic.​PlugToPin_p
Connect one (positive) Pin

Information

Connects pin k of plug_p to pin_p, leaving the other pins of plug_p unconnected.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Integerk Phase index

Connectors

TypeNameDescription
PositivePlugplug_p 
PositivePinpin_p 

Model Modelica.​Electrical.​MultiPhase.​Basic.​PlugToPin_n
Connect one (negative) Pin

Information

Connects pin k of plug_n to pin_n, leaving the other pins of plug_n unconnected.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Integerk Phase index

Connectors

TypeNameDescription
NegativePlugplug_n 
NegativePinpin_n 

Model Modelica.​Electrical.​MultiPhase.​Basic.​PlugToPins_p
Connect all (positive) Pins

Information

Connects all pins of plug_p to the pin array pin_p.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
PositivePinpin_p[m] 

Model Modelica.​Electrical.​MultiPhase.​Basic.​PlugToPins_n
Connect all (negative) Pins

Information

Connects all pins of plug_n to the pin array pin_n.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
NegativePlugplug_n 
NegativePinpin_n[m] 

Model Modelica.​Electrical.​MultiPhase.​Basic.​Resistor
Ideal linear electrical resistors

Information

Contains m resistors (Modelica.Electrical.Analog.Basic.Resistor)

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port) and Modelica.​Electrical.​MultiPhase.​Interfaces.​ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
ResistanceR[m] Resistances R_ref at temperatures T_ref
TemperatureT_ref[m]fill(300.15, m)Reference temperatures
LinearTemperatureCoefficientalpha[m]zeros(m)Temperature coefficients of resistances at reference temperatures
final IntegermhmNumber of heatPorts=number of phases
BooleanuseHeatPortfalse=true, if all heat ports are enabled
TemperatureT[mh]T_refFixed device temperatures if useHeatPort = false

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins
HeatPort_aheatPort[mh]Conditional heat ports

Model Modelica.​Electrical.​MultiPhase.​Basic.​Conductor
Ideal linear electrical conductors

Information

Contains m conductors (Modelica.Electrical.Analog.Basic.Conductor)

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port) and Modelica.​Electrical.​MultiPhase.​Interfaces.​ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
ConductanceG[m] Conductances G_ref at temperatures T_ref
TemperatureT_ref[m]fill(300.15, m)Reference temperatures
LinearTemperatureCoefficientalpha[m]zeros(m)Temperature coefficients of conductances at reference temperatures
final IntegermhmNumber of heatPorts=number of phases
BooleanuseHeatPortfalse=true, if all heat ports are enabled
TemperatureT[mh]T_refFixed device temperatures if useHeatPort = false

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins
HeatPort_aheatPort[mh]Conditional heat ports

Model Modelica.​Electrical.​MultiPhase.​Basic.​Capacitor
Ideal linear electrical capacitors

Information

Contains m capacitors (Modelica.Electrical.Analog.Basic.Capacitor)

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
CapacitanceC[m] Capacitance

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins

Model Modelica.​Electrical.​MultiPhase.​Basic.​Inductor
Ideal linear electrical inductors

Information

Contains m inductors (Modelica.Electrical.Analog.Basic.Inductor)

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
InductanceL[m] Inductance

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins

Model Modelica.​Electrical.​MultiPhase.​Basic.​SaturatingInductor
Simple model of inductors with saturation

Information

Contains m saturating inductors (Modelica.Electrical.Analog.Basic.SaturatingInductor)

Attention!!!
Each element of the array of saturatingInductors is only dependent on the current flowing through this element.

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
CurrentInom[m] Nominal current
InductanceLnom[m] Nominal inductance at Nominal current
InductanceLzer[m] Inductance near current=0
InductanceLinf[m] Inductance at large currents

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins

Model Modelica.​Electrical.​MultiPhase.​Basic.​MutualInductor
Linear mutual inductor

Information

Model of a multi phase inductor providing a mutual inductance matrix model.

Implementation

  v[1] = L[1,1]*der(i[1]) + L[1,2]*der(i[2]) + ... + L[1,m]*der(i[m])
  v[2] = L[2,1]*der(i[1]) + L[2,2]*der(i[2]) + ... + L[2,m]*der(i[m])
    :              :                         :                                :
  v[m] = L[m,1]*der(i[1]) + L[m,2]*der(i[2]) + ... + L[m,m]*der(i[m])

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​OnePort (Component with two electrical plugs and currents from plug_p to plug_n).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
Realepsilon1e-9Relative accuracy tolerance of matrix symmetry
InductanceL[m,m] Mutual inductance matrix

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins

Model Modelica.​Electrical.​MultiPhase.​Basic.​ZeroInductor
Linear zero sequence inductor

Information

Model of a multi phase zero sequence inductor.

Implementation

  v = Lzero*sum(der(i)) = Lzero*der(sum(i))

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​OnePort (Component with two electrical plugs and currents from plug_p to plug_n).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
InductanceLzero Zero sequence inductance

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins

Model Modelica.​Electrical.​MultiPhase.​Basic.​Transformer
Multiphase Transformer

Information

Contains m transformers (Modelica.Electrical.Analog.Basic.Transformer)

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​FourPlug (Component with two polyphase electrical ports).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
InductanceL1[m] Primary inductance
InductanceL2[m] Secondary inductance
InductanceM[m] Coupling inductance

Connectors

TypeNameDescription
PositivePlugplug_p1Positive electrical polyphase plug of port 1 with m pins
PositivePlugplug_p2Positive electrical polyphase plug of port 2 with m pins
NegativePlugplug_n1Negative electrical polyphase plug of port 1 with m pins
NegativePlugplug_n2Negative electrical polyphase plug of port 2 with m pins

Model Modelica.​Electrical.​MultiPhase.​Basic.​VariableResistor
Ideal linear electrical resistors with variable resistance

Information

Contains m variable resistors (Modelica.Electrical.Analog.Basic.VariableResistor)

Attention!!!
It is recommended that none of the R_Port signals should not cross the zero value. Otherwise depending on the surrounding circuit the probability of singularities is high.

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port) and Modelica.​Electrical.​MultiPhase.​Interfaces.​ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
TemperatureT_ref[m]fill(300.15, m)Reference temperatures
LinearTemperatureCoefficientalpha[m]zeros(m)Temperature coefficients of resistances at reference temperatures
final IntegermhmNumber of heatPorts=number of phases
BooleanuseHeatPortfalse=true, if all heat ports are enabled
TemperatureT[mh]T_refFixed device temperatures if useHeatPort = false

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins
HeatPort_aheatPort[mh]Conditional heat ports
input RealInputR[m] 

Model Modelica.​Electrical.​MultiPhase.​Basic.​VariableConductor
Ideal linear electrical conductors with variable conductance

Information

Contains m variable conductors (Modelica.Electrical.Analog.Basic.VariableConductor)

Attention!!!
It is recommended that none of the G_Port signals should not cross the zero value. Otherwise depending on the surrounding circuit the probability of singularities is high.

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port) and Modelica.​Electrical.​MultiPhase.​Interfaces.​ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
TemperatureT_ref[m]fill(300.15, m)Reference temperatures
LinearTemperatureCoefficientalpha[m]zeros(m)Temperature coefficients of conductances at reference temperatures
final IntegermhmNumber of heatPorts=number of phases
BooleanuseHeatPortfalse=true, if all heat ports are enabled
TemperatureT[mh]T_refFixed device temperatures if useHeatPort = false

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins
HeatPort_aheatPort[mh]Conditional heat ports
input RealInputG[m] 

Model Modelica.​Electrical.​MultiPhase.​Basic.​VariableCapacitor
Ideal linear electrical capacitors with variable capacitance

Information

Contains m variable capacitors (Modelica.Electrical.Analog.Basic.VariableCapacitor)

It is required that each C_Port.signal ≥ 0, otherwise an assertion is raised. To avoid a variable index system,
C = Cmin, if 0 ≤ C_Port.signal < Cmin, where Cmin is a parameter with default value Modelica.Constants.eps.

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
CapacitanceCmin[m]fill(Modelica.Constants.eps, m)minimum Capacitance

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins
input RealInputC[m] 

Model Modelica.​Electrical.​MultiPhase.​Basic.​VariableInductor
Ideal linear electrical inductors with variable inductance

Information

Contains m variable inductors (Modelica.Electrical.Analog.Basic.VariableInductor)

It is required that each L_Port.signal ≥ 0, otherwise an assertion is raised. To avoid a variable index system,
L = Lmin, if 0 ≤ L_Port.signal < Lmin, where Lmin is a parameter with default value Modelica.Constants.eps.

Extends from Modelica.​Electrical.​MultiPhase.​Interfaces.​TwoPlug (Component with one polyphase electrical port).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases
InductanceLmin[m]fill(Modelica.Constants.eps, m)minimum Inductance

Connectors

TypeNameDescription
PositivePlugplug_pPositive polyphase electrical plug with m pins
NegativePlugplug_nNegative polyphase electrical plug with m pins
input RealInputL[m]