Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Go adoption of NREL's Solar Position Algorithm (SPA), which calculates the solar zenith and azimuth angles in the period from the year -2000 to 6000

License

NotificationsYou must be signed in to change notification settings

maltegrosse/go-spa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report CardGoDocGo

NREL's Solar Position Algorithm (SPA) calculates the solar zenith and azimuth angles in the period from the year -2000 to 6000, with uncertainties of +/- 0.0003 degrees based on the date, time, and location on Earth.

(Reference: Reda, I.; Andreas, A., Solar Position Algorithm for Solar Radiation Applications, Solar Energy. Vol. 76(5), 2004; pp. 577-589).

Installation

This packages requires Go 1.13. If you installed it and set up your GOPATH, just run:

go get -u github.com/maltegrosse/go-spa

Usage

You can find some examples in theexamples directory.

Please visithttps://midcdmz.nrel.gov/spa/ for additional information.

Some additional helper functions have been added to the original application logic.

Notes

NREL spa_tester.cSPA GO
Julian Day2452930.3128472452930.312847
L24.0182624.018262
B-0.0001011219-0.000101121925
R0.9965420.996542
H11.10590211.105902
Delta Psi-0.003998404-0.003998404303
Delta Epsilon0.0016665680.001666568177
Epsilon23.44046523.440465
Zenith50.11162250.111622
Azimuth194.340241194.340241
Incidence25.18700025.187000
Sunrise2003-10-17 06:12:432003-10-17 06:12:43
Sunset2003-10-17 17:20:192003-10-17 17:20:19

License

NREL SPA License

Adoption in Golang underMIT license 2020 © Malte Grosse.

About

Go adoption of NREL's Solar Position Algorithm (SPA), which calculates the solar zenith and azimuth angles in the period from the year -2000 to 6000

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp