Quasistatic Single Phase Ideal Commuting Switch
Ideal commuting switch
Description
Equations
Variables
Connections
Parameters
Modelica Standard Library
The Quasistatic Single Phase Ideal Commuting Switch (or Ideal Commuting Switch) component 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 a Boolean signal. When the input signal is false, the common terminal is connected to the normally closed terminal; otherwise, it is connected to the normally opened terminal.
To prevent singularities during switching, the opened switch has a (very low) default conductance Goff and the closed switch has a (very low) default resistance Ron. The limiting case is allowed, i.e., the closed resistance and open conductance can be exactly zero.
The model includes a Conditional heat port, but no temperature dependency.
Use with care: This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasistatic formulation.
in1=−s1⁢1V⁢{Goffcontrol1otherwise
in2=−s2⁢1V⁢{1controlGoffotherwise
ip+in2+in1=0
vp−vn1=s1⁢1A⁢{1controlRonotherwise
vp−vn2=s2⁢1A⁢{Roncontrol1otherwise
Ploss=ℜvp⁢ip&conjugate0;+vn1⁢in1&conjugate0;+vn2⁢in2&conjugate0;
γp=γn1=γn2
Thp={TheatPortUse Heat PortTotherwise
Name
Units
Modelica ID
Ploss
W
Loss power leaving component via the heat port
LossPower
Thp
K
Temperature of HeatPort
T_heatPort
p
Common terminal
n2
Normally open terminal
n1
Normally closed terminal
control
Boolean input
Heat Port
Conditional heat port
heatPort
General Parameters
Default
Ron
1·10−5
Ω
Closed switch resistance
Goff
S
Opened switch conductance
Use Heat Port
false
True means HeatPort is enabled
useHeatPort
Constant Parameters
T
293.15
Fixed device temperature if Use Heat Port is false
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
Electrical Library
Quasistatic Overview
Quasistatic Single Phase Ideal Components
Download Help Document