Skip to the content.

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!

Open In Colab

๐Ÿ‘† 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 Colab
๐Ÿ”ฌ 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.com with colab.research.google.com/github in 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

  1. Install neqsim-python:
    pip install neqsim
    
  2. 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.