This tutorial focuses on PV computing packages, Python, data wrangling with Pandas, and data viz
-
Tutorial 0: Introduction to the tutorial, the lesson plan, and resources (~15 minutes)
-
Tutorial 1: Access TMY weather data and visualize monthly irradiance data (~20 minutes)
-
Tutorial 2: Calculate solar position, plane-of-array irradiance, and visualize average daily insolation (20 minutes)
-
Tutorial 3: Calculate array temperature and power (~20 minutes)
-
Problem Based Learning 1: An opportunity to put the learned skills to work in a group setting. (~1 hr?)
Extras:
- Tutorials Appendices: More tutorials on a variety of fun topics (~independent study)
- Problem Based Learning 2: An opportunity to put the learned skills to model the PVPMC 2021 Modeling Round Robin on your own!
These tutorials are designed to run on Jupyter, a browser based interactive notebook that allows you to run the tutorial in the cloud without any additional setup. On the day of the tutorial, you can log into the tutorial here.
- STEP 1: click this --> https://pvsc-python-tutorial.eastus.cloudapp.azure.com/
- STEP 2: click this --> https://pvsc-python-tutorial.eastus.cloudapp.azure.com/hub/user-redirect/git-pull?repo=https://github.com/PVSC-Python-Tutorials/PVPMC_2022&branch=main
The first time you visit the tutorial, you will need to create an account. Use any username and password you like.
The first time you log into the tutorial, you will only see the scratch and shared-data folders.
After you log in, you need to download the tutorial from this GitHub repository by following this link (step 2):
You only need to download the repository once, but you can always use either link to start the tutorial during the conference. From now on you will see the PVPMC_2022 tutorial folder in the list.
Click the folder to open, and you'll see the full list. Click Tutorial 0 - Overview.ipynb
to get started.
Sometimes, if you are idle too long, the tutorial dies. Just click the link to the tutorial again to reconnect.
https://pvsc-python-tutorial.eastus.cloudapp.azure.com/
The full tutorial is now also hosted as a beautiful Jupyter book. This book has navigation, search, and can even run code cells interactively. Check it out!
https://pvsc-python-tutorials.github.io/PVPMC_2022/index.html
After the conference the tutorials will remain available here on GitHub, and you can run the tutorial anytime in Binder by clicking the following link:
You can also run the tutorial locally with miniconda by following thes steps:
-
Install miniconda.
-
Clone the repository:
git clone https://github.com/PVSC-Python-Tutorials/PVPMC_2022.git
-
Create the environment and install the requirements. The repository includes a
requirements.txt
file that contains a list the packages needed to run this tutorial. To install them using conda run:conda create -n pvpmc2022 jupyter -c pvlib --file requirements.txt conda activate pvpmc2022
-
Start a Jupyter session:
jupyter notebook
-
Use the file explorer in Jupyter lab to browse to
PVPMC_2022
and start the first Tutorial.
This work is licensed under a Creative Commons Attribution 4.0 International License.