Email Record: Nonsmooth modeling and simulation for switched circuits /