Potentiometer

 Description The Potentiometer component models a potentiometer with the sliding contact placed between ${\mathrm{pin}}_{n}$ ($r=0$) and ${\mathrm{pin}}_{p}$ ($r=1$), dependent on either the parameter ${r}_{\mathrm{constant}}$ or the signal input $r$. The total resistance $R$ is temperature dependent.
 Equations ${R}_{n}=R\left(1+\mathrm{\alpha }\left({T}_{\mathrm{hp}}-{T}_{\mathrm{ref}}\right)\right)\mathrm{min}\left(1,\mathrm{max}\left(0,{r}_{\mathrm{int}}\right)\right)$ ${R}_{p}=R\left(1+\mathrm{\alpha }\left({T}_{\mathrm{hp}}-{T}_{\mathrm{ref}}\right)\right)\left(1-\mathrm{min}\left(1,\mathrm{max}\left(0,{r}_{\mathrm{int}}\right)\right)\right)$ ${v}_{n}-{v}_{\mathrm{contact}}={R}_{n}{i}_{n}$ ${v}_{p}-{v}_{\mathrm{contact}}={R}_{p}{i}_{p}$ ${i}_{p}+{i}_{n}+{i}_{\mathrm{contact}}=0$ $\mathrm{LossPower}=\left({v}_{p}-{v}_{\mathrm{contact}}\right){i}_{p}+\left({v}_{n}-{v}_{\mathrm{contact}}\right){i}_{n}$ ${T}_{\mathrm{hp}}=\left\{\begin{array}{cc}{T}_{\mathrm{heatPort}}& \mathrm{Use Heat Port}\\ T& \mathrm{otherwise}\end{array}$

Variables

 Name Units Description Modelica ID $\mathrm{LossPower}$ $W$ Loss power leaving component via heatPort LossPower ${T}_{\mathrm{hp}}$ $K$ Temperature of heat port T_heatPort ${R}_{p}$ $\mathrm{\Omega }$ Actual resistance between ${\mathrm{pin}}_{p}$ and contact Rp ${R}_{n}$ $\mathrm{\Omega }$ Actual resistance between contact and ${\mathrm{pin}}_{n}$ Rn

Connections

 Name Description Modelica ID $\mathrm{contact}$ Electrical connection to sliding contact contact ${\mathrm{pin}}_{n}$ Negative electrical connection pin_n ${\mathrm{pin}}_{p}$ Positive electrical connection pin_p $r$ Conditional real input r $\mathrm{heatPort}$ Conditional heat port heatPort

Parameters

 Name Default Units Description Modelica ID $\mathrm{\alpha }$ $0$ $\frac{1}{K}$ Temperature coefficient of conductance alpha $R$ $1$ $\mathrm{\Omega }$ Resistance at temperature T_ref R ${r}_{\mathrm{constant}}$ $0.5$ $1$ Contact between n (r=0) and p (r=1) rConstant $T$ ${T}_{\mathrm{ref}}$ $K$ Fixed device temperature if the Use Heat Port is false T ${T}_{\mathrm{ref}}$ $293.15$ $K$ Reference temperature T_ref Use Heat Port $\mathrm{false}$ True (checked) enables heat port useHeatPort Use R input $\mathrm{false}$ True (checked) enables resistance input useRinput

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.