Resistor

Multiphase linear resistor

    Resistor

Library

Modelica/Electrical/QuasiStationary/MultiPhase/Basic

Description

The linear resistor connects the complex voltages v with the complex currents i by i*R = v, using m single phase Resistors.

The resistor model also has m optional conditional heat ports. A linear temperature dependency of the resistances for enabled heat ports is also taken into account.

See also

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

Parameters

Resistor_0

NameLabelDescriptionData TypeValid Values

mo_m

m

Number of phases

Scalar

mo_R_ref

R_ref

Reference resistances at T_ref

Vector

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
1

mo_T

T

Fixed device temperatures if useHeatPort = false

Vector

Resistor_1

NameLabelDescriptionData TypeValid Values

mo_abs_v

abs_v

abs_v

Structure

mo_abs_v/fixed

fixed

Cell of vectors

true
false

mo_abs_v/start

start

Cell of vectors

mo_arg_v

arg_v

arg_v

Structure

mo_arg_v/fixed

fixed

Cell of vectors

true
false

mo_arg_v/start

start

Cell of vectors

mo_abs_i

abs_i

abs_i

Structure

mo_abs_i/fixed

fixed

Cell of vectors

true
false

mo_abs_i/start

start

Cell of vectors

mo_arg_i

arg_i

arg_i

Structure

mo_arg_i/fixed

fixed

Cell of vectors

true
false

mo_arg_i/start

start

Cell of vectors

mo_P

P

P

Structure

mo_P/fixed

fixed

Cell of vectors

true
false

mo_P/start

start

Cell of vectors

mo_P_total

P_total

P_total

Structure

mo_P_total/fixed

fixed

Cell of scalars

true
false

mo_P_total/start

start

Cell of scalars

mo_Q

Q

Q

Structure

mo_Q/fixed

fixed

Cell of vectors

true
false

mo_Q/start

start

Cell of vectors

mo_Q_total

Q_total

Q_total

Structure

mo_Q_total/fixed

fixed

Cell of scalars

true
false

mo_Q_total/start

start

Cell of scalars

mo_S

S

S

Structure

mo_S/fixed

fixed

Cell of vectors

true
false

mo_S/start

start

Cell of vectors

mo_S_total

S_total

S_total

Structure

mo_S_total/fixed

fixed

Cell of scalars

true
false

mo_S_total/start

start

Cell of scalars

mo_pf

pf

pf

Structure

mo_pf/fixed

fixed

Cell of vectors

true
false

mo_pf/start

start

Cell of vectors

mo_omega

omega

omega

Structure

mo_omega/fixed

fixed

Cell of scalars

true
false

mo_omega/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

plug_p

implicit

Positive quasi-static polyphase plug

input

1

plug_n

implicit

Negative quasi-static polyphase plug

output

1

Port 3

implicit

Conditional heat ports

input

mo_useHeatPort