- Python >= 3.12
pip install idaes-connectivitypip install idaes-pseidaes get-extensionspip install git+https://github.com/prommis/flowsheet-inspector-lib.git
If you are on a Linux machine, please make sure the following packages are installed:
| Package Name | Why |
|---|---|
| libgfortran5 | Provides libgfortran.so.5, required by IDAES extensions |
| liblapack3 | Provides liblapack.so.3, required by IDAES extensions |
| libblas3 | Required by LAPACK (LAPACK depends on BLAS) |
If there is a schema update in flowsheet-inspector-lib, you must delete the old reportdb.sqlite file in your dev environment to avoid errors.
The database file is located at:
| OS | Path |
|---|---|
| macOS | ~/.idaes/reportdb.sqlite |
| Linux | ~/.idaes/reportdb.sqlite |
| Windows | %LOCALAPPDATA%\idaes\reportdb.sqlite (e.g. C:\Users\YourUserName\AppData\Local\idaes\reportdb.sqlite) |
- Make sure you are using VS Code as your editor.
- Clone this repo locally.
- Make sure you are using Node.js v24.11.0.
- Run
npm installin both theextensionandwebview_uifolders. - In the
extensionfolder, runnpm run watch:buildto enable live compilation. - In the
webview_uifolder, runnpm run watch:buildto enable live reload for React. - Open
extension/src/extension.ts, then pressF5to launch the extension in a new VS Code window. Select the "Run Extension" debug configuration.
extension/– Contains the VS Code extension source files.webview_ui/– Contains the webview UI built with React.- React builds static files that the extension loads into the webview.
- The React dev server allows developers to preview UI changes in the browser without reloading the extension.
- Python >= 3.12
pip install idaes-connectivitypip install idaes-pseidaes get-extensionspip install git+https://github.com/prommis/flowsheet-inspector-lib.git
- Go to the GitHub repo and download the
.vsixfile. - Open VS Code and click the Extensions icon (four squares) in the sidebar.
- In the top-right corner of the Extensions panel, click the
...menu and select Install from VSIX.... - In the file dialog, select the
.vsixfile you downloaded. - The PrOMMiS icon will now appear in your VS Code sidebar. Click it to open the extension panel.