From 06495c1b701f1651e255f1b345e3bf19ce1bf2e7 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Mon, 7 Sep 2020 14:19:59 -0700 Subject: [PATCH 01/10] remove api entry for pvsystem.sapm_aoi_loss --- docs/sphinx/source/api.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index e99a8411b4..d1995d1746 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -313,7 +313,6 @@ Sandia array performance model (SAPM) pvsystem.sapm pvsystem.sapm_effective_irradiance pvsystem.sapm_spectral_loss - pvsystem.sapm_aoi_loss inverter.sandia temperature.sapm_cell From aaa6585efa8f92938467a19984c485d5bdabea99 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Mon, 7 Sep 2020 14:53:26 -0700 Subject: [PATCH 02/10] fix issues in api.rst and whatsnew --- docs/sphinx/source/api.rst | 13 +++++++------ docs/sphinx/source/whatsnew/v0.8.0.rst | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index d1995d1746..c2e2bb2eb8 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -240,7 +240,7 @@ PV temperature models temperature.fuentes Temperature Model Parameters -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. currentmodule:: pvlib.temperature .. autodata:: TEMPERATURE_MODEL_PARAMETERS :annotation: @@ -279,9 +279,9 @@ Functions for fitting diode models .. autosummary:: :toctree: generated/ - ivtools.fit_sde_sandia - ivtools.fit_sdm_cec_sam - ivtools.fit_sdm_desoto + ivtools.sde.fit_sandia_simple + ivtools.sdm.fit_cec_sam + ivtools.sdm.fit_desoto Inverter models (DC to AC conversion) ------------------------------------- @@ -362,7 +362,7 @@ Utilities for working with IV curve data .. autosummary:: :toctree: generated/ - ivtools.utility.rectify_iv_curve + ivtools.utils.rectify_iv_curve Other ----- @@ -378,7 +378,8 @@ Effects on PV System Output =========================== Loss models -^^^^^^^^^^^ +----------- + .. autosummary:: :toctree: generated/ diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index 193bb8b1d5..8b85d29c5d 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -8,10 +8,10 @@ API Breaking Changes * The ``ivtools.py`` module has been reorganized into sub-modules and functions in ``ivtools.py`` have been renamed (:pull:`708`) - - Functions for fitting diode models are now in ``ivtools\sdm.py`` + - Functions for fitting diode models are now in :py:mod:`pvlib.ivtools.sdm` - :py:func:`pvlib.ivtools.fit_sdm_cec_sam` is now :py:func:`pvlib.ivtools.sdm.fit_cec_sam` - :py:func:`pvlib.ivtools.fit_sdm_desoto` is now :py:func:`pvlib.ivtools.sdm.fit_desoto` - - Functions for fitting the single diode equation are now in ``ivtools\sde.py`` + - Functions for fitting the single diode equation are now in :py:mod:`pvlib.ivtools.sde.py` - :py:func:`pvlib.ivtools.fit_sde_sandia` is now :py:func:`pvlib.ivtools.sde.fit_sandia_simple` API Changes with Deprecations From 19e955686d006f0622d9744e09fb8c561085353d Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Mon, 7 Sep 2020 14:57:44 -0700 Subject: [PATCH 03/10] xarray whats new pattern --- docs/sphinx/source/whatsnew/v0.8.0.rst | 52 ++++++++++++-------------- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index 8b85d29c5d..c79ab3320a 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -1,40 +1,17 @@ .. _whatsnew_0800: -v0.8.0 (Month day, year) -------------------------- +v0.8.0 (September 8, 2020) +-------------------------- -API Breaking Changes -~~~~~~~~~~~~~~~~~~~~ - -* The ``ivtools.py`` module has been reorganized into sub-modules and functions +Breaking changes +~~~~~~~~~~~~~~~~ +* The ``ivtools.py`` module has been reorganized into a subpackage and functions in ``ivtools.py`` have been renamed (:pull:`708`) - Functions for fitting diode models are now in :py:mod:`pvlib.ivtools.sdm` - :py:func:`pvlib.ivtools.fit_sdm_cec_sam` is now :py:func:`pvlib.ivtools.sdm.fit_cec_sam` - :py:func:`pvlib.ivtools.fit_sdm_desoto` is now :py:func:`pvlib.ivtools.sdm.fit_desoto` - Functions for fitting the single diode equation are now in :py:mod:`pvlib.ivtools.sde.py` - :py:func:`pvlib.ivtools.fit_sde_sandia` is now :py:func:`pvlib.ivtools.sde.fit_sandia_simple` - -API Changes with Deprecations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* Moved functions related to inverters from ``pvsystem.py`` to ``inverter.py``. - Functions are renamed to follow a more consistent pattern, as follows (:pull:`886`): - - :py:func:`pvlib.pvsystem.snlinverter` is now :py:func:`pvlib.inverter.sandia` - - :py:func:`pvlib.pvsystem.pvwatts_ac` is now :py:func:`pvlib.inverter.pvwatts` - - :py:func:`pvlib.pvsystem.adrinverter` is now :py:func:`pvlib.inverter.adr` -* Argument ``ac_model`` for :py:class:`pvlib.modelchain.ModelChain` now accepts - ``'sandia'``, ``'pvwatts'`` and ``'adr'`` for the inverter models. (:pull:`886`) -* :py:class:`pvlib.pvsystem.PVSystem` ``module_type`` and ``racking_model`` now - default to ``None``. This continues a deprecation of assuming SAPM values - for cell temperature modeling. In this v0.8 release series, calling - :py:meth:`pvlib.pvsystem.PVSystem.sapm_celltemp` without setting ``PVSystem.temperature model parameters``, - or a valid combination of ``PVsystem.module_type`` and ``PVsystem.racking_model``, will cause - ``PVSystem.temperature_model_parameters`` to be set to SAPM values for a - glass/glass module in open racking and emit a warning. In v0.9, users must - provide ``temperature_model_parameters`` or a valid combination of - ``module_type`` and ``racking_model``. (:issue:`1030`, :pull:`1033`) - -API Changes -~~~~~~~~~~~ * Removed ``run_parallel_calculations`` and ``n_workers_for_parallel_calcs`` from :py:func:`pvlib.bifacial.pvfactors_timeseries` inputs (:issue:`902`) (:pull:`934`) * :py:func:`pvlib.iotools.read_tmy3` can now only read local data files because @@ -69,6 +46,25 @@ API Changes * ``temp_model`` keyword argument of :py:meth:`pvlib.modelchain.ModelChain`. Use ``temperature_model`` instead. +Deprecations +~~~~~~~~~~~~ +* Moved functions related to inverters from ``pvsystem.py`` to ``inverter.py``. + Functions are renamed to follow a more consistent pattern, as follows (:pull:`886`): + - :py:func:`pvlib.pvsystem.snlinverter` is now :py:func:`pvlib.inverter.sandia` + - :py:func:`pvlib.pvsystem.pvwatts_ac` is now :py:func:`pvlib.inverter.pvwatts` + - :py:func:`pvlib.pvsystem.adrinverter` is now :py:func:`pvlib.inverter.adr` +* Argument ``ac_model`` for :py:class:`pvlib.modelchain.ModelChain` now accepts + ``'sandia'``, ``'pvwatts'`` and ``'adr'`` for the inverter models. (:pull:`886`) +* :py:class:`pvlib.pvsystem.PVSystem` ``module_type`` and ``racking_model`` now + default to ``None``. This continues a deprecation of assuming SAPM values + for cell temperature modeling. In this v0.8 release series, calling + :py:meth:`pvlib.pvsystem.PVSystem.sapm_celltemp` without setting ``PVSystem.temperature model parameters``, + or a valid combination of ``PVsystem.module_type`` and ``PVsystem.racking_model``, will cause + ``PVSystem.temperature_model_parameters`` to be set to SAPM values for a + glass/glass module in open racking and emit a warning. In v0.9, users must + provide ``temperature_model_parameters`` or a valid combination of + ``module_type`` and ``racking_model``. (:issue:`1030`, :pull:`1033`) + Enhancements ~~~~~~~~~~~~ * Update :func:`~pvlib.bifacial.pvfactors_timeseries` to run with ``pvfactors`` v1.4.1 (:issue:`902`)(:pull:`934`) From 2845345aa5e2411f1628854527d24229d7b8cf49 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Mon, 7 Sep 2020 15:15:39 -0700 Subject: [PATCH 04/10] fix various rst issues --- docs/sphinx/source/whatsnew/v0.8.0.rst | 29 ++++++++++++++++++-------- pvlib/ivtools/utils.py | 17 +++++++-------- pvlib/modelchain.py | 4 ++++ 3 files changed, 31 insertions(+), 19 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index c79ab3320a..af65ad8408 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -6,30 +6,37 @@ v0.8.0 (September 8, 2020) Breaking changes ~~~~~~~~~~~~~~~~ * The ``ivtools.py`` module has been reorganized into a subpackage and functions - in ``ivtools.py`` have been renamed (:pull:`708`) - - Functions for fitting diode models are now in :py:mod:`pvlib.ivtools.sdm` - - :py:func:`pvlib.ivtools.fit_sdm_cec_sam` is now :py:func:`pvlib.ivtools.sdm.fit_cec_sam` - - :py:func:`pvlib.ivtools.fit_sdm_desoto` is now :py:func:`pvlib.ivtools.sdm.fit_desoto` - - Functions for fitting the single diode equation are now in :py:mod:`pvlib.ivtools.sde.py` - - :py:func:`pvlib.ivtools.fit_sde_sandia` is now :py:func:`pvlib.ivtools.sde.fit_sandia_simple` + in ``ivtools.py`` have been renamed (:pull:`708`): + + - Functions for fitting diode models are now in :py:mod:`pvlib.ivtools.sdm` + - :py:func:`pvlib.ivtools.fit_sdm_cec_sam` is now :py:func:`pvlib.ivtools.sdm.fit_cec_sam` + - :py:func:`pvlib.ivtools.fit_sdm_desoto` is now :py:func:`pvlib.ivtools.sdm.fit_desoto` + - Functions for fitting the single diode equation are now in :py:mod:`pvlib.ivtools.sde.py` + - :py:func:`pvlib.ivtools.fit_sde_sandia` is now :py:func:`pvlib.ivtools.sde.fit_sandia_simple` + * Removed ``run_parallel_calculations`` and ``n_workers_for_parallel_calcs`` from :py:func:`pvlib.bifacial.pvfactors_timeseries` inputs (:issue:`902`) (:pull:`934`) + * :py:func:`pvlib.iotools.read_tmy3` can now only read local data files because the NREL RREDC server hosting the TMY3 dataset has been retired. For fetching TMY data from NREL servers, :py:func:`pvlib.iotools.get_psm3` is now recommended to retrieve newer PSM3 data over the older TMY3 data. (:issue:`996`) (:pull:`1004`) + * The tkinter-based file selection dialog has been removed from :py:func:`pvlib.iotools.read_tmy2` and :py:func:`pvlib.iotools.read_tmy3`; the filepath is now a required parameter. (:pull:`1004`) + * Removed ``systemdef`` function from ``pvsystem.py``. This function was not used in pvlib and its output was not directly compatible with any pvlib function. See :py:func:`pvlib.iotools.read_tmy2`, :py:func:`pvlib.iotools.read_tmy3`, :py:meth:`pvlib.location.Location.from_tmy`, and :py:class:`pvlib.pvsystem.LocalizedPVSystem` for alternatives. (:issue:`965`) (:pull:`1008`) + * The following functions, methods, and arguments were deprecated in a previous release and have now been removed (:issue:`966`, :pull:`1033`): + * ``pvsystem.PVSystem.ashraeiam``. Use :py:meth:`pvlib.pvsystem.PVSystem.get_iam`. * ``pvsystem.PVSystem.physicaliam``. Use :py:meth:`pvlib.pvsystem.PVSystem.get_iam`. * ``pvsystem.PVSystem.sapm_aoi_loss``. Use :py:meth:`pvlib.pvsystem.PVSystem.get_iam`. @@ -50,11 +57,14 @@ Deprecations ~~~~~~~~~~~~ * Moved functions related to inverters from ``pvsystem.py`` to ``inverter.py``. Functions are renamed to follow a more consistent pattern, as follows (:pull:`886`): - - :py:func:`pvlib.pvsystem.snlinverter` is now :py:func:`pvlib.inverter.sandia` - - :py:func:`pvlib.pvsystem.pvwatts_ac` is now :py:func:`pvlib.inverter.pvwatts` - - :py:func:`pvlib.pvsystem.adrinverter` is now :py:func:`pvlib.inverter.adr` + + - ``pvlib.pvsystem.snlinverter`` is now :py:func:`pvlib.inverter.sandia` + - ``pvlib.pvsystem.pvwatts_ac`` is now :py:func:`pvlib.inverter.pvwatts` + - ``pvlib.pvsystem.adrinverter`` is now :py:func:`pvlib.inverter.adr` + * Argument ``ac_model`` for :py:class:`pvlib.modelchain.ModelChain` now accepts ``'sandia'``, ``'pvwatts'`` and ``'adr'`` for the inverter models. (:pull:`886`) + * :py:class:`pvlib.pvsystem.PVSystem` ``module_type`` and ``racking_model`` now default to ``None``. This continues a deprecation of assuming SAPM values for cell temperature modeling. In this v0.8 release series, calling @@ -167,3 +177,4 @@ Contributors * Joshua S. Stein (:ghuser:`jsstein`) * Marc A. Anoma (:ghuser:`anomam`) * Will Holmgren (:ghuser:`wholmgren`) +* Brock Taute (:ghuser:`btaute`) diff --git a/pvlib/ivtools/utils.py b/pvlib/ivtools/utils.py index ea310130c1..7d069308d8 100644 --- a/pvlib/ivtools/utils.py +++ b/pvlib/ivtools/utils.py @@ -142,20 +142,17 @@ def rectify_iv_curve(voltage, current, decimals=None): voltage : numeric [V] current : numeric [A] - Raises - ------ - ValueError if voltage and current are different length - Notes ----- ``rectify_IV_curve`` ensures that the IV curve lies in the first quadrant of the (voltage, current) plane. The returned IV curve: - * increases in voltage - * contains no negative current or voltage values - * contains no NaNs - * contains no points with duplicate voltage values. Where voltage - values are repeated, a single data point is substituted with current - equal to the average of current at duplicated voltages. + + * increases in voltage + * contains no negative current or voltage values + * contains no NaNs + * contains no points with duplicate voltage values. Where voltage + values are repeated, a single data point is substituted with current + equal to the average of current at duplicated voltages. """ df = pd.DataFrame(data=np.vstack((voltage, current)).T, columns=['v', 'i']) diff --git a/pvlib/modelchain.py b/pvlib/modelchain.py index c9ba17aa24..2c0f615765 100644 --- a/pvlib/modelchain.py +++ b/pvlib/modelchain.py @@ -609,6 +609,7 @@ def dc_model(self, model): self._dc_model = partial(model, self) def infer_dc_model(self): + """Infer DC power model from system attributes.""" params = set(self.system.module_parameters.keys()) if {'A0', 'A1', 'C7'} <= params: return self.sapm, 'sapm' @@ -703,6 +704,7 @@ def ac_model(self, model): self._ac_model = partial(model, self) def infer_ac_model(self): + """Infer AC power model from system attributes.""" inverter_params = set(self.system.inverter_parameters.keys()) if {'C0', 'C1', 'C2'} <= inverter_params: return self.snlinverter @@ -814,6 +816,7 @@ def spectral_model(self, model): self._spectral_model = partial(model, self) def infer_spectral_model(self): + """Infer spectral model from system attributes.""" params = set(self.system.module_parameters.keys()) if {'A4', 'A3', 'A2', 'A1', 'A0'} <= params: return self.sapm_spectral_loss @@ -875,6 +878,7 @@ def temperature_model(self, model): self._temperature_model = partial(model, self) def infer_temperature_model(self): + """Infer temperature model from system attributes.""" params = set(self.system.temperature_model_parameters.keys()) # remove or statement in v0.9 if {'a', 'b', 'deltaT'} <= params or ( From c92c37011c7bd48b3cb9e9cd47c3e1625f311af0 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Mon, 7 Sep 2020 15:25:56 -0700 Subject: [PATCH 05/10] missing issues and contributors --- docs/sphinx/source/whatsnew/v0.8.0.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index af65ad8408..ccc508e4d4 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -123,6 +123,8 @@ Bug fixes * Handle NUL characters and fix version column dtype in :py:func:`~pvlib.iotools.crn.read_crn`. (:issue:`1025`) * Fix low sun angle tracker rotation calculation. (:issue:`824`) +* Fix issue with big-endian and little-endian data in ``forecast.py``. + (:issue:`921`) Testing ~~~~~~~ @@ -178,3 +180,7 @@ Contributors * Marc A. Anoma (:ghuser:`anomam`) * Will Holmgren (:ghuser:`wholmgren`) * Brock Taute (:ghuser:`btaute`) +* Cameron Stark (:ghuser:`CameronTStark`) +* :ghuser:`kahemker` +* Miguel Sánchez de León Peque (:ghuser:`Peque`) +* Stephen Lightfoote (:ghuser:`srlightfoote`) From 6efed525e29d426f77fba019e0e1696b1323d60e Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Mon, 7 Sep 2020 19:29:12 -0700 Subject: [PATCH 06/10] remove travis badge from readme --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 04f164678f..941906c247 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,6 @@ Build Status - - travis build status - documentation build status From ef9fd1f94f4eba02251e860a932be93e6eedd057 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Tue, 8 Sep 2020 08:15:29 -0700 Subject: [PATCH 07/10] Update docs/sphinx/source/whatsnew/v0.8.0.rst Co-authored-by: Kevin Anderson <57452607+kanderso-nrel@users.noreply.github.com> --- docs/sphinx/source/whatsnew/v0.8.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index ccc508e4d4..2f80768964 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -11,7 +11,7 @@ Breaking changes - Functions for fitting diode models are now in :py:mod:`pvlib.ivtools.sdm` - :py:func:`pvlib.ivtools.fit_sdm_cec_sam` is now :py:func:`pvlib.ivtools.sdm.fit_cec_sam` - :py:func:`pvlib.ivtools.fit_sdm_desoto` is now :py:func:`pvlib.ivtools.sdm.fit_desoto` - - Functions for fitting the single diode equation are now in :py:mod:`pvlib.ivtools.sde.py` + - Functions for fitting the single diode equation are now in :py:mod:`pvlib.ivtools.sde` - :py:func:`pvlib.ivtools.fit_sde_sandia` is now :py:func:`pvlib.ivtools.sde.fit_sandia_simple` * Removed ``run_parallel_calculations`` and ``n_workers_for_parallel_calcs`` From f0e4260212bb78cecc9ebab9a2752b27e44f3271 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Tue, 8 Sep 2020 08:30:17 -0700 Subject: [PATCH 08/10] review fixes --- docs/sphinx/source/api.rst | 11 +++++++++++ docs/sphinx/source/whatsnew/v0.8.0.rst | 4 ++-- pvlib/ivtools/utils.py | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index c2e2bb2eb8..2eb8f44380 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -138,6 +138,7 @@ Methods for irradiance calculations pvsystem.PVSystem.get_irradiance pvsystem.PVSystem.get_aoi + pvsystem.PVSystem.get_iam tracking.SingleAxisTracker.get_irradiance Decomposing and combining irradiance @@ -238,6 +239,7 @@ PV temperature models temperature.pvsyst_cell temperature.faiman temperature.fuentes + pvsystem.PVSystem.sapm_celltemp Temperature Model Parameters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -385,6 +387,9 @@ Loss models pvsystem.combine_loss_factors +Snow +---- + .. autosummary:: :toctree: generated/ @@ -392,12 +397,18 @@ Loss models snow.fully_covered_nrel snow.dc_loss_nrel +Soiling +------- + .. autosummary:: :toctree: generated/ soiling.hsu soiling.kimber +Shading +------- + .. autosummary:: :toctree: generated/ diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index 2f80768964..0ebfd216ab 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -68,7 +68,7 @@ Deprecations * :py:class:`pvlib.pvsystem.PVSystem` ``module_type`` and ``racking_model`` now default to ``None``. This continues a deprecation of assuming SAPM values for cell temperature modeling. In this v0.8 release series, calling - :py:meth:`pvlib.pvsystem.PVSystem.sapm_celltemp` without setting ``PVSystem.temperature model parameters``, + :py:meth:`pvlib.pvsystem.PVSystem.sapm_celltemp` without setting ``PVSystem.temperature_model_parameters``, or a valid combination of ``PVsystem.module_type`` and ``PVsystem.racking_model``, will cause ``PVSystem.temperature_model_parameters`` to be set to SAPM values for a glass/glass module in open racking and emit a warning. In v0.9, users must @@ -121,7 +121,7 @@ Bug fixes ~~~~~~~~~ * Fixed unit and default value errors in :py:func:`pvlib.soiling.hsu`. (:pull:`977`, :pull:`980`) * Handle NUL characters and fix version column dtype in - :py:func:`~pvlib.iotools.crn.read_crn`. (:issue:`1025`) + :py:func:`~pvlib.iotools.read_crn`. (:issue:`1025`) * Fix low sun angle tracker rotation calculation. (:issue:`824`) * Fix issue with big-endian and little-endian data in ``forecast.py``. (:issue:`921`) diff --git a/pvlib/ivtools/utils.py b/pvlib/ivtools/utils.py index 7d069308d8..eb46150918 100644 --- a/pvlib/ivtools/utils.py +++ b/pvlib/ivtools/utils.py @@ -144,7 +144,7 @@ def rectify_iv_curve(voltage, current, decimals=None): Notes ----- - ``rectify_IV_curve`` ensures that the IV curve lies in the first quadrant + ``rectify_iv_curve`` ensures that the IV curve lies in the first quadrant of the (voltage, current) plane. The returned IV curve: * increases in voltage From a884d684b3a6f265ee5e62fbc5c15ab8518ee33f Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Tue, 8 Sep 2020 13:46:06 -0700 Subject: [PATCH 09/10] backticks, links --- docs/sphinx/source/whatsnew/v0.8.0.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index c7a3cab650..37dace57e5 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -107,9 +107,9 @@ Enhancements objects configured for the respective modeling paradigms. The configurations are defined in ``modelchain.PVWATTS_CONFIG``, and ``modelchain.SAPM_CONFIG``. (:issue:`1013`, :pull:`1022`) -* Added *racking_model*, *module_type*, and *temperature_model_parameters* to - PVSystem, LocalizedPVSystem, SingleAxisTracker, and - LocalizedSingleAxisTracker repr methods. (:issue:`1027`) +* Added ``racking_model``, ``module_type``, and ``temperature_model_parameters`` to + :py:class:`~pvlib.pvystem.PVSystem` and :py:class:`~pvlib.tracking.SingleAxisTracker` + repr methods. (:issue:`1027`) * Added :py:func:`~pvlib.tracking.calc_axis_tilt` to calculate the tracker axes tilt and :py:func:`~pvlib.tracking.calc_cross_axis_tilt` to calculate the cross-axis tilt, which is the angle, relative to horizontal, of From de87d0b76dbf6b9f028d86256a44fd37188fa336 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Tue, 8 Sep 2020 13:52:25 -0700 Subject: [PATCH 10/10] typooooo --- docs/sphinx/source/whatsnew/v0.8.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/source/whatsnew/v0.8.0.rst b/docs/sphinx/source/whatsnew/v0.8.0.rst index 37dace57e5..86fb81574f 100644 --- a/docs/sphinx/source/whatsnew/v0.8.0.rst +++ b/docs/sphinx/source/whatsnew/v0.8.0.rst @@ -108,7 +108,7 @@ Enhancements configurations are defined in ``modelchain.PVWATTS_CONFIG``, and ``modelchain.SAPM_CONFIG``. (:issue:`1013`, :pull:`1022`) * Added ``racking_model``, ``module_type``, and ``temperature_model_parameters`` to - :py:class:`~pvlib.pvystem.PVSystem` and :py:class:`~pvlib.tracking.SingleAxisTracker` + :py:class:`~pvlib.pvsystem.PVSystem` and :py:class:`~pvlib.tracking.SingleAxisTracker` repr methods. (:issue:`1027`) * Added :py:func:`~pvlib.tracking.calc_axis_tilt` to calculate the tracker axes tilt and :py:func:`~pvlib.tracking.calc_cross_axis_tilt` to