l1 - l3 - Advanced Power System Optimization Ell776 - l1-l3
l1 - l3 - Advanced Power System Optimization Ell776 - l1-l3
SYSTEM OPTIMIZATION
(ELL776)
CONTENTS
Introduction to optimization
History of optimization
Basic concepts in optimization
Overview of optimization in power systems
s. t.
© Dr Yashasvi Bansal, IIT Delhi, 2025 Source: Prof. Abhyankar, IIT Delhi, 2025
5
EXAMPLE
( )
min x − 5x + 4
2
2.5
-2.25
EXAMPLE
EXAMPLE
(
min x − 5x + 4
2
)
S. t.
2.5 4
-2.25
x − 5x + 4 0
2
x 2.5
EXAMPLE
2. Equality constraints
3. Inequality constraints
Region bounded by the constraints is known as feasible region for the optimization process.
FEASIBLE REGION
Feasible Region
X2 Non-linear inequality
constraint
Linear inequality
Non-linear inequality
constraint
constraint
linear inequality
constraint
Non-linear inequality
constraint
X1
linear inequality constraint
© Dr Yashasvi Bansal, IIT Delhi, 2025
12
EXAMPLE
◼ Antiquity
❑ 300 BC – Euclid – minimal distance between points is line
techniques
❑ 1740-1755 – Euler, Lagrange – Calculus of variations
CLASSIFICATION OF
OPTIMIZATION PROBLEMS
◼ Deterministic / stochastic
where X is an n-dimensional vector called the design vector, f (X) is termed the objective function, and gj (X) and lj
(X) are known as inequality and equality constraints, respectively. The number of variables n and the number of
constraints m and/or p need not be related in any way.
© Dr Yashasvi Bansal, IIT Delhi, 2025
20
(
min x2 − 5x + 4 ) Unconstrained optimization
(
min x − 5x + 4
2
) Constrained optimization
s.t.
x2 − 5x + 4 0
x 2.5
• Objective is to find a set of design parameters, which are all continuous functions
of some other parameter, that minimizes an objective function subject to a set of
constraints.
• Variables are functions of time or some other parameter
◼ Linear
◼ Non-linear
◼ Geometric
◼ Quadratic
min
s.t.
min
s.t.
min
s.t.
Deterministic Stochastic
◼ All variables are
◼ Some or all variables
deterministic in nature and predefined
parameters are
probabilistic in nature
The edge between the lowest values of f1 and f2 is called the Pareto Front. Any point on this front is
considered “Pareto optimal”. By moving along the curve, you could minimize cost at the expense of time, or
minimize time at the expense of cost, but you can not improve both at once.
CONVEXITY
→ Then, the problem has one and only one solution i.e., there
is only one minimum and it is thus the global minimum
that is, if the segment joining the two points lies entirely above or on the graph of f (X).
A function f (X) is strictly convex or concave if the strict inequality holds for any X1 = X2.
(a) convex function in one variable; (b) concave function in one variable.
(a) convex function in one variables; (b) concave function in two variables.
Function that is convex over certain region and concave over certain other region.
2 f
I f f (x) = 0 t h e n f (x) is c oncave.
x 2
2 f
I f f (x) = 2 0 t h e n f (x) is c onvex.
x
f(x) f(x)
f (x) 0
f (x) 0
x x
xa xb xa xb
Concave Function Convex Function
CONVEX SET
PROBLEM
What does the set {(x, y) | x2 + y2 ≤ 4} represent geometrically. Graph
the set and indicate whether it is a convex set or not?
PROBLEM
Sketch a graph for each of the following and indicate whether the set is convex?
DIMENSIONAL SYSTEM
Look for Hessian Matrix!
Set is strictly convex if H(x) is positive definite, meaning all eigenvalues of H(x)
are greater than zero
EXAMPLE
• Statement 1: “you sit the exam” and Statement 2: “you pass the exam”.
Statement 1 is ….............for statement 2.
• Statement 1: “you achieve an overall grade of over 70% in all of the modules
that you have studied as part of your economics degree” and Statement 2: “you
get a first-class degree in economics”
Statement 1 is ….............for statement 2.
• Statement 1: “I am a male sibling” and Statement 2: “I am a brother”.
Statement 1 is ….............for statement 2.
df = 0
Necessary Condition:
dx f(x)
EXAMPLE
EXAMPLE
f
x
1
f
x = 0
2
f
xn
A point where this condition is satisfied is a stationary point – may be maxima,
may be minima!
2 f 2 f 2 f
x2 x1x2 x1xn
1
2 f 2 f 2 f
x 2 x1 x22 x2 xn
2 f
x1x2
2
f 2 f 2 f
x n x1 xn x2 x2n
INDEFINITENESS OF A MATRIX
H is indefinite and
a) Find the gradient. Use that to find a stationary point(x, y) that makes
the gradient 0.
b) Use the eigenvalues of the Hessian at that point to determine whether
the stationary point in a) is a maximum, minimum, or neither.
PROBLEM
CONTOURS
69
CONTOURS
Augmented
Lagrange
Multiplier Method
Generalized
Reduced Gradient
OPTIMIZATION IN POWER
SYSTEMS
TIMELINE OF ACTIVITIES
◼ Long term planning
5-10 years or more
❑ Transmission expansion planning
❑ Generation expansion planning
◼ Short term planning
❑ Scheduling (Unit Commitment) 3 months to 1 week
❑ Optimal Distribution system network topology
❑ Short term market
◼ Operational planning
❑ Scheduling (Unit Commitment, ELD) 1 week to 1 day
❑ Day-ahead market ahead
❑ Security
◼ Operations
❑ Dispatch Hour ahead to real
❑ Security time
❑ Real time market
❑ Monitoring (State Estimation)
STEPS
• Step 1: Formulating the optimization problem in the format required by the
MATLAB program
▪ the objective function for minimization
▪ the constraints in “≤” form with zero or constant value on the righthand
side of the inequalities.
• Step 2: involves writing an m-file for the objective function.
• Step 3: involves writing an m-file for the constraints.
• Step 4: involves setting the various parameters at proper values depending on
the characteristics of the problem and the desired output.