Electrolytes and NeqSim - equinor/neqsim GitHub Wiki
An example of a celectrolyte calculation in NeqSim is given in this file.
An electrolyte model is selected:
SystemInterface testSystem = new SystemElectrolyteCPAstatoil(273.15 + 60, 10.0);
Ions such as Na+, Ca++, Cl-, CO3-- can be added to the fluid.
To check for chemical reaction we call the method:
testSystem.chemicalReactionInit();
NeqSim will now search for chemical reactions, and add reaction products to the fluid.