Skip to content

Commit ec717a9

Browse files
committed
Add figure, improve docs 💯
1 parent adf6dcc commit ec717a9

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed
Loading

pvlib/shading.py

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -605,13 +605,22 @@ 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 1 bypass diode is likely to have 1 block.
609-
- A module with 3 bypass diodes and 1 junction box is likely to have 3
610-
blocks.
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.
608+
1. A module with 1 bypass diode is likely to have 1 block.
609+
2. A module with 3 bypass diodes and 1 junction box is likely to have 3
610+
blocks.
611+
3. A half-cut module with 3 junction boxes (split junction boxes) is
612+
likely to have 3x2 blocks. The number of blocks along the longest
613+
side of the module is 2 and along the shortest side is 3.
614+
4. A module without bypass diodes doesn't constitute a block, but may be
615+
part of one.
616+
617+
.. figure:: _images/Centralized_and_split_PV_junction_boxes.jpg
618+
:alt: Centralized and split PV junction boxes.
619+
620+
Left image: Centralized junction box with 3 bypass diodes (2.).
621+
Right image: 3 (split-) junction boxes on a half-cut cell module (3.).
622+
Source: César Domínguez, CC BY-SA 4.0
623+
<https://creativecommons.org/licenses/by-sa/4.0>, Wikimedia Commons.
615624
616625
Examples
617626
--------

0 commit comments

Comments
 (0)