Industrial Agentic Engineering with NeqSim — AI Agents for Engineering Task Solving in Industry. NeqSim (Non-Equilibrium Simulator) is a comprehensive Java library developed at NTNU.
Quick Navigation
⚡ Quick Start Example
import neqsim.thermo.system.SystemInterface;
import neqsim.thermo.system.SystemSrkEos;
import neqsim.thermodynamicoperations.ThermodynamicOperations;
// Create a natural gas fluid
SystemInterface gas = new SystemSrkEos(298.15, 50.0);
gas.addComponent("methane", 0.90);
gas.addComponent("ethane", 0.05);
gas.addComponent("propane", 0.03);
gas.addComponent("CO2", 0.02);
gas.setMixingRule("classic");
// Perform flash calculation
ThermodynamicOperations ops = new ThermodynamicOperations(gas);
ops.TPflash();
gas.initProperties();
// Get properties
System.out.println("Density: " + gas.getDensity("kg/m3") + " kg/m³");
System.out.println("Compressibility: " + gas.getZ());
🆕 Quickstart & Learning Resources
📖 Documentation Sections
📚 Reference Manual Index
The Reference Manual Index organizes the documentation collection by topic and links to current guides, examples, and package references:
✅ Topic-based navigation
✅ Setup, thermodynamics, process, and engineering guides
✅ Usage guides and verified examples
✅ Cross-referenced documentation
🐍 Python Integration
NeqSim is also available for Python through neqsim-python:
from neqsim.thermo import TPflash, fluid
# Create and flash a natural gas
gas = fluid("srk")
gas.addComponent("methane", 0.9)
gas.addComponent("ethane", 0.1)
gas.setTemperature(298.15, "K")
gas.setPressure(50.0, "bara")
TPflash(gas)
gas.initProperties()
print(f"Gas density: {gas.getDensity('kg/m3'):.2f} kg/m³")
🔗 Resources
📦
GitHub Repository
Source code & issues ☕ Maven Central
Latest releases 🐛 Issue Tracker
Report bugs 💬 Discussions
Community Q&A
Source code & issues ☕ Maven Central
Latest releases 🐛 Issue Tracker
Report bugs 💬 Discussions
Community Q&A