Shade calculation model (Heat Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No 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)|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 {{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]]. 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.


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.


Since each timeframe result of a [[Heat_(Overlay)|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, the actual shade calculation is not hard. It works as followed:
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 new cell reached, 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 cell.  
## In case this height is heigher, the cell is shaded and we can stop.
## In case this height is higher, the cell is shaded and we can stop.
## Else continue to the next cell.
## Else continue to the next cell.


See also the following images for further insight.
<gallery mode="nolines">
File:shaded Heat Overlay.png|300px|Rays to the sky are blocked by a tall construction, so the cell is considered to be in the shade.
File:unshaded Heat Overlay.png|300px|Rays to the sky are uninterrupted, so the cell is in direct sunlight.
</gallery>


[[File:shaded_Heat_Overlay.png|500px]][[File:unshaded_Heat_Overlay.png|500px]][[File:Shade_top_down.png|400px]]
[[File:Shade top_down.png|400px]]


== See also ==
== See also ==
* [[Shade_result_type_(Heat_Overlay)|Shade result type]]
* [[Shade result type (Heat Overlay)|Shade result type]]
{{Template:HeatOverlay_formula_nav}}
{{Template:HeatOverlay formula nav}}


{{Template:Heat_Module_buttons}}
{{Template:Heat Module buttons}}

Revision as of 12:35, 18 December 2019

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; 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:

  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 higher, the cell is shaded and we can stop.
    2. Else continue to the next cell.

Shade top down.png

See also