Using stellarium to estimate direct sunlight hours

Asked by Hippasus

I have an idea for a feature that uses Stellarium's capabilities for a possibly surprising use.

Farmers and gardeners need to estimate the amount of direct sunlight their garden receives during the year when planning their plots. In urban areas this is especially difficult because shade from surrounding buildings, trees, and terrain can be hard to predict for a novice. Some gardening websites suggest mapping the shaded areas in different intervals of the day and of the year (say, at 9am, noon and 3pm on the days of the solstices and equinoxes). Alternatively there are light meters one can place in a specific point in the garden to check at the end of the day how much sun that specific point received.

These methods are not very efficient if one wants to plan the upcoming year in a new plot. Consider a garden designer visiting a large plot for the first time who needs to decide which areas get the most sun, and how much.

Now if high-quality hourly satellite images of the past year were available, this would be an easy task. But I'm not sure if such images exist for every point on the planet, or if they will be available in the near future. My idea is to use Stellarium instead.

A rudimentary approach could be the following: stand at a point in your garden during the night and see what areas of the sky are visible (e.g. see which stars aren't hidden by terrain, buildings, and trees in this specific time). Once you know what area of the sky is visible, you can open Stellarium and run through any day in the past or future to see how long the sun remains in this area. Presumably a script can calculate how many hours of sunlight your point gets in every day of the year. If the task is simple enough it can be repeated at several points in the garden to determine which gets the most or the least amount of direct sun.

Ideally, using accurate location coordinates this marking of visible sky can be done even during the day. Possibly measuring at several points would be enough to have information about the area between these points. I believe that a tool that can easily determine how much sunlight every point in a garden receives would be extremely valuable, and that Stellarium's capabilities can be used to build such a tool.

To summarize, do you believe that my approach for calculating sunlight can work? And can it be done with the help of Stellarium?

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
gzotti (georg-zotti) said :
#1

How fit are you building 3D models? You can use e.g. Sketchup to simulate sunshine and shadows.
For Stellarium, you can make panoramas ("landscapes") for each point and test horizon altitude. This *could* be used in a script. Else, GIS software can compute shadows and sunshine hours from digital terrain data. Other Architectural software can do similar. And some new functionality is indeed in the works for Stellarium, hold on!

Can you help with this problem?

Provide an answer of your own, or ask Hippasus for more information if necessary.

To post a message you must log in.