Skip to content

HANNA: Hard-constraint Neural Network for Consistent Activity Coefficient Prediction

License

Notifications You must be signed in to change notification settings

tspecht93/HANNA

Repository files navigation

HANNA Project

Paper License: MIT Colab Website MLPROP

This repository contains the implementation of our HArd-constraint Neural Network for Activity coefficient prediction (HANNA). HANNA can be used to predict activity coefficients in any binary mixture whose components can be represented as SMILES strings. You can find details on HANNA in our paper.

MLPROP Website

You can explore HANNA and other models interactively on our new website, MLPROP, without any installation. TOC Figure

Demonstration in Google Colab

If you do not want to install the required packages right now, you can directly try HANNA out in Colab.

Installation

To set up the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/tspecht93/HANNA.git
    cd HANNA
  2. Create the conda environment:

    Use the provided .yml file to create the conda environment.

    For Windows:

    conda env create -f HANNA.yml

    For Linux:

    conda env create -f HANNA_Linux.yml
  3. Activate the environment:

    conda activate HANNA

Usage

You can use the HANNA.ipynb notebook, which provides a demonstration of how to calculate activity coefficients for a binary mixture.

Contents

  • __init__.py: Initialization file for the package.
  • HANNA.py: Contains the neural network architecture of HANNA.
  • Own_Scaler.py: Custom scaler implementation for preprocessing.
  • Plots.py: Function for creating and exporting the plot. Raw values will be saved as csv.
  • Utils.py: Utility functions used throughout the project.
  • HANNA.ipynb: Jupyter notebook demonstrating the usage of HANNA.
  • HANNA.yml: Conda environment configuration file for Windows users.
  • HANNA_Linux.yml: Conda environment configuration file for Linux users.
  • README.md: Project documentation.
  • License.txt: Contains license information for the HANNA.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

HANNA: Hard-constraint Neural Network for Consistent Activity Coefficient Prediction

Resources

License

Stars

Watchers

Forks

Packages

No packages published