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

PV-Tutorials/PVPMC_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorialpromo

PVPMC 2022 Tutorial

This tutorial focuses on PV computing packages, Python, data wrangling with Pandas, and data viz

Tutorial Summary:

  • 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!

Tutorial Setup

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.

THIS IS A 2-STEP PROCESS

The first time you visit the tutorial, you will need to create an account. Use any username and password you like.

jupyter login

The first time you log into the tutorial, you will only see the scratch and shared-data folders.

first login

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.

download tutorial

Click the folder to open, and you'll see the full list. Click Tutorial 0 - Overview.ipynb to get started.

full list of tutorials

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/

Jupyter Book docs

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

My Binder

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:

Binder

Locally

You can also run the tutorial locally with miniconda by following thes steps:

  1. Install miniconda.

  2. Clone the repository:

    git clone https://github.com/PVSC-Python-Tutorials/PVPMC_2022.git
    
  3. 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
    
  4. Start a Jupyter session:

    jupyter notebook
    
  5. Use the file explorer in Jupyter lab to browse to PVPMC_2022 and start the first Tutorial.

Licensing

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.