modelTwoPort

Elementary partial two port for textual programming

Extends from Magnetic.QuasiStatic.FundamentalWave.Interfaces.TwoPortExtended (Partial two port for graphical programming with additional variables).

Information

The partial two port elementary model extends from the partial two port model and adds one equation considering the balance of flow variables, port_p.Phi + port_n.Phi = Complex(0,0). Additionally, a variable for magnetic potential difference of the two magnetic ports, V_m, and the flux into the positive port, Phi, are defined.

Connectors

TypeNameDefaultDescription
FundamentalWave.Interfaces.PositiveMagneticPortport_p (from TwoPortElementary)Positive quasi-static magnetic port of fundamental wave machines
FundamentalWave.Interfaces.NegativeMagneticPortport_n (from TwoPortElementary)Negative quasi-static magnetic port of fundamental wave machines

Components

TypeNameDefaultDescription
SI.AngularVelocityomega (from TwoPortElementary)der(port_p.reference.gamma)Reference angular velocity (= der(port_p.reference.gamma))
SI.ComplexMagneticPotentialDifferenceV_m (from TwoPortExtended)port_p.V_m - port_n.V_mComplex magnetic potential difference
SI.MagneticPotentialDifferenceabs_V_m (from TwoPortExtended)Modelica.ComplexMath.abs(V_m)Magnitude of complex magnetic potential difference
SI.Anglearg_V_m (from TwoPortExtended)Modelica.ComplexMath.arg(V_m)Argument of complex magnetic potential difference
SI.ComplexMagneticFluxPhi (from TwoPortExtended)port_p.PhiComplex magnetic flux
SI.MagneticFluxabs_Phi (from TwoPortExtended)Modelica.ComplexMath.abs(Phi)Magnitude of complex magnetic flux
SI.Anglearg_Phi (from TwoPortExtended)Modelica.ComplexMath.arg(Phi)Argument of complex magnetic flux