Variational integrators for electric circuits
S. Ober-Blöbaum, M. Tao, M. Cheng, H. Owhadi, J.E. Marsden, Journal of Computational Physics 242 (2013) 498–530.