FlexPlan.jl

Open-source Julia tool for transmission and distribution expansion planning considering storage and demand flexibility
Author Electa-Git
Popularity
19 Stars
Updated Last
3 Months Ago
Started In
September 2020

FlexPlan.jl

Status: CI DOI

Overview

FlexPlan.jl is a Julia/JuMP package to carry out transmission and distribution network planning considering AC and DC technology, storage and demand flexibility as possible expansion candidates. Using time series input on renewable generation and demand, as well a list of candidates for grid expansion, a mixed-integer linear problem is constructed which can be solved with any commercial or open-source MILP solver. The package builds upon the PowerModels and PowerModelsACDC packages, and uses a similar structure.

Modelling features provided by the package include:

  • Joint multistage, multiperiod formulation to model a number of planning years, and planning hours within years for a sequential grid expansion plan.
  • Stochastic formulation of the planning problem, based on scenario probabilities for a number of different time series.
  • Extensive, parametrized models for storage, demand flexibility and DC grids.
  • Linearized DistFlow model for radial distribution networks, considering reactive power and voltage magnitudes.
  • Support of networks composed of transmission and distribution (T&D), with the possibility of using two different power flow models.
  • Heuristic procedure for efficient, near-optimal planning of T&D networks.
  • Basic implementations of Benders decomposition algorithm to efficiently solve the stochastic planning problem.

Documentation

The package documentation includes useful information comprising links to example scripts and a tutorial.

Additionally, these presentations provide a brief introduction to various aspects of FlexPlan:

  • Network expansion planning with FlexPlan.jl [PDF] – EnergyVille, 16/02/2023
  • FlexPlan.jl – An open-source Julia tool for holistic transmission and distribution grid planning [PDF] – OSMSES 2023 conference, Aachen, 28/03/2023

All notable changes to the source code are documented in the changelog.

Installation of FlexPlan

From Julia, FlexPlan can be installed using the built-in package manager:

using Pkg
Pkg.add("FlexPlan")

Development

FlexPlan.jl is research-grade software and is constantly being improved and extended. If you have suggestions for improvement, please contact us via the Issues page on the repository.

Acknowledgements

This code has been developed as part of the European Union’s Horizon 2020 research and innovation programme under the FlexPlan project (grant agreement no. 863819).

Developed by:

  • Hakan Ergun (KU Leuven / EnergyVille)
  • Matteo Rossini (RSE)
  • Marco Rossi (RSE)
  • Damien Lepage (N-Side)
  • Iver Bakken Sperstad (SINTEF)
  • Espen Flo Bødal (SINTEF)
  • Merkebu Zenebe Degefa (SINTEF)
  • Reinhilde D'Hulst (VITO / EnergyVille)

The developers thank Carleton Coffrin (Los Alamos National Laboratory) for his countless design tips.

Citing FlexPlan.jl

If you find FlexPlan.jl useful in your work, we kindly request that you cite the following publication (preprint):

@inproceedings{FlexPlan.jl,
    author = {Matteo Rossini and Hakan Ergun and Marco Rossi},
    title = {{FlexPlan}.jl – An open-source {Julia} tool for holistic transmission and distribution grid planning},
    booktitle = {2023 Open Source Modelling and Simulation of Energy Systems ({OSMSES})},
    year = {2023},
    month = {mar},
    publisher = {{IEEE}},
    doi = {10.1109/osmses58477.2023.10089624},
    url = {https://doi.org/10.1109/osmses58477.2023.10089624}
}

License

This code is provided under a BSD 3-Clause License.

Used By Packages