Skip to content

Implement all-sky spectral irradiance model(s) #1669

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
kandersolar opened this issue Feb 20, 2023 · 2 comments
Open

Implement all-sky spectral irradiance model(s) #1669

kandersolar opened this issue Feb 20, 2023 · 2 comments

Comments

@kandersolar
Copy link
Member

Is your feature request related to a problem? Please describe.
pvlib's spectral irradiance modeling is currently limited to pvlib.spectrum.spectrl2, a clear-sky model. As cloudy-sky spectral irradiance takes a different shape from that of clear-sky irradiance, simulating cloudy-sky spectral irradiance is currently a gap in pvlib's capabilities.

Describe the solution you'd like
SEDES2 and TMYSPEC are extensions/add-ons to SPECTRL2 that use broadband irradiance to calculate modifiers that transform clear-sky spectral irradiance to cloudy-sky spectral irradiance. With a python-native SPECTRL2 already implemented, I think it would not take much code to implement one of these as well. However, although the models aren't very complex, it might be difficult to find all the details (coefficient tables and such) necessary for implementation.

On that note @shirubana has kindly sent me a C# implementation of SEDES2 from Bill Marion (used in NREL/TP-520-47277) as well as a python translation of her own creation. This code claims to be a descendant of Fortran code dated Aug 1 1992 developed by Centre for Solar Energy and Hydrogen Research (ZSW) in Germany by Stefan Nann and Angelika Bakenfelder.

Describe alternatives you've considered
N/A

Additional context
I think @adriesse has been involved with some studies that used SEDES2.

See also #857 (SMARTS) and #71 (PyRTM).

@shirubana
Copy link

tx for starting this!

I seem to recall talking with Jean Schulte for releasing this and it was possible, but we should make sure we establish the proper copyright/legal path of emails for this...

@adriesse
Copy link
Member

adriesse commented Feb 20, 2023

Yes, I have worked with all of these and I'm pretty sure you could find all the information that is needed to re-implement them. They are historically significant and it would be an interesting activity for sure.

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

No branches or pull requests

3 participants