Port-hamiltonian formulation of an electrical circuit using different kinds of states | Synapse