This repository was archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
PVSC48 computing tutorial with focus on PV computing packages, Python, data wrangling with Pandas, and data viz
License
PV-Tutorials/PVSC48-Python-Tutorial
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<title>PVSC48-Python-Tutorial — PVSC 48 Python Tutorial</title>
<script data-cfasync="false">
document.documentElement.dataset.mode = localStorage.getItem("mode") || "light";
document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
</script>
<!-- Loaded before other Sphinx assets -->
<link href="_static/styles/theme.css?digest=796348d33e8b1d947c94" rel="stylesheet">
<link href="_static/styles/bootstrap.css?digest=796348d33e8b1d947c94" rel="stylesheet">
<link href="_static/styles/pydata-sphinx-theme.css?digest=796348d33e8b1d947c94" rel="stylesheet">
<link href="_static/vendor/fontawesome/6.1.2/css/all.min.css?digest=796348d33e8b1d947c94" rel="stylesheet">
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2">
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2">
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" href="_static/styles/sphinx-book-theme.css?digest=4ec06e9971c5264fbd345897d5258098f11cc577" type="text/css" />
<link rel="stylesheet" type="text/css" href="_static/togglebutton.css" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-thebe.css" />
<link rel="stylesheet" type="text/css" href="_static/design-style.4045f2051d55cab465a707391d5b2007.min.css" />
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=796348d33e8b1d947c94">
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=796348d33e8b1d947c94">
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/clipboard.min.js"></script>
<script src="_static/copybutton.js"></script>
<script src="_static/scripts/sphinx-book-theme.js?digest=8bf782fb4ee92b3d3646425e50f299c4e1fd152d"></script>
<script>let toggleHintShow = 'Click to show';</script>
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
const thebe_selector = ".thebe,.cell"
const thebe_selector_input = "pre"
const thebe_selector_output = ".output, .cell_output"
</script>
<script async="async" src="_static/sphinx-thebe.js"></script>
<script>DOCUMENTATION_OPTIONS.pagename = 'README';</script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="docsearch:language" content="en">
</head>
<body data-spy="scroll" data-target="#bd-toc-nav" data-offset="180" data-default-mode="light">
<a class="skip-link" href="#main-content">Skip to main content</a>
<input type="checkbox" class="sidebar-toggle" name="__primary" id="__primary">
<label class="overlay overlay-primary" for="__primary"></label>
<input type="checkbox" class="sidebar-toggle" name="__secondary" id="__secondary">
<label class="overlay overlay-secondary" for="__secondary"></label>
<div class="search-button__wrapper">
<div class="search-button__overlay"></div>
<div class="search-button__search-container">
<form class="bd-search d-flex align-items-center" action="search.html" method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="Search this book..." aria-label="Search this book..." autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form>
</div>
</div>
<nav class="bd-header navbar navbar-expand-lg bd-navbar" id="navbar-main"><div class="bd-header__inner bd-page-width">
<label class="sidebar-toggle primary-toggle" for="__primary">
<span class="fa-solid fa-bars"></span>
</label>
<div id="navbar-start">
<a class="navbar-brand logo" href="Tutorial%200%20-%20Overview.html">
<img src="_static/tutorial_banner.PNG" class="logo__image only-light" alt="Logo image">
<img src="_static/tutorial_banner.PNG" class="logo__image only-dark" alt="Logo image">
</a>
</div>
<div class="col-lg-9 navbar-header-items">
<div id="navbar-center" class="mr-auto">
<div class="navbar-center-item">
<nav class="navbar-nav">
<p class="sidebar-header-items__title" role="heading" aria-level="1" aria-label="Site Navigation">
Site Navigation
</p>
<ul id="navbar-main-elements" class="navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%201%20-%20TMY%20Weather%20Data.html">
Tutorial 1 - Weather Data: Accesing it, understanding it, visualizing it!
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%202%20-%20POA%20Irradiance.html">
Tutorial 2 - POA Irradiance
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%203%20-%20Module%20Temperature.html">
Tutorial 3 - Module Temperature
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%204%20-%20Model%20a%20Module%27s%20Performance.html">
Tutorial 4 - PV Module Performance
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%205%20-%20Array%20Power.html">
Tutorial 5 - Array Power
</a>
</li>
<div class="nav-item dropdown">
<button class="btn dropdown-toggle nav-item" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
More
</button>
<div class="dropdown-menu">
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%20A%20-%20Single%20Diode%20Model.html">
Tutorial A - Single Diode Model
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%20B%20-%20pvfree.html">
Tutorial B - pvfree
</a>
</li>
</div>
</div>
</ul>
</nav>
</div>
</div>
<div id="navbar-end">
<div class="navbar-end-item navbar-persistent--container">
<button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
</div>
<div class="navbar-end-item">
<button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-toggle="tooltip">
<span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
<span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
<span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
</button>
</div>
<div class="navbar-end-item">
<ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links">
</ul>
</div>
</div>
</div>
<div class="navbar-persistent--mobile">
<button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-toggle="tooltip">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
</div>
<label class="sidebar-toggle secondary-toggle" for="__secondary">
<span class="fa-solid fa-outdent"></span>
</label>
</div>
</nav>
<div class="bd-container">
<div class="bd-container__inner bd-page-width">
<div class="bd-sidebar-primary bd-sidebar">
<div class="sidebar-header-items sidebar-primary__section">
<div class="sidebar-header-items__center">
<div class="navbar-center-item">
<nav class="navbar-nav">
<p class="sidebar-header-items__title" role="heading" aria-level="1" aria-label="Site Navigation">
Site Navigation
</p>
<ul id="navbar-main-elements" class="navbar-nav">
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%201%20-%20TMY%20Weather%20Data.html">
Tutorial 1 - Weather Data: Accesing it, understanding it, visualizing it!
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%202%20-%20POA%20Irradiance.html">
Tutorial 2 - POA Irradiance
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%203%20-%20Module%20Temperature.html">
Tutorial 3 - Module Temperature
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%204%20-%20Model%20a%20Module%27s%20Performance.html">
Tutorial 4 - PV Module Performance
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%205%20-%20Array%20Power.html">
Tutorial 5 - Array Power
</a>
</li>
<div class="nav-item dropdown">
<button class="btn dropdown-toggle nav-item" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
More
</button>
<div class="dropdown-menu">
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%20A%20-%20Single%20Diode%20Model.html">
Tutorial A - Single Diode Model
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-internal" href="Tutorial%20B%20-%20pvfree.html">
Tutorial B - pvfree
</a>
</li>
</div>
</div>
</ul>
</nav>
</div>
</div>
<div class="sidebar-header-items__end">
<div class="navbar-end-item">
<button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-toggle="tooltip">
<span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
<span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
<span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
</button>
</div>
<div class="navbar-end-item">
<ul id="navbar-icon-links" class="navbar-nav" aria-label="Icon Links">
</ul>
</div>
</div>
</div>
<div class="sidebar-start-items sidebar-primary__section">
<div class="sidebar-start-items__item">
<a class="navbar-brand logo" href="Tutorial%200%20-%20Overview.html">
<img src="_static/tutorial_banner.PNG" class="logo__image only-light" alt="Logo image">
<img src="_static/tutorial_banner.PNG" class="logo__image only-dark" alt="Logo image">
</a>
</div>
<div class="sidebar-start-items__item">
<form class="bd-search d-flex align-items-center" action="search.html" method="get">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="search" class="form-control" name="q" id="search-input" placeholder="Search this book..." aria-label="Search this book..." autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form>
</div>
<div class="sidebar-start-items__item"><nav class="bd-links" id="bd-docs-nav" aria-label="Main">
<div class="bd-toc-item navbar-nav active">
<ul class="nav bd-sidenav bd-sidenav__home-link">
<li class="toctree-l1">
<a class="reference internal" href="Tutorial%200%20-%20Overview.html">
Welcome!
</a>
</li>
</ul>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="Tutorial%201%20-%20TMY%20Weather%20Data.html">Tutorial 1 - Weather Data: Accesing it, understanding it, visualizing it!</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial%202%20-%20POA%20Irradiance.html">Tutorial 2 - POA Irradiance</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial%203%20-%20Module%20Temperature.html">Tutorial 3 - Module Temperature</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial%204%20-%20Model%20a%20Module%27s%20Performance.html">Tutorial 4 - PV Module Performance</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial%205%20-%20Array%20Power.html">Tutorial 5 - Array Power</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial%20A%20-%20Single%20Diode%20Model.html">Tutorial A - Single Diode Model</a></li>
<li class="toctree-l1"><a class="reference internal" href="Tutorial%20B%20-%20pvfree.html">Tutorial B - pvfree</a></li>
</ul>
</div>
</nav>
</div>
</div>
<div class="sidebar-end-items sidebar-primary__section">
<div class="sidebar-end-items__item">
</div>
</div>
<div id="rtd-footer-container"></div>
</div>
<main id="main-content" class="bd-main">
<div class="sbt-scroll-pixel-helper"></div>
<div class="bd-content">
<div class="bd-article-container">
<div class="bd-header-article">
<div class="col py-1 d-flex header-article-main">
<div class="header-article__left">
<label class="sidebar-toggle primary-toggle btn btn-sm" for="__primary" data-toggle="tooltip" data-placement="right" title="Toggle primary sidebar">
<span class="fa-solid fa-bars"></span>
</label>
</div>
<div class="header-article__right">
<button onclick="toggleFullScreen()"
class="btn btn-sm"
data-toggle="tooltip"
data-placement="bottom"
title="Fullscreen mode"
>
<span class="btn__icon-container">
<i class="fas fa-expand"></i>
</span>
</button>
<div class="dropdown dropdown-repository-buttons">
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Source repositories">
<i class="fab fa-github"></i>
</button>
<ul class="dropdown-menu">
<li><a href="https://github.com/PVSC-Python-Tutorials/PVSC48-Python-Tutorial" target="_blank"
class="btn btn-sm dropdown-item"
data-toggle="tooltip"
data-placement="left"
title="Source repository"
>
<span class="btn__icon-container">
<i class="fab fa-github"></i>
</span>
<span class="btn__text-container">repository</span>
</a>
</a>
<li><a href="https://github.com/PVSC-Python-Tutorials/PVSC48-Python-Tutorial/issues/new?title=Issue%20on%20page%20%2FREADME.html&body=Your%20issue%20content%20here." target="_blank"
class="btn btn-sm dropdown-item"
data-toggle="tooltip"
data-placement="left"
title="Open an issue"
>
<span class="btn__icon-container">
<i class="fas fa-lightbulb"></i>
</span>
<span class="btn__text-container">open issue</span>
</a>
</a>
</ul>
</div>
<div class="dropdown dropdown-download-buttons">
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Download this page">
<i class="fas fa-download"></i>
</button>
<ul class="dropdown-menu">
<li><a href="_sources/README.md" target="_blank"
class="btn btn-sm dropdown-item"
data-toggle="tooltip"
data-placement="left"
title="Download source file"
>
<span class="btn__icon-container">
<i class="fas fa-file"></i>
</span>
<span class="btn__text-container">.md</span>
</a>
</a>
<li>
<button onclick="printPdf(this)"
class="btn btn-sm dropdown-item"
data-toggle="tooltip"
data-placement="left"
title="Print to PDF"
>
<span class="btn__icon-container">
<i class="fas fa-file-pdf"></i>
</span>
<span class="btn__text-container">.pdf</span>
</button>
</a>
</ul>
</div>
<label class="sidebar-toggle secondary-toggle btn btn-sm" for="__secondary" data-toggle="tooltip" data-placement="left" title="Toggle secondary sidebar">
<span class="fa-solid fa-list"></span>
</label>
</div>
</div>
</div>
<div id="jb-print-docs-body" class="onlyprint">
<h1>PVSC48-Python-Tutorial</h1>
<!-- Table of contents -->
<div id="print-main-content">
<div id="jb-print-toc">
<div>
<h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#tutorial-summary">
Tutorial Summary:
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#tutorial-setup">
Tutorial Setup
</a>
<ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#this-is-a-2-step-process">
THIS IS A 2-STEP PROCESS
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#jupyter-book-docs">
Jupyter Book docs
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#my-binder">
My Binder
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#locally">
Locally
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#licensing">
Licensing
</a>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
</div>
<article class="bd-article" role="main">
<p><img alt="tutorialpromo" src="_images/tutorial_banner.PNG" /></p>
<section class="tex2jax_ignore mathjax_ignore" id="pvsc48-python-tutorial">
<h1>PVSC48-Python-Tutorial<a class="headerlink" href="#pvsc48-python-tutorial" title="Permalink to this heading">#</a></h1>
<p>PVSC48 computing tutorial with focus on PV computing packages, Python, data
wrangling with Pandas, and data viz</p>
<section id="tutorial-summary">
<h2>Tutorial Summary:<a class="headerlink" href="#tutorial-summary" title="Permalink to this heading">#</a></h2>
<ul class="simple">
<li><p><strong>Tutorial 0</strong>: Introduction to the tutorial, the lesson plan, and resources (~30 minutes)</p></li>
<li><p><strong>Tutorial 1</strong>: Access TMY weather data and visualize monthly irradiance data (~30 minutes)</p></li>
<li><p><strong>Tutorial 2</strong>: Calculate solar position, plane-of-array irradiance, and
visualize average daily insolation (30 minutes)</p></li>
<li><p><strong>Tutorial 3</strong>: Estimate module temperature from ambient (~20 minutes)</p></li>
<li><p><strong>Tutorial 4</strong>: Use POA irradiance and module temperature to model output power
from a single module (~20 minutes)</p></li>
<li><p><strong>Tutorial 5</strong>: Combine modules to form strings, calculate inverter efficiency
and total array output (~independent study)</p></li>
<li><p><strong>Tutorials Appendices</strong>: More tutorials on a variety of fun topics (~independent study)</p></li>
</ul>
</section>
<section id="tutorial-setup">
<h2>Tutorial Setup<a class="headerlink" href="#tutorial-setup" title="Permalink to this heading">#</a></h2>
<p>These tutorials are designed to run on <a class="reference external" href="https://jupyter.org">Jupyter</a>, 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 <a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/">here</a>.</p>
<section id="this-is-a-2-step-process">
<h3>THIS IS A 2-STEP PROCESS<a class="headerlink" href="#this-is-a-2-step-process" title="Permalink to this heading">#</a></h3>
<ul class="simple">
<li><p><strong>STEP 1</strong>: click <a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/">this</a> –> <a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/">https://pvsc-python-tutorial.eastus.cloudapp.azure.com/</a></p></li>
<li><p><strong>STEP 2</strong>: click <a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/hub/user-redirect/git-pull?repo=https://github.com/PVSC-Python-Tutorials/PVSC48-Python-Tutorial&branch=main">this</a> –> <a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/hub/user-redirect/git-pull?repo=https://github.com/PVSC-Python-Tutorials/PVSC48-Python-Tutorial&amp;branch=main">https://pvsc-python-tutorial.eastus.cloudapp.azure.com/hub/user-redirect/git-pull?repo=https://github.com/PVSC-Python-Tutorials/PVSC48-Python-Tutorial&branch=main</a></p></li>
</ul>
<p>The first time you visit the tutorial, you will need to create an account. Use
any username and password you like.</p>
<p><img alt="jupyter login" src="https://user-images.githubusercontent.com/1385621/119911747-c9bd3600-bf0e-11eb-8f7b-c622d8890f04.png" /></p>
<p>The first time you log into the tutorial, you will only see the scratch and shared-data folders.</p>
<p><img alt="first login" src="https://user-images.githubusercontent.com/1385621/119912003-5cf66b80-bf0f-11eb-874d-67ba2ff1bb66.png" /></p>
<p>After you log in, you need to download the tutorial from this GitHub repository by following this
<a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/hub/user-redirect/git-pull?repo=https://github.com/PVSC-Python-Tutorials/PVSC48-Python-Tutorial&branch=main">link</a>:</p>
<p>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 PVSC48-Python-Tutorial folder in the list.</p>
<p><img alt="download tutorial" src="https://user-images.githubusercontent.com/1385621/119912192-ce361e80-bf0f-11eb-8f62-36e54509fdcc.png" /></p>
<p>Click the folder to open, and you’ll see the full list. Click <code class="docutils literal notranslate"><span class="pre">Tutorial</span> <span class="pre">0</span> <span class="pre">-</span> <span class="pre">Overview.ipynb</span></code> to get started.</p>
<p><img alt="full list of tutorials" src="https://user-images.githubusercontent.com/1385621/119912314-15241400-bf10-11eb-8a2c-1fc371e0f4e8.png" /></p>
<p>Sometimes, if you are idle too long, the tutorial dies. Just click the <a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/">link to the tutorial</a> again to reconnect.</p>
<p><a class="reference external" href="https://pvsc-python-tutorial.eastus.cloudapp.azure.com/">https://pvsc-python-tutorial.eastus.cloudapp.azure.com/</a></p>
</section>
<section id="jupyter-book-docs">
<h3>Jupyter Book docs<a class="headerlink" href="#jupyter-book-docs" title="Permalink to this heading">#</a></h3>
<p>The full tutorial is now also hosted as a beautiful <a class="reference external" href="https://jupyterbook.org/intro.html">Jupyter book</a>. This book has navigation, search, and can even run code cells interactively. Check it out!</p>
<p><a class="reference external" href="https://pvsc-python-tutorials.github.io/PVSC48-Python-Tutorial/index.html">https://pvsc-python-tutorials.github.io/PVSC48-Python-Tutorial/index.html</a></p>
</section>
<section id="my-binder">
<h3>My Binder<a class="headerlink" href="#my-binder" title="Permalink to this heading">#</a></h3>
<p>After the conference the tutorials will remain available here on GitHub, and you can run
the tutorial anytime in <a class="reference external" href="https://mybinder.org">Binder</a> by clicking the
following link:</p>
<p><a class="reference external" href="https://mybinder.org/v2/gh/PVSC-Python-Tutorials/PVSC48-Python-Tutorial/main"><img alt="Binder" src="https://mybinder.org/badge_logo.svg" /></a></p>
</section>
<section id="locally">
<h3>Locally<a class="headerlink" href="#locally" title="Permalink to this heading">#</a></h3>
<p>You can also run the tutorial locally with
<a class="reference external" href="https://docs.conda.io/en/latest/miniconda.html">miniconda</a> by following thes
steps:</p>
<ol class="arabic">
<li><p>Install <a class="reference external" href="https://docs.conda.io/en/latest/miniconda.html">miniconda</a>.</p></li>
<li><p>Clone the repository:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">git</span> <span class="n">clone</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">PVSC</span><span class="o">-</span><span class="n">Python</span><span class="o">-</span><span class="n">Tutorials</span><span class="o">/</span><span class="n">PVSC48</span><span class="o">-</span><span class="n">Python</span><span class="o">-</span><span class="n">Tutorial</span><span class="o">.</span><span class="n">git</span>
</pre></div>
</div>
</li>
<li><p>Create the environment and install the requirements. The repository includes
a <code class="docutils literal notranslate"><span class="pre">requirements.txt</span></code> file that contains a list the packages needed to run
this tutorial. To install them using conda run:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">conda</span> <span class="n">create</span> <span class="o">-</span><span class="n">n</span> <span class="n">pvsc48</span> <span class="n">jupyter</span> <span class="o">-</span><span class="n">c</span> <span class="n">pvlib</span> <span class="o">--</span><span class="n">file</span> <span class="n">requirements</span><span class="o">.</span><span class="n">txt</span>
<span class="n">conda</span> <span class="n">activate</span> <span class="n">pvsc48</span>
</pre></div>
</div>
</li>
<li><p>Start a Jupyter session:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">jupyter</span> <span class="n">notebook</span>
</pre></div>
</div>
</li>
<li><p>Use the file explorer in Jupyter lab to browse to <code class="docutils literal notranslate"><span class="pre">PVSC48-Python-Tutorial</span></code>
and start the first Tutorial.</p></li>
</ol>
</section>
<section id="licensing">
<h3>Licensing<a class="headerlink" href="#licensing" title="Permalink to this heading">#</a></h3>
<p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</p>
</section>
</section>
</section>
<script type="text/x-thebe-config">
{
requestKernel: true,
binderOptions: {
repo: "PVSC-Python-Tutorials/PVSC48-Python-Tutorial",
ref: "main",
},
codeMirrorConfig: {
theme: "abcdef",
mode: "python"
},
kernelOptions: {
name: "python3",
path: "./."
},
predefinedOutput: true
}
</script>
<script>kernelName = 'python3'</script>
</article>
<footer class="bd-footer-article">
<!-- Previous / next buttons -->
<div class='prev-next-area'>
</div>
</footer>
</div>
<div class="bd-sidebar-secondary bd-toc">
<div class="toc-item">
<div class="tocsection onthispage">
<i class="fa-solid fa-list"></i> On this page
</div>
<nav id="bd-toc-nav" class="page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#tutorial-summary">
Tutorial Summary:
</a>
</li>
<li class="toc-h2 nav-item toc-entry">
<a class="reference internal nav-link" href="#tutorial-setup">
Tutorial Setup
</a>
<ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#this-is-a-2-step-process">
THIS IS A 2-STEP PROCESS
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#jupyter-book-docs">
Jupyter Book docs
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#my-binder">
My Binder
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#locally">
Locally
</a>
</li>
<li class="toc-h3 nav-item toc-entry">
<a class="reference internal nav-link" href="#licensing">
Licensing
</a>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="bd-footer-content">
<div class="bd-footer-content__inner">
<div class="bd-footer-content__inner container">
<div class="footer-item">
<p class="component-author">
By Silvana Ayala Pelaez, Mark Mikofski, Kevin Anderson
</p>
</div>
<div class="footer-item">
<p class="copyright">
© Copyright 2022.<br>
</p>
</div>
<div class="footer-item">
<p class="last-updated">
Last updated on None.<br>
</p>
</div>
<div class="footer-item">
</div>
</div>
</div>
</footer>
</main>
</div>
</div>
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="_static/scripts/bootstrap.js?digest=796348d33e8b1d947c94"></script>
<script src="_static/scripts/pydata-sphinx-theme.js?digest=796348d33e8b1d947c94"></script>
</body>
</html>About
PVSC48 computing tutorial with focus on PV computing packages, Python, data wrangling with Pandas, and data viz