Examples for port-Hamiltonian modelling and control of physical systems?

Are there any examples in Julia how to model and control port-Hamiltonian systems?
See: https://www.math.rug.nl/arjan/DownloadLectures/Benelux08.pdf

Can it be done with ModelingToolkit, or are there better ways?

1 Like

It can be done with ModelingToolkit, and there could be good tooling around it, but I just haven’t done much with Port-Hamiltonians myself and so we don’t have any examples around it. It would be a nice GSoC project though.

1 Like

Are you looking for something like this:
https://github.com/Algopaul/PortHamiltonianBenchmarkSystems.jl/

Or that:
https://github.com/flavioluiz/PortHamiltonian.jl/

http://flavioluiz.github.io/port-hamiltonian/

2 Likes

Great! Thanks a lot!

1 Like