Skip to content
Even Solbraa edited this page May 19, 2021 · 26 revisions

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:

  1. Thermodynamic Routines
  2. Physical Properties Routines
  3. Fluid Mechanic Routines
  4. Unit Operations
  5. Chemical Reactions Routines
  6. Statistics/parameter fitting routines
  7. Process simulation routines

Related projects: NeqSim Python/Colab

πŸš€ Getting Started

Wiki:

  1. Getting started with NeqSim and GitHub
  2. Getting started as a NeqSim developer
  3. The NeqSim parameter database

Docs:


πŸ§ͺ Thermodynamics

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:

Docs - Equations of State:

Docs - Flash & Operations:


πŸ›’οΈ Fluid Characterization

Wiki: 8. Oil Characterization 9. Aqueous fluids 10. Electrolytes

Docs:


πŸ”¬ Physical Properties

Docs - Overview:

Docs - Specific Models:


βš™οΈ Process Simulation

Wiki: 11. Process Calculations

Docs - Fundamentals:

Docs - Advanced Process Logic:


πŸ”§ Equipment Models

Compressors & Turbomachinery:

Pumps:

Separation:

Heat Transfer:

Valves & Flow Control:

Tanks & Storage:

Streams & Mixers:

Reactors:

Wells:

Energy & Special Equipment:


🌊 Pipeline & Multiphase Flow

Docs - Overview:

Docs - Single Phase Flow:

Docs - Two-Phase & Multiphase:

Docs - Pressure Drop & Friction:

Docs - Heat & Mass Transfer:

Docs - Transient Flow:


πŸ“Š PVT & Black Oil

Docs - PVT Simulation:

Docs - Black Oil:

Docs - Gas Quality:


🧊 Flow Assurance

Docs - Asphaltene:


⚑ Dynamic & Transient Simulation

Wiki: 18. Dynamic process simulations

Docs:


πŸ›‘οΈ Safety & Relief Systems

Docs - Overview:

Docs - Relief & Blowdown:

Docs - HIPPS:

Docs - Safety Systems:


πŸ“ Standards & Quality

Docs:


πŸ“ˆ Statistics & Parameter Fitting

Docs:


πŸ”Œ Integration & APIs

Wiki: 15. How to make a NeqSim API

Docs - Overview:

Docs - AI/ML:

Docs - MPC & Control:

Docs - Risk & Safety:


🏭 Optimization & Planning

Docs:


πŸ› οΈ Extending NeqSim

Wiki: 12. Adding a thermodynamic model 13. Adding a viscosity model 14. Adding a unit operation

Docs:


⚑ Performance & Deployment

Wiki: 16. Create native image using GraalVM 17. Profiling calculations


πŸ“š Examples & Tutorials

Jupyter Notebooks:

Java Examples:

External:


πŸ”— Quick Links

Clone this wiki locally