Port-Hamiltonian system: structure recognition and applications | Synapse