Skip to content

Commit 3f397ed

Browse files
kurt-rheecwhansekandersolar
authored
pvlib.tracking docstrings updated to indicate limits of axis_tilt (#1489)
* docstring updated to indicate limits of axis_tilt * updated additional docstrings where the axis_tilt variable is found * added kurt-rhee to v0.9.2.rst whats new file * changed calc_axis_tilt description of axis tilt * Update pvlib/tracking.py Co-authored-by: Cliff Hansen <[email protected]> * Update pvlib/tracking.py Co-authored-by: Cliff Hansen <[email protected]> * Update pvlib/tracking.py Co-authored-by: Cliff Hansen <[email protected]> * Update pvlib/tracking.py Co-authored-by: Cliff Hansen <[email protected]> Co-authored-by: Cliff Hansen <[email protected]> Co-authored-by: Kevin Anderson <[email protected]>
1 parent 59cbae7 commit 3f397ed

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

docs/sphinx/source/whatsnew/v0.9.2.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ Contributors
5858
* Kevin Anderson (:ghuser:`kanderso-nrel`)
5959
* Cliff Hansen (:ghuser:`cwhanse`)
6060
* Jules Chéron (:ghuser:`jules-ch`)
61+
* Kurt Rhee (:ghuser:`kurt-rhee`)

pvlib/tracking.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class SingleAxisTracker(PVSystem):
2020
----------
2121
axis_tilt : float, default 0
2222
The tilt of the axis of rotation (i.e, the y-axis defined by
23-
axis_azimuth) with respect to horizontal, in decimal degrees.
23+
``axis_azimuth``) with respect to horizontal.
24+
``axis_tilt`` must be >= 0 and <= 90. [degree]
2425
2526
axis_azimuth : float, default 0
2627
A value denoting the compass direction along which the axis of
@@ -294,7 +295,8 @@ def singleaxis(apparent_zenith, apparent_azimuth,
294295
295296
axis_tilt : float, default 0
296297
The tilt of the axis of rotation (i.e, the y-axis defined by
297-
axis_azimuth) with respect to horizontal, in decimal degrees.
298+
``axis_azimuth``) with respect to horizontal.
299+
``axis_tilt`` must be >= 0 and <= 90. [degree]
298300
299301
axis_azimuth : float, default 0
300302
A value denoting the compass direction along which the axis of
@@ -480,7 +482,8 @@ def calc_surface_orientation(tracker_theta, axis_tilt=0, axis_azimuth=0):
480482
results in ``surface_azimuth`` to the West while ``tracker_theta < 0``
481483
results in ``surface_azimuth`` to the East. [degree]
482484
axis_tilt : float, default 0
483-
The tilt of the axis of rotation with respect to horizontal. [degree]
485+
The tilt of the axis of rotation with respect to horizontal.
486+
``axis_tilt`` must be >= 0 and <= 90. [degree]
484487
axis_azimuth : float, default 0
485488
A value denoting the compass direction along which the axis of
486489
rotation lies. Measured east of north. [degree]
@@ -524,7 +527,9 @@ def calc_surface_orientation(tracker_theta, axis_tilt=0, axis_azimuth=0):
524527
def calc_axis_tilt(slope_azimuth, slope_tilt, axis_azimuth):
525528
"""
526529
Calculate tracker axis tilt in the global reference frame when on a sloped
527-
plane.
530+
plane. Axis tilt is the inclination of the tracker rotation axis with
531+
respect to horizontal, ranging from 0 degrees (horizontal axis) to 90
532+
degrees (vertical axis).
528533
529534
Parameters
530535
----------
@@ -639,7 +644,8 @@ def calc_cross_axis_tilt(
639644
axis_azimuth : float
640645
direction of tracker axes projected on the horizontal [degrees]
641646
axis_tilt : float
642-
tilt of trackers relative to horizontal [degrees]
647+
tilt of trackers relative to horizontal. ``axis_tilt`` must be >= 0
648+
and <= 90. [degree]
643649
644650
Returns
645651
-------

0 commit comments

Comments
 (0)