Commit e1393f7
Accept albedo in weather input to ModelChain.run_model method (#1478)
* permit albedo to be a Series
* work on modelchain
* fix tests
* shh stickler, docstrings
* improve coverage
* improve coverage correctly
* finalize coverage, stickler
* whatsnew
* from review
* don't mutate inputs
* get_irradiance in tracking.py
* shh stickler
* shh stickler
* improvements from review
* update whatsnew
* Apply suggestions from code review
Co-authored-by: Kevin Anderson <kevin.anderson@nrel.gov>
* docstring improvements
* Apply suggestions from code review
Co-authored-by: Will Holmgren <william.holmgren@gmail.com>
* Update pvlib/tests/test_irradiance.py
Co-authored-by: Will Holmgren <william.holmgren@gmail.com>
* from review
* one more
* more use of fixture, add Array.get_irradiance test
* more decimal places
* spacing
* line length
* write albedo from system.arrays to ModelChainResult
Co-authored-by: Kevin Anderson <kevin.anderson@nrel.gov>
Co-authored-by: Will Holmgren <william.holmgren@gmail.com>1 parent 2fcd6ba commit e1393f7
File tree
11 files changed
+343
-118
lines changed- docs/sphinx/source/whatsnew
- pvlib
- tests
11 files changed
+343
-118
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
963 | | - | |
964 | | - | |
| 963 | + | |
| 964 | + | |
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
1872 | 1872 | | |
1873 | 1873 | | |
1874 | 1874 | | |
1875 | | - | |
| 1875 | + | |
1876 | 1876 | | |
1877 | 1877 | | |
1878 | 1878 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
369 | 373 | | |
370 | 374 | | |
371 | 375 | | |
| |||
1339 | 1343 | | |
1340 | 1344 | | |
1341 | 1345 | | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
1342 | 1357 | | |
1343 | 1358 | | |
1344 | 1359 | | |
| |||
1471 | 1486 | | |
1472 | 1487 | | |
1473 | 1488 | | |
1474 | | - | |
| 1489 | + | |
1475 | 1490 | | |
1476 | | - | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
1477 | 1495 | | |
1478 | | - | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
1479 | 1500 | | |
1480 | 1501 | | |
1481 | 1502 | | |
| |||
1494 | 1515 | | |
1495 | 1516 | | |
1496 | 1517 | | |
1497 | | - | |
| 1518 | + | |
1498 | 1519 | | |
1499 | 1520 | | |
1500 | 1521 | | |
| |||
1507 | 1528 | | |
1508 | 1529 | | |
1509 | 1530 | | |
| 1531 | + | |
1510 | 1532 | | |
1511 | 1533 | | |
1512 | 1534 | | |
| |||
1531 | 1553 | | |
1532 | 1554 | | |
1533 | 1555 | | |
| 1556 | + | |
1534 | 1557 | | |
1535 | 1558 | | |
1536 | 1559 | | |
| |||
1724 | 1747 | | |
1725 | 1748 | | |
1726 | 1749 | | |
1727 | | - | |
1728 | | - | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
1729 | 1765 | | |
1730 | 1766 | | |
1731 | 1767 | | |
1732 | | - | |
1733 | | - | |
| 1768 | + | |
| 1769 | + | |
1734 | 1770 | | |
1735 | | - | |
1736 | | - | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
1737 | 1776 | | |
1738 | 1777 | | |
1739 | 1778 | | |
| |||
0 commit comments