Skip to content

Commit c04b70d

Browse files
echedey-lscwhanse
andauthored
example: code review
Co-authored-by: Cliff Hansen <[email protected]>
1 parent 30c66b9 commit c04b70d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/examples/spectrum/plot_martin_ruiz_mismatch.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
# Calculating the incident and modified global irradiance
2828
# -------------------------------------------------------
2929
#
30-
# This mismatch modifier is applied to the irradiance components, so first
31-
# step is to get them. We define an hypothetical POA surface and use a TMY to
32-
# compute them from a TMY.
30+
# Mismatch modifiers are applied to the irradiance components, so first
31+
# step is to get them. We define an hypothetical POA surface and use TMY to
32+
# compute sky diffuse, ground reflected and direct irradiance.
3333

3434
import matplotlib.pyplot as plt
3535
from pvlib import spectrum, irradiance, iotools, location
@@ -78,7 +78,7 @@
7878
poa_sky_diffuse, poa_ground_diffuse)
7979

8080
# %%
81-
# Here comes the modifier. Let's calculate it with the airmass and clearness
81+
# Here come the modifiers. Let's calculate them with the airmass and clearness
8282
# index.
8383
# First, let's find the airmass and the clearness index.
8484
# Little caution: default values for this model were fitted obtaining the
@@ -96,7 +96,7 @@
9696
# %%
9797
# And then we can find the 3 modified components of the POA irradiance
9898
# by means of a simple multiplication.
99-
# Note, however, that neither this does modify ``poa_global`` nor
99+
# Note, however, that this does not modify ``poa_global`` nor
100100
# ``poa_diffuse``, so we should update the dataframe afterwards.
101101

102102
poa_irrad_modified = poa_irrad * spectral_modifiers

0 commit comments

Comments
 (0)