Potentiometer

Adjustable resistor

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This models a potentiometer where the sliding contact is placed between pin_n (r = 0) and pin_p (r = 1), dependent on either the parameter rConstant or the signal input r.

The total resistance R is temperature dependent.

Parameters (7)

useHeatPort

Value: false

Type: Boolean

Description: =true, if heatPort is enabled

T

Value: T_ref

Type: Temperature (K)

Description: Fixed device temperature if useHeatPort = false

R

Value:

Type: Resistance (Ω)

Description: Resistance at temperature T_ref

T_ref

Value: 293.15

Type: Temperature (K)

Description: Reference temperature

alpha

Value: 0

Type: LinearTemperatureCoefficient (¹/K)

Description: Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))

useRinput

Value: false

Type: Boolean

Description: use input for 0

rConstant

Value: 0.5

Type: Real

Description: Contact between n (r=0) and p (r=1)

Connectors (5)

heatPort

Type: HeatPort_a

Description: Conditional heat port

pin_p

Type: PositivePin

contact

Type: PositivePin

pin_n

Type: NegativePin

r

Type: RealInput

Components (1)

rConst

Type: Constant

Used in Examples (1)

Comparator

Modelica.Electrical.Analog.Examples.OpAmps

Comparator