Graphing Vapour Pressure as a Function of Temperature
here and was developed using Python for the backend, Streamlit for the front end and Bokeh for the graph generations.
Generating graphs of vapour pressure vs. tempearture graphs using Antoine's equation. The app can be viewedInstallation
Clone the repository using:
git clone https://github.com/thomaslee01/VapourPressureGraph
Use the package manager pip to install requirements.txt.
pip install -r /path/to/requirements.txt
Usage
Windows 10:
Ensure that you have dependencies installed from requirements.txt above and from the directory of streamlit_app.py, open cmd.exe and enter the following:
streamlit run Antoine_Graph.py
Example (outdated, will update soon)
Below is an example of how to use the app itself when viewed here or through a local server through localhost.
streamlit_demo.mp4
Image of the Downloaded Plot:
Table of Values:
The example above showcased the values of Acetaldehyde and were retrieved from Table B.4 of Elementary Principals of Chemical Processes 4th Ed. by Richard M. Felder.
Things to update:
- Include docstrings for classes and functions
- Refactoring code, the functions are very very ugly to edit and look at.
- Layout changes, move the graph to the right of the web app instead of having it hanging at the bottom.
- Update graph line legend (blue line) to reflect the pressure units seleteced.
- Change file type to .csv