Shade calculation model (Heat Overlay)

From Tygron Support wiki
Revision as of 10:44, 17 December 2019 by Bobby@tygron.nl (talk | contribs)
Jump to navigation Jump to search

Whether a cell is in the shade or not is an important factor the Heat Overlay. The notion that a cell is shaded or not determined which PET function is used; PETsun or PETshade, night. In the model described by DPRA Heat stress report, cells can be shaded by buildings, terrain and foliage.

The shade is dependent on the location of the sun. This in turn is dependent on the date and the time of day and the world location of the project.

Since each timeframe result of a Heat Overlay is related to a particular date and time of day, each time frame will have a related sun altitude and sun azimuth angle. These angles are calculated automatically based on the world location of your project and the date of the timeframe.

Once the sun angles and the building, terrain and foliage height are known, the actual shade calculation is not hard. It works as followed:

  1. For each cell:
  2. Travel away from the cell in the direction of the sun azimuth angle.
  3. For each new cell reached, calculate the height of the sun ray based on the altitude angle.
  4. Compare the sun ray altitude with the maximum height (terrain, building and foliage) at the cell.
    1. In case this height is heigher, the cell is shaded and we can stop.
    2. Else continue to the next cell.

See also the following images for further insight.

Shaded Heat Overlay.pngUnshaded Heat Overlay.pngShade top down.png

See also