Skip to the content.

NeqSim Examples

This section contains tutorials, code examples, and Jupyter notebooks demonstrating NeqSim capabilities.

Jupyter Notebook Tutorials

Interactive Python notebooks using NeqSim through neqsim-python:

Notebook Description View Options
AIPlatformIntegration See notebook for details Markdown | nbviewer | Colab
AdvancedRiskFramework Tutorial See notebook for details Markdown | nbviewer | Colab
BeerBrewing BioProcess Simulation See notebook for details Markdown | nbviewer | Colab
ESP Pump Tutorial See notebook for details Markdown | nbviewer | Colab
GERG-2008-NH3 Ammonia Properties Pure NH3 density validation vs NIST, CH4-NH3 mixture, compressibility and density isotherms using Gao EOS nbviewer | Colab
FieldDevelopmentWorkflow See notebook for details Markdown | nbviewer | Colab
GraphBasedProcessSimulation See notebook for details Markdown | nbviewer | Colab
H2S Distribution Modeling See notebook for details Markdown | nbviewer | Colab
IntegratedProductionRiskAnalysis See notebook for details Markdown | nbviewer | Colab
LNG Heat Exchanger (BAHX) Demo Comprehensive BAHX demo: composite curves, exergy, adaptive zones, Manglik-Bergles, transient, core sizing, freeze-out, maldistribution, mechanical design, cost, SMR cycle nbviewer
LNG Ageing Basics Single-tank ageing simulation: composition evolution, BOG rate, Wobbe index, voyage profiles nbviewer
LNG Ageing Advanced Tank geometry, sloshing model, methane number, rollover detection, multi-zone heat transfer nbviewer
LNG Ship Voyage Multi-tank Q-Max carrier voyage: per-tank evolution, shared BOG handling, ship-level KPIs nbviewer
LoopedPipelineNetworkExample See notebook for details Markdown | nbviewer | Colab
MPC Integration Tutorial See notebook for details Markdown | nbviewer | Colab
MercuryRemoval LNG Pretreatment See notebook for details Markdown | nbviewer | Colab
MultiScenarioVFP Tutorial See notebook for details Markdown | nbviewer | Colab
MultiphaseFlowPipelineRiser Interactive See notebook for details Markdown | nbviewer | Colab
NeqSim Python Optimization 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
ProducedWaterEmissions Tutorial See notebook for details Markdown | nbviewer | Colab
ProductionOptimizer Tutorial See notebook for details Markdown | nbviewer | Colab
ProductionSystem BottleneckAnalysis See notebook for details Markdown | nbviewer | Colab
ReadingFluidProperties See notebook for details Markdown | nbviewer | Colab
TVP RVP Study See notebook for details Markdown | nbviewer | Colab
TwoFluidPipe Tutorial See notebook for details Markdown | nbviewer | Colab
Asphaltene Stability Analysis Multi-method asphaltene prediction: De Boer screening, Flory-Huggins, CPA EOS, Pedersen cubic, Refractive Index, literature validation with 7 published cases nbviewer | Colab
TwoFluidPipe Comprehensive Tutorial Complete guide: steady-state, transient, three-phase (gas-oil-water), terrain effects, heat transfer, Beggs-Brill validation, slug tracking nbviewer | Colab
Out-of-Zone Injection Modeling Multi-zone injection, fracture containment, annular leakage, cement CO2 degradation, multi-compartment reservoir, Hall plot conformance monitoring nbviewer | Colab

Java Examples

Example Java code demonstrating NeqSim APIs:

Example Description
EclipseE300ExportImportExample Java example
FlowRegimeDebug Java example
FlowRegimeDetectionExample Java example
MultiScenarioVFPExample Java example
MultiphaseModelPressureDropComparison Java example
OffshoreEmissionReportingExample Java example
RealTimeIntegrationExample Java example
SlugTrackingComparisonExample Java example
TransientPipelineLiquidAccumulationExample Java example
TwoFluidPipeExample Java example
TwoFluidPipeSlugTrackingExample Java example
TwoFluidPipelineLiquidAccumulationExample 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.