| (6.34) |
subject to
The first difference to note is that the optimization variable from the
standard OPF formulation has been augmented with additional variables
to
form a new optimization variable
, and likewise with the lower and upper
bounds.
| (6.39) |
Second, there is an additional user-defined cost term in the objective
function. This cost consists of three pieces that will be described in more detail
below.
| (6.40) |
Third, the nonlinear constraints and
are augmented with user defined additions
and
to give
and
.
Up through version 6.0 of .37
This preserved the ability to use solvers that employ pre-compiled MEX files to compute
all of the costs and constraints. This is referred to as
For the AC OPF, subsequent versions also include the general nonlinear
constraints and
, and the quadratic and general nonlinear costs
and
. The new quadratic cost terms can be handled by all of
Section 7 describes the mechanisms available to the user for taking advantage of the extensible formulation described here.
The creation of additional user-defined variables can be done explicitly or implicitly
based on the difference between the number of columns in
and the dimension of the
standard OPF optimization variable
. The optional vectors
and
are
available to impose lower and upper bounds on
, respectively.
Each of these constraint sets is defined by two M-file functions, similar to those required by MIPS, one that computes the constraint values and their gradients (Jacobian), and the other that computes Hessian values.
The user-defined cost function consists of three terms for three different types of costs:
quadratic, general nonlinear, and legacy. Each term is a simple summation over all of the
cost sets of that type.
| (6.47) |
| (6.48) |
where is defined in several steps as follows. First, a new vector
is created by
applying a linear transformation
and shift
to the full set of optimization
variables
| (6.49) |
then a scaled function with a “dead zone” is applied to each element of to
produce the corresponding element of
.
| (6.50) |
Here specifies the size of the “dead zone”,
is a simple scale factor and
is a pre-defined scalar function selected by the value of
. Currently,
| (6.51) |
as illustrated in Figure 6-1 and Figure 6-2, respectively.
This form for provides the flexibility to handle a wide range of costs, from
simple linear functions of the optimization variables to scaled quadratic penalties on
quantities, such as voltages, lying outside a desired range, to functions of linear
combinations of variables, inspired by the requirements of price coordination terms
found in the decomposition of large loosely coupled problems encountered in our own
research.
Some limitations are imposed on the parameters in the case of the DC OPF since
and
for all
, so the “dead zone” is not considered
and only the linear option is available for
. As a result, for the DC case (6.50)
simplifies to
.