API Client for ENGIE's Open Wind Farm"

knitr::opts_chunk$set(collapse = TRUE, 
                      message = FALSE, 
                      warning = FALSE,
                      comment = "#>")

The wind farm called `La Haute Borne' (ENGIE Group) is located in the Meuse department in France, and is made of four Senvion MM82 wind turbines commissioned in January, 15th, 2009.


The main function of the package 'openwindfarm' is get_owf(). It retrives Scada data from this wind farm, distributed by the ENGIE Group under the terms of the Open Licence 2.0, provided by Etalab and designed to be compatible notably with the "Creative Commons Attribution 4.0" (CC-BY 4.0) license of Creative Commons.

The first argument of get_owf() is the name of the wind turbine to be considered, among the four wind turbines of the wind farm named "R80711" (or 1), "R80790" (or 2), "R80721" (or 3), and "R80736" (or 4).

df <- get_owf(wind_turbine = "R80711", 
              start_date = "2012-12-10 00:10:00", 
              end_date = "2013-01-15 03:30:00")

In addition to the columns Wind_turbine_name and Date_time, the dataset is made of 136 columns, which record every 10 minutes the average, the minimum, the maximum, and the standard deviation over 10 minutes of 34 measurements related to the operational behavior of the 4 wind turbines. Among these measurements one may find e.g. the rotor speed Rs:

df %>% 
  select("Wind_turbine_name", "Date_time", starts_with("Rs")) %>% 

The dataset describing these 34 measurements can be retrieved with the get_info function.

The following chart depicts the usual relation between the active power produced by a wind turbine and the cube of the wind speed measured by the nacelle anemometer:

ggplot(df, aes(I(Ws_avg^3), P_avg)) + 
  geom_point() + 
  geom_smooth(colour = "red") + 
  ggtitle("Wind turbine R80711") + 

Try the openwindfarm package in your browser

Any scripts or data that you put into this service are public.

openwindfarm documentation built on July 13, 2017, 1:02 a.m.