NeqSim Examples
This section contains tutorials, code examples, and Jupyter notebooks demonstrating NeqSim capabilities.
๐ Quick Start with Google Colab
The easiest way to try NeqSim is through Google Colab - no installation required!
๐ Click the badge above to open a comprehensive introduction to NeqSim in Colab.
๐ NeqSim-Colab Notebook Collection
The NeqSim-Colab repository contains 100+ notebooks organized by topic:
| Category | Description | Open in Colab |
|---|---|---|
| ๐ Getting Started | Introduction and basic examples | |
| ๐ฌ Thermodynamics | EOS, phase equilibria, flash calculations | Browse |
| ๐ PVT Analysis | PVT simulations and fluid characterization | Browse |
| โ๏ธ Process Simulation | Equipment, separators, compressors | Browse |
| ๐ Fluid Flow | Pipelines, multiphase flow | Browse |
| ๐ข๏ธ LNG | LNG processing and calculations | Browse |
| ๐จ Gas Quality | Gas specifications and calculations | Browse |
| ๐ Hydrogen | Hydrogen systems and storage | Browse |
| โก Power | Power generation, turbines | Browse |
| ๐ฟ Emissions | CO2 capture and emissions | Browse |
| ๐งช Reactions | Chemical reactions, ammonia | Browse |
| ๐ ๏ธ Well Operations | Well modeling and operations | Browse |
| ๐ญ Field Development | Full field simulations | Browse |
| ๐ค AI/ML Integration | Machine learning with NeqSim | Browse |
| ๐ Standards | Industry standards (ISO, etc.) | Browse |
๐ก Tip: To open any notebook in Colab, replace
github.comwithcolab.research.google.com/githubin the URL.
Jupyter Notebook Tutorials
Interactive Python notebooks from this repository:
| Notebook | Description | View Options |
|---|---|---|
| AIPlatformIntegration | See notebook for details | Markdown | nbviewer | Colab |
| ESP Pump Tutorial | See notebook for details | Markdown | nbviewer | Colab |
| FieldDevelopmentWorkflow | See notebook for details | Markdown | nbviewer | Colab |
| GraphBasedProcessSimulation | See notebook for details | Markdown | nbviewer | Colab |
| MPC Integration Tutorial | See notebook for details | Markdown | nbviewer | Colab |
| NetworkSolverTutorial | See notebook for details | Markdown | nbviewer | Colab |
| PVT Simulation and Tuning | See notebook for details | Markdown | nbviewer | Colab |
| TVP RVP Study | See notebook for details | Markdown | nbviewer | Colab |
Java Examples
Example Java code demonstrating NeqSim APIs:
| Example | Description |
|---|---|
| EclipseE300ExportImportExample | Java example |
| FlowRegimeDebug | Java example |
| FlowRegimeDetectionExample | Java example |
| MultiphaseModelPressureDropComparison | Java example |
| RealTimeIntegrationExample | Java example |
| SlugTrackingComparisonExample | Java example |
| TransientPipelineLiquidAccumulationExample | Java example |
| TwoFluidPipeExample | Java example |
| TwoFluidPipelineLiquidAccumulationExample | Java example |
| TwoFluidPipeSlugTrackingExample | Java example |
| TwoFluidVsDriftFluxComparisonExample | Java example |
| WellToOilStabilizationExample | Java example |
Other Tutorials
Additional documentation and guides:
Running the Notebooks
Prerequisites
- Install neqsim-python:
pip install neqsim - Or use Google Colab (click the Colab links above) - no installation needed!
Local Jupyter Setup
# Create a virtual environment
python -m venv neqsim-env
source neqsim-env/bin/activate # On Windows: neqsim-env\Scripts\activate
# Install dependencies
pip install neqsim jupyter matplotlib pandas numpy
# Start Jupyter
jupyter notebook
Then open any of the .ipynb files from this directory.