We have performed analysis of electricity data provided by the French Distribution Network (RTE)
-Open data: https://www.data.gouv.fr/fr/datasets/electricite-consommation-production-co2-et-echanges/
-The file has the following structure. It has 52608 rows and 23 columns.
Over the last three years, the highest consumption point at one single point in time amounted to 102098 MegaWatts. The lowest consumption point at one single point in time amounted to 29477. The highest consumption point of consumption occurred on
-I am a 16J
-Test for Bastien 4:35pm
+This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
+When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
+Seasonality test for wind power generation.
+##
+## Welcome to googleVis version 0.5.10
+##
+## Please read the Google API Terms of Use
+## before you start using the package:
+## https://developers.google.com/terms/
+##
+## Note, the plot method of googleVis will by default use
+## the standard browser to display its output.
+##
+## See the googleVis package vignettes for more details,
+## or visit http://github.com/mages/googleVis.
+##
+## To suppress this message use:
+## suppressPackageStartupMessages(library(googleVis))
+table(DataSet$season_data)
+m1<-gvisTable(regression_data,options=list(showRowNumber=TRUE,width=1920, height=min(400,27*(nrow(regression_data)+1)),allowHTML=TRUE,page=‘disable’)) print(m1,‘chart’)
+```
+library(corrplot) corrplot(cor(regression_data[1:25]), method = “color”, type=“upper”, order=“original”, tl.col=“black”, tl.srt=70)
+View(cor(regression_data[1:25]))
+regression_formula_Cons.Seas = as.formula(“Cons ~ Winter.d + Spring.d + Summer.d”) Regression.Cons.Seas = lm(regression_formula_Cons.Seas, regression_data) Regression.Cons.Seas$coefficients
+regression_formula_CO2 = as.formula(“CO2 ~ Fuel + Coal + Gas + Nuclear -1”) Regression.CO2 = lm(regression_formula_CO2, regression_data) Regression.CO2$coefficients summary(Regression.CO2)
+According to corretalition table there is a high correlation between wind farm output and season. Here are the results of regression analysis with dummy variables:
+\(Wind = 1555*Fall + -277*Summer +163*Spring +891*Winter\)
+regression_formula_Solar = as.formula(“Solar ~ Winter.d + Spring.d + Summer.d”) Regression.Solar = lm(regression_formula_Solar, regression_data) Regression.Solar$coefficients (Regression.Solar)