Skip to content
/ pysac Public

Pairwise interaction segment activity coefficients, reference implementation in Python

License

Notifications You must be signed in to change notification settings

lvpp/pysac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pairwise interacting surface activity coefficient, reference implementation in Python

DOI DOI:10.1016/j.fluid.2022.113611 DOI:10.1016/j.fluid.2024.114113

This repository contains a reference implementation of pairwise interacting surface activity coefficient (SAC) equations. There are two accompanying papers showing the derivation of all equations used:

All the relevant SAC equations are implemented in the pysac.py module favoring readability over efficiency. The base code is not dependent on how the surface interaction energies are actually calculated and then it can be adapted to work as a COSMO-RS/SAC, F-SAC, COSMO-SAC-Phi, etc. implementation.

Interactive notebooks

In addition to the SAC equations implementation, there are many jupyter interactive notebooks.

Notebooks related to Ref. 1:

Notebooks related to Ref. 2:

Running on your machine

Requirements

You will need a jupyter installation on your machine.

Clone or download the repository

Clone this repository using git or download the code and extract the zip contents.

Running

Enter the root directory of the project and run:

jupter-notebook

This should start the notebook app and open your web browser so that you can run and edit the notebooks.

Another option is simply to open the project directory with Visual Studio Code and install the suggested Python extensions.

Other related projects

The reader might be also interested in the following related projects:

About

Pairwise interaction segment activity coefficients, reference implementation in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published