GithubHelp home page GithubHelp logo

dp_cc_opf's Introduction

Differentially Private OPF

This repository contains supplementary materials for the paper Differentially Private Optimal Power Flow for Distribution Grids by V. Dvorkin, F. Fioretto, P. Van Hentenryck, J. Kazempour, and P. Pinson.

The proof of Theorem 2 is contained in Appendix.pdf

The optimization models were implemented in Julia (v.1.4) using JuMP modeling language for mathematical optimization embedded in Julia. The models require Mosek comercial optimization solver, which needs to be installed and licensed.

To activate the packages in Project.toml, clone the project using e.g. git clone, cd to the project directory and call

$ julia 
julia> ]
(@v1.4) pkg> activate .
(DP_CC_OPF) pkg> instantiate

where julia is an alias to Julia installation. To run the code, cd to the project directory and call

$ julia DP_CC_OPF.jl

By default, the program returns the solution of the "CC_OPF" mechanism and stores the results in ~/output/CC_OPF. To run the other mechanisms, parse "D_OPF", "ToV_CC_OPF", "TaV_CC_OPF" or "CVaR_CC_OPF" using option -m, e.g.

$ julia DP_CC_OPF.jl -m "CVaR_CC_OPF"

The results will be stored in ~/output/CVaR_CC_OPF.

dp_cc_opf's People

Contributors

wdvorkin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.