VariableResistor

Multiphase variable resistor

    VariableResistor

Library

Modelica/Electrical/QuasiStationary/MultiPhase/Basic

Description

The linear resistors connect the complex voltages v with the complexcurrents i by i*R = v,using m single phase variable Resistors.The resistances R are given as m input signals.

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

See also

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

Parameters

VariableResistor_0

NameLabelDescriptionData TypeValid 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
1

mo_T

T

Fixed device temperatures if useHeatPort = false

Vector

VariableResistor_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

R_ref

implicit

Variable resistance

input

2

Port 4

implicit

Conditional heat ports

input

mo_useHeatPort