IDAES supports Python 3.8 to 3.11. Newer versions of Python may work, but are untested.
To install the IDAES PSE framework, follow the set of instructions below that are appropriate for your needs. The OS specific instructions provide optional steps for installing Miniconda, which can be skipped. If you are an IDAES developer or expect to change IDAES code, we recommend following the advanced user installation. Please contact email@example.com, if you have difficulty installing IDAES.
After installing and testing IDAES, it is recommended that you do IDAES tutorials located on the examples website.
OS Specific Instructions¶
Updating an existing installation¶
When a new version is released, an IDAES installation can be updated without having to remove and reinstall it from scratch.
The following steps describe how to upgrade an existing installation in-place, assuming that the installation was done using one of the methods described earlier in this section.
If IDAES was installed in a dedicated environment (e.g. a Conda environment, or Python virtual environment), activate the environment before running any of these commands.
Open a terminal and verify the currently installed version of IDAES:
Install the upgraded version of the
pip install --upgrade idaes-pse
If a newer version of the
idaes-psepackage is available, the currently installed version will be removed and replaced by the newest available version. Check again the IDAES version to verify that the upgrade was successful:idaes --version
idaes get-extensioncommand to install compiled binaries compatible with the newly upgraded IDAES version. The
--extra petscargument installs the optional PETSc solver. These binaries include solvers and function libraries. See Binary Packages for more details.:
idaes get-extensions --extra petsc
Install the IDAES example Jupyter notebooks.
To run the examples on your own computer, follow the instructions on the idaes-examples page on PyPI.