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
| Type | Name | Default | Description |
|---|---|---|---|
| FundamentalWave.Interfaces.PositiveMagneticPort | port_p (from TwoPortElementary) | Positive quasi-static magnetic port of fundamental wave machines | |
| FundamentalWave.Interfaces.NegativeMagneticPort | port_n (from TwoPortElementary) | Negative quasi-static magnetic port of fundamental wave machines |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularVelocity | omega (from TwoPortElementary) | der(port_p.reference.gamma) | Reference angular velocity (= der(port_p.reference.gamma)) |
| SI.ComplexMagneticPotentialDifference | V_m (from TwoPortExtended) | port_p.V_m - port_n.V_m | Complex magnetic potential difference |
| SI.MagneticPotentialDifference | abs_V_m (from TwoPortExtended) | Modelica.ComplexMath.abs(V_m) | Magnitude of complex magnetic potential difference |
| SI.Angle | arg_V_m (from TwoPortExtended) | Modelica.ComplexMath.arg(V_m) | Argument of complex magnetic potential difference |
| SI.ComplexMagneticFlux | Phi (from TwoPortExtended) | port_p.Phi | Complex magnetic flux |
| SI.MagneticFlux | abs_Phi (from TwoPortExtended) | Modelica.ComplexMath.abs(Phi) | Magnitude of complex magnetic flux |
| SI.Angle | arg_Phi (from TwoPortExtended) | Modelica.ComplexMath.arg(Phi) | Argument of complex magnetic flux |