Structure-preserving coupling and decoupling of port-Hamiltonian systems | Synapse