Installation

Stable release

To install carbatpy, run this command in your terminal:

$ pip install carbatpy

This is the preferred method to install carbatpy, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

Refprop and/or Trend installation

Carbatpy requires two valid Refprop installations to ensure a stable operation using the (faster) SETPATHdll. We recommend the installation in the default folders: C:/Program Files (x86)/REFPROP and C:/Program Files (x86)/REFPROP/secondCopyREFPROP. If you wish to deviate from this, make sure to adapt the system environment variables RPPREFIX and RPPREFIXs.

The implementation of Trend is currently in progress.

From sources

The sources for carbatpy can be downloaded from the Gitlab repo.

You can either clone the public repository:

$ git clone https://git.uni-due.de/spp-2403/td-ude/carbatpy.git

Once you have a copy of the source, you can install it with:

$ python setup.py install

Environment Variables

There are two environment variables, which you may want to set: CARBATPY_BASE_DIR and CARBATPY_RES_DIR. You can set them to directories in your system, where the carbatpy directory with the code is to be found and where the results are stored as default.

On Windows: environment properties -> environment variables -> System variables - New