Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

PV-Tutorials/pyData-2021-Solar-PV-Modeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorialpromo

pyData 2021 Global - Solar Modeling 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 (~30 minutes)
  • Tutorial 1: Access TMY weather data and visualize monthly irradiance data (~30 minutes)
  • Tutorial 2: Calculate solar position, plane-of-array irradiance, and visualize average daily insolation (30 minutes)
  • Tutorial 3: Estimate module temperature from ambient (~20 minutes)
  • Tutorial 4: Use POA irradiance and module temperature to model output power from a single module (~20 minutes)
  • Tutorial 5: Combine modules to form strings, calculate inverter efficiency and total array output (~independent study)
  • Tutorials Appendices: More tutorials on a variety of fun topics (~independent study)

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 pyData-2021-Solar-PV-Modeling 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://pv-tutorials.github.io/pyData-2021-Solar-PV-Modeling/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/PV-Tutorials/pyData-2021-Solar-PV-Modeling.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 pvtutorials jupyter -c pvlib --file requirements.txt
    conda activate pvtutorials
    
  4. Start a Jupyter session:

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

Licensing

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