BusInjectionModel.jl
Documentation for BusInjectionModel.jl
A work-in-progress package for optimal power flow (OPF) models based on the bus injection model.
This package is part of a federation of packages to support OPF modeling:
- CommonOPF provides the basis for BusInjectionModel.jl and:
- BranchFlowModel, which provides a similar interface to BusInjectionModel.jl.
Inputs
Inputs are defined using CommonOPF.Network structs.
Building a Model
Building a BranchFlBusInjectionModelowModel requires three things:
- a JuMP Model,
- a
CommonOPF.Network, and - the type of model to be built, i.e. one of the
BusInjectionModel.ModelType
BusInjectionModel.ModelType — TypeModelTypeAn enum with values:
FixedPointLinearUnrelaxedDC(single phase polar only)
To build a model see build_bim_rectangular! and build_bim_polar!