Controlled Ideal Two-Way Switch
Controlled ideal commuting switch
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The Controlled Ideal Two Way Switch models a three-terminal, single-pole, electrical switch that commutes a common terminal between a normally closed terminal (n1) and a normally opened terminal (n2). The common terminal is controlled by an analog signal. When the value of its control input is greater than the threshold value defined by the level parameter, the common terminal is connected to the normally opened terminal; otherwise, it is connected to the normally closed terminal.
{i1=−v1⁢Goff,v2=−i2⁢Ronvcontrol>levelv1=−i1⁢Ron,i2=−v2⁢Goffotherwise
ip+i1+i2=0
LossPower=ip⁢vp+in1⁢vn1+in2⁢vn2
Name
Units
Modelica ID
LossPower
W
Loss power leaving component via HeatPort
TheatPort
K
Temperature of HeatPort
T_heatPort
p
Common terminal
n2
Normally open terminal
n1
Normally closed terminal
control
Electrical control
Heat Port
Conditional heat port
heatPort
Default
level
0.5
V
Switch level
Ron
1·10−5
Ω
Resistance of the closed switch
Goff
S
Conductance of the opened switch
Use Heat Port
false
True (checked) means heat port is enabled
useHeatPort
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.
See Also
Analog Components
Electrical Library
Switches
Download Help Document