-
Notifications
You must be signed in to change notification settings - Fork 31
The NeqSim parameter database
NeqSim reads the model parameters (such as Tc, Pc, acentric factor, kij, etc.) from a SQL database via a JDBC connection.
A Java Derby database is embedded in the source code distribution, and is the default parameter database used by NeqSim. The acess to the parameter database is done in the NeqSimDatabase class.
A new parameter databases can be used by inserting required tables, and setting the JDBC connection in the NeqSimDatabase.class. A simple way to create a new parameter database used by NeqSim is:
-
Create a new paramter database using the [SQL script] (https://github.com/equinor/neqsim/releases/tag/v1.0) (creates a copy of the embedded Derby database and populates it with the default parameters)
-
Modifying the connection string in the NeqSimDatabase class:
neqsim.util.database.NeqSimDataBase.setDataBaseType("mySQL"); neqsim.util.database.NeqSimDataBase.setConnectionString("jdbc:mysql://tr-w33:3306/neqsimthermodatabase");
The most important tables in the parameter database is the COMP table with the pure component parameters and the INTER table with binary interaction coefficients.
- Getting started with NeqSim and GitHub
- Getting started as a NeqSim developer
- The NeqSim parameter database
- Example of setting up a fluid and running simple flash calculations
- Select thermodynamic model and mixing rule
- Flash calculations and phase envelope calculations using NeqSim
- Calculation of thermodynamic and physical properties using NeqSim
- Oil Characterization in NeqSim
- Aqueous fluids and NeqSim
- Electrolytes and NeqSim
- Process Calculations in NeqSim