Installation Guide

From Julia, PowerModelsDistributionRDT is installed using the built-in package manager:

]add PowerModelsDistributionRDT

or equivalently,

import Pkg
Pkg.add("PowerModelsDistributionRDT")

Developer Installation

To install PowerModelsDistributionRDT as a developer,

import Pkg
Pkg.develop(Pkg.PackageSpec(; name="PowerModelsDistributionRDT", url="https://github.com/lanl-ansi/PowerModelsDistributionRDT.jl"))

From the command-line, outside Julia, one could download the repository, either via Github.com, or using git, i.e.,

git clone https://github.com/lanl-ansi/PowerModelsDistributionRDT.jl.git
git checkout tags/v1.0.0

Then to install PowerModelsDistributionRDT and its required packages

julia --project="path/to/PowerModelsDistributionRDT" -e 'using Pkg; Pkg.instantiate(); Pkg.precompile();'