NeqSim

Logo

NeqSim is a library for estimation of behaviour and properties of fluids. NeqSim is available for free use and distributed as open source under the Apache-2.0 licence.

Links:

NeqSim Documentation

NeqSim WebApp

Latest Release

Contact project via email

For Q&A use discussions page

NeqSim — an Open-Source Process Simulation Software

NeqSim is a library for the calculation of fluid behavior, phase equilibrium, and process simulation. NeqSim can be used via various toolboxes or through a web interface. It can be integrated into computer programs via available interfaces in Java, Python, .NET, and MATLAB, or into process simulators via the CAPE-OPEN interface.

The basis for NeqSim is fundamental mathematical models related to unit operations, phase behavior, and physical properties of fluids. NeqSim is used for fluids such as oil and gas, carbon dioxide, refrigerants, hydrogen, ammonia, water, and chemicals.

Support related to the use and development of NeqSim is provided by the Department of Energy and Process Engineering at NTNU.


NeqSim — Key Capabilities


NeqSim Project on GitHub

The NeqSim library is written in the Java programming language. The source code and libraries are hosted on GitHub.

Also see the experimental data and parameter fitting project.


NeqSim Toolboxes on GitHub

NeqSim toolboxes are available on GitHub for alternative programming languages.


NeqSim User Documentation

A comprehensive user manual is available for NeqSim, covering thermodynamic models, methods, and usage examples.


Getting Started

NeqSim can be integrated into computer programs via interfaces in Java, Python, .NET, and MATLAB.


NeqSim Discussions

Questions related to use and development can be asked on the NeqSim GitHub Discussions page.


Examples

Java

MATLAB

Python

NeqSim.NET

Excel/CAPE-OPEN


NeqSim API

NeqSim is well suited as a basis for developing APIs for thermodynamic and process calculations.


NeqSimLive

NeqSimLive is a collection of container-based APIs used for simulation and performance monitoring of process plants. NeqSimLive APIs are typically consumed by company-specific tools for scheduling calculations, visualization, and data writing.

Support for developing digital twin components for flow assurance, process, and transport can be requested from the Energy and Process Technology group at NTNU.


NeqSim Web Applications

A web application has been developed to run calculations using NeqSim via a web interface. Calculations such as TPflash, dew points, phase envelopes, and hydrate equilibrium calculations can be performed in the web application. An alternative web interface is available via Google Colab (Python).


NeqSim AI

NeqSim Process Reinforcement Learning Agents is an open-source project that leverages multi-agent reinforcement learning (RL) to optimize oil and gas processes simulated using the NeqSim package. The framework allows intelligent agents to control different process components — compressors, valves, pumps, and heat exchangers — to minimize emissions, CO₂ footprint, power consumption, and heat input while maintaining product quality and operational stability.


Benchmark

See the NeqSim benchmark project.

A benchmark of computational speed is published on the benchmark page.