Port-Hamiltonian Modeling of Multiphysics Systems and Object-Oriented Implementation With the Modelica Language