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.