potential direct solar radiation from dem?

Does anyone have a GRASS program or script to calculate potential
direct solar radiation from a dem in GRASS? I need to do this for
a large area, so complex algorithms that solve the "horizon proble" or
deal with indirect components may not be practical. Any ideas?

  Bill Baker
  bakerwl@uwyo.edu