modelVariableAdmittance
Extends from Interfaces.TwoPlug (Two plugs with pin-adapter, reference connection and declaration of voltage and current), Modelica.Electrical.Polyphase.Interfaces.ConditionalHeatPort (Partial model to include conditional HeatPorts in order to describe the power loss via a thermal network).
Information
The admittance model represents a parallel connection of a resistor and either a capacitor or inductor
in each phase.

The linear admittance connects the complex voltage v with the
complex current i by v*Y = i in each phase,
using m
variable single-phase admittances.
The admittances Y_ref = G_ref + j*B_ref are given as complex input signals, representing the
resistive and reactive components of the input admittances. The resistive
components are modeled temperature dependent, so the real part G_actual = real(Y) are determined from
the actual operating temperatures and the reference input conductances real(Y_ref).
Conditional heat ports are considered.
The reactive components B_actual = imag(Y)
are equal to imag(Y_ref) if frequencyDependent = false.
Frequency dependency is considered by frequencyDependent = true, distinguishing two cases:
- (a)
imag(Y_ref) > 0: capacitive case - The actual susceptances
B_actualare proportional tof/f_ref - (b)
imag(Y_ref) < 0: inductive case - The actual susceptances
B_actualare proportional tof_ref/f
Note
Zero crossings of the real or imaginary parts of the admittance signals Y_ref could cause
singularities due to the actual structure of the connected network.
See also
VariableResistor, Resistor, Conductor, Capacitor, Inductor, Impedance, Admittance, Variable conductor, Variable capacitor, Variable inductor Variable impedance,
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m (from TwoPlugElementary) | 3 | Number of phases |
| SI.Temperature[m] | T_ref | fill(293.15, m) | Reference temperatures |
| SI.LinearTemperatureCoefficient[m] | alpha_ref | zeros(m) | Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))) |
| Integer | mh (from ConditionalHeatPort) | 3 | Number of heatPorts=number of phases |
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if all heat ports are enabled |
| SI.Temperature[mh] | T (from ConditionalHeatPort) | fill(293.15, mh) | Fixed device temperatures if useHeatPort = false |
| Boolean | frequencyDependent | false | Consider frequency dependency, if true |
| SI.Frequency | f_ref | 1 | Reference frequency, if frequency dependency is considered |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePlug | plug_p (from TwoPlugElementary) | Positive quasi-static polyphase plug | |
| NegativePlug | plug_n (from TwoPlugElementary) | Negative quasi-static polyphase plug | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a[mh] | heatPort (from ConditionalHeatPort) | Conditional heat ports | |
| Modelica.ComplexBlocks.Interfaces.ComplexInput[m] | Y_ref | Variable complex admittances |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularVelocity | omega (from TwoPlugElementary) | Angular velocity of reference frame | |
| Basic.PlugToPins_p | plugToPins_p (from TwoPlugElementary) | ||
| Basic.PlugToPins_n | plugToPins_n (from TwoPlugElementary) | ||
| SI.ComplexVoltage[m] | v (from TwoPlug) | Complex voltage | |
| SI.Voltage[m] | abs_v (from TwoPlug) | Modelica.ComplexMath.abs(v) | Magnitude of complex voltage |
| SI.Angle[m] | arg_v (from TwoPlug) | Modelica.ComplexMath.arg(v) | Argument of complex voltage |
| SI.ComplexCurrent[m] | i (from TwoPlug) | Complex current | |
| SI.Current[m] | abs_i (from TwoPlug) | Modelica.ComplexMath.abs(i) | Magnitude of complex current |
| SI.Angle[m] | arg_i (from TwoPlug) | Modelica.ComplexMath.arg(i) | Argument of complex current |
| SI.ActivePower[m] | P (from TwoPlug) | {Modelica.ComplexMath.real(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m} | Active power |
| SI.ActivePower | P_total (from TwoPlug) | sum(P) | Total active power |
| SI.ReactivePower[m] | Q (from TwoPlug) | {Modelica.ComplexMath.imag(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m} | Reactive power |
| SI.ReactivePower | Q_total (from TwoPlug) | sum(Q) | Total reactive power |
| SI.ApparentPower[m] | S (from TwoPlug) | {Modelica.ComplexMath.abs(v[k]*Modelica.ComplexMath.conj(i[k])) for k in 1:m} | Magnitude of complex apparent power |
| SI.ApparentPower | S_total (from TwoPlug) | sqrt(P_total^2 + Q_total^2) | Magnitude of total complex apparent power |
| Real[m] | pf (from TwoPlug) | {cos(Modelica.ComplexMath.arg(Complex(P[k], Q[k]))) for k in 1:m} | Power factor |
| SinglePhase.Basic.VariableAdmittance[m] | variableImpedance |