  We consider nonlinear electrical circuits for which we derive a
port-Hamiltonian formulation. After recalling a framework for nonlinear
port-Hamiltonian systems, we model each circuit component as an individual
port-Hamiltonian system. The overall circuit model is then derived by
considering a port-Hamiltonian interconnection of the components. We further
compare this modelling approach with standard formulations of nonlinear
electrical circuits
