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.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

BondGraphTools-0.3.5-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file BondGraphTools-0.3.5.tar.gz.

File metadata

  • Download URL: BondGraphTools-0.3.5.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for BondGraphTools-0.3.5.tar.gz
Algorithm Hash digest
SHA256 88da95cfa0d267ccd27afafafd21acf253c2466b1f060cb848c5a7521d70dcb3
MD5 af4bdc85dbb9ada15d1c21dcb104e927
BLAKE2b-256 7ff0a129badd58c92497b1a32d7659b3c512540dafa329b811326b4dcb027867

See more details on using hashes here.

File details

Details for the file BondGraphTools-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: BondGraphTools-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for BondGraphTools-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 405b49bf08bc54b51cd1b273589d9e5f300dd733b33973bc4fc6cb686a407db3
MD5 90cb5acb7fcd70b12195cc3e153beb48
BLAKE2b-256 4ed6d87e5946c520bbc6d7c425b63a0bddb435f8d73fe2c8cf5c9288dc425051

See more details on using hashes here.

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