The paper describes a new model of an ideal switch, which can be used in st
andard circuit simulation algorithms. There are no restrictions on network
topology and switch connections. The switches can be both externally and in
ternally controlled. The switch transition is solved by an iterative proced
ure and linear networks with switches must be solved as nonlinear, Converge
nce is fast and stable. Nonlinear switched networks can be also analyzed wi
th this new model.