This book is the outcome of the European Project "Geoplex" (FP5 IST-2001-34166) that studied and extended such system modeling and control methodologies. This unique book starts from the basic concept of port-based modeling, and extends it to port-Hamiltonian systems. This generic paradigm is applied to various physical domains, showing its power and unifying flexibility for real multi-domain systems.