SLE Solver Icon

SLE Solver

Dates
November 2024 - December 2024
Role
Student / Builder
Link
@gui
Link
@code
SciPy LogoSciPy
NextJS LogoNextJS
Flask LogoFlask
React LogoReact
tailwindcss Logotailwindcss
Redux LogoRedux
Overview

This tool was built for the final term project of CHBE610: Graduate Thermodynamics. The scope of this project was to build a GUI and underlying code to perform certain tasks. This included using the NRTL model to solve for SLE phase conditions of a binary mixture. The system was generalizable to the effect that NRTL and material parameters were inputted to describe the constituent materials. The second task was to determine the heat duty and final pressure exhibited by a batch process, with the goal of seperating a pure solid Benzene from a Benzaldehyde(1)-Benzene(2) liquid mixture. For this problem, the Peng-Robinson Equations of State was utilized to solve for mixture conditions and necessary thermodynamic properties.

Implementation

The front end was build using a Next.js web application build using React, typescript, and tailwindcss for styling. Ant Design components were also used. A redux store was utilized to maintain a manageable state across the entire application. This store was also persisted in order to maintain a user state across seessions, by saving the store to local storage. Thermodynamic calculations were performed using python, organized in a class structure. These solvers were accessed by the front-end via a Flask API.

Example GUI Output
Project Figure
Use NRTL model to graphically determine phase conditions of binary mixture.