Impedance

Single phase linear impedance

    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 voltage v with the current i by v = Z*i. 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). A conditional heat port is considered. 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

See also

Resistor, Conductor, Capacitor, Admittance, Variable resistor, Variable conductor, Variable capacitor, Variable inductor, Variable impedance, Variable admittance

Parameters

Impedance_0

NameLabelDescriptionData TypeValid Values

mo_Z_ref

Z_ref

Complex impedance R_ref + j*X_ref

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
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

mo_frequencyDependent

frequencyDependent

Consider frequency dependency, if true

Scalar

true
false

mo_f_ref

f_ref

Reference frequency, if frequency dependency is considered

Scalar

mo_R_ref

R_ref

Resistive component of impedance, resistance

Scalar

mo_X_ref

X_ref

Reactive component of impedance, reactance

Scalar

Impedance_1

NameLabelDescriptionData TypeValid Values

mo_abs_v

abs_v

abs_v

Structure

mo_abs_v/fixed

fixed

Cell of scalars

true
false

mo_abs_v/start

start

Cell of scalars

mo_arg_v

arg_v

arg_v

Structure

mo_arg_v/fixed

fixed

Cell of scalars

true
false

mo_arg_v/start

start

Cell of scalars

mo_abs_i

abs_i

abs_i

Structure

mo_abs_i/fixed

fixed

Cell of scalars

true
false

mo_abs_i/start

start

Cell of scalars

mo_arg_i

arg_i

arg_i

Structure

mo_arg_i/fixed

fixed

Cell of scalars

true
false

mo_arg_i/start

start

Cell of scalars

mo_P

P

P

Structure

mo_P/fixed

fixed

Cell of scalars

true
false

mo_P/start

start

Cell of scalars

mo_Q

Q

Q

Structure

mo_Q/fixed

fixed

Cell of scalars

true
false

mo_Q/start

start

Cell of scalars

mo_S

S

S

Structure

mo_S/fixed

fixed

Cell of scalars

true
false

mo_S/start

start

Cell of scalars

mo_pf

pf

pf

Structure

mo_pf/fixed

fixed

Cell of scalars

true
false

mo_pf/start

start

Cell of scalars

mo_omega

omega

omega

Structure

mo_omega/fixed

fixed

Cell of scalars

true
false

mo_omega/start

start

Cell of scalars

mo_LossPower

LossPower

LossPower

Structure

mo_LossPower/fixed

fixed

Cell of scalars

true
false

mo_LossPower/start

start

Cell of scalars

mo_T_heatPort

T_heatPort

T_heatPort

Structure

mo_T_heatPort/fixed

fixed

Cell of scalars

true
false

mo_T_heatPort/start

start

Cell of scalars

mo_R_actual

R_actual

R_actual

Structure

mo_R_actual/fixed

fixed

Cell of scalars

true
false

mo_R_actual/start

start

Cell of scalars

mo_X_actual

X_actual

X_actual

Structure

mo_X_actual/fixed

fixed

Cell of scalars

true
false

mo_X_actual/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

pin_p

implicit

Positive quasi-static single-phase pin

input

1

pin_n

implicit

Negative quasi-static single-phase pin

output

1

Port 3

implicit

Conditional heat port

input

mo_useHeatPort