Skip to content

Commit 7731b7d

Browse files
mikofskiechedey-ls
authored andcommitted
update example in linear_shade_loss
1 parent dd6fdfb commit 7731b7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pvlib/shading.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,13 +379,13 @@ def linear_shade_loss(shade_fraction, diffuse_fraction):
379379
380380
See also
381381
--------
382-
pvlib.tracking.tracker_shaded_fraction
382+
pvlib.shading.tracker_shaded_fraction
383383
384384
Example
385385
-------
386-
>>> from pvlib import tracking
387-
>>> fs = tracking.tracker_shaded_fraction(45.0, 0.8, 45.0, 0)
388-
>>> loss = tracking.linear_shade_loss(fs, 0.2)
386+
>>> from pvlib import shading
387+
>>> fs = shading.tracker_shaded_fraction(45.0, 0.8, 45.0, 0)
388+
>>> loss = shading.linear_shade_loss(fs, 0.2)
389389
>>> P_no_shade = 100 # [kWdc] DC output from modules
390390
>>> P_linear_shade = P_no_shade * (1-loss) # [kWdc] output after loss
391391
# 90.71067811865476 [kWdc]

0 commit comments

Comments
 (0)