Skip to Content
Author's profile photo David Lincourt

It’s hot out here!

UPDATED: Fixed a bug in the ESI calculation and rebuild the application with a simpler UI. PS… It was hot out this morning too.

 

It’s a hot summer day in Halifax Nova Scotia. It’s the eve of Canada Day and my son and his girlfriend tried to go out for a run a couple of hours ago. They thought it would be ok as it was 28 °C or so outside. What they failed to take into consideration was that it was mid-day with bright sunshine and fairly humid. No surprise… they came back pretty quick and went for a swim instead.

 

A bit of a coincidence really… I have been working today on building a small demo/prototype of an IoT application that would display the Environmental Stress Index or ESI on my iPhone. I finished it a bit after they came back.

 

The ESI is calculated using the ambient temperature (Ta in °C), relative humidity (RH in %), and solar radiation (SR in W/m2). The RSI has been shown to be a valid approximation of the Wet Bulb Temperature used to measure how hot it feels.

 

ESI=0.63Ta–0.03RH+0.002SR+0.0054(Ta·RH)–0.073(0.1+SR)^(-1)

 

Source : http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.411.4416&rep=rep1&type=pdf

 

I used my Texas Instrument SensorTag which is equipped with temperature, humidity, and light sensors. Now, the light sensor does not measure the solar radiation but light in Lux. However, for sunshine, there is an approximate conversion of 0.0079 W/m2 per Lux.

 

Source: http://bccp.berkeley.edu/o/Academy/workshop08/08%20PDFs/Inv_Square_Law.pdf

 

Using the two following SCN Blogs for inspiration, I built a very simple application on my HCP Trial Account:

 

 

The US Army has published in the Commanders’, Senior NCOs’, and Instructors’ Guide to Risk Management of Heat Casualties tables to categorize heat.

 

Source: http://www.tradoc.army.mil/surgeon/pdf/heat%20risk%20manual.pdf

 

I used the same categorization to provide a color code flag to HIS.

IMG_1424.PNGIMG_1425.PNG

 

The image on the left shows the ESI in the sun while the other one in the shade.

 

If I would have had this application ready before they went out… I could have advised them to skip the run and go straight into the pool as the ESI was in category 2 – green! While seemingly ok… we have had a cool summer and spring so far. They were not acclimatized to this heat yet.

 

The moral of the story is that in a couple of hours I built a simple application that combines sensor data published on the HANA Cloud Platform that can provide vital advice.

 

It’s clearly hot out here!

Have a great Canada Day! And to my American friends… a great 4th of July.

Assigned tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Michael Ameling
      Michael Ameling

      Hi David! Thanks for sharing. This is a very interesting approach an the app looks very nice.

      Author's profile photo David Lincourt
      David Lincourt
      Blog Post Author

      Thanks

      Author's profile photo Former Member
      Former Member

      Very cool - thanks for sharing, David!

      Have a great Canada Day!

      Author's profile photo David Lincourt
      David Lincourt
      Blog Post Author

      Thanks

      Author's profile photo Amar Jadhav
      Amar Jadhav

      cool idea though it is hot in Canada.

      Author's profile photo David Lincourt
      David Lincourt
      Blog Post Author

      Thanks - 😀