Thanks for this contribution. Any chance you could submit this as a pull request according to the instructions <https://github.com/MATPOWER/matpower/blob/master/CONTRIBUTING.md#submitting-additions-or-modifications-to-the-code> from the CONTRIBUTING <https://github.com/MATPOWER/matpower/blob/master/CONTRIBUTING.md> guide on GitHub? If not, maybe someone else on the list could help out by either walking him through it or doing it for him. That would be a big help to me, as I’m a bit swamped with other things at the moment. Any volunteers?
And of course, having someone else test the code and give feedback is always helpful as well. Thanks, Ray > On Aug 11, 2017, at 6:13 AM, Ahmad Sadiq Abubakar > <ahmad.abuba...@futminna.edu.ng> wrote: > > Dear all, > Kindly find attached herewith what I have on CPF termination at voltage and > line apparent power limitations. > Kindly note the following points > ATTENTION > (1) To enforce the V_limits and L_limits, matpower option file (mpoption.m) > was modified to includes these functionalities and the required voltage and > apparent power tolerances. Attached is the option file named mpoption_ASA.m > > (2) The run cpf file (runcpf.m) was modified to register the events functions > and thier respective call back functions. Attached is the runcpf file named > runcpf_ASA.m > > (3) From experience, line thermal limitation is often most severe compared to > voltage and generator reactive power limits, hence the cpf.enforce_l_lims and > cpf.enforce_v_lims are assigned higher priority values of 53 and 52 > respectively. > > (4) For now, it is assumed that at the base case power flow, all voltages and > line apparent power flow are within limits. > > It is my hope that i will be duely acknowledge as one of the contributors of > these codes to matpower's development. > > Kindly keep me posted on the clean up you do on these codes. > > In anticipation of your responses and suggestions. > > Engr. AHMAD, Abubakar Sadiq > PhD Student > Electrical Engineering. > Bayero University, Kano. Nigeria. > OR > Lecturer > Electrical and Electronics Engineering, > Federal University of Technology, > P.M.B, 65, Minna. > Nigeria. > +2347068043665 > <Matpower_cpf_V&L.rar>