Skip to content

Commit 5d6199c

Browse files
committed
Initial work
1 parent d607191 commit 5d6199c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/examples/shading/plot_martinez_shade_loss.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# The following key functions are used in this example:
1919
# 1. :py:func:`pvlib.shading.martinez_shade_loss` to calculate the adjustment
2020
# factor for the direct irradiance component.
21-
# 2. :py:func:`pvlib.shading.shading_factor1d` to calculate the fraction of
21+
# 2. :py:func:`pvlib.shading.shaded_fraction1d` to calculate the fraction of
2222
# shaded surface and consequently the number of shaded *blocks* due to
2323
# row-to-row shading.
2424
#
@@ -128,9 +128,9 @@
128128
# Shaded fraction calculation
129129
# ---------------------------
130130
# The next step is to calculate the fraction of shaded surface. This is done
131-
# using :py:func:`pvlib.shading.shading_factor1d`. Using this function is
131+
# using :py:func:`pvlib.shading.shaded_fraction1d`. Using this function is
132132
# straightforward with the amount of information we already have.
133133

134-
shaded_fraction = pvlib.shading.shading_factor1d(
134+
shaded_fraction = pvlib.shading.shaded_fraction1d(
135135
surface_tilt, surface_azimuth, apparent_zenith, apparent_azimuth
136136
)

0 commit comments

Comments
 (0)