Welcome to the documentation of FANFARE!

FANFARE stands for ‘Fast Assessment Numerical tool for Frequency Analysis of Renewable Energy integration scenarios’ and can be applied to power system timeseries data of both real and simulated scenarios.

Quick example

FANFARE reads in a timeseries of electricity production from renewable energy sources together with a timeseries of electricity consumption over the same time period. A Fourier analysis of the residual load is used to derive flexibility requirements, such as the integrated energy stored in oscillations of different timescales:


In the above figure, the regions of Bornholm (BO), East Denmark (DK2), West Denmark (DK1) and all of Denmark (DK) are compared.


The purpose of this code, is to quantify the need for flexibility in a system with significant share of variable renewable energy (VRE) and an offset between electricity consumption and VRE generation. This offset is often called residual load, and it can contain fluctuations on different timescales. Below is a view of 2 weeks of power system data from Denmark in 2017, to illustrate how wildly the residual load can fluctuate on hourly timescales:


In order to handle these fluctuations in a fossil-free future, solutions must be found in terms of energy storage (ES) and demand response (DR). Many of these solutions are already well on their way to being fully implemented, but each typically work on specific timescales.

In order to disentangle the residual load on different timescales, FANFARE adopts a Discrete Fourier Transform (DFT) analysis. This has often been done before in power system analysis - see for instance Arrigo et al. 2017, Oh 2018, Heggarty et al. 2019.

FANFARE consists of a set of methods that can be applied to timeseries data of residual load, in order to study the flexibility requirements on different timescales. These methods are illustrated in the flow chart below.



For questions, contact Karen at: pardos at dtu.dk

Indices and tables