Sun and Shadow Analysis on Terrain

How much sun does this slope actually get? Sun and Shadow Analysis answers that from the landform itself — the deciding question for solar siting, for orchards and frost pockets, and for anyone planning work on a pit wall that only thaws after ten o'clock. This guide explains what it computes, what it does not, and which inputs matter.

Step 1: where the sun is

Solar position — the sun's azimuth and elevation — follows from date, time of day and geographic position. It is pure astronomy and it is exact; nothing about your data affects it.

This is also why the geographic coordinates of your project matter for sun analysis even if all your measurements are in a projected grid. A site placed at the wrong longitude gets the right sun path at the wrong time of day.

Step 2: what is in shadow

For a given sun position, every cell is tested: does the terrain between this cell and the sun rise high enough to block the ray? If yes, the cell is shaded.

Two distinct effects come out of this. Self-shading, where a slope faces away from the sun and gets no direct light regardless of what is around it. And cast shadow, where a ridge or a pit wall throws shade onto ground that is otherwise well oriented.

Cast shadow is the one that surprises people. A south-facing slope in the northern hemisphere looks ideal until you notice the ridge to its east delays sunrise there by two hours every day of the year.

Step 3: hours, and then energy

Repeat the shadow test through the day at a fixed time step and count the steps each cell was lit. That count, scaled, is sunlight hours — the simplest and most intuitive output.

Insolation goes further. Instead of counting whether light arrived, it accumulates how much: the intensity depends on the angle between the sun and the surface, so a steep slope catching the sun obliquely receives less energy per square metre than flat ground under the same sun.

Use hours when the question is duration — will this bench be workable by 9 am, does this orchard row get six hours. Use insolation when the question is energy — which of these two slopes will produce more from the same panels.

STREAM computes both sunlight hours and solar insolation over the terrain.

The inputs that change the answer

The date. There is no single "sun" result. Winter solstice is the worst case and the one that governs system design; equinox is the balanced case; summer solstice flatters everything. Analysing one date and calling it the answer is the most common mistake.

The time step. A coarse step misses narrow shadows from thin obstructions. A very fine step costs time without adding much once the step is well below the duration of the shadows you care about.

The extent. Shading comes from terrain that may sit well outside your area of interest — a mountain 5 km east still delays your sunrise. If your DEM stops at the site boundary, your mornings will look sunnier than they are.

The surface. On bare-earth terrain, buildings and trees cast no shadow. That is right for assessing the landform and wrong for assessing a specific roof.

What it is used for

Solar siting: ranking candidate areas by real received energy rather than by aspect alone, and finding the rows that a ridge will shade every morning.

Agriculture: frost pockets, orchard and vineyard row orientation, and which fields warm first in spring.

Mining and quarrying: when a face or bench comes into sun, which matters for ice, for thaw and for scheduling.

Site and building planning: overshadowing of neighbours, and where amenity space will actually be sunny.

Snow and hydrology: melt timing follows sun exposure closely on complex terrain.

The limits to respect

This is a geometric model of direct sunlight on a surface. It does not know about clouds, haze, or the diffuse light that a real sky delivers even in shade — which is why a fully shaded cell is not actually at zero energy in reality.

It also does not model the panels, the trackers, the soiling or the temperature losses. Terrain sun analysis tells you what the landform does to the sunlight. Turning that into predicted yield is a separate calculation with its own assumptions.

Frequently asked questions

What is the difference between self-shading and cast shadow in a terrain sun analysis?

Self-shading is when a slope faces away from the sun and gets no direct light regardless of what is around it, while cast shadow is when a distant feature (like a ridge) blocks the sun from reaching an area — for example, a south-facing slope can still have its sunrise delayed by two hours if a ridge sits to its east.

What is the difference between sunlight hours and insolation?

Sunlight hours count how many illuminated time steps a point on the terrain receives through the day, while insolation accumulates how much energy arrives, based on the angle between the sun and the surface. Hours are better for duration questions; insolation is better for comparing energy received.

What inputs change the result of a sun and shadow analysis?

The key inputs are the analysis date (winter solstice is the usual worst case), the time step used to sample the day, the spatial extent considered (since distant terrain can still cast shadows), and the surface used — bare-earth models don't account for shadows cast by buildings or trees.

What are the limitations of this sun and shadow model?

It is a purely geometric model of direct sunlight, so it does not account for atmospheric effects such as clouds, haze, or diffuse light, nor for equipment-specific factors like solar panel orientation, trackers, soiling, or temperature-related losses.

Run sun and shadow analysis in STREAM

Native Windows · fully offline · free beta

Sun and Shadow Analysis Software