NRTL
Non-random two-liquid model (NRTL) module.
- class NRTL(a, b, c)[source]
Bases:
GeModel
Non-random two-liquid model (NRTL) class.
- Parameters:
a (array_like) – NRTL aij parameters matrix
b (array_like) – NRTL bij parameters matrix
c (array_like) – NRTL cij parameters matrix
- a
NRTL aij parameters matrix
- Type:
array_like
- b
NRTL bij parameters matrix
- Type:
array_like
- c
NRTL cij parameters matrix
- Type:
array_like
- id
NRTL model ID
- Type:
int
Example
import numpy as np from yaeos import NRTL a = np.array([[0, 0.3], [0.3, 0]]) b = np.array([[0, 0.4], [0.4, 0]]) c = np.array([[0, 0.5], [0.5, 0]]) nrtl = NRTL(a, b, c)