VariableImpedance
Polyphase variable impedance
![]()
Library
Modelica/Electrical/QuasiStatic/Polyphase/Basic
Description
The impedance model represents a series connection of a resistor and either an inductor or capacitorin each phase.
The linear impedance connects the complex voltage v with thecomplex current i by i*Z = v in each phase,using mvariable single-phase impedances.The impedances Z_ref = R_ref + j*X_ref are given as complex input signals, representing theresistive and reactive components of the input impedances. The resistivecomponents are modeled temperature dependent, so the real part R_actual = real(Z) are determined fromthe actual operating temperatures and the reference input resistances real(Z_ref).Conditional heat ports are considered.The reactive components X_actual = imag(Z)are 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 reactances
X_actualare proportional tof/f_ref - (b)
imag(Z_ref) < 0: capacitive case - The actual reactances
X_actualare proportional tof_ref/f
Note
Zero crossings of the real or imaginary parts of the impedance signals Z_ref could causesingularities due to the actual structure of the connected network.
See also
VariableResistor,Resistor,Conductor,Capacitor,Inductor,Impedance,Admittance,Variable conductor,Variable capacitor,Variable inductorVariable admittance
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_m | m | Number of phases | Scalar | |
mo_T_ref | T_ref | Reference temperatures | Vector | |
mo_alpha_ref | alpha_ref | Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)) | Vector | |
mo_mh | mh | Number of heatPorts=number of phases | Scalar | |
mo_useHeatPort | useHeatPort | = true, if all heat ports are enabled | Number | 0 |
mo_T | T | Fixed device temperatures if useHeatPort = false | Vector | |
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 | 'omega' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
plug_p | implicit | Positive quasi-static polyphase plug | input | 1 |
plug_n | implicit | Negative quasi-static polyphase plug | output | 1 |
Z_ref | implicit | Variable complex impedances | input | 2 |
Port 4 | implicit | Conditional heat ports | input | mo_useHeatPort |