Skip to main content

IDAES Process Systems Engineering Examples

Project description

Binder tests   Documentation

IDAES Examples

This repository contains example Jupyter Notebooks that demonstrate and explain the capabilities of the IDAES platform.

Below are basic instructions to install, view, and run the examples.

For Developers: If you are a developer who wishes to modify or add new notebooks, please refer to the file README-developer.md.

Categories of examples

In the source code repository, you may note that there are a number of examples that are not in the documentation. There are two main categories of examples:

  • "Docs" examples (under idaes_examples/notebooks/docs), which are tested and built into this documentation.
  • "Active" examples (under idaes_examples/notebooks/active) that are tested but not in the documentation.

There is also a third category of "Held" examples (under idaes_examples/notebooks/held), which could in the next release of IDAES in Docs or Active, or could be removed. These are not tested and not in the docs, and should generally be ignored by non-developers.

Installation

This repository can be installed with pip:

# install the IDAES examples with a core set of dependencies
pip install idaes-examples

# install the IDAES examples with additional dependencies needed to run specific examples,
# e.g. `omlt` for surrogate modeling with OMLT
pip install "idaes-examples[omlt]"

# install the IDAES examples with dependencies need to build the documentation
pip install "idaes-examples[docs]"

We recommend you use a virtual environment tool such as Miniconda to install and run the notebooks in an isolated environment.

Run examples

Use the command

idaesx serve

to start a Jupyter server to browser and open the notebooks for local execution and experimentation.

Alternately, you may use Jupyter notebook's file browser in the installed notebooks directory, using the idaesx where command to find that directory: jupyter notebook $(idaesx where).

Only the source notebooks (ending in _src.ipynb) are included in the repository. The idaesx serve command will generate the other versions, or you can run preprocessing manually with: idaesx pre -d "$(idaesx where)\..".

Build documentation

Run the command idaesx build from the repository root to build the JupyterBook documentation.

Note: This will take quite a while, as each example must be run first. You may want to step out and enjoy a beverage.


Author: Dan Gunter
Last modified: 25 Apr 2024

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idaes_examples-2.9.0-py3-none-any.whl (52.0 MB view details)

Uploaded Python 3

File details

Details for the file idaes_examples-2.9.0-py3-none-any.whl.

File metadata

  • Download URL: idaes_examples-2.9.0-py3-none-any.whl
  • Upload date:
  • Size: 52.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for idaes_examples-2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6be5d526f97488d3ea10e8e977d14766aba2483a96f99d8d7c27dd6ac3856370
MD5 fc1730c250f8892a576ab89c51a0f547
BLAKE2b-256 aa95a1571a864606f7935255022efc48bd8fe6efb54c0d372d21342326fd262b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page