Skip to content

Commit e788cb9

Browse files
committed
Update documentation
1 parent 2b27227 commit e788cb9

3 files changed

Lines changed: 1 addition & 118 deletions

File tree

PBL 1 - Repowering a Commercial Site.html

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -554,84 +554,6 @@ <h2>0. Python Imports<a class="headerlink" href="#python-imports" title="Link to
554554
</div>
555555
</div>
556556
</div>
557-
<div class="cell docutils container">
558-
<div class="cell_input docutils container">
559-
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">base_url</span> <span class="o">=</span> <span class="s2">&quot;https://raw.githubusercontent.com/PV-Tutorials/2025_PVPMC_PV_Repowering/main/data/&quot;</span>
560-
<span class="n">files</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;CA_weather_data.csv&quot;</span><span class="p">,</span> <span class="s2">&quot;CO_weather_data.csv&quot;</span><span class="p">,</span> <span class="s2">&quot;repower_weather_file.csv&quot;</span><span class="p">,</span> <span class="s2">&quot;weather_file.csv&quot;</span><span class="p">]</span>
561-
562-
<span class="n">folder_name</span> <span class="o">=</span> <span class="s2">&quot;data&quot;</span>
563-
<span class="n">os</span><span class="o">.</span><span class="n">makedirs</span><span class="p">(</span><span class="n">folder_name</span><span class="p">,</span> <span class="n">exist_ok</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
564-
565-
<span class="c1"># Download each file into the folder</span>
566-
<span class="k">for</span> <span class="n">file</span> <span class="ow">in</span> <span class="n">files</span><span class="p">:</span>
567-
<span class="o">!</span>wget<span class="w"> </span>-q<span class="w"> </span>-O<span class="w"> </span><span class="o">{</span>os.path.join<span class="o">(</span>folder_name,<span class="w"> </span>file<span class="o">)}</span><span class="w"> </span><span class="o">{</span>base_url<span class="w"> </span>+<span class="w"> </span>file<span class="o">}</span>
568-
569-
<span class="c1"># List the files to confirm</span>
570-
<span class="o">!</span>ls<span class="w"> </span><span class="o">{</span>folder_name<span class="o">}</span>
571-
572-
573-
574-
<span class="n">base_url</span> <span class="o">=</span> <span class="s2">&quot;https://raw.githubusercontent.com/PV-Tutorials/2025_PVPMC_PV_Repowering/main/PBL%201_Data/&quot;</span>
575-
<span class="n">files</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;reinstall_-_upfront_cost_cashloan.json&quot;</span><span class="p">,</span>
576-
<span class="s2">&quot;reinstall_-_upfront_cost_grid.json&quot;</span><span class="p">,</span>
577-
<span class="s2">&quot;reinstall_-_upfront_cost_pvsamv1.json&quot;</span><span class="p">,</span>
578-
<span class="s2">&quot;reinstall_-_upfront_cost_utilityrate5.json&quot;</span><span class="p">]</span>
579-
580-
<span class="n">folder_name</span> <span class="o">=</span> <span class="s2">&quot;PBL_1_Data&quot;</span>
581-
<span class="n">os</span><span class="o">.</span><span class="n">makedirs</span><span class="p">(</span><span class="n">folder_name</span><span class="p">,</span> <span class="n">exist_ok</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
582-
583-
<span class="c1"># Download each file into the folder</span>
584-
<span class="k">for</span> <span class="n">file</span> <span class="ow">in</span> <span class="n">files</span><span class="p">:</span>
585-
<span class="o">!</span>wget<span class="w"> </span>-q<span class="w"> </span>-O<span class="w"> </span><span class="o">{</span>os.path.join<span class="o">(</span>folder_name,<span class="w"> </span>file<span class="o">)}</span><span class="w"> </span><span class="o">{</span>base_url<span class="w"> </span>+<span class="w"> </span>file<span class="o">}</span>
586-
587-
<span class="c1"># List the files to confirm</span>
588-
<span class="o">!</span>ls<span class="w"> </span><span class="o">{</span>folder_name<span class="o">}</span>
589-
</pre></div>
590-
</div>
591-
</div>
592-
<div class="cell_output docutils container">
593-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
594-
operable program or batch file.
595-
</pre></div>
596-
</div>
597-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
598-
operable program or batch file.
599-
</pre></div>
600-
</div>
601-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
602-
operable program or batch file.
603-
</pre></div>
604-
</div>
605-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
606-
operable program or batch file.
607-
</pre></div>
608-
</div>
609-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;ls&#39; is not recognized as an internal or external command,
610-
operable program or batch file.
611-
</pre></div>
612-
</div>
613-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
614-
operable program or batch file.
615-
</pre></div>
616-
</div>
617-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
618-
operable program or batch file.
619-
</pre></div>
620-
</div>
621-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
622-
operable program or batch file.
623-
</pre></div>
624-
</div>
625-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;wget&#39; is not recognized as an internal or external command,
626-
operable program or batch file.
627-
</pre></div>
628-
</div>
629-
<div class="output stderr highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&#39;ls&#39; is not recognized as an internal or external command,
630-
operable program or batch file.
631-
</pre></div>
632-
</div>
633-
</div>
634-
</div>
635557
</section>
636558
<section id="set-up-base-case">
637559
<h2>1. Set up base case<a class="headerlink" href="#set-up-base-case" title="Link to this heading">#</a></h2>

_sources/PBL 1 - Repowering a Commercial Site.ipynb

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -140,45 +140,6 @@
140140
"print(\"PV_ICE version \", PV_ICE.__version__)"
141141
]
142142
},
143-
{
144-
"cell_type": "code",
145-
"execution_count": null,
146-
"id": "9ff7611d-4a77-4154-9f25-b81b76e7f073",
147-
"metadata": {},
148-
"outputs": [],
149-
"source": [
150-
"base_url = \"https://raw.githubusercontent.com/PV-Tutorials/2025_PVPMC_PV_Repowering/main/data/\"\n",
151-
"files = [\"CA_weather_data.csv\", \"CO_weather_data.csv\", \"repower_weather_file.csv\", \"weather_file.csv\"]\n",
152-
"\n",
153-
"folder_name = \"data\"\n",
154-
"os.makedirs(folder_name, exist_ok=True)\n",
155-
"\n",
156-
"# Download each file into the folder\n",
157-
"for file in files:\n",
158-
" !wget -q -O {os.path.join(folder_name, file)} {base_url + file}\n",
159-
"\n",
160-
"# List the files to confirm\n",
161-
"!ls {folder_name}\n",
162-
"\n",
163-
"\n",
164-
"\n",
165-
"base_url = \"https://raw.githubusercontent.com/PV-Tutorials/2025_PVPMC_PV_Repowering/main/PBL%201_Data/\"\n",
166-
"files = [\"reinstall_-_upfront_cost_cashloan.json\", \n",
167-
" \"reinstall_-_upfront_cost_grid.json\", \n",
168-
" \"reinstall_-_upfront_cost_pvsamv1.json\", \n",
169-
" \"reinstall_-_upfront_cost_utilityrate5.json\"]\n",
170-
"\n",
171-
"folder_name = \"PBL_1_Data\"\n",
172-
"os.makedirs(folder_name, exist_ok=True)\n",
173-
"\n",
174-
"# Download each file into the folder\n",
175-
"for file in files:\n",
176-
" !wget -q -O {os.path.join(folder_name, file)} {base_url + file}\n",
177-
"\n",
178-
"# List the files to confirm\n",
179-
"!ls {folder_name}"
180-
]
181-
},
182143
{
183144
"cell_type": "markdown",
184145
"id": "3519f64f-99ef-4536-bfa9-8ab86f6b2c86",

0 commit comments

Comments
 (0)