Skip to content

Commit b408741

Browse files
eumirokandersolar
andauthored
Remove various repeated words in documentation (pvlib#1872)
* Remove repeated words * Update pvlib/ivtools/sdm.py Co-authored-by: Kevin Anderson <[email protected]> --------- Co-authored-by: Kevin Anderson <[email protected]>
1 parent bdd2b3a commit b408741

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/examples/irradiance-decomposition/plot_diffuse_fraction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
# `NSRDB`_ user manuals.
204204
#
205205
# The Erbs and Boland models are correlations only based on the clearness index
206-
# kt, which is the ratio of GHI to the the horizontal component of the
206+
# kt, which is the ratio of GHI to the horizontal component of the
207207
# extra-terrestrial irradiance. At low sun elevation (zenith near 90 degrees),
208208
# especially near sunset, kt can explode because the denominator
209209
# (extra-terrestrial irradiance) approaches zero. In pvlib this behavior is

pvlib/ivtools/sdm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def fit_cec_sam(celltype, v_mp, i_mp, v_oc, i_sc, alpha_sc, beta_voc,
4848
beta_voc : float
4949
Temperature coefficient of open circuit voltage [V/C]
5050
gamma_pmp : float
51-
Temperature coefficient of power at maximum point point [%/C]
51+
Temperature coefficient of power at maximum power point [%/C]
5252
cells_in_series : int
5353
Number of cells in series
5454
temp_ref : float, default 25

pvlib/location.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def get_airmass(self, times=None, solar_position=None,
282282
times : None or DatetimeIndex, default None
283283
Only used if solar_position is not provided.
284284
solar_position : None or DataFrame, default None
285-
DataFrame with with columns 'apparent_zenith', 'zenith'.
285+
DataFrame with columns 'apparent_zenith', 'zenith'.
286286
model : str, default 'kastenyoung1989'
287287
Relative airmass model. See
288288
:py:func:`pvlib.atmosphere.get_relative_airmass`

pvlib/modelchain.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ def _build_irrad(data):
15181518
return self
15191519

15201520
def _assign_times(self):
1521-
"""Assign self.results.times according the the index of
1521+
"""Assign self.results.times according the index of
15221522
self.results.weather.
15231523
15241524
If there are multiple DataFrames in self.results.weather then

pvlib/pvsystem.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ def num_arrays(self):
893893

894894
class Array:
895895
"""
896-
An Array is a set of of modules at the same orientation.
896+
An Array is a set of modules at the same orientation.
897897
898898
Specifically, an array is defined by its mount, the
899899
module parameters, the number of parallel strings of modules
@@ -996,7 +996,7 @@ def __repr__(self):
996996
)
997997

998998
def _infer_temperature_model_params(self):
999-
# try to infer temperature model parameters from from racking_model
999+
# try to infer temperature model parameters from racking_model
10001000
# and module_type
10011001
param_set = f'{self.mount.racking_model}_{self.module_type}'
10021002
if param_set in temperature.TEMPERATURE_MODEL_PARAMETERS['sapm']:

0 commit comments

Comments
 (0)