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
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 | Complex voltage | |
| SI.Voltage | abs_v | Modelica.ComplexMath.abs(v) | Magnitude of complex voltage |
| SI.Angle | arg_v | Modelica.ComplexMath.arg(v) | Argument of complex voltage |
| SI.ComplexCurrent | i | Complex current | |
| SI.Current | abs_i | Modelica.ComplexMath.abs(i) | Magnitude of complex current |
| SI.Angle | arg_i | Modelica.ComplexMath.arg(i) | Argument of complex current |
| SI.ActivePower | P | Modelica.ComplexMath.real(v*Modelica.ComplexMath.conj(i)) | Active power |
| SI.ReactivePower | Q | Modelica.ComplexMath.imag(v*Modelica.ComplexMath.conj(i)) | Reactive power |
| SI.ApparentPower | S | Modelica.ComplexMath.abs(v*Modelica.ComplexMath.conj(i)) | Magnitude of complex apparent power |
| Real | pf | cos(Modelica.ComplexMath.arg(Complex(P, Q))) | Power factor |