- Notifications
You must be signed in to change notification settings - Fork 39
Home
NeqSim (Non-Equilibrium Simulator) is a Java library for estimation of fluid behavior and process design for oil and gas production. NeqSim development was initiated at the Norwegian University of Science and Technology (NTNU) by Even Solbraa. The fundamental theory including the object oriented structure of NeqSim is described in a PhD thesis from NTNU.
This Wiki describes the steps needed to get familiar working with NeqSim in the Java programming language. Use the right menu to navigate in the documentation. Questions and answers can be asked and searched in the Discussion Forum.
NeqSim toolboxes are avalable via GitHub for alternative programming languages.
NeqSim NeqSim is an abbreviation for Non-equilibrium Simulator. It is a tool for thermodynamic and fluid-mechanic simulations. NeqSim enables simulation of the most common unit operations you find in the petroleum industry. The basis for NeqSim is a library of fundamental mathematical models related to phase behavior and physical properties of oil and gas.
NeqSim is built upon a number of modules. Examples of these modules are:
- Thermodynamic Routines
- Physical Properties Routines
- Fluid Mechanic Routines
- Unit Operations
- Chemical Reactions Routines
- Statistics/parameter fitting routines
- Process simulation routines
Related projects: NeqSim Python/Colab
Wiki:
- Getting started with NeqSim and GitHub
- Getting started as a NeqSim developer
- The NeqSim parameter database
Docs:
- Modules Overview
- Reference Manual Index
- Developer Setup
- Contributing Structure
- Getting Started Guide
- Usage Examples
- FAQ
Wiki: 4. Setting up a fluid and flash calculations 5. Select EOS and mixing rule 6. Flash and phase envelope calculations 7. Thermodynamic and physical properties
Docs - Fundamentals:
- Thermo Module Overview
- Thermodynamics Guide
- Fluid Creation Guide
- Component Database Guide
- Mathematical Models
Docs - Equations of State:
Docs - Flash & Operations:
- Flash Calculations Guide
- Flash Equations and Tests
- Thermodynamic Operations
- Thermodynamic Workflows
- Property Flash Workflows
Wiki: 8. Oil Characterization 9. Aqueous fluids 10. Electrolytes
Docs:
- Fluid Characterization
- TBP Fraction Models
- PVT Fluid Characterization
- Fluid Characterization Mathematics
Docs - Overview:
Docs - Specific Models:
- Viscosity Models
- Viscosity Models (Physical Properties)
- Density Models
- Thermal Conductivity Models
- Diffusivity Models
- Interfacial Properties
- Steam Tables IF97
- Humid Air Calculations
Wiki: 11. Process Calculations
Docs - Fundamentals:
- Process Module Overview
- Process Simulation Guide
- Advanced Process Simulation
- Logical Unit Operations
- Process Control
- Process Controllers
Docs - Advanced Process Logic:
- Process Logic Framework
- Process Logic Implementation
- Process Logic Enhancements
- Advanced Process Logic
- Runtime Logic Flexibility
- Integrated Workflow Guide
- Equipment Factory
- Process Calculator
- Graph-Based Process Simulation
- Parallel Process Simulation
- Recycle Acceleration Guide
- Differentiable Thermodynamics
- Derivatives and Gradients
Compressors & Turbomachinery:
- Compressor Calculations (Wiki)
- Compressor Curves (Wiki)
- Compressors
- Expanders
- Turboexpander Compressor Model
- Ejectors
Pumps:
Separation:
Heat Transfer:
Valves & Flow Control:
Tanks & Storage:
Streams & Mixers:
Reactors:
Wells:
Energy & Special Equipment:
Docs - Overview:
Docs - Single Phase Flow:
Docs - Two-Phase & Multiphase:
Docs - Pressure Drop & Friction:
Docs - Heat & Mass Transfer:
- Pipeline Heat Transfer
- Pipe Wall Heat Transfer
- Heat Transfer
- Interphase Heat Mass Transfer
- Mass Transfer
Docs - Transient Flow:
- Multiphase Transient Model
- Transient Multiphase Pipe
- Pipeline Transient Simulation
- Pipeline Model Recommendations
- Water Hammer Implementation
- Two-Phase Flow Development Plan
Docs - PVT Simulation:
Docs - Black Oil:
Docs - Gas Quality:
Docs - Asphaltene:
- Flow Assurance Overview
- Asphaltene Modeling
- Asphaltene CPA Calculations
- Asphaltene DeBoer Screening
- Asphaltene Method Comparison
- Asphaltene Parameter Fitting
- Asphaltene Validation
Wiki: 18. Dynamic process simulations
Docs:
Docs - Overview:
Docs - Relief & Blowdown:
- PSV Dynamic Sizing
- PSV Dynamic Sizing (Safety)
- Rupture Disk Dynamic Behavior
- ESD Blowdown System
- Fire Blowdown Capabilities
- Fire Heat Transfer Enhancements
Docs - HIPPS:
Docs - Safety Systems:
- Integrated Safety Systems
- SIS Logic Implementation
- Pressure Monitoring ESD
- PSD Valve HIHI Trip
- ESD Fire Alarm System
- Choke Collapse Protection
- Alarm System Guide
- Alarm Triggered Logic Example
- Integration Safety Chain Tests
- Process Safety Scenarios
Docs:
- Standards Overview
- ASTM D6377 RVP
- Dew Point Standards
- ISO 15403 CNG Quality
- ISO 6578 LNG Density
- ISO 6976 Calorific Values
- Sales Contracts
Docs:
Wiki: 15. How to make a NeqSim API
Docs - Overview:
Docs - AI/ML:
Docs - MPC & Control:
Docs - Risk & Safety:
Docs:
- Bottleneck Analysis
- Field Development Planning
- Field Development Engine
- Batch Studies
- Calibration
- Sustainability & Emissions
- Future Infrastructure
- Future API Reference
- Lifecycle Management
Wiki: 12. Adding a thermodynamic model 13. Adding a viscosity model 14. Adding a unit operation
Docs:
Wiki: 16. Create native image using GraalVM 17. Profiling calculations
Jupyter Notebooks:
- ESP Pump Tutorial
- PVT Simulation and Tuning
- MPC Integration Tutorial
- AI Platform Integration
- Graph-Based Simulation
Java Examples:
- Java Test Examples
- Flow Regime Detection
- Multiphase Pressure Drop Comparison
- Transient Pipeline Liquid Accumulation
- Well to Oil Stabilization
External: