Commit 19c9598
Add PVSPEC spectral correction factor model (#2072)
* Create test_pelland.py
* new spectral factor
first attempt, PVSPEC model for the spectral mismatch factor based on air mass and clearness index
* Update __init__.py
* Update mismatch.py
add new spectral factor (to be tested)
* Delete test_pelland.py
delete new py file (and add new model into mismatch.py)
* Update mismatch.py
* Update mismatch.py
correct errors raised
* Update test_spectrum.py
create new tests for pelland air mass / clearness index spectral correction
* Update test_spectrum.py
Correct an expected value
* correct function name
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/tests/test_spectrum.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update spectrum.rst
* Update mismatch.py
update eqn in docs
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update mismatch.py
* Update test_spectrum.py
fix indentation and white spaces, change clearness to clearsky
* Update test_spectrum.py
remove data screens no longer required
* Update mismatch.py
trailing white space
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* Update mismatch.py
* Update mismatch.py
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* Update pvlib/tests/test_spectrum.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* Update pvlib/tests/test_spectrum.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* Update mismatch.py
* Update pvlib/tests/test_spectrum.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* name change
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
* Update test_spectrum.py
* Update mismatch.py
* Update test_spectrum.py
* Update test_spectrum.py
* Update test_spectrum.py
* Update test_spectrum.py
* Update test_spectrum.py
add series test
* Update mismatch.py
* Update test_spectrum.py
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Ioannis Sifnaios <88548539+IoannisSifnaios@users.noreply.github.com>
* Update mismatch.py
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Ioannis Sifnaios <88548539+IoannisSifnaios@users.noreply.github.com>
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update mismatch.py
tried typesetting the url differently, will fix line character length after
* Update mismatch.py
* Update mismatch.py
* Update mismatch.py
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/spectrum/mismatch.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update mismatch.py
* test for output type
* Update mismatch.py
specific data resource via extended url is either behind a paywall or moved; linking the main site homepage instead
* Update pvlib/tests/test_spectrum.py
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
* Update v0.11.0.rst
* Update docs/sphinx/source/whatsnew/v0.11.0.rst
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
---------
Co-authored-by: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
Co-authored-by: Ioannis Sifnaios <88548539+IoannisSifnaios@users.noreply.github.com>
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>1 parent 734ac82 commit 19c9598
File tree
5 files changed
+195
-27
lines changed- docs/sphinx/source
- reference/effects_on_pv_system_output
- whatsnew
- pvlib
- spectrum
- tests
5 files changed
+195
-27
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
586 | 692 | | |
587 | 693 | | |
588 | 694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
178 | | - | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | | - | |
183 | | - | |
184 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
185 | 186 | | |
186 | | - | |
187 | | - | |
188 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
189 | 190 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
320 | 377 | | |
321 | 378 | | |
322 | 379 | | |
| |||
0 commit comments