Smple Economic Disatch
Smple Economic Disatch
Smple Economic Disatch
INTRODUCTION......................................................................................................................3
GENERATION......................................................................................................................4
TRANSMISSION..................................................................................................................5
DISTRIBUTION....................................................................................................................5
SERVICES OF BPC..................................................................................................................6
Page | 1
INTRODUCTION
The economic dispatch problem distributes all energy consumed among power plant units by
minimizing operating costs and meeting generators and system constraints. Economic
dispatch is the basic mechanism for determining the best cost-effective point of operation for
all controllable devices connected to the power system according to their economic efficiency
in real time. In its traditional form, economic load dispatch consists mainly of conventional
generators, known as renewable generations, and loads that can be well approximated to a
definite problem that usually covers a short period of time.[1] In the electric power supply
systems, there exist a wide range of problems involving optimization processes. Among
them, the power system scheduling is one of the most important problems in the operation
and management.[2]
In principle, all generation and transmission dispatchers practice economic dispatch to reduce
the cost of serving loads. Economic dispatch reduces total variable production costs by
serving load using lower-variable-cost generation before using higher-variable cost
generation (i.e., by dispatching generation in “merit order” from lowest to highest variable
cost). Retail customers will benefit if the savings are passed through in retail rates. Economic
dispatch can reduce fuel use when it results in greater use of lower variable cost, higher-
efficiency generation units than of lower-efficiency units consuming the same fuel. [3]
Page | 2
THEORY
Generation models
Models for the generating units and the transmission system make up the electric power
system representation for Economic Dispatch [2]. According to the power generated and the
individual unit's capacity for generation, the generation model depicts the cost of producing
electricity. The models are;
Page | 3
Subject to 1.1 - 1.3
This lead to
N N
L=∑ F i (Pi )+ λ(D − ∑ Pi ) 1.4
i=1 i=1
Application of Karush-Kuhn-Tucker method to langrangian function gives
d F 1 P1
=λ
d P1
d F 2 P2
=λ
d P2
D=P 1+ P2
OBJECTIVES
The aim of this experimental lab was to
solve a two simple unit system economic dispatch problem manually and
solve a two simple unit system economic dispatch problem using MATLAB software.
APPARATUS
Pen
Paper
Calculator
PROCEDURE
● Manually solve the problem and compare the two solutions.
● Write a MATLAB code for the economic dispatch problem to find the total cost of
production, lambda, P1 and P2,
Page | 4
RESULTS
1. Manual calculations
Problem;
F 1=¿ 8 P +0.024 P
1
2
1
+ 80¿
df 1
=8+0.048 P1
dP1
df 2
=8.2+0.05 P2 (2)
dP2
0 ≤ P2 ≤ 80 (3)
0 ≤ P1 ≤ 80
Calculation for λ
P n
Bi
D +∑
2 γi
λ=
i
∑ 21γ
n i
8 8.2
150+ +
2 × 0.024 2 × 0.025
1 1
+
2× 0.024 2× 0.025
= 11.7715 Pula/MW Hr
finding P1 and P2
Page | 5
11.7715 − 8
P 1=
2 × 0.024
= 78.57 MW
11.7715− 8.2
P 2=
2× 0.025
=71.43 MW
C T =F 1 + F2
=856.72 Pula/Hr
=795 Pula/Hr
Pmin = [0 0]; % Minimum generation limits for each power plant (MW)
Pmax = [80 82]; % Maximum generation limits for each power plant (MW)
% Define Constraints
A=[];
Page | 6
b=[];
obj=@(P)80+8*P(1)+0.024*P(1)^2+82+8.2*P(2)+0.025*P(2)^2;
% Perform Optimization
[x,fval,exitflag,output,lambda,grad,hessian]=fmincon(obj,P0,A,b,Aeq,beq,Pmi
n,Pmax);
% Display Results
disp(x);
disp("Minimum Cost:");
disp(fval);
disp("lambda");
disp(lambda);
Page | 7
Page | 8
DISCUSSION
In economic dispatch, each power plant has minimum and maximum generation limits. Here,
`Pmin` represents the lower bound of generation for each power plant, while `Pmax`
represents the upper bound. In this case, there are two power plants, with the first having a
minimum generation of 0 MW and a maximum generation of 80 MW, and the second having
a minimum generation of 0 MW and a maximum generation of 82 MW.
The variables `A` and `b` represent inequality constraints, if any. In this code, the inequality
constraints are not defined, so these variables are left empty.`P0` represents the initial
generation levels for each power plant. In this case, both plants start with a generation level
of 0 MW.
`Aeq` and `beq` represent equality constraints, which need to be satisfied in the optimization
process. In this code, the equality constraint is defined as the total demand for electricity,
which is set to 150 MW. The constraint equation `Aeq * P = beq` ensures that the sum of the
generation levels of both power plants is equal to the total demand.
The objective function represents the cost function to be minimized in economic dispatch. In
this code, the objective function is defined as the total cost of generation. It is a function of
the generation levels `P` for each power plant, with coefficients determined by the cost
curves. The cost function includes quadratic terms, indicating that the cost of generation is
not linear but depends on the square of the generation level.
The `fmincon` function is used to perform constrained optimization. It finds the values of `P`
that minimize the objective function `obj`, subject to the defined constraints. The output
variables `x` represent the optimal generation levels, `fval` represents the minimum cost
obtained, `exitflag` indicates the exit status of the optimization, `output` contains information
about the optimization process, `lambda` represents the Lagrange multipliers for the
constraints, `grad` represents the gradient of the objective function, and `hessian` represents
the Hessian matrix.
The optimization algorithm finds the optimal generation levels `x` that minimize the cost
function `obj`, subject to the defined constraints. The minimum cost obtained is `fval`. The
values of `exitflag` and `output` provide information about the success or failure of the
optimization process.
CONCLUSSION
the provided MATLAB code snippet performs economic dispatch calculations by defining
the power plant characteristics, constraints, objective function, and performing constrained
optimization. It aims to find the optimal generation levels for each power plant that minimize
the cost of generation while satisfying the total demand constraint.
Page | 9
REFERENCES
1.https://www.sciencedirect.com/topics/engineering/economic-dispatch-problem#:~:text=The
%20economic%20dispatch,period%20of%20time.
2.https://backend.orbit.dtu.dk/ws/files/4134087/Vlachogiannis.pdf
3.https://www.energy.gov/oe/articles/value-economic-dispatch-report-congress-pursuant-
section-1234-energy-policy-act-2005#:~:text=Economic%20dispatch%20reduces%20total
%20variable,lowest%20to%20highest%20variable%20cost).
Page | 10