Skip to content

Commit

Permalink
deploy: 32e9976
Browse files Browse the repository at this point in the history
  • Loading branch information
brookeslawski committed Mar 4, 2024
1 parent 63221d6 commit d2511b4
Show file tree
Hide file tree
Showing 14 changed files with 680 additions and 10 deletions.
29 changes: 29 additions & 0 deletions _sources/solar_pv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Solar PV

The `SolarPySAM` module uses [PySAM](https://nrel-pysam.readthedocs.io/en/main/overview.html) package for the National Renewable Energy Laboratory's System Advisor Model (SAM) to predict the power output of the solar PV plant. This module uses the [Detailed Photovoltaic model](https://sam.nrel.gov/photovoltaic.html) in [`pvsamv1`](https://nrel-pysam.readthedocs.io/en/main/modules/Pvsamv1.html) to calculate PV electrical output using separate module and inverter models.

### Inputs

`SolarPySAM` requires two input files:
1. A CSV file that specifies the weather conditions (e.g. NonAnnualSimulation-sample_data-interpolated-daytime.csv). This file should include:
- timestamp
- direct normal irradiance (DNI)
- diffuse horizontal irradiance (DHI)
- global horizontal irradiance (GHI)
- wind speed
- air temperature (dry bulb temperature)
2. A JSON file that specifies the PV plant system design (e.g. 100MW_1axis_pvsamv1.json).
The system location (latitude, longitude, and elevation) is specified in the input `yaml` file.

The example folder `07_amr_wind_standin_and_solar_pysam` specifies:
- weather conditions on May 10, 2018 (from [this PySAM example](https://github.com/NREL/pysam/blob/main/Examples/NonAnnualSimulation.ipynb))
- latitude, longitude, and elevation of Golden, CO
- system design information for a 100 MW single-axis PV tracking system generated using the SAM GUI
These inputs can be changed in the `.yaml`, `.json`, and `.csv` files.

### Outputs

The `SolarPySAM` module outputs the AC power (`power_mw`) and the net DC power (`dc_power_mw`) in MW of the PV plant at each timestep, as well as the angle of incidence (`aoi`).

### References
PySAM. National Renewable Energy Laboratory. Golden, CO. https://github.com/nrel/pysam
4 changes: 4 additions & 0 deletions examples/06_amr_wind_standin_and_battery.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="../examples_overview.html">Examples Overview</a></li>
Expand Down
10 changes: 7 additions & 3 deletions examples_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Example 06: AMR Wind Standin and Battery" href="examples/06_amr_wind_standin_and_battery.html" />
<link rel="prev" title="Order of operations" href="order_of_op.html" />
<link rel="prev" title="Solar PV" href="solar_pv.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
</head>
Expand Down Expand Up @@ -203,6 +203,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="current nav bd-sidenav">
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Examples Overview</a></li>
Expand Down Expand Up @@ -457,12 +461,12 @@ <h1>Examples Overview<a class="headerlink" href="#examples-overview" title="Link

<div class="prev-next-area">
<a class="left-prev"
href="order_of_op.html"
href="solar_pv.html"
title="previous page">
<i class="fa-solid fa-angle-left"></i>
<div class="prev-next-info">
<p class="prev-next-subtitle">previous</p>
<p class="prev-next-title">Order of operations</p>
<p class="prev-next-title">Solar PV</p>
</div>
</a>
<a class="right-next"
Expand Down
4 changes: 4 additions & 0 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down
4 changes: 4 additions & 0 deletions install_instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down
4 changes: 4 additions & 0 deletions install_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down
4 changes: 4 additions & 0 deletions install_on_kestrel.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down
4 changes: 4 additions & 0 deletions install_spack.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down
6 changes: 6 additions & 0 deletions intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down Expand Up @@ -432,6 +436,8 @@ <h1>Hercules<a class="headerlink" href="#hercules" title="Link to this heading">
</div>
<div class="toctree-wrapper compound">
</div>
<div class="toctree-wrapper compound">
</div>
</section>

<script type="text/x-thebe-config">
Expand Down
6 changes: 3 additions & 3 deletions objects.inv
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Project: Python
# Version:
# The remainder of this file is compressed using zlib.
xڍ�Kj�0��>�\ m��"�
-mHh]
E�$&��H�÷����Z0�����dU�󅐕��jჴ��"�b'C@׀z�I�� 🝇c� �r�%<���;�a�i�+�p�谂.�.%^�f���a���m��\6r�&�;�[��(mܳ1"��Y������~vd�z�!%�T?\�̙rP�!�g�'�:N����@|>��i���4�3�93�����Hc�GcN���N��E��Ygp~E:�ۛ �� � ����̥uҾ�F'���?Fn�p��5��Q:uYk����<`�Ť*/
xڍQ�j�0 ��)�ݺK�m0�XK�
�Ѹ�چ:V�ݿ��%������Hx�Um�?NgBVN\J����Ҋx�� �|�sM
&O���<Be���0���y� �QVC<��E+��\�e�fO�=�Z�أ��ژ�ܢI�e�{���=#�۝T(������F&��1���7���쐧�Yd�#���w�w;�&�4_Ku j��4�Ag���K�Ƙs"��7t�QT�G�_�&��%�(o7AN��T��̦UR_T��<�,����[8��T�(�: ���ca~-�Xx2҉����a�:}����6�9H
Expand Down
10 changes: 7 additions & 3 deletions order_of_op.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<script>DOCUMENTATION_OPTIONS.pagename = 'order_of_op';</script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Examples Overview" href="examples_overview.html" />
<link rel="next" title="Solar PV" href="solar_pv.html" />
<link rel="prev" title="Spack installation of AMR Wind code" href="install_spack.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
Expand Down Expand Up @@ -205,6 +205,10 @@
<ul class="current nav bd-sidenav">
<li class="toctree-l1 current active"><a class="current reference internal" href="#">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down Expand Up @@ -499,11 +503,11 @@ <h2>Main run: for <span class="math notranslate nohighlight">\(k = 0, 1, 2, 3, \
</div>
</a>
<a class="right-next"
href="examples_overview.html"
href="solar_pv.html"
title="next page">
<div class="prev-next-info">
<p class="prev-next-subtitle">next</p>
<p class="prev-next-title">Examples Overview</p>
<p class="prev-next-title">Solar PV</p>
</div>
<i class="fa-solid fa-angle-right"></i>
</a>
Expand Down
4 changes: 4 additions & 0 deletions search.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="order_of_op.html">Order of operations</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Technologies</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="solar_pv.html">Solar PV</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Examples</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="examples_overview.html">Examples Overview</a></li>
Expand Down
Loading

0 comments on commit d2511b4

Please sign in to comment.