The ideal opening switch has a positive pin p and a negative pin n. The switching behaviour is controlled by the input signal control. If control is true, pin p is not connected with negative pin n. Otherwise, pin p is connected with negative pin n.
In order to prevent singularities during switching, the opened
switch has a (very low) conductance Goff and the closed switch has
a (very low) resistance Ron. The limiting case is also allowed,
i.e., the resistance Ron of the closed switch could be exactly zero
and the conductance Goff of the open switch could be also exactly
zero. Note, there are circuits, where a description with zero Ron
or zero Goff is not possible.
Please note: In case of useHeatPort=true the
temperature dependence of the electrical behavior is
not modelled. The parameters are not temperature
dependent.
Use with care: This switch is only intended to be used for structural changes, not for fast switching sequences, due to the quasi-static formulation.