modelVariableImpedance

Single-phase variable impedance

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 impedance model represents a series connection of a resistor and either an inductor or capacitor.

The linear impedance connects the complex voltage v with the complex current i by i*Z = v. The impedance Z_ref = R_ref + j*X_ref is given as complex input signal, representing the resistive and reactive component of the input impedance. The resistive component is modeled temperature dependent, so the real part R_actual = real(Z) is determined from the actual operating temperature and the reference input resistance real(Z_ref). The reactive component X_actual = imag(Z) is equal to imag(Z_ref) if frequencyDependent = false. Frequency dependency is considered by frequencyDependent = true, distinguishing two cases:

(a) imag(Z_ref) > 0: inductive case
The actual reactance X_actual is proportional to f/f_ref
(b) imag(Z_ref) < 0: capacitive case
The actual reactance X_actual is proportional to f_ref/f

Note

A zero crossing of the real or imaginary part of the impedance signal Z_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 admittance

Parameters

TypeNameDefaultDescription
SI.TemperatureT_ref293.15Reference temperature
SI.LinearTemperatureCoefficientalpha_ref0Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)))
BooleanuseHeatPort (from ConditionalHeatPort)false= true, if heatPort is enabled
SI.TemperatureT (from ConditionalHeatPort)293.15Fixed device temperature if useHeatPort = false
BooleanfrequencyDependentfalseConsider frequency dependency, if true
SI.Frequencyf_ref1Reference frequency, if frequency dependency is considered

Connectors

TypeNameDefaultDescription
PositivePinpin_p (from TwoPinElementary)Positive quasi-static single-phase pin
NegativePinpin_n (from TwoPinElementary)Negative quasi-static single-phase pin
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)Conditional heat port
Modelica.ComplexBlocks.Interfaces.ComplexInputZ_refVariable complex impedance

Components

TypeNameDefaultDescription
SI.AngularVelocityomega (from TwoPinElementary)Angular velocity of reference frame
SI.ComplexVoltagev (from TwoPin)Complex voltage
SI.Voltageabs_v (from TwoPin)Modelica.ComplexMath.abs(v)Magnitude of complex voltage
SI.Anglearg_v (from TwoPin)Modelica.ComplexMath.arg(v)Argument of complex voltage
SI.ComplexCurrenti (from TwoPin)Complex current
SI.Currentabs_i (from TwoPin)Modelica.ComplexMath.abs(i)Magnitude of complex current
SI.Anglearg_i (from TwoPin)Modelica.ComplexMath.arg(i)Argument of complex current
SI.ActivePowerP (from TwoPin)Modelica.ComplexMath.real(v*Modelica.ComplexMath.conj(i))Active power
SI.ReactivePowerQ (from TwoPin)Modelica.ComplexMath.imag(v*Modelica.ComplexMath.conj(i))Reactive power
SI.ApparentPowerS (from TwoPin)Modelica.ComplexMath.abs(v*Modelica.ComplexMath.conj(i))Magnitude of complex apparent power
Realpf (from TwoPin)cos(Modelica.ComplexMath.arg(Complex(P, Q)))Power factor
SI.PowerLossPower (from ConditionalHeatPort)Loss power leaving component via heatPort
SI.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of heatPort
SI.ResistanceR_actualResistance = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))
SI.ReactanceX_actualReactance considering possible frequency dependency
SI.ResistanceR_refreal(Z_ref)Resistive component of impedance, resistance
SI.ReactanceX_refimag(Z_ref)Reactive component of impedance, reactance