Skip to content
Process PI Logo

Process Modeling & Simulation in Python

Build, simulate, and analyze chemical process systems with an open-source Python toolkit.

From pipelines and pumps to heat exchangers and mixers, Process PI provides engineers with the tools to model, optimize, and visualize complex process networks with precision and ease.

Why ProcessPI?

Feature ProcessPI Traditional Spreadsheets Commercial Simulators
Open Source ⚠️
Python Native
Version Control Friendly ⚠️
Automation Ready ⚠️
Cost Free Free $$$$
Engineering Calculations ⚠️

ProcessPI bridges the gap between quick spreadsheet calculations and expensive process simulation software by providing engineers with a programmable engineering toolkit built entirely in Python.


Quick Example

Calculate pressure drop through a carbon monoxide pipeline with valves and elbows.

from processpi.units import *
from processpi.components import *
from processpi.pipelines.engine import PipelineEngine
from processpi.pipelines.pipes import Pipe
from processpi.pipelines.fittings import Fitting

fluid = CarbonMonoxide(
    temperature=Temperature(50, "C")
)

mass_flow = MassFlowRate(1500, "kg/h")

pipe = Pipe(
    name="Main Pipe",
    length=Length(4, "km"),
    material="CS"
)

valves = Fitting(
    fitting_type="gate_valve",
    quantity=2
)

elbows_90 = Fitting(
    fitting_type="standard_elbow_90_deg",
    quantity=6
)

model = PipelineEngine()

model.fit(
    fluid=fluid,
    mass_flow=mass_flow,
    pipe=pipe,
    fittings=[valves, elbows_90],
    available_dp=Pressure(50, "kPa")
)

results = model.run()

print(results.total_pressure_drop.to("atm"))

Example output:

PIPELINE SUMMARY
----------------------------------
Fluid              : Carbon Monoxide
Mass Flow          : 1500 kg/h
Pipe Length        : 4 km
Available ΔP       : 50 kPa

Total Pressure Drop: 0.31 atm

Key Features

  • Pipeline Networks

    Design, simulate, and analyze fluid flow through pipes, valves, pumps, and splitters. Optimize your process network with precise pressure drop and flow calculations.

  • Heat Transfer

    Compute heat flux, energy balances, and heat exchanger performance. Supports a wide range of unit operations for chemical process engineering.

  • Components Library

    Access a curated database of chemicals, mixtures, and equipment properties. Retrieve physical and thermodynamic data for accurate simulations.

  • Visualization & Analysis

    Generate schematics, performance plots, and interactive charts for process optimization.

  • Process Optimization

    Run simulations to optimize process parameters, energy efficiency, and system performance.

  • Documentation & Examples

    Follow tutorials, examples, and API references to get started quickly.


Explore

  • Installation Quick setup guide to install Process PI and get started with Python.

  • User Guide Step-by-step tutorials and detailed documentation for all features.

  • Examples Real-world pipelines, heat transfer, and component simulations you can try immediately.


Validation & Reliability

ProcessPI calculations are validated against established engineering references and published correlations including:

  • Crane TP-410
  • Perry's Chemical Engineers' Handbook
  • GPSA Engineering Data Book
  • Standard fluid mechanics correlations
  • Industry-accepted pressure drop methodologies

Validation examples and benchmark studies will continue to expand with future releases.


Dependencies

ProcessPI is built on top of powerful open-source libraries and AI tools.


Mission

To create the leading open-source Python platform for process and chemical engineering calculations.

Whether you're a student, researcher, consultant, or plant engineer, ProcessPI provides transparent, reproducible, and extensible engineering tools without proprietary limitations.