A user-friendly tool for simulating membrane-based CO₂ capture from flue gas.
This simulator helps you design and analyze membrane systems for capturing CO₂ from post-combustion flue gas. It calculates:
- CO₂ capture efficiency
- Required membrane area
- Energy consumption
- Operating costs (OPEX)
-
Run the simulator
python interactive_simulator_compact.py
-
Set your parameters in the GUI:
- Feed flow rate
- CO₂ concentration
- Operating pressure and temperature
- Membrane type
-
Click "Run Simulation" to see results
interactive_simulator_compact.py- Main GUI applicationmembrane_separation.py- Core membrane modelsimulation_core.py- Simulation engineopex_calculator.py- Cost calculationsauto_optimizer.py- Automatic optimization tools
- Interactive GUI - Easy-to-use interface
- Real-time Results - Instant calculation and visualization
- Cost Analysis - OPEX calculations included
- Parameter Sweep - Explore different operating conditions
- Auto Optimizer - Find optimal settings automatically
- Python 3.x
- numpy
- matplotlib
- scipy
- tkinter (usually included with Python)
# Install required packages
pip install numpy matplotlib scipy- Design membrane systems for power plant flue gas
- Optimize operating conditions
- Compare different membrane materials
- Calculate capture costs
To create a standalone executable that doesn't require Python:
pip install pyinstaller
pyinstaller --onefile --windowed --name=MembraneSimulator --exclude-module=PyQt5 --exclude-module=PyQt6 interactive_simulator_compact.pyThe executable will be in the dist folder.
Note for macOS users: The build creates MembraneSimulator.app which you can double-click to run.
Note for Windows users: Use the same command - it will create MembraneSimulator.exe
For questions or issues, please refer to the code documentation or modify parameters in the GUI.
Compact Membrane Separation Package - Updated December 2025