8000 deprecate Location, PVSystem, ModelChain kwargs, LocalizedPVSystem, LocalizedSingleAxisTracker by wholmgren · Pull Request #1053 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

deprecate Location, PVSystem, ModelChain kwargs, LocalizedPVSystem, LocalizedSingleAxisTracker #1053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

8000
Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
review
  • Loading branch information
wholmgren committed Sep 8, 2020
commit 930832a2ca4f87eb2ab36d7512f040ebfc85f6b5
8 changes: 3 additions & 5 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ class PVSystem:
:py:class:`~pvlib.modelchain.ModelChain`
objects.

See the :py:class:`LocalizedPVSystem` class for an object model that
describes an installed PV system.

The class supports basic system topologies consisting of:

* `N` total modules arranged in series
Expand Down Expand Up @@ -164,7 +161,6 @@ class PVSystem:
--------
pvlib.location.Location
pvlib.tracking.SingleAxisTracker
pvlib.pvsystem.LocalizedPVSystem
"""

def __init__(self,
Expand Down Expand Up @@ -827,7 +823,9 @@ def pvwatts_ac(self, pdc):

def localize(self, location=None, latitude=None, longitude=None,
**kwargs):
"""Creates a LocalizedPVSystem object using this object
"""DEPRECATED.

Creates a LocalizedPVSystem object using this object
and location data. Must supply either location object or
latitude, longitude, and any location kwargs

Expand Down
2 changes: 2 additions & 0 deletions pvlib/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ def singleaxis(self, apparent_zenith, apparent_azimuth):
def localize(self, location=None, latitude=None, longitude=None,
**kwargs):
"""
DEPRECATED.

Creates a :py:class:`LocalizedSingleAxisTracker` object using
this object and location data. Must supply either location
object or latitude, longitude, and any location kwargs
Expand Down
0