modelTwoPort

Component with two electrical ports, including current

Information

TwoPort is a partial model that consists of two ports. Like OnePort each port has two pins. It is assumed that the current flowing into the positive pin is identical to the current flowing out of pin n. This currents of each port are provided explicitly as currents i1 and i2, the voltages respectively as v1 and v2.

Connectors

TypeNameDefaultDescription
ADMSL.MSL.Electrical.Analog.Interfaces.PositivePinp1Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1)
MSL.Electrical.Analog.Interfaces.NegativePinn1Negative pin of the left port
MSL.Electrical.Analog.Interfaces.PositivePinp2Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2)
MSL.Electrical.Analog.Interfaces.NegativePinn2Negative pin of the right port

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev1Voltage drop over the left port
Modelica.SIunits.Voltagev2Voltage drop over the right port
Modelica.SIunits.Currenti1Current flowing from pos. to neg. pin of the left port
Modelica.SIunits.Currenti2Current flowing from pos. to neg. pin of the right port

Revisions

  • 1998 by Christoph Clauss
    initially implemented