VariableImpedance
Single phase variable impedance
Library
Modelica/Electrical/QuasiStationary/SinglePhase/Basic
Description
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 thecomplex current i
by i*Z = v
.The impedance Z_ref = R_ref + j*X_ref
is given as complex input signal, representing theresistive and reactive component of the input impedance. The resistivecomponent is modeled temperature dependent, so the real part R_actual = real(Z)
is determined fromthe 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 tof/f_ref
- (b)
imag(Z_ref) < 0
: capacitive case - The actual reactance
X_actual
is proportional tof_ref/f
Note
A zero crossing of the real or imaginary part of the impedance signal Z_ref
could causesingularities 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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_T_heatPort | T_heatPort | T_heatPort | Structure | |
mo_T_heatPort/fixed | fixed | Cell of scalars | true | |
mo_T_heatPort/start | start | Cell of scalars | ||
mo_T_ref | T_ref | Reference temperature | Scalar | |
mo_alpha_ref | alpha_ref | Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)) | Scalar | |
mo_useHeatPort | useHeatPort | =true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar | |
mo_frequencyDependent | frequencyDependent | Consider frequency dependency, if true | Scalar | true |
mo_f_ref | f_ref | Reference frequency, if frequency dependency is considered | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'abs_v' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
pin_p | implicit | Positive quasi-static single-phase pin | input | 1 |
pin_n | implicit | Negative quasi-static single-phase pin | output | 1 |
Z_ref | implicit | Variable complex impedance | input | 2 |
Port 4 | implicit | Conditional heat port | input | mo_useHeatPort |