-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename eta_m and eta_m_ref to module_efficiency #1218
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
Changes from 3 commits
e0c1e57
254b188
69bd9ce
3355d1b
d36b3cd
5fe6546
4be112d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,7 @@ | |||||
| import numpy as np | ||||||
| import pandas as pd | ||||||
| from pvlib.tools import sind | ||||||
| from pvlib._deprecation import warn_deprecated | ||||||
|
|
||||||
| TEMPERATURE_MODEL_PARAMETERS = { | ||||||
| 'sapm': { | ||||||
|
|
@@ -285,7 +286,7 @@ def sapm_cell_from_module(module_temperature, poa_global, deltaT, | |||||
|
|
||||||
|
|
||||||
| def pvsyst_cell(poa_global, temp_air, wind_speed=1.0, u_c=29.0, u_v=0.0, | ||||||
| eta_m=0.1, alpha_absorption=0.9): | ||||||
| eta_m=0.1, module_efficiency=0.1, alpha_absorption=0.9): | ||||||
|
||||||
| eta_m=0.1, module_efficiency=0.1, alpha_absorption=0.9): | |
| eta_m=None, module_efficiency=0.1, alpha_absorption=0.9): |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| eta_m : numeric, default 0.1 (deprecated, use module_efficiency instead) | |
| eta_m : numeric, default None (deprecated, use module_efficiency instead) |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this. pending resolution of comment below, add "If not None, warns of deprecation and overrides module_efficiency"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with all your suggestions.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't make much sense to me. To get here you'd have to explicitly set module_efficiency=None. Maybe better to just override module_efficiency with eta_m if it's provided.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.