8000 Temperature model parameter translation code by adriesse · Pull Request #1463 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Temperature model parameter translation code #1463

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

Merged
merged 17 commits into from
Sep 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try sphynx again.
  • Loading branch information
adriesse committed Sep 1, 2022
commit a3188f4301f0a28cae1fe174027b247a65c38b66
7 changes: 2 additions & 5 deletions docs/sphinx/source/reference/pv_modeling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ PV temperature models
temperature.ross
temperature.noct_sam
temperature.prilliman
temperature.generic_linear
pvsystem.PVSystem.get_cell_temperature
temperature.generic_linear
temperature.GenericLinearModel

Temperature Model Parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -55,10 +56,6 @@ Temperature Model Parameters

.. currentmodule:: pvlib

.. autosummary::
:toctree: generated/
temperature.GenericLinearModel

Single diode models
-------------------

Expand Down
2 changes: 1 addition & 1 deletion pvlib/temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,6 @@ def to_sapm(self, wind_fit_low=1.4, wind_fit_high=5.4):
u_high = u_const + du_wind * wind_fit_high

b = - ((np.log(u_high) - np.log(u_low)) /
(wind_fit_high - wind_fit_low))
(wind_fit_high - wind_fit_low))
a = - (np.log(u_low) + b * wind_fit_low)
return dict(a=a, b=b)
0