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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: BondGraphTools-0.3.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6b4c2fd80cb3927a25ba9da1b08cf2e504dd65ace3fce7bd2df9dfec1a7a73c5
MD5 18255191e30b2cb8fda07985045bf277
BLAKE2b-256 1388fd2b7ca1768275462d3646f5697c975728afd00f3a3715a29d5603189f26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: BondGraphTools-0.3.5.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98e8d01d45a7cfb59d6b7d6da72ca9fb729e830b78a44339e0540c79c4ce7ef4
MD5 e96b9a03934a868238d7c7aff20fab2f
BLAKE2b-256 27df14df9a8ebcd497a9193870ddd1bc24f3e6f89ab4349e63cbd730a595819a

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