Installation

Pylon is a package of Python modules that need to be placed on the PYTHON_PATH.

Dependencies

Python 2.5 or 2.6

NumPy 1.2 or later
NumPy provides additional support for multi-dimentional arrays and matrices.
SciPy 0.7 or later
Packages for mathematics, science, and engineering
Pyparsing
Pyparsing is a versatile Python module for recursive descent parsing.

Setuptools

With Python and setuptools installed, simply:

$ easy_install pylon

Users without root access may use Virtualenv to build a virtual Python environment:

$ virtualenv python26
$ ./python26/bin/easy_install pylon

To upgrade to a newer version:

$ easy_install -U pylon

Installation from source

Run the setup.py script:

$ python setup.py install

or:

$ python setup.py develop

Working directory

Change in to the source directory and run IPython:

$ cd ~/path/to/pylon-0.4.1
$ ipython

Access the pylon application programming inteface.

In [1]: from pylon import Case, OPF

Table Of Contents

Previous topic

Introduction

Next topic

Power Flow

This Page