You will need to add some user defined constraints and costs as
described in Section 3.4.1 of the User's Manual.
If you call the base dispatch (where the line overload exists) P0,
then you'll need to define two new variables for each generator, one
Pplus to represent the upward deviation from P0 and another Pminus to
represent the downward deviations. You can put whatever costs on them
you like using the generalized cost function. You'll also need some
extra constraints to define their values ...
Pg - Pplus <= P0
P0 <= Pg + Pminus
0 <= Pplus
0 <= Pminus
You will have to use one of the OPF solvers that uses the generalized
OPF formulation (MINOPF, TSPOPF or fmincon) to solve this however. You
can find an example of a case with extra linear user constraints &
costs in t/t_opf_minopf.m or t/t_opf_fmincon.m.
Hope this helps,
--
Ray Zimmerman
Senior Research Associate
428-B Phillips Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Mar 26, 2009, at 9:44 AM, RAVIKUMAR V wrote:
I am using the lpopf.m file to solve the OPF.
1. case I
for minimizing the cost as objective using lpopf.m . (This is given
directly so I did it.)
2. case II
This is congestion removal by generation resheduling. After adding
bilateral transaction some of the lines get overloaded, In order to
remove this overload, I want to reshedule the generation but the
change is as minimum as possible and given by
f = C( Del (Pg+ )) - C( Del (Pg-))
where C is the cost function for increase/ decrease in generation.
Here I have to solve the OPF by same lp method, but objective is to
reduce the cost for change in generation.
Can I get detailed help for this implementation?
-------------------------------------------------------------
WITH REGARDS,
V.RAVIKUMAR PANDI,
Research Scholar,
-------------------------------------------------------------
HAVE A NICE DAY
-------------------------------------------------------------