Modelica.Electrical.MultiPhase.Interfaces

Interfaces for electrical multiphase models

Information


This package contains connectors and interfaces (partial models) for electrical multiphase components, based on Modelica.Electrical.Analog.

Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).

Package Content

NameDescription
Modelica.Electrical.MultiPhase.Interfaces.Plug Plug Plug with m pins for an electric component
Modelica.Electrical.MultiPhase.Interfaces.PositivePlug PositivePlug Positive plug with m pins
Modelica.Electrical.MultiPhase.Interfaces.NegativePlug NegativePlug Negative plug with m pins
Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort ConditionalHeatPort Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network
Modelica.Electrical.MultiPhase.Interfaces.TwoPlug TwoPlug Component with one m-phase electric port
Modelica.Electrical.MultiPhase.Interfaces.OnePort OnePort Component with two electrical plugs and currents from plug_p to plug_n
Modelica.Electrical.MultiPhase.Interfaces.FourPlug FourPlug Component with two m-phase electric ports
Modelica.Electrical.MultiPhase.Interfaces.TwoPort TwoPort Component with two m-phase electric ports, including currents


Modelica.Electrical.MultiPhase.Interfaces.Plug

Plug with m pins for an electric component

Modelica.Electrical.MultiPhase.Interfaces.Plug

Information


Connectors PositivePlug and NegativePlug are nearly identical. The only difference is that the icons are different in order to identify more easily the plugs of a component. Usually, connector PositivePlug is used for the positive and connector NegativePlug for the negative plug of an electrical component.
Connector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Contents

TypeNameDescription
IntegermNumber of phases
Pinpin[m] 

Modelica definition

connector Plug "Plug with m pins for an electric component"
  parameter Integer m(final min=1) = 3 "Number of phases";
  Modelica.Electrical.Analog.Interfaces.Pin pin[m];

end Plug;

Modelica.Electrical.MultiPhase.Interfaces.PositivePlug Modelica.Electrical.MultiPhase.Interfaces.PositivePlug

Positive plug with m pins

Modelica.Electrical.MultiPhase.Interfaces.PositivePlug

Information


Connectors PositivePlug and NegativePlug are nearly identical. The only difference is that the icons are different in order to identify more easily the plugs of a component. Usually, connector PositivePlug is used for the positive and connector NegativePlug for the negative plug of an electrical component.
Connector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).

Extends from Plug (Plug with m pins for an electric component).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Contents

TypeNameDescription
IntegermNumber of phases
Pinpin[m] 

Modelica definition

connector PositivePlug "Positive plug with m pins"
  extends Plug;

end PositivePlug;

Modelica.Electrical.MultiPhase.Interfaces.NegativePlug Modelica.Electrical.MultiPhase.Interfaces.NegativePlug

Negative plug with m pins

Modelica.Electrical.MultiPhase.Interfaces.NegativePlug

Information


Connectors PositivePlug and NegativePlug are nearly identical. The only difference is that the icons are different in order to identify more easily the plugs of a component. Usually, connector PositivePlug is used for the positive and connector NegativePlug for the negative plug of an electrical component.
Connector Plug is a composite connector containing m Pins (Modelica.Electrical.Analog.Interfaces.Pin).

Extends from Plug (Plug with m pins for an electric component).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Contents

TypeNameDescription
IntegermNumber of phases
Pinpin[m] 

Modelica definition

connector NegativePlug "Negative plug with m pins"
  extends Plug;
end NegativePlug;

Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort

Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network

Modelica.Electrical.MultiPhase.Interfaces.ConditionalHeatPort

Information


This partial model provides conditional heat ports for the connection to a thermal network.

Parameters

TypeNameDefaultDescription
Integermh3Number of heatPorts=number of phases
BooleanuseHeatPortfalse=true, if all HeatPorts are enabled
TemperatureT[mh]fill(293.15, mh)Fixed device temperatures if useHeatPort = false [K]

Connectors

TypeNameDescription
HeatPort_aheatPort[mh] 

Modelica definition

partial model ConditionalHeatPort 
  "Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network"
  parameter Integer mh(min=1)=3 "Number of heatPorts=number of phases";
  parameter Boolean useHeatPort = false "=true, if all HeatPorts are enabled";
  parameter Modelica.SIunits.Temperature T[mh]=fill(293.15, mh) 
    "Fixed device temperatures if useHeatPort = false";
  Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a heatPort[mh] if useHeatPort;
