8000 Add method to fit Huld model by cwhanse · Pull Request #1979 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Add method to fit Huld model #1979

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
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
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
forgot to save
  • Loading branch information
cwhanse committed Apr 4, 2024
commit c24b7cc47f2c3d6c89be80e0c3207636da15c4bf
1 change: 1 addition & 0 deletions pvlib/tests/test_pvarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def test_fit_huld(method):
pdc = pvarray.huld(ee, tc, pdc0, cell_type='csi')
pdc[11] = np.nan
m_pdc0, k = pvarray.fit_huld(ee, tc, pdc, method='ols')
# known solution for OLS obtained with statsmodels v0.14.0
expected = np.array([2.07118648e+02, -8.35033390e+01, -3.83844606e+01,
2.75629738e+00, 1.87571414e+00, -2.86429730e-01,
-6.00418853e-02])
Expand Down
0