Skip to content

Commit

Permalink
Remove various repeated words in documentation (#1872)
Browse files Browse the repository at this point in the history
* Remove repeated words

* Update pvlib/ivtools/sdm.py

Co-authored-by: Kevin Anderson <[email protected]>

---------

Co-authored-by: Kevin Anderson <[email protected]>
  • Loading branch information
eumiro and kandersolar authored Oct 3, 2023
1 parent bdd2b3a commit b408741
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
# `NSRDB`_ user manuals.
#
# The Erbs and Boland models are correlations only based on the clearness index
# kt, which is the ratio of GHI to the the horizontal component of the
# kt, which is the ratio of GHI to the horizontal component of the
# extra-terrestrial irradiance. At low sun elevation (zenith near 90 degrees),
# especially near sunset, kt can explode because the denominator
# (extra-terrestrial irradiance) approaches zero. In pvlib this behavior is
Expand Down
2 changes: 1 addition & 1 deletion pvlib/ivtools/sdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def fit_cec_sam(celltype, v_mp, i_mp, v_oc, i_sc, alpha_sc, beta_voc,
beta_voc : float
Temperature coefficient of open circuit voltage [V/C]
gamma_pmp : float
Temperature coefficient of power at maximum point point [%/C]
Temperature coefficient of power at maximum power point [%/C]
cells_in_series : int
Number of cells in series
temp_ref : float, default 25
Expand Down
2 changes: 1 addition & 1 deletion pvlib/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def get_airmass(self, times=None, solar_position=None,
times : None or DatetimeIndex, default None
Only used if solar_position is not provided.
solar_position : None or DataFrame, default None
DataFrame with with columns 'apparent_zenith', 'zenith'.
DataFrame with columns 'apparent_zenith', 'zenith'.
model : str, default 'kastenyoung1989'
Relative airmass model. See
:py:func:`pvlib.atmosphere.get_relative_airmass`
Expand Down
2 changes: 1 addition & 1 deletion pvlib/modelchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def _build_irrad(data):
return self

def _assign_times(self):
"""Assign self.results.times according the the index of
"""Assign self.results.times according the index of
self.results.weather.
If there are multiple DataFrames in self.results.weather then
Expand Down
4 changes: 2 additions & 2 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ def num_arrays(self):

class Array:
"""
An Array is a set of of modules at the same orientation.
An Array is a set of modules at the same orientation.
Specifically, an array is defined by its mount, the
module parameters, the number of parallel strings of modules
Expand Down Expand Up @@ -996,7 +996,7 @@ def __repr__(self):
)

def _infer_temperature_model_params(self):
# try to infer temperature model parameters from from racking_model
# try to infer temperature model parameters from racking_model
# and module_type
param_set = f'{self.mount.racking_model}_{self.module_type}'
if param_set in temperature.TEMPERATURE_MODEL_PARAMETERS['sapm']:
Expand Down

0 comments on commit b408741

Please sign in to comment.