The Bird Clear Sky Model, (original implemented by Afshin Michael Andreas/NREL, adopted in go lang) authored by Richard Bird, is a broadband algorithm that produces estimates of clear sky direct beam, hemispherical diffuse, and total hemispherical solar radiation on a horizontal surface. The model is based on comparisons with results from rigorous radiative transfer codes. It is composed of simple algebraic expressions with 10 user-provided inputs. Model results should be expected to agree within ±10% with rigorous radiative transfer codes. The model computes hourly average solar radiation for every hour of the year, based on the 10 user input parameters; however, variable atmospheric parameters such as aerosol optical depth, ozone, and water vapor are fixed for the entire year.
This packages requires Go 1.13. If you installed it and set up your GOPATH, just run:
go get -u github.com/maltegrosse/go-bird
You can find some examples in the examples directory.
Please visit https://midcdmz.nrel.gov/sampa/ for additional information.
Some additional helper functions have been added to the original application logic.
(Results validated in Go-Sampa)
Adoption in Golang under MIT license 2020 © Malte Grosse.