  This article presents a simple port-Hamiltonian formulation of the equations
for an RLC electric circuit as a differential-algebraic equation system, and a
proof that structural analysis always succeeds on it for a well-posed circuit,
thus providing a correct regularisation for numerical solution. The DAE is
small - its number of variables/equations is at most the number of edges in the
circuit graph.
