8000 Add functions to fit and convert IAM models by ajonesr · Pull Request #1827 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Add functions to fit and convert IAM models #1827

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 72 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
9816a3f
Adding functions, docstrings draft
ajonesr Aug 2, 2023
dacc1f0
Updating imports, adding docstrings
ajonesr Aug 2, 2023
fc968af
Updated rst file
ajonesr Aug 2, 2023
441d8cc
Make linter edits
ajonesr Aug 3, 2023
77641d0
Docstring experiment
ajonesr Aug 4, 2023
d7cbf5e
Added tests
ajonesr Aug 4, 2023
b4dcecf
More linter edits
ajonesr Aug 4, 2023
6d054f4
Docstrings and linter edits
ajonesr Aug 8, 2023
21a66ee
Docstrings and linter
ajonesr Aug 8, 2023
b4714a4
LINTER
ajonesr Aug 8, 2023
96de7d9
Docstrings edit
ajonesr Aug 8, 2023
de20629
Added more tests
ajonesr Aug 8, 2023
91f811e
Annihilate spaces
ajonesr Aug 8, 2023
e4d4cdc
Spacing
ajonesr Aug 11, 2023
3789890
Changed default weight function
ajonesr Aug 22, 2023
2efa830
Silence numpy warning
ajonesr Aug 22, 2023
c5c2d09
Updating tests to work with new default
ajonesr Aug 22, 2023
af65bc0
Forgot a comment
ajonesr Aug 22, 2023
d505ac9
Return dict contains scalars now, instead of arrays
ajonesr Aug 22, 2023
109e20e
Adding option to not fix n
ajonesr Aug 22, 2023
554d862
Adding straggler tests
ajonesr Aug 22, 2023
e8d83b6
Removing examples specific to old default weight function
ajonesr Aug 22, 2023
ee9c686
Linter nitpicks
ajonesr Aug 22, 2023
e95993d
Update docstrings
ajonesr Aug 22, 2023
991e962
Experimenting with example
ajonesr Aug 22, 2023
484cb5a
Adjusting figure size
ajonesr Aug 22, 2023
47ebdac
Edit gallery example
ajonesr Aug 23, 2023
317fb35
Fixing bounds
ajonesr Aug 23, 2023
3996cab
Linter
ajonesr Aug 23, 2023
ba87f7e
Example experimentation
ajonesr Aug 23, 2023
ac4e717
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Sep 1, 2023
529e512
exact ashrae intercept
cwhanse Sep 1, 2023
6b211fd
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Sep 11, 2023
3fc2c00
editing docstrings mostly
cwhanse Sep 12, 2023
a9f9b74
whatsnew
cwhanse Sep 12, 2023
ac160b8
fix errors
cwhanse Sep 12, 2023
536cb9f
remove test for weight function size
cwhanse Sep 12, 2023
2882912
editing
cwhanse Sep 12, 2023
9bb36b5
simplify weight function
cwhanse Sep 12, 2023
753d72b
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Oct 16, 2023
fc1316c
improve martin_ruiz to physical, generalize tests
cwhanse Oct 16, 2023
935443b
fix examples, split convert and fit examples
cwhanse Oct 16, 2023
c9f697d
linter, improve coverage
cwhanse Oct 16, 2023
88a9dfc
spacing
cwhanse Oct 16, 2023
8ace9d6
fix reverse order test
cwhanse Oct 16, 2023
3475bf4
improve examples
cwhanse Oct 17, 2023
f216d94
print parameters
cwhanse Oct 17, 2023
cb4cb05
whatsnew
cwhanse Oct 17, 2023
ed35731
remove v0.10.2 whatsnew
cwhanse Oct 17, 2023
fdcc952
Revert "remove v0.10.2 whatsnew"
cwhanse Oct 17, 2023
9b1cfd8
put v0.10.2.rst right again
cwhanse Oct 17, 2023
d78265a
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Oct 17, 2023
38bfb58
require scipy>=1.5.0
cwhanse Oct 17, 2023
04121de
linter
cwhanse Oct 17, 2023
69cd00a
linter
cwhanse Oct 17, 2023
520a74e
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Nov 28, 2023
e5cd24b
suggestions from review
cwhanse Nov 28, 2023
6ce34e4
add reference
cwhanse Nov 28, 2023
743931d
edits to examples
cwhanse Nov 28, 2023
fe9a39c
add note to convert
cwhanse Nov 28, 2023
d56cbcf
edit note on convert
cwhanse Nov 28, 2023
2a0b815
edit both notes
cwhanse Nov 28, 2023
4e165a0
polish the notes
cwhanse Nov 28, 2023
d3d8cfd
sum not Sum
cwhanse Nov 28, 2023
313386c
edits
cwhanse Nov 29, 2023
b0e45dd
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Nov 29, 2023
32aa64a
remove test for scipy
cwhanse Nov 29, 2023
8df7bf6
edits from review
cwhanse Nov 29, 2023
6250182
its not it's
cwhanse Nov 30, 2023
74c2e54
Merge branch 'main' of https://github.com/pvlib/pvlib-python into con…
cwhanse Dec 18, 2023
f9c8888
change internal linspace to one degree intervals
cwhanse Dec 18, 2023
79af432
use linspace(0, 90, 91)
cwhanse Dec 18, 2023
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
Updated rst file
  • Loading branch information
ajonesr committed Aug 2, 2023
commit fc968af2d6dff05e856c65a6480b68944885f1df
2 changes: 2 additions & 0 deletions docs/sphinx/source/reference/pv_modeling/iam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Incident angle modifiers
iam.marion_integrate
iam.schlick
iam.schlick_diffuse
iam.convert
iam.fit
7 changes: 2 additions & 5 deletions pvlib/iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -1169,13 +1169,10 @@ def fit(measured_aoi, measured_iam, target_name, options=None):
Parameters
----------
measured_aoi : array-like
# TODO check that Pandas, np arrays and list work
Array of angle of incidence (aoi) values associated with
the measured IAM data.
Array of angle of incidence values associated with the
measured IAM data.

measured_iam : array-like
# TODO check that Pandas, np arrays and list work
# TODO add note about 1 dimensional?
Array of measured IAM values.

target_name : str
Expand Down
0