lib.bip module

lib.bip.Kij(ids, EOS=None, dat=None)[source]

Calculate binary interaction matrix for component of mixture, use bip data from database

Parameters:
idslist

Index of components in database, [-]

EOSstring

Code of equation of state: SRK, APISRK, PR, BWRS, NRTL, UNIQUAC, WILSON

datdict

For EoS with interaction parameter don’t defined in database

lib.bip.Mix_vdW1f(xi, parameters, kij)[source]

Mixing rules of van der Waals

lib.bip.Mix_Stryjek_Vera(self, parameters, kij)[source]

Mixing rules of Stryjek and Vera (1986)

lib.bip.Mix_Panagiotopoulos(parameters, kij)[source]

Mixing Rules of Panagiotopoulos (1985)

lib.bip.Mix_Melhem(parameters, kij)[source]

Mixing Rules of Melhem (1991)

lib.bip.Mixing_Rule(xi, parameters, kij)

Mixing rules of van der Waals