The IDAES Toolkit aims to provide multi-scale, simulation-based, open source computational tools and models to support the design, analysis, optimization, scale-up, operation and troubleshooting of innovative, advanced energy systems.
The code and examples have been tested with the following operating systems:
Operating system | Supported versions |
---|---|
Linux | Any modern Linux |
Windows | Windows 10 |
Mac OSX | Not supported* |
*For advanced users, Mac OSX installation may be performed with some small changes to the Linux installation instructions.
Most of the functionality is implemented in Python. In accordance with the end-of-life for many Python 2 libraries, the IDAES Toolkit is written for Python 3. The following sub-versions are supported:
- Python 3.6
- Python 3.7
- Python 3.8
- Python 3.9+ (should work, not explicitly tested)
Note that Python 3.5 is not supported.
By contributing to this repository, you are agreeing to all the terms set out in the LICENSE.txt and COPYRIGHT.txt files in this directory.
To install with pip
:
pip install idaes_pse
To install with Anaconda's conda
: coming soon
For installation instructions, please refer to the online documentation.
The documentation for IDAES is built using Sphinx. To generate the HTML version of the documentation, first make sure Sphinx is installed for your version of Python,
then go to the "docs/" subdirectory and run the build.py
command:
cd docs
python build.py
To view the documentation you just built, open the file
docs/build/index.html
in a web browser.
After you install, you can run tests to make sure everything is working. We use pytest for testing and generating code coverage reports. The pytest
command should be available in the conda environment created by running the install.sh
script as described in the installation instructions.
To run tests against the core modules, unit models and DMF, and generate a coverage report, run tests in idaes/
with the following command:
$ pytest # Please note some tests may be skipped based on solver availability.
If there are errors, or you are having trouble, you can use our issue tracker on Github to look for other users experiencing similar problems, or to report a new bug.
There are example Jupyter notebook(s) in the examples/
directory. To access them, you should start up a Jupyter Lab notebook server using the
following command.
jupyter lab
This should start up a server and then pop up a tab or window in your default web browser showing the Jupyter UI. On the left hand side you can browse to available notebooks (files ending in ".ipynb"). For more information on how to use Jupyter Lab, use the built-in Help menu and the extensive documentation on the Jupyter website. For more details on the examples, please refer to the online documentation.
General, background and overview information is available at the IDAES main website. Framework development happens at our GitHub repo where you can report issues/bugs or make contributions. For further enquiries, send an email to: [email protected]