Skip to content

Add REST2 clear-sky model #2453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AdamRJensen opened this issue May 7, 2025 · 4 comments
Open

Add REST2 clear-sky model #2453

AdamRJensen opened this issue May 7, 2025 · 4 comments

Comments

@AdamRJensen
Copy link
Member

The REST2 clear-sky model is developed by Chris Gueymard, who has expressed serious interest in contributing this to pvlib. Notably, the REST2 model is used to generate the NSRDB, so that alone makes it interesting for pvlib in my opinion.

The most obvious place to add it is in the clearsky.py module, although we may consider organizing clear-sky functions into a folder with .py files for each clear-sky function.

Note, NREL has a Python implementation, however, that is outdated. Similarly, Jamie Bright ported version v5 to python here.

It would be great if you could leave a thumbs up if you think this would be a useful addition, and otherwise, any comments are appreciated concerning implementation, etc.

The best reference for REST2 is 10.1016/j.solener.2007.04.008 (refers to v5). Later validation papers related to both v5 and v9.1 are: 10.1016/j.rser.2019.04.006
and 10.1016/j.rser.2020.110087. There is no paper related to the latest v11.5 yet, but Chris is working on it.

ICYMI @adriesse

@cwhanse
Copy link
Member

cwhanse commented May 7, 2025

While REST2 may not provide broad value to PV modelers, there are enough users of pvlib outside of PV modelers that including REST2 has value.

I'm neutral about splitting up clearsky.py. We'd need to keep track of REST2 versions and stay faithful to a version's reference, I think.

@mikofski
Copy link
Member

mikofski commented May 8, 2025

Related: #71 (comment)

@mikofski
Copy link
Member

mikofski commented May 8, 2025

Unrelated I would love to see an all sky model like farms-nit

@adriesse
Copy link
Member

While REST2 may not provide broad value to PV modelers, there are enough users of pvlib outside of PV modelers that including REST2 has value.

I actually think clear sky models are very valuable for PV modelers, although some of them may not know that (yet)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants