Shade calculation model (Heat Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Whether a cell is in the shade or not is an important factor in the [[Heat Overlay]]. The notion that a cell is shaded or not determined which PET function is used; PET<sub>sun</sub> or PET<sub>shade, night</sub>. In the model described by the {{Template:Heat DPRA Report}}, cells can be shaded by buildings, terrain and foliage.
Whether a cell is in the shade or not is an important factor in the [[Heat Overlay]]. Whether a cell is shaded or not determines which PET function is used, PET<sub>sun</sub> or PET<sub>shade, night</sub>. In the model described by the {{Template:Heat DPRA 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 [[Dates (Heat Overlay)|date and the time of day]] and the world location of the project.
The shade is dependent on the location of the sun. This in turn is dependent on the [[Dates (Heat Overlay)|date and the time of day]] and the world location of the project.
Line 5: Line 5:
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 (Heat Overlay)|sun altitude]] and [[Sun azimuth (Heat Overlay)|sun azimuth angle]]. These angles are calculated automatically based on the world location of your project and the [[Dates (Heat Overlay)|date]] of the timeframe.
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 (Heat Overlay)|sun altitude]] and [[Sun azimuth (Heat Overlay)|sun azimuth angle]]. These angles are calculated automatically based on the world location of your project and the [[Dates (Heat Overlay)|date]] of the timeframe.


Once the sun angles and the building, terrain and foliage height are known, whether the cell is shaded or not is computed as follows:
Once the sun angles and the building, terrain and foliage height are known, whether the cell is shaded or not is computed as follows for each cell:
# For each cell:
# Travel away from the cell in the direction of the sun azimuth angle.
# Travel away from the cell in the direction of the sun azimuth angle.
# For each new cell reached, calculate the height of the sun ray based on the altitude angle.  
# For each cell traversed this way, calculate the height of the sun ray based on the altitude angle.
# Compare the sun ray altitude with the maximum height (terrain, building and foliage) at the cell.  
# Compare the sun ray altitude with the maximum height (terrain, building and foliage) at the traversed cell.
## In case this height is higher, the cell is shaded and we can stop.
## If the surface height in the traversed cell higher, the cell is shaded and we can stop.
## Else continue to the next cell.
## If the sun ray altitude in the traversed cell is higher, the calculation is performed again for the next traversed cell.
## If all cells are traversed and the computation didn't stop in any cell, the cell can be reached by direct sunlight and the cell is not shaded.


<gallery mode="nolines">
<gallery mode="nolines">

Revision as of 12:45, 18 December 2019

Whether a cell is in the shade or not is an important factor in the Heat Overlay. Whether a cell is shaded or not determines which PET function is used, PETsun or PETshade, night. In the model described by the 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, whether the cell is shaded or not is computed as follows for each cell:

  1. Travel away from the cell in the direction of the sun azimuth angle.
  2. For each cell traversed this way, calculate the height of the sun ray based on the altitude angle.
  3. Compare the sun ray altitude with the maximum height (terrain, building and foliage) at the traversed cell.
    1. If the surface height in the traversed cell higher, the cell is shaded and we can stop.
    2. If the sun ray altitude in the traversed cell is higher, the calculation is performed again for the next traversed cell.
    3. If all cells are traversed and the computation didn't stop in any cell, the cell can be reached by direct sunlight and the cell is not shaded.

Shade top down.png

See also