An expansion to the classic pschrometric chart, including the effects of radiation heat exchange on human comfort.
- The
jupyter_notebook
folder contains a .ipynb file in which you can play with the source code, and see how the app works - The
app
folder contains the python source code in its plain format, fully bundled as a responsive flask web app- within the
app
folder, thecalculate_chart.py
contains the algorithm, whileapplication.py
serves the algorithm on the website viatemplates/graphs.html
- within the
A paper submitted by Eric Teitelbaum, Prageeth Jayathissa, Clayton Miller and Forrest Meggers to the journal Energy and Buildings
This paper presents a makeover of the psychrometric chart using a new color-shading method that allows the whole chart to be considered comfortable based on the variation of non-air temperature comfort parameters such as mean radiant temperature, air movement, and the transitional behavior of occupants. These representations allow for thinking outside the thermal comfort box with the use of innovative system types and comfort feedback for occupants. The new chart representations are then applied on several real-world scenario datasets to illustrate the value in practice. An open-source repository is available for other researchers to reproduce the charts and color-shading for their own projects using Python and the matplotlib visualization library. The chart is also served at comfortch.art.
-
Pull the repo
[email protected]:buds-lab/psychrometric-chart-makeover.git
, andcd psychrometric-chart-makeover
-
Start the virtual environment
source v_env/bin/activate
-
cd app
: Here you can find three files,application.py
runs the flask web server,calculate_cart.py
is the core calculation script,templates/graphs.html
is the html template that renders the website. -
Run the app locally
From the route folder, in terminal, run
export FLASK_APP=application.py
flask run
You may need to pip3 install flask
first
The app shoudld be locally hosted at http://127.0.0.1:5000/
-
Install the Elastic Beanstalk CLI https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html
-
Run
eb deploy
if it doesn't work, check out the wiki, talk to PJ or see the elastic beanstalk-flask documentaiton which is a buit sucky https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-flask.html