Skip to content

Commit

Permalink
data folder with last forecast added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgethomasm committed Jun 10, 2024
1 parent b73bca8 commit d4049e0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 91 deletions.
8 changes: 4 additions & 4 deletions Wind-Energy-Yield-Forecast.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ North Sea, Germany.


```{r}
#| label: calculations
#| message: false
#| echo: false
hourly_df <- py$hourly_dataframe
#head(hourly_df)
# C, m/s, hPa, %
save(hourly_df, file = "./data/last_update_weather.Rdata")
# ====== Wind Turbine Specs ======
Expand Down
Binary file added data/last_update_weather.Rdata
Binary file not shown.
85 changes: 0 additions & 85 deletions docs/Wind-Energy-Yield-Forecast.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,6 @@
width: 0.8em;
margin: 0 0.8em 0.2em -1em; vertical-align: middle;
}

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode > span { color: inherit; text-decoration: inherit; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
pre.numberSource code > span
{ position: relative; left: -4em; counter-increment: source-line; }
pre.numberSource code > span > a:first-child::before
{ content: counter(source-line);
position: relative; left: -1em; text-align: right; vertical-align: baseline;
border: none; display: inline-block;
-webkit-touch-callout: none; -webkit-user-select: none;
-khtml-user-select: none; -moz-user-select: none;
-ms-user-select: none; user-select: none;
padding: 0 4px; width: 4em;
}
pre.numberSource { margin-left: 3em; padding-left: 4px; }
div.sourceCode
{ }
@media screen {
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
}
</style>


Expand Down Expand Up @@ -4536,57 +4502,6 @@ <h2 class="anchored" data-anchor-id="location-and-site-assessment">Location and
<p></p><figcaption class="figure-caption">Figure 1: North Sea, Germany.</figcaption><p></p>
</figure>
</div>
<div class="cell">
<details>
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="in">```{r}</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a>hourly_df <span class="ot">&lt;-</span> py<span class="sc">$</span>hourly_dataframe</span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="co">#head(hourly_df)</span></span>
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="co"># C, m/s, hPa, %</span></span>
<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a><span class="co"># ====== Wind Turbine Specs ======</span></span>
<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a><span class="co"># Manufacturer: Goldwin</span></span>
<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a><span class="co"># Model: GW 165-6.0 6300 </span></span>
<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-14"><a href="#cb2-14" aria-hidden="true" tabindex="-1"></a><span class="co"># Variable Speed - Variable pitch</span></span>
<span id="cb2-15"><a href="#cb2-15" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-16"><a href="#cb2-16" aria-hidden="true" tabindex="-1"></a>wt_rated_power <span class="ot">&lt;-</span> <span class="dv">6000</span> <span class="co"># [kW]</span></span>
<span id="cb2-17"><a href="#cb2-17" aria-hidden="true" tabindex="-1"></a>wt_rated_wind_speed <span class="ot">&lt;-</span> <span class="fl">11.4</span> <span class="co"># [m/s] at standard air density</span></span>
<span id="cb2-18"><a href="#cb2-18" aria-hidden="true" tabindex="-1"></a>wt_area <span class="ot">&lt;-</span> <span class="dv">21382</span> <span class="co"># squared metres</span></span>
<span id="cb2-19"><a href="#cb2-19" aria-hidden="true" tabindex="-1"></a>wt_hub_height <span class="ot">&lt;-</span> <span class="dv">100</span> <span class="co"># metres</span></span>
<span id="cb2-20"><a href="#cb2-20" aria-hidden="true" tabindex="-1"></a>Cp <span class="ot">&lt;-</span> <span class="fl">0.45</span> <span class="co"># Power Coefficient</span></span>
<span id="cb2-21"><a href="#cb2-21" aria-hidden="true" tabindex="-1"></a>wt_rotor_diam <span class="ot">&lt;-</span> <span class="dv">165</span> <span class="co"># metres</span></span>
<span id="cb2-22"><a href="#cb2-22" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-23"><a href="#cb2-23" aria-hidden="true" tabindex="-1"></a>wt_ws_cut_in <span class="ot">&lt;-</span> <span class="dv">3</span> <span class="co"># m/s</span></span>
<span id="cb2-24"><a href="#cb2-24" aria-hidden="true" tabindex="-1"></a>wt_ws_cut_out <span class="ot">&lt;-</span> <span class="dv">24</span> <span class="co"># m/s</span></span>
<span id="cb2-25"><a href="#cb2-25" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-26"><a href="#cb2-26" aria-hidden="true" tabindex="-1"></a><span class="co"># Speed Range During Power Production</span></span>
<span id="cb2-27"><a href="#cb2-27" aria-hidden="true" tabindex="-1"></a>wt_min_speed <span class="ot">&lt;-</span> <span class="fl">5.5</span> <span class="co"># [RPM]</span></span>
<span id="cb2-28"><a href="#cb2-28" aria-hidden="true" tabindex="-1"></a>wt_max_speed <span class="ot">&lt;-</span> <span class="fl">10.7</span> <span class="co"># [RPM] Nominal</span></span>
<span id="cb2-29"><a href="#cb2-29" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-30"><a href="#cb2-30" aria-hidden="true" tabindex="-1"></a><span class="co">#&#39; Tip speed of blade </span></span>
<span id="cb2-31"><a href="#cb2-31" aria-hidden="true" tabindex="-1"></a><span class="co">#&#39; Linear speed of blade tip for Tip-Speed Ratio (lambda) calc.</span></span>
<span id="cb2-32"><a href="#cb2-32" aria-hidden="true" tabindex="-1"></a>wt_min_tip_speed <span class="ot">&lt;-</span> <span class="dv">2</span><span class="sc">*</span>pi <span class="sc">*</span> (wt_min_speed<span class="sc">/</span><span class="dv">60</span>) <span class="sc">*</span> (wt_rotor_diam<span class="sc">/</span><span class="dv">2</span>) <span class="co"># [m/s]</span></span>
<span id="cb2-33"><a href="#cb2-33" aria-hidden="true" tabindex="-1"></a>wt_max_tip_speed <span class="ot">&lt;-</span> <span class="dv">2</span><span class="sc">*</span>pi <span class="sc">*</span> (wt_max_speed<span class="sc">/</span><span class="dv">60</span>) <span class="sc">*</span> (wt_rotor_diam<span class="sc">/</span><span class="dv">2</span>) <span class="co"># [m/s] Nominal</span></span>
<span id="cb2-34"><a href="#cb2-34" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-35"><a href="#cb2-35" aria-hidden="true" tabindex="-1"></a><span class="co"># wt_max_tip_speed &lt;- 92 # [m/s] # From Specs.</span></span>
<span id="cb2-36"><a href="#cb2-36" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-37"><a href="#cb2-37" aria-hidden="true" tabindex="-1"></a><span class="co"># ====== Onshore Wind Park =======</span></span>
<span id="cb2-38"><a href="#cb2-38" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-39"><a href="#cb2-39" aria-hidden="true" tabindex="-1"></a>n_wind_turbines <span class="ot">&lt;-</span> <span class="dv">1</span></span>
<span id="cb2-40"><a href="#cb2-40" aria-hidden="true" tabindex="-1"></a>installed_capacity <span class="ot">&lt;-</span> (n_wind_turbines <span class="sc">*</span> wt_rated_power) <span class="sc">/</span> <span class="dv">1000</span> <span class="co"># [MW]</span></span>
<span id="cb2-41"><a href="#cb2-41" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-42"><a href="#cb2-42" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-43"><a href="#cb2-43" aria-hidden="true" tabindex="-1"></a> <span class="co"># Lat = 53°52&#39;44.10&quot;N</span></span>
<span id="cb2-44"><a href="#cb2-44" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-45"><a href="#cb2-45" aria-hidden="true" tabindex="-1"></a> <span class="co"># Lon = 7°24&#39;28.35&quot;E</span></span>
<span id="cb2-46"><a href="#cb2-46" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
</div>
</section>
<section id="weather-variables-forecast" class="level2">
<h2 class="anchored" data-anchor-id="weather-variables-forecast">Weather Variables Forecast</h2>
Expand Down
4 changes: 2 additions & 2 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"href": "Wind-Energy-Yield-Forecast.html",
"title": "Wind Power & Energy Yield Forecast",
"section": "",
"text": "Coordinates 53.880001068115234°N 7.400000095367432°E\nElevation 0.0 m asl\nTimezone None None\nTimezone difference to GMT+0 0 s\n\n\n\n\n\n\n\n\n\nSource: Google Earth\n\n\n\n\nFigure 1: North Sea, Germany.\n\n\n\n\nCode\n```{r}\nhourly_df &lt;- py$hourly_dataframe\n\n#head(hourly_df)\n\n\n# C, m/s, hPa, %\n\n# ====== Wind Turbine Specs ======\n\n# Manufacturer: Goldwin\n# Model: GW 165-6.0 6300 \n\n# Variable Speed - Variable pitch\n\nwt_rated_power &lt;- 6000 # [kW]\nwt_rated_wind_speed &lt;- 11.4 # [m/s] at standard air density\nwt_area &lt;- 21382 # squared metres\nwt_hub_height &lt;- 100 # metres\nCp &lt;- 0.45 # Power Coefficient\nwt_rotor_diam &lt;- 165 # metres\n\nwt_ws_cut_in &lt;- 3 # m/s\nwt_ws_cut_out &lt;- 24 # m/s\n\n# Speed Range During Power Production\nwt_min_speed &lt;- 5.5 # [RPM]\nwt_max_speed &lt;- 10.7 # [RPM] Nominal\n\n#' Tip speed of blade \n#' Linear speed of blade tip for Tip-Speed Ratio (lambda) calc.\nwt_min_tip_speed &lt;- 2*pi * (wt_min_speed/60) * (wt_rotor_diam/2) # [m/s]\nwt_max_tip_speed &lt;- 2*pi * (wt_max_speed/60) * (wt_rotor_diam/2) # [m/s] Nominal\n\n# wt_max_tip_speed &lt;- 92 # [m/s] # From Specs.\n\n# ====== Onshore Wind Park =======\n\nn_wind_turbines &lt;- 1\ninstalled_capacity &lt;- (n_wind_turbines * wt_rated_power) / 1000 # [MW]\n\n\n # Lat = 53°52'44.10\"N\n\n # Lon = 7°24'28.35\"E\n```"
"text": "Coordinates 53.880001068115234°N 7.400000095367432°E\nElevation 0.0 m asl\nTimezone None None\nTimezone difference to GMT+0 0 s\n\n\n\n\n\n\n\n\n\nSource: Google Earth\n\n\n\n\nFigure 1: North Sea, Germany."
},
{
"objectID": "Wind-Energy-Yield-Forecast.html#location-and-site-assessment",
"href": "Wind-Energy-Yield-Forecast.html#location-and-site-assessment",
"title": "Wind Power & Energy Yield Forecast",
"section": "",
"text": "Coordinates 53.880001068115234°N 7.400000095367432°E\nElevation 0.0 m asl\nTimezone None None\nTimezone difference to GMT+0 0 s\n\n\n\n\n\n\n\n\n\nSource: Google Earth\n\n\n\n\nFigure 1: North Sea, Germany.\n\n\n\n\nCode\n```{r}\nhourly_df &lt;- py$hourly_dataframe\n\n#head(hourly_df)\n\n\n# C, m/s, hPa, %\n\n# ====== Wind Turbine Specs ======\n\n# Manufacturer: Goldwin\n# Model: GW 165-6.0 6300 \n\n# Variable Speed - Variable pitch\n\nwt_rated_power &lt;- 6000 # [kW]\nwt_rated_wind_speed &lt;- 11.4 # [m/s] at standard air density\nwt_area &lt;- 21382 # squared metres\nwt_hub_height &lt;- 100 # metres\nCp &lt;- 0.45 # Power Coefficient\nwt_rotor_diam &lt;- 165 # metres\n\nwt_ws_cut_in &lt;- 3 # m/s\nwt_ws_cut_out &lt;- 24 # m/s\n\n# Speed Range During Power Production\nwt_min_speed &lt;- 5.5 # [RPM]\nwt_max_speed &lt;- 10.7 # [RPM] Nominal\n\n#' Tip speed of blade \n#' Linear speed of blade tip for Tip-Speed Ratio (lambda) calc.\nwt_min_tip_speed &lt;- 2*pi * (wt_min_speed/60) * (wt_rotor_diam/2) # [m/s]\nwt_max_tip_speed &lt;- 2*pi * (wt_max_speed/60) * (wt_rotor_diam/2) # [m/s] Nominal\n\n# wt_max_tip_speed &lt;- 92 # [m/s] # From Specs.\n\n# ====== Onshore Wind Park =======\n\nn_wind_turbines &lt;- 1\ninstalled_capacity &lt;- (n_wind_turbines * wt_rated_power) / 1000 # [MW]\n\n\n # Lat = 53°52'44.10\"N\n\n # Lon = 7°24'28.35\"E\n```"
"text": "Coordinates 53.880001068115234°N 7.400000095367432°E\nElevation 0.0 m asl\nTimezone None None\nTimezone difference to GMT+0 0 s\n\n\n\n\n\n\n\n\n\nSource: Google Earth\n\n\n\n\nFigure 1: North Sea, Germany."
},
{
"objectID": "Wind-Energy-Yield-Forecast.html#weather-variables-forecast",
Expand Down

0 comments on commit d4049e0

Please sign in to comment.