Python toolkit for energy load timeseries
enlopy is an open source python library with methods to generate, process, analyze, and plot energy related timeseries.
While it can be used for any kind of data it has a strong focus on those that are related with energy i.e. electricity/heat demand or generation, prices etc. The methods included here are carefully selected to fit in that context and they had been, gathered, generalized and encapsulated during the last years while working on different research studies.
The aim is to provide a higher level API than the one that is already available in commonly used scientific packages (pandas, numpy, scipy). This facilitates the analysis and processing of energy load timeseries that can be used for modelling and statistical analysis. In some cases it is just a convenience wrapper of common packages just as pandas and in other cases, it implements methods or statistical models found in literature.
It consists of four modules that include among others the following:
- Analysis: Overview of descriptive statistics, reshape, load duration curve, extract daily archetypes (clustering), detect outliers
- Plot: 2d heatmap, 3d plot, boxplot, rugplot, percentiles
- Generate: generate from daily and monthly profiles, generate from sinusoidal function, sample from given load duration curve, or from given spectral distribution, add noise gaussian and autoregressive noise, generate correlated load profiles, fit to analytical load duration curve
- Statistics: Feature extraction from timeseries for a quick overview of the characteristics of any load curve. Useful when coupled with machine learning packages.
It is released as an open source package under BSD-3 license.