VariableResistor

Multiphase variable resistor

    VariableResistor

Library

Modelica/Electrical/QuasiStationary/MultiPhase/Basic

Description

The linear resistors connect the complex voltages v with the complex currents 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 optional conditional 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_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

mo_R_ref

R_ref

R_ref

Structure

mo_R_ref/fixed

fixed

Cell of vectors

true
false

mo_R_ref/start

start

Cell of vectors

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