Hi Baljinnyam,

 

I also have code implemented for rectangular coordinates. Let me know if you
need some input or for comparison, e.g. computation of Jacobian/Hessian for
different flow limits (P, I, S)…

 

Nico

 

 

Von: bounce-122227521-78782...@list.cornell.edu
[mailto:bounce-122227521-78782...@list.cornell.edu] Im Auftrag von wandlf
Gesendet: Freitag, 26. Januar 2018 08:48
An: MATPOWER Developer List <matpower-de...@list.cornell.edu>
Betreff: Re:Re: 3 other variations of the OPF formulation to Matpower

 

Hi Baljinnyam,

 

violently thanks for your working as to Matpower. I suppose it will be great
for adding this functions that you  have developed.  Further discussion
about this kinds of questions will be greatly useful.

 

 

sinoy







At 2018-01-25 22:47:21, "Ray Zimmerman" <r...@cornell.edu
<mailto:r...@cornell.edu> > wrote:



Hi Baljinnyam,

 

Thanks for your offer to contribute. This would be a nice addition to
MATPOWER.

 

I suggest starting by adding two new MATPOWER options, each with default
values of 0 …

 

opf.current_balance = 0 (complex power balance) or 1 (complex current
balance)

opf.v_cartesian = 0 (polar) or 1 (Cartesian)

 

Then find all the places in the existing OPF code where the current
(default) formulation is assumed and add conditionals to implement the other
variations. You might find it useful to use the MATLAB Profiler with a
simple runopf() call to map out the functions that are called. I think much
of the work will be in opf_setup(), where we’ll need to use different
variables and constraints.

 

Another thing to do early in the process is to duplicate the t/t_opf_mips.m
file for each of the 3 new variations. The initial goal will be to get all
of those tests to pass for each of the versions.

 

Of course, you will want to begin all of this on your own fresh fork of the
current MATPOWER development branch using the guidelines in the Contributor
<https://github.com/MATPOWER/matpower/blob/master/CONTRIBUTING.md#submitting
-additions-or-modifications-to-the-code> ’s Guide.

 

Don’t hesitate to ask if you have questions or need any help along the way.

 

Thanks again,

 

     Ray

 

 

 





On Jan 24, 2018, at 4:40 AM, Baljinnyam Sereeter <b.seree...@tudelft.nl
<mailto:b.seree...@tudelft.nl> > wrote:

 

Dear Matpower developers,

I use Matpower for my work to solve OPF problems. As we know that the power
balance (mismatch) equations in Polar coordinates are used as equality
constraints in the OPF formulation in Matpower. However, depending on the
formulation of equality constraints (power or current mismatch) and
specification of the coordinates (Polar or Cartesian), OPF problem can be
formulated mathematically in four different ways for a single physical
formulation. I am working on other three versions since some advantages can
be obtained for the derivatives or properties of matrix equations of Newton
update step. I have finished other versions theoretically and implemented on
Matlab. So I was wondering if you would like to include the other versions
in Matpower.

If you are interested, I would like to discuss how we can design the
implementation. Thanks in advance.


Regards,

Baljinnyam S



 

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to