modelTwoPin

Two pins

Extends from Modelica.Electrical.QuasiStatic.SinglePhase.Interfaces.TwoPinElementary (Elementary two pins with reference connection, without declaration of voltage and current).

Information

This partial model uses a positive and negative pin and defines the complex voltage difference as well as the complex current (into the positive pin). Additionally, the angular velocity of the quasi-static system is explicitly defined as variable. This model is mainly intended to be used with graphical representation of user models.

See also

PositivePin, NegativePin, TwoPinElementary, OnePort

Connectors

TypeNameDefaultDescription
PositivePinpin_p (from TwoPinElementary)Positive quasi-static single-phase pin
NegativePinpin_n (from TwoPinElementary)Negative quasi-static single-phase pin

Components

TypeNameDefaultDescription
SI.AngularVelocityomega (from TwoPinElementary)Angular velocity of reference frame
SI.ComplexVoltagevComplex voltage
SI.Voltageabs_vModelica.ComplexMath.abs(v)Magnitude of complex voltage
SI.Anglearg_vModelica.ComplexMath.arg(v)Argument of complex voltage
SI.ComplexCurrentiComplex current
SI.Currentabs_iModelica.ComplexMath.abs(i)Magnitude of complex current
SI.Anglearg_iModelica.ComplexMath.arg(i)Argument of complex current
SI.ActivePowerPModelica.ComplexMath.real(v*Modelica.ComplexMath.conj(i))Active power
SI.ReactivePowerQModelica.ComplexMath.imag(v*Modelica.ComplexMath.conj(i))Reactive power
SI.ApparentPowerSModelica.ComplexMath.abs(v*Modelica.ComplexMath.conj(i))Magnitude of complex apparent power
Realpfcos(Modelica.ComplexMath.arg(Complex(P, Q)))Power factor