Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 102169a

Browse files
committed
Python 3 print() is a "function"
* responding to @wholmgren comments * fix pv concepts and python concept header markup to be consistently 3 hashes for all tutorials (none in tut3 and using 4 hashes in tut4) * add pop quiz to tut3 on module temperatures
1 parent ad7916e commit 102169a

6 files changed

+143
-72
lines changed

Diff for: Tutorial 0 - Overview.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
},
163163
{
164164
"cell_type": "code",
165-
"execution_count": 5,
165+
"execution_count": 1,
166166
"metadata": {
167167
"slideshow": {
168168
"slide_type": "subslide"
@@ -184,7 +184,7 @@
184184
},
185185
{
186186
"cell_type": "code",
187-
"execution_count": 6,
187+
"execution_count": 2,
188188
"metadata": {
189189
"slideshow": {
190190
"slide_type": "subslide"
@@ -197,7 +197,7 @@
197197
"5"
198198
]
199199
},
200-
"execution_count": 6,
200+
"execution_count": 2,
201201
"metadata": {},
202202
"output_type": "execute_result"
203203
}

Diff for: Tutorial 1 - TMY Weather Data.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@
3535
}
3636
},
3737
"source": [
38-
"Steps:\n",
38+
"### Steps:\n",
3939
"- [Weather data in PV performance models](#Weather-Data-&-PV)\n",
4040
"- Looking at a sample weather data file\n",
4141
"- Where to get weather data from? \n",
4242
"- Weather data to API\n",
4343
"\n",
44-
"PV Concepts:\n",
44+
"### PV Concepts:\n",
4545
"- TMY\n",
4646
"- GHI, DNI, DHI\n",
4747
"- DryBulb, Wspd\n",
4848
"- Irradiance vs. Insolation\n",
4949
"\n",
50-
"Python Concepts:\n",
50+
"### Python Concepts:\n",
5151
"- Exploring a Pandas dataframe (`df`): `len()`, `df.head()`, `df.keys()`\n",
5252
"- [pvlib input-output tools](https://pvlib-python.readthedocs.io/en/stable/api.html#io-tools)\n",
5353
"- Ploting a Pandas dataframe (`df`): `df.plot()`\n",
@@ -122,7 +122,7 @@
122122
"source": [
123123
"#### First Step: Import Libraries\n",
124124
"\n",
125-
"In Python, some commands are builtin like `print()` but others must be imported before they can be used. For this notebook we're going to import three packages:\n",
125+
"In Python, some functions are builtin like `print()` but others must be imported before they can be used. For this notebook we're going to import three packages:\n",
126126
"* [pvlib](https://pvlib-python.readthedocs.io/en/stable/) - library for simulating performance of photovoltaic energy systems. \n",
127127
"* [pandas](https://pandas.pydata.org/) - analysis tool for timeseries and tabular data\n",
128128
"* [matplotlib](https://matplotlib.org/) - data visualization for Python\n",

Diff for: Tutorial 2 - POA Irradiance.ipynb

+37-24
Large diffs are not rendered by default.

Diff for: Tutorial 3 - Module Temperature.ipynb

+96-38
Large diffs are not rendered by default.

Diff for: Tutorial 4 - Model a Module's Performance.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"cell_type": "markdown",
2323
"metadata": {},
2424
"source": [
25-
"#### PV Concepts:\n",
25+
"### PV Concepts:\n",
2626
"\n",
2727
"- STC Parameters\n",
2828
"- IV Curve\n",
@@ -37,7 +37,7 @@
3737
"- Low light and temperature module performance\n",
3838
"- IEC 61853 standard \n",
3939
"\n",
40-
"#### Python Concepts:\n",
40+
"### Python Concepts:\n",
4141
"\n",
4242
"- [`numpy.meshgrid`](https://numpy.org/doc/stable/reference/generated/numpy.meshgrid.html)\n",
4343
"- `try: except` clauses to catch errors\n",

Diff for: requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
matplotlib==3.3.4
22
numpy==1.19.2
33
pandas==1.2.3
4-
pvlib==0.8.0
4+
pvlib==0.8.1

0 commit comments

Comments
 (0)