pythonBondGraph

https://github.com/BondGraphTools/BondGraphTools

https://bondgraphtools.readthedocs.io/en/latest/

Overview

BondGraphTools is a python library for systems modelling based on the bond graph methodology [Gaw1996][Gaw2007].

BondGraphTools is intended to be used by:

  • software developers; as a framework to build modelling interfaces on top of
  • engineers; to quickly build and simulate physical systems
  • mathematicians; to perform model reduction and analysis

BondGraphTools is built upon the scientific python stack; numpy, scipy, sympy and matplotlib, and relies on Julia and DifferentialEquations.jl to handle numnerical simulation.

How to read the docs

The documentation for this library is organised into five sections.

  • This page show how to install BondGraphTools
  • Tutorials contains a list of step-by-step tutorials demonstrating how to use BondGraphTools.
  • How-To Guides contains recipes for common tasks.
  • Discussion contains high level discussion about to library.
  • API Reference is the library reference documentation.

Getting Started

Requirements

  • Python 3.6 or above.
  • Julia 0.6. Note: Julia 0.7 and above are not yet supported

Installation

  1. Install Julia 0.6.4 which can be downloaded from here.
  2. Make sure Julia 0.6.4 is in your path variables. You can test this by typing julia -v at the command prompt. If this returns julia version 0.6.4 then julia is in your path variables.
  3. Install BondGraphTools via pip: pip install BondGraphTools

BondGraphTools is now installed and will download and install the required julia packages the first time you import it.

Usage

BondGraphTools can be loaded inside a jupyter-notebook, python interpreter, or script by using:

import BondGraphTools

Users need an internet connection during the first load as the it will download the required packages from the julia package repository.

Api reference for the package and it’s contents can be accessed using the help command:

help(BondGraphTools)

Contributing

The best way to contribute right now is to use it! If you wish to help out, please visit the project github.

Bibliography

[Gaw2007]https://ieeexplore.ieee.org/document/4140745
[Gaw1996]http://www.gawthrop.net/Books/GawSmi96.pdf

Next 

https://cloud.tencent.com/developer/article/1344002

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值