Skip to main content

Bond Graph Modelling Toolkit

Project description

PyPI version Build Status Test Coverage

BondGraph - A Bond graph toolkit

Summary

This toolkit is for rapid modelling and design of networked thermodynamic systems. It is conceptually based upon the Bond Graph modelling methodology.

Full Documentation:

https://bondgraphtools.readthedocs.io/

Installation

Dependencies

BondGraph requires:

  • python 3.6
  • julia 0.6.4

Python dependencies:

  • sympy>=1.1.1
  • numpy>=1.14
  • scipy>=1.0.1
  • matplotlib>=2.2.2
  • julia>=0.1.5
  • diffeqpy>=0.4
  • requests>=2.19 Julia dependencies:
  • PyCall
  • DifferentialEquations.jl

Instructions:

  1. Install python > 3.6 for your operating system.
  2. Install Julia 0.6.4 (https://julialang.org/downloads/) for your operating system. Julia 0.7 and 1.0 are not yet supported
  3. Make sure Julia 0.6.4 is in your os path. (test this by running julia -v)
  4. Install using PyPI; pip install BondGraphTools

v0.3.4 Changelog 15.10.2018

Changes

  • Components and Bonds are now order aware

Fixes

  • Bug fixed in the handling of invalid parameters

v0.3.3 Changelog 25.09.2018

New

  • Improved support for symbolic parameters

v0.3 Changelog 19.09.2018

New

  • Users can now save a load to file.
  • Source Sensor component has been added
  • SS component can be exposed using expose to create IO ports.
  • Model hierarchy can now be traversed in a posix-like manner using component.uri as unambiguous references

Changes

  • The reaction builder no longer uses the 'Y' component
  • Certain connections are now order aware (1 junction for example)
  • Rebuilt how ports are referenced
  • Moved all 'verb' actions out of class definition; including (new, add, remove, connect, disconnect)
  • Find has been removed; users can now use uri

Fixes

  • 1 junction now corresponds to the existing literature
  • Drawing algorithm now has half-arrow heads
  • Updated to sympy v1.2

Project details


Download files

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

Source Distribution

BondGraphTools-0.3.5.1.tar.gz (41.4 kB view hashes)

Uploaded Source

Built Distribution

BondGraphTools-0.3.5.1-py3-none-any.whl (38.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page