Insolation¶
Insolation computes the direct solar radiation that reaches the terrain on a period of days, with a clear sky. For each half hour of each day, the position of the sun gives the angle of the rays on each cell, from its slope and aspect, and the shadows cast by the surrounding terrain; the radiation crossing the atmosphere is reduced by standard transmittances of the air, the ozone, the water vapour and the aerosols, with the vectorial algebra of Corripio (2003).
The values in kW/m² of each half hour are summed: half of the sum is the energy in kWh/m². The diffuse radiation is not considered, so the slopes in the shadow get nothing. Only the day of the year of the dates is used, so the period can’t cross the end of a year.
Parameters¶
Calculates the clear-sky direct solar radiation that reaches the terrain over a period of days, with the slope, the aspect and the shadows cast by the surrounding terrain. The radiation is computed every half hour of each day, through an atmosphere with standard transmittances, and the values in kW/m² are summed: half of the sum is the energy in kWh/m². The diffuse radiation is not considered.
Toolbox folder: Hydro-Geomorphology
Status: Certified
Keywords: Radiation, Insolation, Solar, Shadow
Authors: Daniele Andreis and Riccardo Rigon
Class: org.hortonmachine.modules.Insolation
Inputs
Parameter |
Type |
Unit |
Default |
Description |
|---|---|---|---|---|
|
raster file |
m |
The map of the elevation. |
|
|
String |
The first day of the period, as yyyy-MM-dd. Only the day of the year is used: the period can’t cross the end of a year. |
||
|
String |
The last day of the period, as yyyy-MM-dd. |
Outputs
Parameter |
Type |
Unit |
Description |
|---|---|---|---|
|
output file |
kW/m² |
The map of the sum of the direct radiation, every half hour of the period. |
References
Corripio, J. G. (2003). Vectorial algebra algorithms for calculating terrain parameters from DEMs and solar radiation modelling in mountainous terrain. International Journal of Geographical Information Science, 17(1), 1-23.
Example¶
The example runs on the sample elevation model of the manual, dtm_flanginec.tif in docs/manual/modules/maps/data, each module on the outputs of the previous ones:
import org.hortonmachine.modules.Insolation
// the folder with the elevation model: change it to yours
var folder = "/data/flanginec/"
// the direct radiation of the summer solstice
var insolation = new Insolation()
insolation.inElev = folder + "dtm_flanginec.tif"
insolation.tStartDate = "2025-06-21"
insolation.tEndDate = "2025-06-21"
insolation.outIns = folder + "insolation.tif"
insolation.process()
The direct radiation of the summer solstice on the sample area, as the sum of the half hours in kW/m²: about 8.5 kWh/m² on the slopes facing the sun, much less in the narrow valleys and on the slopes facing north.¶