We have performed analysis of electricity data provided by the French Distribution Network (RTE)
Source
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.
The maximum consumption at one point in time in France between 2012 and 2014 was 102098 MW. This is located on row 1864 and happened on 2/8/2012. This is lower than the electrical available power which amounts to 129 310 MW as of 12/31/15.
The purpose of the current analysis is to interpret French Energy System data. The raw data contains the following information about French Energy System for every 30 minute during the period from 1/1/2012 untill 12/31/2014:
Given the nature of the data the analysis will focuse on the following issues: 1. Understanding of correlations between consumption, generation mix, CO2 emissions, net export, time of the day and season. 2. If correlation is traced and can be explained the next step is to use linear regression models to describe the relationship between dependent and independent variables.
We used R programming language tools to construct correlation matrix for the parameters selected from the raw dataset. For better visualisation we used “Corrplot” package, that can let us trace dependencies in a convenient way. We decided to exclude from analysis the correlation coefficients that are not significant under p = 0,05. Such cells are left blank in the following diagramm:
The exact correlation coefficients betwenn selected parameters are given in the followng matrix:
As we can see from the table and diagramm above there are correlations between following variables:
The correlation between consumption and generation mix seems obvious since power stations produce electricity according to the current demand load in the system. We decided not to construct the model for this relationship since similar analysis is provided in the energy mix table. Instead, we decided to futher investigate relationships from point 2 to 5.
To find the relationship between consumption of the energy and the season we assumed that Intercept will represent consumption in Fall and used other seasons are either 1 or 0. The results of regression are the following:
\(Consumption = 4.7916\times 10^{4} + -3457*Summer +6055*Spring +1.8877\times 10^{4}*Winter\)
To understand relationship between CO2 emissions and energy generated from different sources (generation mix) we ran the following regression:
\(CO2_emission = 0.0076902*Fuel + 0.0148562*Coal +5.651\times 10^{-4}*Gas +4.885\times 10^{-4}*Nuclear\) summary(Regression.CO2)
To find the relationship between solar energy generation and the season we assumed that Intercept will represent generation in Fall and used other seasons are either 1 or 0. The results of regression are the following:
\(Solar_generation = 571 + 235*Summer +46*Spring +-315*Winter\)
To find the relationship between wind energy generation and the season we assumed that Intercept will represent generation in Fall and used other seasons are either 1 or 0. The results of regression are the following:
\(Wind_generation = 1555 + -277*Summer +163*Spring +891*Winter\)
The chart below shows energy needs in summer and winter. It compares the instant energy consumption on Jan 1, 2012 and Jul 1, 2012. The two curves share the same pattern however in winter, the power need is generally higher because of heating. Besides, summer in France is not very hot so there are not many air-conditioners installed which normally consumer a lot of electricity.
This chart averages the numbers from 2012 to 2014 and gets the consumption by month. As mentionned above. Seasonality is the key factor of consumption which depends on temperature. Generally, consumption in winter is 50% more than in summer.
Annual consumption shows the consumption level each year. From the chart, we can see that there is a drop in 2014. We guess that winter in 2014 was not very cold which reduced energy consuption amount. This can be confirmed by comparing temperature in that winter or we can calucate the average consumption during that period.
France exports its energy production to UK, Spain, Italy, Switzerland, Germany and Belgium during normal period. Exceptionally, France imports electricity from these countries when domestic consumption is high. This chart show the import/export numbers from 2012 to 2014. The negative numbers mean that France exports electricity to other countries while the positive numbers mean that France imports electricity. We can see consumption peaks happened in winter of each year which means France needs to import electricity when the weather gets cold. We can also conclude that the installed power volume in France is not enough to meet all the needs. The occasional over-consumption will be filled by buying electricity from others countries which have more flexible energy structure compared with nuclear.
The main source of energy production in 2014 was Nuclear with 78.4% of the 265,108 GWh produced on the French soil.
The following table shows the annual energy production broken down by energy sources, in GWh per year.
The following chart shows the share of each energy source in the production mix in 2014.
The following table shows the increase in energy production for each energy source:
We have become more familiar with R by using the set of data. We have confirmed seveal of our assumptions by querying the set of data including: - the balance of the energy over the period under study - the evolution of the mix of energy over the period under study - various sets of correlation