Design with Comfort: Enhancing the psychrometric chart with radiation and convection dimensions
See Live Demo
What is this chart?
An expansion to the classic pschrometric chart, including the effects of radiation heat exchange on human comfort.
About the Repo
jupyter_notebookfolder contains a .ipynb file in which you can play with the source code, and see how the app works
appfolder contains the python source code in its plain format, fully bundled as a responsive flask web app
- within the
calculate_chart.pycontains the algorithm, while
application.pyserves the algorithm on the website via
- 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.
Run App Locally
Pull the repo
Start the virtual environment
cd app: Here you can find three files,
application.pyruns the flask web server,
calculate_cart.pyis the core calculation script,
templates/graphs.htmlis the html template that renders the website.
Run the app locally
From the route folder, in terminal, run
You may need to
pip3 install flask first
The app shoudld be locally hosted at http://127.0.0.1:5000/
Deploy to AWS
Install the Elastic Beanstalk CLI https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html
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