Skip to content
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

Extend detect_clearsky for different data periods #1808

Closed
cwhanse opened this issue Jul 17, 2023 · 0 comments · Fixed by #1784
Closed

Extend detect_clearsky for different data periods #1808

cwhanse opened this issue Jul 17, 2023 · 0 comments · Fixed by #1784
Milestone

Comments

@cwhanse
Copy link
Member

cwhanse commented Jul 17, 2023

The threshold parameters for pvlib.clearsky.detect_clearsky were calibrated using data at 1 minute intervals. Recently, Jordan and Hansen [1] showed how to extend the detect_clearsky function for time-averaged data out to 30 minute intervals. The extension requires different data window length and different values for the threshold parameters, but doesn't require any change to the parameter calculations. Interestingly, the threshold values are linear functions of the data interval.

Describe the solution you'd like
Implement a helper function for detect_clearsky that infers the parameter values from the input data interval.

Describe alternatives you've considered
Leaving as-is.

Additional context

[1] Jordan, D.C. and C. Hansen, "Clear-sky detection for PV degradation analysis using multiple regression", Renewable Energy, v209, p. 393-400, 2023.

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

Successfully merging a pull request may close this issue.

2 participants