NeqSim Wiki
Welcome to the NeqSim documentation. This comprehensive wiki provides guides, tutorials, and reference materials for using the library and contributing to development.
About NeqSim
NeqSim (Non-Equilibrium Simulator) is a Java library for estimating fluid properties and process design. The library contains models for:
- Phase behavior using rigorous equations of state (SRK, PR, CPA, GERG-2008)
- Physical properties (viscosity, density, thermal conductivity, interfacial tension)
- Process equipment (50+ unit operations including separators, compressors, heat exchangers)
- Pipeline flow (two-phase, multiphase, transient simulation)
- Flow assurance (hydrates, wax, asphaltene, scaling)
Development was initiated at the Norwegian University of Science and Technology (NTNU). NeqSim is part of the NeqSim project.
Quick Start
import neqsim.thermo.system.SystemSrkEos;
import neqsim.thermodynamicoperations.ThermodynamicOperations;
// Create a fluid
SystemSrkEos fluid = new SystemSrkEos(298.15, 10.0); // T(K), P(bara)
fluid.addComponent("methane", 0.9);
fluid.addComponent("ethane", 0.07);
fluid.addComponent("propane", 0.03);
fluid.setMixingRule("classic");
// Run flash calculation
ThermodynamicOperations ops = new ThermodynamicOperations(fluid);
ops.TPflash();
// Get results
System.out.println("Z-factor: " + fluid.getZ());
System.out.println("Density: " + fluid.getDensity("kg/m3") + " kg/m3");
๐ Getting Started
๐งช Thermodynamics & Phase Behavior
โ๏ธ Process Simulation
๐ง Equipment Models
๐ PVT & Reservoir
๐ Standards & Quality
Installation
Maven:
<dependency>
<groupId>com.equinor.neqsim</groupId>
<artifactId>neqsim</artifactId>
<version>3.0.0</version>
</dependency>
Download: GitHub Releases
Resources