modelOnePort
Two pins, current through
Extends from TwoPin (Two pins).
Information
This partial model is based on TwoPin and additionally considers the complex current balance of the positive and the negative pin. This model is intended to be used with textual representation of user models.
See also
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | pin_p (from TwoPinElementary) | Positive quasi-static single-phase pin | |
| NegativePin | pin_n (from TwoPinElementary) | Negative quasi-static single-phase pin |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularVelocity | omega (from TwoPinElementary) | Angular velocity of reference frame | |
| SI.ComplexVoltage | v (from TwoPin) | Complex voltage | |
| SI.Voltage | abs_v (from TwoPin) | Modelica.ComplexMath.abs(v) | Magnitude of complex voltage |
| SI.Angle | arg_v (from TwoPin) | Modelica.ComplexMath.arg(v) | Argument of complex voltage |
| SI.ComplexCurrent | i (from TwoPin) | Complex current | |
| SI.Current | abs_i (from TwoPin) | Modelica.ComplexMath.abs(i) | Magnitude of complex current |
| SI.Angle | arg_i (from TwoPin) | Modelica.ComplexMath.arg(i) | Argument of complex current |
| SI.ActivePower | P (from TwoPin) | Modelica.ComplexMath.real(v*Modelica.ComplexMath.conj(i)) | Active power |
| SI.ReactivePower | Q (from TwoPin) | Modelica.ComplexMath.imag(v*Modelica.ComplexMath.conj(i)) | Reactive power |
| SI.ApparentPower | S (from TwoPin) | Modelica.ComplexMath.abs(v*Modelica.ComplexMath.conj(i)) | Magnitude of complex apparent power |
| Real | pf (from TwoPin) | cos(Modelica.ComplexMath.arg(Complex(P, Q))) | Power factor |