modelVariableAdmittance
Extends from Interfaces.OnePort (Two pins, current through), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Information
The admittance model represents a parallel connection of a conductor and either a capacitor or inductor.

The linear admittance connects the complex voltage v with the
complex current i by v*Y = i.
The admittance Y_ref = G_ref + j*B_ref is given as complex input signal, representing the
resistive and reactive component of the input admittance. The resistive
component is modeled temperature dependent, so the real part G_actual = real(Y) is determined from
the actual operating temperature and the reference input conductance real(Y_ref).
The reactive component B_actual = imag(Y)
is 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 susceptance
B_actualis proportional tof/f_ref - (b)
imag(Y_ref) < 0: inductive case - The actual susceptance
B_actualis proportional tof_ref/f
Note
A zero crossing of the real or imaginary part of the admittance signal Y_ref could cause
singularities due to the actual structure of the connected network.
See also
Resistor, Conductor, Capacitor, Inductor, Impedance, Admittance, Variable resistor, Variable conductor, Variable capacitor, Variable inductor, Variable impedance
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Temperature | T_ref | 293.15 | Reference temperature |
| SI.LinearTemperatureCoefficient | alpha_ref | 0 | Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))) |
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature 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 |
|---|---|---|---|
| PositivePin | pin_p (from TwoPinElementary) | Positive quasi-static single-phase pin | |
| NegativePin | pin_n (from TwoPinElementary) | Negative quasi-static single-phase pin | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port | |
| Modelica.ComplexBlocks.Interfaces.ComplexInput | Y_ref | Variable complex admittance |
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 |
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort | |
| SI.Conductance | G_actual | Resistance = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)) | |
| SI.Susceptance | B_actual | Susceptance considering possible frequency dependency | |
| SI.Conductance | G_ref | real(Y_ref) | Resistive component of conductance |
| SI.Susceptance | B_ref | imag(Y_ref) | Reactive component of susceptance |