Skip to content

Commit ccf74ea

Browse files
authored
Typo in plot_oedi_9068.py (#1996)
* Update plot_oedi_9068.py * Update v0.10.5.rst * Add thumbnail (hopefully) * Multiline config vars not allowed? * who knows if this works * Trim extra spaces * another try * Another try, remove config from output * Update conf.py * Bad news, RTD works incrementally - locally it works * Try to remove config option code block * Update plot_oedi_9068.py * Update plot_oedi_9068.py * Update plot_oedi_9068.py
1 parent 2f04c26 commit ccf74ea

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

docs/examples/system-models/plot_oedi_9068.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
A basic model of a 4.7 MW single-axis tracking CdTe system located in
66
Colorado, United States.
77
"""
8-
98
# %%
109
# This example model uses satellite-based solar resource data from the
1110
# NSRDB PSM3. This approach is useful for pre-construction energy modeling
@@ -18,6 +17,7 @@
1817
# For more information about the system, see its `OEDI
1918
# page <https://openei.org/wiki/PVDAQ/Sites/SR_CO>`__.
2019

20+
# sphinx_gallery_thumbnail_path = "_images/OEDI_9068_daily_timeseries.png"
2121
import pvlib
2222
import pandas as pd
2323
import matplotlib.pyplot as plt
@@ -46,7 +46,7 @@
4646

4747
# "unofficial" information
4848

49-
# We know the system uses 117.5 W CdTe modules. Based on the system vintage
49+
# We know the system uses 117.5 W CdTe modules. Based on the system vintage
5050
# (data begins in 2017), it seems likely that the array uses First Solar
5151
# Series 4 modules (FS-4117).
5252
cec_module_db = pvlib.pvsystem.retrieve_sam('cecmod')
@@ -66,15 +66,15 @@
6666
cec_inverter_db = pvlib.pvsystem.retrieve_sam('cecinverter')
6767
inverter_parameters = cec_inverter_db['TMEIC__PVL_L1833GRM']
6868

69-
# We'll use the PVWatts v5 losses model. Set shading to zero as it is
69+
# We'll use the PVWatts v5 losses model. Set shading to zero as it is
7070
# accounted for elsewhere in the model, and disable availability loss since
7171
# we want a "clean" simulation.
7272
# Leaving the other pvwatts loss types (mismatch, wiring, etc) unspecified
7373
# causes them to take their default values.
7474
losses_parameters = dict(shading=0, availability=0)
7575

7676
# Google Street View images show that each row is four modules high, in
77-
# landscape orientation. Assuming the modules are First Solar Series 4,
77+
# landscape orientation. Assuming the modules are First Solar Series 4,
7878
# each of them is 600 mm wide.
7979
# Assume ~1 centimeter gap between modules (three gaps total).
8080
# And from Google Earth, the array's pitch is estimated to be about 7.0 meters.
@@ -231,7 +231,7 @@
231231
ambiguous='NaT',
232232
nonexistent='NaT')
233233
# convert to standard time to match the NSRDB-based simulation
234-
df_inverter_measred = df_inverter_measured.tz_convert('Etc/GMT+7')
234+
df_inverter_measured = df_inverter_measured.tz_convert('Etc/GMT+7')
235235

236236
# %%
237237

docs/sphinx/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,11 @@ def setup(app):
364364
'backreferences_dir': 'reference/generated/gallery_backreferences',
365365

366366
# Modules for which function/class level galleries are created. In
367-
# this case only pvlib, could include others though. must be tuple of str
367+
# this case only pvlib, could include others though. Must be tuple of str
368368
'doc_module': ('pvlib',),
369+
370+
# https://sphinx-gallery.github.io/dev/configuration.html#removing-config-comments # noqa: E501
371+
'remove_config_comments': True,
369372
}
370373
# supress warnings in gallery output
371374
# https://sphinx-gallery.github.io/stable/configuration.html

docs/sphinx/source/whatsnew/v0.10.5.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Testing
2323

2424
Documentation
2525
~~~~~~~~~~~~~
26+
* Fix variable name typo at
27+
``docs\examples\system-models\plot_oedi_9068.py``, (:pull:`1996`)
2628

2729

2830
Requirements

0 commit comments

Comments
 (0)