Installation¶
flex-pse isn’t on PyPI yet, so install from the conda environment files in the repository. They install flex-pse, Acquirium and the solvers, then this package:
git clone https://github.com/flex-pse/flex-orchestrator.git
cd flex-orchestrator
conda env create -f environment.yml # deployment: pinned upstream commits
conda env create -f environment-dev.yml # development: tests, linters and docs
idaes get-extensions # IPOPT, if you need it
environment.yml pins flex-pse and Acquirium to fixed git commits, so two
installs made from the same file get the same versions. environment-dev.yml
pins the same versions and adds the test and documentation tools.
Optional parts¶
The package’s extras pull in what each optional part needs:
Extra |
For |
|---|---|
|
The Acquirium backend (installed by both environment files). |
|
The default build and solve hooks, on flex-pse. |
|
Running studies and fits in parallel ( |
|
The model data exporter, without the rest of flex-pse. |
|
Building this documentation. |
|
Tests and linters. |
For example, pip install -e ".[ray]" adds Ray to an existing environment.
Building these docs¶
pip install -e ".[docs]"
sphinx-build -W --keep-going -b html docs docs/_build