Variables

Variables

We provide the following methods to provide a compositional approach for defining common variables used in power flow models. These methods should always be defined over "GenericPowerModel".

PowerModels.getstartFunction.

extracts the start value

source

variable: p[l,i,j] for (l,i,j) in arcs

source

variable: -ne_branch[l]["rate_a"] <= p_ne[l,i,j] <= ne_branch[l]["rate_a"] for (l,i,j) in ne_arcs

source

variable: p_dc[l,i,j] for (l,i,j) in arcs_dc

source

variable: pg[j] for j in gen

source
source

generates variables for both active and reactive branch_flow_ne

source

variable: 0 <= branch_z[l] <= 1 for l in branches

source

variable: 0 <= branch_ne[l] <= 1 for l in branches

source

generates variables for both active and reactive generation

source

variable: q[l,i,j] for (l,i,j) in arcs

source

variable: -ne_branch[l]["rate_a"] <= q_ne[l,i,j] <= ne_branch[l]["rate_a"] for (l,i,j) in ne_arcs

source

variable: q_dc[l,i,j] for (l,i,j) in arcs_dc

source

variable: qq[j] for j in gen

source

variable: t[i] for i in buses

source

real part of the voltage variable i in buses

source

variable: v[i] for i in buses

source

variable: 0 <= vm_fr[l] <= buses[branches[l]["f_bus"]]["vmax"] for l in branches

source

variable: w[i] >= 0 for i in buses

source

variable: 0 <= w_fr[l] <= buses[branches[l]["f_bus"]]["vmax"]^2 for l in branches

source

variable: 0 <= w_to[l] <= buses[branches[l]["t_bus"]]["vmax"]^2 for l in branches

source

variable: 0 <= vm_to[l] <= buses[branches[l]["t_bus"]]["vmax"] for l in branches

source
source
source

real part of the voltage variable i in buses

source