Skip to main content

Development Status :: 3 - Alpha

Project description

The python package pyphs is dedicated to the treatment of passive multiphy- sical systems in the Port-Hamiltonian Systems (PHS) formalism. This formalism structures physical systems into — energy conserving parts, — power dissipating parts and — source parts. This guarantees a power balance is fulfilled, including for numerical simulations based on an adapted numerical method.

  1. Systems are described by directed multi-graphs (networkx.MultiDiGraph).
  2. The time-continuous port-Hamiltonian structure is build from an automated graph analysis.
  3. The discrete-time port-Hamiltonian structure is derived from a structure preserving numerical method.
  4. LaTeX description code and C++ simulation code are automatically generated.
Package mindmap


It is recommanded to install pyphs using pip. In terminal: pip install pyphs An installation for Anaconda users on Mac OSX is also available (can be temporarily outdated, prefer pip install): conda install -c afalaize pyphs


Documentation and tutorials are hosted at the Python Package Index

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyphs, version 0.1.9b1
Filename, size File type Python version Upload date Hashes
Filename, size pyphs-0.1.9b1.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page