-
Notifications
You must be signed in to change notification settings - Fork 30
CPA EoS in NeqSim
Even Solbraa edited this page Mar 10, 2023
·
29 revisions
An example of using the the CPA-EoS from NeqSim is given in the following python script:
import neqsim
from neqsim.thermo.thermoTools import fluid, TPflash
from neqsim.thermo import dataFrame
system = fluid('cpa')
system.addComponent('methane', 0.5, 'mol/sec')
system.addComponent('water', 0.5, 'mol/sec')
system.setMixingRule(10) # Composition dependent and temperature dependent mixing rule
system.setPressure(10.0, 'bara')
system.setTemperature(25.0, 'C')
TPflash(system)
dataFrame(system)
- 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