Commit 010cff7
Add examples for run_model_from_poa() and run_model_from_effective_irradiance() (#2621)
* Add examples for run_model_from_poa and run_model_from_effective_irradiance
* Update pvlib/modelchain.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Fix lint errors (W291 trailing whitespace)
* Fix lint errors (W291/W293) in modelchain.py
* Fix doctests for run_model_from_poa and run_model_from_effective_irradiance
* Fix doctests for run_model_from_poa and run_model_from_effective_irradiance
* Fix doctests for run_model_from_poa and run_model_from_effective_irradiance
* Fix doctests for run_model_from_poa and run_model_from_effective_irradiance
* Fix docstring examples for ModelChain methods
* Fix ModelChain doctest examples
* Fix pvwatts doctest parameters in examples
* Fix doctests for run_model_from_poa and run_model_from_effective_irradiance
* Fix pvwatts doctest parameters in examples
* Fix doctest examples for run_model_from_poa and run_model_from_effective_irradiance
* Fix ModelChain docstring examples for pvwatts
* Fix ModelChain docstring examples for pvwatts
* Fix doctest outputs for ModelChain run_model examples
* Update pvlib/modelchain.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/modelchain.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/modelchain.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/modelchain.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Update pvlib/modelchain.py
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>
* Add whatsnew entry for modelchain examples
* Fix doctest examples for run_model_from_poa and run_model_from_effective_irradiance
---------
Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>1 parent c14dd73 commit 010cff7
2 files changed
+140
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
1716 | 1785 | | |
1717 | 1786 | | |
1718 | 1787 | | |
| |||
1798 | 1867 | | |
1799 | 1868 | | |
1800 | 1869 | | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
1801 | 1939 | | |
1802 | 1940 | | |
1803 | 1941 | | |
| |||
0 commit comments