Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.24 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.24 KB

mbs-flex-rail

This is a Python package to perform Multibody Simulations of railway vehicles seating on flexible rails.

Installation

The package runs on Python, but uses Cython support to optimze simulation times. Check that all dependencies are met before trying to use it.

Dependencies

mbs-flex-rail depends on several Python packages. These are provided below with links to Anaconda. In case you use another Python package manager, please adjust the instructions accordingly :

  1. numpy
  2. matplotlib
  3. assimulo
  4. cython

Base compilation using Cython

Before running any simulations, the Cython code must be compiled to your platform. This can be accomplished by running

$ python setup.py build_ext --inplace

on the installation root directory.

The file setup.py contains a list of pyx files that should be compiled. You can tweak it to your needs refering to Setuptools documentation and Cython documentation.