Python

Python is a general purpose programming languages. MOSAIC uses Python to interface to simulation solvers for algebraic algebraic equation systems as well as simultaneous and sequential optimization.

Availability

  • Python can be obtained free of charge for any operating system and is by default part of many Linux-based operating systems and Mac OS X (Python.org).
  • Numerical and scientific methods for python are contained within the Python libraries Numpy and Scipy. These can be obtained through the package repository in Debian and Ubuntu.
  • Python Anaconda by Continuum Analytics is a practical Python distribution, which already includes the scientific and numerical packages and is available for most operating systems.

Source Code

  • see above (Availability)

Installation Notes

  • see above (Availability)

Native Environments/Programming languages

  • Python can be interfaced from numerous programming languages and environments.

Operating Systems

  • Linux (Ubuntu 14.04, Debian, etc.)
  • Mac OS X 10.5-10.9
  • Windows XP/7/8/8.1

Usage

  • Each code generator has a detailed description of how to run the python code on Windows, Mac OS X, or Linux systems.

User Options

  • Depend on the applied solvers and libraries for Python.

Applied Examples

Examples using MOSAIC’s Python export can be found in the following publications: