-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Suggestion to change the default solar constant in get_extra_radiation() #2099
Comments
We could also make the solar constant optional, then default to the one recommended by each model? A bit of over-engineering for such small differences, but possibly the best approach to be as accurate as possible with the references. |
Many (all?) models were developed with specific values, so it's probably best if they default to those. |
Agreed with @echedey-ls and @adriesse that each model should default to the values that they were developed with. Reading through the provided references in the docstring here are the provided values for solar constant. Note that some of the references do not agree with each other. [1] pg. 13, 1366.1 for Spencer model I was unable to match references for pyephem and NREL methods, but I also didn't look very hard. |
I would also like to propose that we note which reference corresponds with which model choice. Does anybody know if there are similar patterns elsewhere in the project that I can copy? |
Before we get too far, which modeling steps involve the solar constant? And, is it a problem if different values are used at each step? |
I wouldn't say that I am an expert on all of the modeling steps, but my understanding is that A quick search of pvlib though shows that there are two places where the term
Reference for 2:
My thinking is that since, we are proposing only to change the default by model, these explicit over-rides will still be available for people to use. |
Ref. [4], pp. 5-6 states:
https://breadl.org/d/275235 use mirror link no. 1 (IDK how much uptime do this pages have) |
It would make a nice student project to research this topic more deeply present a summary report. |
I have just seen this issue is a duplicate of #1566 |
Is your feature request related to a problem? Please describe.
The default solar constant in pvlib's
get_extra_radiation
function is 1366.1. This default contradicts with the recommended solar constant in the default model's reference (Spencer).Describe the solution you'd like
I would like to propose changing the default to 1360.8 per the references provided above.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: