|
| 1 | +.. _whatsnew_01200: |
| 2 | + |
| 3 | + |
| 4 | +v0.12.0 (March 19, 2025) |
| 5 | +------------------------ |
| 6 | + |
| 7 | +Breaking Changes |
| 8 | +~~~~~~~~~~~~~~~~ |
| 9 | +* The :py:attr:`pvlib.location.Location.pytz` attribute is now read only. The |
| 10 | + ``pytz`` attribute is now set internally to be consistent with the |
| 11 | + :py:attr:`pvlib.location.Location.tz` attribute. (:issue:`2340`, :pull:`2341`) |
| 12 | +* Users must now provide :py:attr:`ModelChain.spectral_model`, or the ``'no_loss'`` spectral |
| 13 | + model is assumed. :py:class:`~pvlib.modelchain.ModelChain` no longer attempts to infer |
| 14 | + the spectral model from :py:class:`~pvlib.pvsystem.PVSystem` attributes. (:issue:`2017`, :pull:`2253`) |
| 15 | +* Remove deprecated :py:func:`!pvlib.pvsystem.sapm_spectral_loss`; use |
| 16 | + :py:func:`~pvlib.spectrum.spectral_factor_sapm` instead. (:issue:`2243`, :pull:`2244`) |
| 17 | +* :py:func:`~pvlib.iotools.read_tmy3` now defaults to ``map_variables=True``. |
| 18 | + Additionally, the deprecated ``recolumn`` parameter is now removed. (:issue:`2324`, :pull:`2408`) |
| 19 | +* Remove :py:func:`!pvlib.atmosphere.first_solar_spectral_correction`, deprecated in v0.10.0. |
| 20 | + Use :py:func:`~pvlib.spectrum.spectral_factor_firstsolar` instead. (:issue:`2130`, :pull:`2131`) |
| 21 | +* Remove deprecated :py:func:`!pvlib.spectrum.get_am15g` function; use |
| 22 | + :py:func:`~pvlib.spectrum.get_reference_spectra` instead. (:pull:`2409`) |
| 23 | +* Change default method of :py:func:`~pvlib.location.Location.get_sun_rise_set_transit` |
| 24 | + to ``'spa'`` instead of ``'pyephem'``. (:pull:`2410`) |
| 25 | + |
| 26 | +Bug fixes |
| 27 | +~~~~~~~~~ |
| 28 | +* Add a check to :py:func:`~pvlib.snow.fully_covered_nrel` and |
| 29 | + :py:func:`~pvlib.snow.coverage_nrel`. The check uses snow depth on the ground |
| 30 | + to improve modeling for systems with shallow tilt angles. The check |
| 31 | + adds a new, optional parameter ``snow_depth``. (:issue:`1171`, :pull:`2292`) |
| 32 | +* Fix a bug in :py:func:`pvlib.bifacial.infinite_sheds.get_irradiance_poa` which may have yielded non-zero |
| 33 | + ground irradiance when the sun was below the horizon. (:issue:`2245`, :pull:`2359`) |
| 34 | +* Fix a bug where :py:func:`pvlib.transformer.simple_efficiency` could only be imported |
| 35 | + using the ``from pvlib.transformer`` syntax. (:pull:`2388`) |
| 36 | +* :py:class:`~pvlib.modelchain.ModelChain` now requires only a minimal set of |
| 37 | + parameters to run the SAPM electrical model. (:issue:`2369`, :pull:`2393`) |
| 38 | +* Correct keys for First Solar modules in :py:func:`~pvlib.spectrum.spectral_factor_pvspec`. (:issue:`2398`, :pull:`2400`) |
| 39 | +* Ensure proper tz and pytz types in :py:class:`~pvlib.location.Location`. To ensure that |
| 40 | + the time zone in :py:class:`~pvlib.location.Location` remains internally consistent |
| 41 | + if/when the time zone is updated, the ``tz`` attribute is now the single source |
| 42 | + of time-zone truth, is the single time-zone setter interface, and its getter |
| 43 | + returns an IANA string. (:issue:`2340`, :pull:`2341`) |
| 44 | +* :py:func:`~pvlib.iotools.get_pvgis_tmy` with ``outputformat='csv'`` now |
| 45 | + works with the updated data format returned by PVGIS. (:issue:`2344`, :pull:`2395`) |
| 46 | + |
| 47 | +Enhancements |
| 48 | +~~~~~~~~~~~~ |
| 49 | +* :py:func:`~pvlib.irradiance.gti_dirint` now raises an informative message |
| 50 | + when input data don't include values with AOI<90. (:issue:`1342`, :pull:`2347`) |
| 51 | +* Reduce space requirements by excluding tests and test files from wheel. |
| 52 | + Zipped wheel is now 66% of the previous size, and installed size is 50% of |
| 53 | + the previous size. (:issue:`2271`, :pull:`2277`) |
| 54 | + |
| 55 | +Documentation |
| 56 | +~~~~~~~~~~~~~ |
| 57 | +* Fix Procedural and Object Oriented simulation examples having slightly different |
| 58 | + results in :ref:`introtutorial`. (:issue:`2366`, :pull:`2367`) |
| 59 | +* Restructure the user guide with subsections. (:issue:`2302`, :pull:`2310`) |
| 60 | +* Add references for :py:func:`pvlib.snow.loss_townsend`. (:issue:`2383`, :pull:`2384`) |
| 61 | +* Add :term:`ghi_clear` to the :ref:`nomenclature` page. (:issue:`2272`, :pull:`2397`) |
| 62 | +* Add output variable naming clarifaction to :py:func:`pvlib.pvsystem.calcparams_desoto` |
| 63 | + and :py:func:`pvlib.pvsystem.calcparams_pvsyst`. (:issue:`716`, :pull:`2405`) |
| 64 | + |
| 65 | +Testing |
| 66 | +~~~~~~~ |
| 67 | +* Move tests folder to ``/tests`` and data exclusively used for testing to ``/tests/data``. |
| 68 | + (:issue:`2271`, :pull:`2277`) |
| 69 | +* Add Python 3.13 to test suite. (:issue:`2201`, :pull:`2258`) |
| 70 | +* Add tests for all input types for the :py:attr:`pvlib.location.Location.tz` attribute. |
| 71 | + (:issue:`2340`, :pull:`2341`) |
| 72 | +* Add tests for time-conversion functions in :py:mod:`pvlib.tools`. (:issue:`2340`, :pull:`2341`) |
| 73 | + |
| 74 | +Maintenance |
| 75 | +~~~~~~~~~~~ |
| 76 | +* Fix ReadTheDocs builds by upgrading ``readthedocs.yml`` configuration |
| 77 | + (:issue:`2357`, :pull:`2358`) |
| 78 | +* asv 0.4.2 upgraded to asv 0.6.4 to fix CI failure due to pinned older conda. |
| 79 | + (:pull:`2352`) |
| 80 | + |
| 81 | +Contributors |
| 82 | +~~~~~~~~~~~~ |
| 83 | +* Rajiv Daxini (:ghuser:`RDaxini`) |
| 84 | +* Cliff Hansen (:ghuser:`cwhanse`) |
| 85 | +* Jason Lun Leung (:ghuser:`jason-rpkt`) |
| 86 | +* Manoj K S (:ghuser:`manojks1999`) |
| 87 | +* Kurt Rhee (:ghuser:`kurt-rhee`) |
| 88 | +* Ayush jariyal (:ghuser:`ayushjariyal`) |
| 89 | +* Kevin Anderson (:ghuser:`kandersolar`) |
| 90 | +* Echedey Luis (:ghuser:`echedey-ls`) |
| 91 | +* Mark Campanelli (:ghuser:`markcampanelli`) |
| 92 | +* Max Jackson (:ghuser:`MaxJackson`) |
| 93 | +* Anton Driesse (:ghuser:`adriesse`) |
| 94 | +* Adam R. Jensen (:ghuser:`AdamRJensen`) |
| 95 | +* Ioannis Sifnaios (:ghuser:`IoannisSifnaios`) |
| 96 | +* Will Holmgren (:ghuser:`wholmgren`) |
| 97 | +* Sophie Pelland (:ghuser:`solphie-pelland`) |
| 98 | +* Will Hobbs (:ghuser:`williamhobbs`) |
| 99 | +* Karel De Brabandere (:ghuser:`kdebrab`) |
| 100 | +* Kenneth J. Sauer (:ghuser:`kjsauer`) |
0 commit comments