Skip to content
Steven Masfaraud edited this page Feb 3, 2016 · 17 revisions

BMSpy

Block Model Simulator for python

BMS is a block model time simulator: it computes time values of time functions (called variables) linked by blocks which represent equations and behaviors between them. A model (class DynamicSystem) contains blocks, which contains the variables.

BMS is designed as a lightweight, easy to automatize, open-source equivalent to Matlab's Simulink.

Electric motor example

There is no graphical interface for now, just a python package with model and blocks definition. The model can draw itself for visualisation.

See in example folder for practical usage.

Requirements

  • Numpy
  • Networkx
  • Matplotlib

Installation

The easy way: pip install bms or, if you are running python3: pip3 install bms

Alternatively, you can download the source at: https://pypi.python.org/pypi/bms/ After extracting, execute: python setup.py install If you are running python3: python3 setup.py install

Usage

Tutorials

Defining and simulating a model

Available Blocks

Available Inputs

Examples

see project examples folder

Development

Roadmap

Release Notes

Links

https://pypi.python.org/pypi/bms

Clone this wiki locally