From 4c5844f00e00b8dd539b67f031bdd5eeb46bb24d Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Fri, 21 Feb 2020 13:42:24 -0700 Subject: [PATCH 1/3] fix indentation --- docs/sphinx/source/whatsnew/v0.7.0.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/whatsnew/v0.7.0.rst b/docs/sphinx/source/whatsnew/v0.7.0.rst index f1e3112f40..2fb4076eda 100644 --- a/docs/sphinx/source/whatsnew/v0.7.0.rst +++ b/docs/sphinx/source/whatsnew/v0.7.0.rst @@ -30,7 +30,7 @@ API Changes with Deprecations - Renamed `pvsystem.sapm_celltemp` and `pvsystem.pvsyst_celltemp` to `temperature.sapm_cell` and `temperature.pvsyst_cell`. - `temperature.sapm_cell` returns only the cell temperature, whereas the - old `pvsystem.sapm_celltemp` returned a `DataFrame` with both cell and module temperatures. + old `pvsystem.sapm_celltemp` returned a `DataFrame` with both cell and module temperatures. - Created `temperature.sapm_module` to return module temperature using the SAPM temperature model. - Changed the order of arguments for `pvsystem.sapm_celltemp`, `pvsystem.pvsyst_celltemp` and `PVSystem.sapm_celltemp` to be consistent @@ -71,7 +71,7 @@ API Changes with Deprecations - `ModelChain.temperature_model_parameters` now defaults to `None`. The temperature model can be inferred from `PVSystem.temperature_model_parameters`. - `ModelChain.temps` attribute renamed to `ModelChain.cell_temperature`, - and its datatype is now `numeric` rather than `DataFrame`. + and its datatype is now `numeric` rather than `DataFrame`. - If `PVSystem.temperature_model_parameters` is not specified, `ModelChain` defaults to old behavior, using the SAPM temperature model with parameter set `open_rack_glass_glass`. This behavior is deprecated, and will be From 0b2c40aa8505986164daf983dde6fd0c5a1aaf53 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Fri, 21 Feb 2020 13:52:51 -0700 Subject: [PATCH 2/3] add notes to 0.7.0 and 0.7.2 files --- docs/sphinx/source/whatsnew/v0.7.0.rst | 12 ++++++++++++ docs/sphinx/source/whatsnew/v0.7.2.rst | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/source/whatsnew/v0.7.0.rst b/docs/sphinx/source/whatsnew/v0.7.0.rst index 2fb4076eda..751b00f180 100644 --- a/docs/sphinx/source/whatsnew/v0.7.0.rst +++ b/docs/sphinx/source/whatsnew/v0.7.0.rst @@ -21,6 +21,13 @@ API Breaking Changes an exception instead of displaying a dialog. * The `modelchain.ModelChain.diode_params` attribute is now formatted in a pandas.DataFrame with `DatetimeIndex`, rather than in a tuple. +* ``PVSystem.pvwatts_ac`` now uses inverter DC input limit + ``PVSystem.inverter_parameters['pdc0']`` instead of module nameplate + capacity ``PVSystem.module_parameters['pdc0']``. (:issue:`734`) +* ``ModelChain.infer_ac_model`` now uses the presence of the key ``'pdc0'`` + ``PVSystem.inverter_parameters`` to determine if the `pvwatts_ac` + inverter model should be used. The inference method previously looked + for the key in ``PVSystem.module_parameters``. (:issue:`734`) API Changes with Deprecations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -158,6 +165,11 @@ Bug fixes (:issue:`754`) * Fix reading raw MIDC CSV files from NREL where the number of header columns does not match the number of data columns. +* Fix installation issue due to missing ``requests`` dependency. + (:issue:`725`) +* ``PVSystem.pvwatts_ac`` now uses inverter DC input limit + ``PVSystem.inverter_parameters['pdc0']`` instead of module nameplate + capacity ``PVSystem.module_parameters['pdc0']``. (:issue:`734`) Testing ~~~~~~~ diff --git a/docs/sphinx/source/whatsnew/v0.7.2.rst b/docs/sphinx/source/whatsnew/v0.7.2.rst index 999436bdbd..d57a2062cd 100644 --- a/docs/sphinx/source/whatsnew/v0.7.2.rst +++ b/docs/sphinx/source/whatsnew/v0.7.2.rst @@ -25,11 +25,15 @@ Bug fixes passing ``tz=datetime.timezone.utc`` (:pull:`879`) * Fix documentation homepage title to "pvlib python" based on first heading on the page. (:pull:`890`) (:issue:`888`) +* Fix missing + `0.7.0 what's new `_ + entries about changes to ``PVSystem.pvwatts_ac``. Delete unreleased + 0.6.4 what's new file. (:issue:`898`) Documentation ~~~~~~~~~~~~~ * Add NumFOCUS affiliation to Sphinx documentation :pull:`862` -* Add example of IV curve generation :pull:`872` +* Add example of IV curve generation :pull:`872` Requirements ~~~~~~~~~~~~ From fbbfac5e2d1d6b9497c7e66af73264438c780689 Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Fri, 21 Feb 2020 13:53:20 -0700 Subject: [PATCH 3/3] remove unreleased 0.6.4.rst --- docs/sphinx/source/whatsnew/v0.6.4.rst | 31 -------------------------- 1 file changed, 31 deletions(-) delete mode 100644 docs/sphinx/source/whatsnew/v0.6.4.rst diff --git a/docs/sphinx/source/whatsnew/v0.6.4.rst b/docs/sphinx/source/whatsnew/v0.6.4.rst deleted file mode 100644 index 4bffa42851..0000000000 --- a/docs/sphinx/source/whatsnew/v0.6.4.rst +++ /dev/null @@ -1,31 +0,0 @@ -.. _whatsnew_0630: - -v0.6.4 (June 30, 2019) ---------------------- - -This is a minor release on top of v0.6.3. - -**Python 2.7 support will end on Septemeber 1, 2019**. Releases made after this date will require Python 3. This release is likely to be the last that -supports Python 2.7. (:issue:`501`) - -API Changes -~~~~~~~~~~~ - -Enhancements -~~~~~~~~~~~~ - - -Bug fixes -~~~~~~~~~ -* Fix installation issue due to missing ``requests`` dependency. - (:issue:`725`) -* Fix PVSystem.pvwatts_ac now uses inverter DC input limit instead of module nameplate capacity. - (:issue:`734`) -Testing -~~~~~~~ - - -Contributors -~~~~~~~~~~~~ -* Will Holmgren (:ghuser:`wholmgren`) -* Joseph Palakapilly (:ghuser:`JPalakapillyKWH`)