PyPHS: Passive modeling and simulation in python
Résumé
PyPHS is a Python package that implements a set of numerical methods for the simulation of multi-physical systems with the Port-Hamiltonian Systems approach.
It provides:
-A python class pyphs.PHSCore that encodes the core Port-Hamiltonian structure.
-An automated generation of PHS cores from net lists through the implementation of a specially designed graph analysis (see [GraphAnalysis2016]), and
- a set of elementary components compiled in a dictionary.
- A python class pyphs.PHSSimulation that runs the simulation of a discrete-time port-Hamiltonian structure, derived from a structure preserving numerical method (see [NumericalMethod2015]).
- An automated C++ and LaTeX code generation.