Resistor

Multiphase linear resistor

    Resistor

Library

Modelica/Electrical/QuasiStationary/MultiPhase/Basic

Description

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

The resistor model also has m optionalconditional 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__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'
'arg_v'
'abs_i'
'arg_i'
'P'
'P_total'
'Q'
'Q_total'
'S'
'S_total'
'pf'
'omega'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

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