Processforge
A lightweight Python framework for process simulation, coupling hydraulic, thermal, and reactor workflows.
Install
uv add processforge
For CoolProp-backed units:
uv add "processforge[coolprop]"
Optional solver backends:
uv add "processforge[eo]"
uv add "processforge[eo-casadi]"
uv add "processforge[modelica]"
Quick start
Use plan to validate and preview changes, then apply to solve and store a snapshot. For flowsheets without Tank units, use apply to solve with the EO solver.
pf init
pf plan flowsheets/hydraulic-chain.json
pf apply flowsheets/hydraulic-chain.json
For flowsheets with Tank units, use run to solve with the SM solver. For direct run mode (for dynamic flowsheets with Tank units), use run:
pf run flowsheets/hydraulic-chain.json
Python API
from processforge import EOFlowsheet, validate_flowsheet
config = validate_flowsheet("flowsheets/hydraulic-chain.json")
fs = EOFlowsheet(config, backend="scipy")
results = fs.run()
Usage and Docker
Processforge is also available as Docker images, and can be run in the cloud. See the usage guide for CLI commands, workflows, Docker, and cloud notes.
Flowsheets
The core of Processforge is the flowsheet JSON format, which defines materials, units, and recycle rules. See below for more information on the formats and example flowsheets.
- docs/flowsheets.md : flowsheet JSON format, materials, units, and recycle rules
- flowsheets/ : example flowsheets shipped with the repo
License
BSD 3-Clause License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file processforge-0.2.34.tar.gz.
File metadata
- Download URL: processforge-0.2.34.tar.gz
- Upload date:
- Size: 146.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28a3976bdffeca326ec8560d80edcb97da5fabf5a108cc63c664c345ed1de95b
|
|
| MD5 |
8f65f3d4eaaecc127ebd039f754767d5
|
|
| BLAKE2b-256 |
bed2181af9a755ae0cfb0f40347b6ab25268fd37606baae1b2de7360ce9b6908
|
File details
Details for the file processforge-0.2.34-py3-none-any.whl.
File metadata
- Download URL: processforge-0.2.34-py3-none-any.whl
- Upload date:
- Size: 168.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26df9ae4476a8367214d1f1abc97c4018a3d173b0f77265c92c6a04855412de3
|
|
| MD5 |
125790dc107fab7778bf98d381d0376f
|
|
| BLAKE2b-256 |
19fc00d719a40f5cac9b7e15d2dbc0f2b95db3769e5d40f684e96176a86376f4
|