end ConditionalHeatPort;

Modelica.Electrical.MultiPhase.Interfaces.TwoPlug Modelica.Electrical.MultiPhase.Interfaces.TwoPlug

Component with one m-phase electric port

Modelica.Electrical.MultiPhase.Interfaces.TwoPlug

Information


Superclass of elements which have two electrical plugs: the positive plug connector plug_p, and the negative plug connector plug_n. The currents flowing into plug_p are provided explicitly as currents i[m].

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 

Modelica definition

partial model TwoPlug "Component with one m-phase electric port"
  parameter Integer m(min=1) = 3 "Number of phases";
  Modelica.SIunits.Voltage v[m] "Voltage drops between the two plugs";
  Modelica.SIunits.Current i[m] "Currents flowing into positive plugs";
  PositivePlug plug_p(final m=m);
  NegativePlug plug_n(final m=m);
equation 
  v = plug_p.pin.v - plug_n.pin.v;
  i = plug_p.pin.i;
end TwoPlug;

Modelica.Electrical.MultiPhase.Interfaces.OnePort Modelica.Electrical.MultiPhase.Interfaces.OnePort

Component with two electrical plugs and currents from plug_p to plug_n

Modelica.Electrical.MultiPhase.Interfaces.OnePort

Information


Superclass of elements which have two electrical plugs: the positive plug connector plug_p, and the negative plug connector plug_n. The currents flowing into plug_p are provided explicitly as currents i[m]. It is assumed that the currents flowing into plug_p are identical to the currents flowing out of plug_n.

Extends from TwoPlug (Component with one m-phase electric port).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p 
NegativePlugplug_n 

Modelica definition

partial model OnePort 
  "Component with two electrical plugs and currents from plug_p to plug_n"

  extends TwoPlug;
equation 
  plug_p.pin.i + plug_n.pin.i = zeros(m);
end OnePort;

Modelica.Electrical.MultiPhase.Interfaces.FourPlug Modelica.Electrical.MultiPhase.Interfaces.FourPlug

Component with two m-phase electric ports

Modelica.Electrical.MultiPhase.Interfaces.FourPlug

Information


Superclass of elements which have four electrical plugs.

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p1 
PositivePlugplug_p2 
NegativePlugplug_n1 
NegativePlugplug_n2 

Modelica definition

partial model FourPlug "Component with two m-phase electric ports"
  parameter Integer m(final min=1) = 3 "Number of phases";
  Modelica.SIunits.Voltage v1[m] "Voltage drops over the left port";
  Modelica.SIunits.Voltage v2[m] "Voltage drops over the right port";
  Modelica.SIunits.Current i1[m] 
    "Current flowing into positive plug of the left port";
  Modelica.SIunits.Current i2[m] 
    "Current flowing into positive plug of the right port";
  PositivePlug plug_p1(final m=m);
  PositivePlug plug_p2(final m=m);
  NegativePlug plug_n1(final m=m);
  NegativePlug plug_n2(final m=m);
equation 
  v1 = plug_p1.pin.v - plug_n1.pin.v;
  v2 = plug_p2.pin.v - plug_n2.pin.v;
  i1 = plug_p1.pin.i;
  i2 = plug_p2.pin.i;
end FourPlug;

Modelica.Electrical.MultiPhase.Interfaces.TwoPort Modelica.Electrical.MultiPhase.Interfaces.TwoPort

Component with two m-phase electric ports, including currents

Modelica.Electrical.MultiPhase.Interfaces.TwoPort

Information


Superclass of elements which have four electrical plugs. It is assumed that the currents flowing into plug_p1 are identical to the currents flowing out of plug_n1, and that the currents flowing into plug_p2 are identical to the currents flowing out of plug_n2.

Extends from FourPlug (Component with two m-phase electric ports).

Parameters

TypeNameDefaultDescription
Integerm3Number of phases

Connectors

TypeNameDescription
PositivePlugplug_p1 
PositivePlugplug_p2 
NegativePlugplug_n1 
NegativePlugplug_n2 

Modelica definition

partial model TwoPort 
  "Component with two m-phase electric ports, including currents"
  extends FourPlug;
equation 
  plug_p1.pin.i + plug_n1.pin.i = zeros(m);
  plug_p2.pin.i + plug_n2.pin.i = zeros(m);
end TwoPort;

Automatically generated Fri Nov 12 16:29:22 2010.