Skip to content

Commit 8830bc1

Browse files
committed
docstring
1 parent 6fce054 commit 8830bc1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pvlib/shading.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -605,14 +605,13 @@ def martinez_shade_factor(shaded_fraction, N_shaded_blocks, N_total_blocks):
605605
The latter two are heavily correlated.
606606
607607
For example:
608-
- A module with 3 bypass diodes and 3 junction boxes is likely to have
609-
3 blocks.
610-
- A module with 1 bypass diode and 1 junction box is likely to have 1
611-
block.
608+
- A module with 1 bypass diode is likely to have 1 block.
612609
- A module with 3 bypass diodes and 1 junction box is likely to have 3
613610
blocks.
614-
- A module with 1 bypass diode and 3 junction boxes is likely to have 1
615-
block.
611+
- A half-cut module with 3 junction boxes (split junction boxes) is likely
612+
to have 3x2 blocks. The number of blocks along the longest side of the
613+
module is 2 and along the shortest side is 3.
614+
- A module without bypass diodes doesn't have blocks.
616615
617616
Examples
618617
--------
@@ -621,15 +620,16 @@ def martinez_shade_factor(shaded_fraction, N_shaded_blocks, N_total_blocks):
621620
>>> import numpy as np
622621
>>> from pvlib import shading
623622
>>> total_blocks = 3 # blocks along the vertical of the module
624-
>>> Pwr_out_unshaded = 100 # kW
623+
>>> POA_direct = 600 # W
624+
>>> POA_diffuse = 80 # W
625625
>>> shaded_fraction = shading.shaded_fraction1d(
626626
80, 180, 90, 25,
627627
collector_width=0.5, row_pitch=1, surface_to_axis_offset=0,
628628
cross_axis_slope=5.711, shading_tracker_tilt=50)
629629
)
630630
>>> shaded_blocks = np.ceil(total_blocks*shaded_fraction)
631631
>>> loss_correction = shading.martinez_shade_factor()
632-
>>> Pwr_out_shaded = Pwr_out_unshaded * loss_correction
632+
>>> POA_total = POA_direct * loss_correction + POA_diffuse
633633
634634
See Also
635635
--------

0 commit comments

Comments
 (0)