CPF stopping Criteria

2024-05-21 Thread Ahmad Sadiq Abubakar
Dear all,

Please can the CPF stop at a target lambda value? If yes, What will be the
field of this cpf_stop_at? I know for "FULL" and "NOSE" are to complete the
cpf and stop at the nose point respectively.

In anticipation of your response

-- 
*AHMAD Abubakar Sadiq (PhD)*

*Faculty Member Electrical and Electronics Engineering,*

*School of Electrical Engineering and Technology,*
*Team Lead PowerTech Research Unit*
*Advanced Engineering Innovation Research Group.*

*Federal University of Technology,*
*P.M.B, 65, Minna.** Nigeria*.

*+2347068043665*
*+2348057879333*


Re: UPFC modelling in MATPOWER

2024-05-14 Thread Ahmad Sadiq Abubakar
I have work around UPFC with the fictitious buses in MATPOWER. You may send
me a message to schedule discussion.

On Fri, May 10, 2024, 10:35 AM Muhammad Junaid 
wrote:

> Dear Sir,
> I hope you are doing well. Can you guide how to create two
> fictitious buses in Matpower for modeling UPFC? or is there any guide for
> modeling UPFC provided by Matpower?
> Thanks and regards
>


Re: OPF with Multiple Objectives

2023-09-06 Thread Ahmad Sadiq Abubakar
Thank you for your response Ray.

I want to see the correlation between the objectives, say a 3D Pareto
front.

This will contain lots of information for decision making.

Thanks for the insight as always.

On Wed, Sep 6, 2023, 3:43 PM Ray Daniel Zimmerman  wrote:

> I’m pretty confident that the answer to the question you are asking is
> “no”. But I’m still curious what you mean by “run the OPF with two or three
> objectives”.
>
> What would characterize the kind of solution you are looking for if it is
> not optimizing a weighted sum of the multiple objectives?
>
>  Ray
>
>
> > On Aug 31, 2023, at 2:56 PM, Ahmad Sadiq Abubakar <
> ahmad.abuba...@futminna.edu.ng> wrote:
> >
> > Dear all,
> >
> > Can run the OPF with two or three objectives? Rather than just cost?
> >
> > If yes, kindly refer me to the section on the manual where I can
> implement such. Again I don't want to combine the objectives into single
> one via weighted sums.
> >
> > Thanks in advance.
>
>


OPF with Multiple Objectives

2023-08-31 Thread Ahmad Sadiq Abubakar
Dear all,

Can run the OPF with two or three objectives? Rather than just cost?

If yes, kindly refer me to the section on the manual where I can implement
such. Again I don't want to combine the objectives into single one via
weighted sums.

Thanks in advance.


OPF with Distribution Network

2023-08-25 Thread Ahmad Sadiq Abubakar
Dear all,

Is it possible to run OPF with a distribution network?

This is because distribution networks are often radial. Will the load flow
converged?


BS as Capacitor

2023-02-12 Thread Ahmad Sadiq Abubakar
Dear all,

I model a capacitor as bus BS, however, I observed that the power losses
are increasing.

Is this correct or is there anything I am missing?

Appreciate your help.


Capacitor as BS for Power factor Corrections

2023-02-03 Thread Ahmad Sadiq Abubakar
Hi all,

I am working on capacitor placement for power factor (PF) improvement.

The capacitor is modeled as BS in the bus matrix. While the PF is computer
as ratio of sum of Pgen to Sum of Sgen.

My results shows improve PF, but the losses are increasing. My expectations
is that the losses will also reduce.

Any help and guidance is appreciated.


Re: Power flow calculation when changing the network topology

2022-04-30 Thread Ahmad Sadiq Abubakar
Dear Yan,

Yes to your first question. The STATUS determine the connectivity or
otherwise of a branch.

On the second question, there are algorithm for running Distribution power
flow different from runpf.

Kindly refer to the manual for about three different distribution power
flow algorithm and how they are invoked.

Lastly, not all reconfigured topology may necessarily converged even with
distribution power flow algorithm. So, be sure while implementing the
reconfiguration, you don't create Island..

Hope this helps. Regards.

On Sat, Apr 30, 2022, 5:30 PM Ziheng Yan  wrote:

> Dears,
>
>I‘m trying to calculate power flow in distribution systems considering
> network reconfiguration. From the data format description, I noticed that
> the 11th column of mpc.branch named BR_STATUS represents "initial branch
> status". But I'm not sure whether that attribute means the on/off status of
> branches and thus determines the network topology. Take 'case33bw' as an
> example, when I was trying to change the 11th column of mpc.branch (network
> connectivity and radiality is guaranteed) and execute runpf, the power flow
> calculation fails to converge in some network topology (success=0 and it
> reaches max iterations). I have tried several power flow algorithms as well
> as increase the max number of iterations, but all fails. So the question
> I'm gonna ask is:
>
>1) While doing power flow calculation, does BR_STATUS determine the
> network topology?
>2) Any suggestions for cases where power flow cannot converge?
>
>Thank you in advance, early reply is appreciated.
>
>
> Regards,
> Yan
>
>
>
>


Re: install/access MATPOWER directly from Python

2022-01-27 Thread Ahmad Sadiq Abubakar
Wow...

This is interesting.

On Thu, Jan 27, 2022 at 10:43 PM Ray Daniel Zimmerman 
wrote:

> Just wanted to let you all know about a package by Muhammad Yasirroni,
> called matpower-pip  that
> lets you install and access MATPOWER directly from Python.
>
> Check it out at: https://github.com/yasirroni/matpower-pip/
>
> Ray
>
>

-- 
*AHMAD Abubakar Sadiq (PhD), MNSE, MNIEEE, MNIPE, *
*Reg. COREN *

*Faculty Member Electrical and Electronics Engineering,*

*School of Electrical Engineering and Technology,*

*Federal University of Technology,*
*P.M.B, 65, Minna.** Nigeria*.
*&*
*Team Lead PowerTech Research Unit*
*Advanced Engineering Innovation Research Group.*

*Federal University of Technology,*
*P.M.B, 65, Minna.** Nigeria*.

*+2347068043665*
*+2348057879333*


Re: MATPOWER Case Building with Torrit

2020-07-23 Thread Ahmad Sadiq Abubakar
Nice efforts.
I was wondering if documentation or some guide was provided on how to get
started
is provided within the files.

On Thu, Jul 23, 2020 at 9:39 PM Md Ashfaqur Rahman 
wrote:

> Dear All,
>
> I have developed an application to build case files using graphical user
> interface (windows 64-bit). The case files can be run in MATPOWER. Everyone
> is invited to try the product,
>
>
> https://drive.google.com/drive/folders/1MDctAgTWsSs_aY0UjWdfDgVNsV-TaLzo?usp=sharing
>
> Regards,
> Md Ashfaqur Rahman, Ph.D.
>


-- 

*AHMAD, Abubakar Sadiq, MNSE, MNIEEE, MNIPE, COREN Reg.*

*Electrical and Electronics Engineering,*

*School of Electrical Engineering and Technology*

*Federal University of Technology,*
*P.M.B, 65, Minna.** Nigeria*.
*+2347068043665*


Re: Distributed slack bus

2019-07-02 Thread Ahmad Sadiq Abubakar
Hi
If I understand correctly, the following procedures implements DSB
(1)initially select a bus as slack and run NR power flow, also obtain the
value of active power on slack
(2) Dispatch the active power obtained from(1) to all generators according
to say GPF (participation factor), again run NR and obtain the slack
(3)Do (2)until the slack value is zero to some tolerance.

Is the above algorithm correct?

Thanks
Ahmad

On Tue, Jul 2, 2019, 4:42 PM MAEGHT Jean  wrote:

> Hello
>
> Guidance on distributed slack bus as performed in industry :
>
> https://github.com/MATPOWER/matpower/issues/60#issuecomment-498995987
>
>
>
> best regards
>
> Jean
>
>
>
> *De :* bounce-123718894-75398...@list.cornell.edu [mailto:
> bounce-123718894-75398...@list.cornell.edu] *De la part de* Ahmad Sadiq
> Abubakar
> *Envoyé :* mardi 2 juillet 2019 15:02
> *À :* MATPOWER discussion forum 
> *Objet :* Distributed slack bus
>
>
>
> Hi all,
>
> Is it possible to implement the distributed slack bus (DSB) model in NR
> load flow with MATPOWER?
>
>
>
> I will appreciate some guidance to achieve this.
>
>
>
> Best Regards
>
>
> "Ce message est destiné exclusivement aux personnes ou entités auxquelles
> il est adressé et peut contenir des informations privilégiées ou
> confidentielles. Si vous avez reçu ce document par erreur, merci de nous
> l'indiquer par retour, de ne pas le transmettre et de procéder à sa
> destruction.
>
> This message is solely intended for the use of the individual or entity to
> which it is addressed and may contain information that is privileged or
> confidential. If you have received this communication by error, please
> notify us immediately by electronic mail, do not disclose it and delete the
> original message."
>


Distributed slack bus

2019-07-02 Thread Ahmad Sadiq Abubakar
Hi all,
Is it possible to implement the distributed slack bus (DSB) model in NR
load flow with MATPOWER?

I will appreciate some guidance to achieve this.

Best Regards


Re: MATPOWER 7.0 is now available!

2019-06-21 Thread Ahmad Sadiq Abubakar
Hi Ray,
Thank you so much for sharing this with me.

Ahmad

On Fri, Jun 21, 2019, 6:15 PM Ray Zimmerman  wrote:

> --
>
> Hi AHMAD ABUBAKAR SADIQ
>
> MATPOWER 7.0 is now available
>  for
> download from the new MATPOWER website! See the highlights of the new
> release below.
>
> Download MATPOWER 7.0
>  and let me
> know what you think.
>
> Enjoy!
>  Ray
>
> P.S. Be sure to opt-in for MATPOWER News
>  at the
> new MATPOWER website. *(This will replace the old MATPOWER-ANNOUNCE-L
> list)*.
> MATPOWER 7.0 Highlights
>
>- Installer script install_matpower()
>- User-defined general nonlinear OPF constraints and costs
>- 14 new cases, including radial and large-scale synthetic, up to
>82,000 buses
>- 3 new AC power flow and OPF variations (cartesian coordinate
>voltages, current mismatches)
>- 3 new radial power flow algorithms
>- PSS/E RAW export
>- Major upgrade to OPF soft limit functionality
>- MATPOWER Docker image
>
>- ... and much more.
>
> See the release announcement
>  for more
> highlights, or the full release notes
>  for all
> the details.
>
>
> Ray Zimmerman
> 201 Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
>
> --
> You are subscribed to matpower-l as ahmad.abuba...@futminna.edu.ng   —
> Unsubscribe
> 
>


Re: Maximum load limit for radial distribution cases.

2019-06-13 Thread Ahmad Sadiq Abubakar
Hi,
For radial distribution networks, Newton power flow often encounter
convergence issues due to high r/x ratio.
I suggest you look at articles on "Improved CPF for distribution networks"

Hope this helps.
Ahmad

On Thu, Jun 13, 2019, 3:36 PM akhil  wrote:

>
>
> -- Forwarded message -
> From: akhil 
> Date: Thu, 13 Jun 2019 at 19:52
> Subject: Maximum load limit for radial distribution cases.
> To: 
>
>
> I am running the radial distribution power flow which is based on backward
> forward sweep algorithm. for the network data which is provided with
> matpower the radial load flow converges successfully. But to get the
> maximum load limit of the system, when I am running the load flow with
> increased load at each bus in a step of 1 % the radial load flow does not
> converge after some point.
> The change in Load is as per Pnew=Lambda*P0 and Qnew=Lambda*Q0 with 1 %
> change in load at all buses simultaneously.
> I am Trying to get the minimum bus voltage of the system after each change
> in load and running corresponding radial flow successively until the
> minimum voltage of the system (bus with minimum voltage) getting reduced
> smoothly.
> The code which I run is attached herewith for your reference.
>
>
>
>
> Thank you
>
> Yours
> Akhilesh K Barnwal
> Ph.D. Research Scholar
> IIT BHU Varanasi.
> mail: akhileshkb.rs.ee...@iitbhu.ac.in
>
>
> --
>
>
>
>
>
>   @khil
>


Re: CPU time

2019-04-25 Thread Ahmad Sadiq Abubakar
Thank you Shri, the comments were helpful.


Ahmad

On Fri, Apr 12, 2019 at 4:28 PM Abhyankar, Shrirang G <
shrirang.abhyan...@pnnl.gov> wrote:

> Ahmad,
>
> Can you be more specific with your question. How big of a system are
> you planning to solve? Do you need to perform the CPF run within some
> stipulated time?
>
>
>
> CPF basically solves a series of power flow solutions given some transfer
> direction. Roughly, its computational complexity equals the number of power
> flow solutions (CPF steps) + an additional overhead for computing the
> tangent vector. There are a couple of things one can do to run the CPF
> faster:
>
>
>
> i)Increase the step-size (mpopt.cpf.step): A larger
> step-size would result in fewer CPF steps and in turn fewer power flow
> solutions. However, increasing the step-size also means that the CPF may
> need to do additional iterations at each step.
>
> ii)   Use step adaptivity (mpopt.cpf.adapt_step): The CPF
> will adaptively change the step-size when this option is turned ON. It will
> take larger steps on the flat portion of the PV curve and small steps for
> larger curvatures. One can limit the max. and min. step with the options
> mpopt.cpf.step_max and mpopt.cpf.step_min.
>
>
>
> Shri
>
>
>
>
>
> *From: * on behalf of Ahmad
> Sadiq Abubakar 
> *Reply-To: *MATPOWER discussion forum 
> *Date: *Friday, April 12, 2019 at 12:44 AM
> *To: *MATPOWER discussion forum 
> *Subject: *CPU time
>
>
>
> Hi all,
>
>
>
> What do you think will be the effect of CPF run of a real power systems
> with large number of buses on CPU time?
>
>
>
> I mean MATPOWER's continuation power flow (CPF)
>
>
>
> Kind regards
>
> Ahmad.
>


CPU time

2019-04-11 Thread Ahmad Sadiq Abubakar
Hi all,

What do you think will be the effect of CPF run of a real power systems
with large number of buses on CPU time?

I mean MATPOWER's continuation power flow (CPF)

Kind regards
Ahmad.


OLTC

2019-02-19 Thread Ahmad Sadiq Abubakar
Hi,
How can I implement the on-load tap changer (OLTC) operation in MATPOWER
runpf or runcpf?

Any guide and/or suggestions is welcome.


Re: Multi-period AC runpf( load flow)

2019-02-09 Thread Ahmad Sadiq Abubakar
Thanks very much

On Sat, Feb 9, 2019, 10:03 AM amir ali Hosseini  hi
> maybe this help to you
>
> for example
>
> days = 10;
> hour = 24;
>
>   demloadPD = importdata('demandload.xlsx');%load demandload.xlsx form
> and you should doing loop
>
> for i = 1:days
>
> for j =1:hour
>
>  mpc.bus( :,3) = demloadPD.LFP( :,j);
>
>% any thing you need
>
> end
>
>  end
> have nice time
>
> On Sat, Feb 9, 2019 at 1:18 AM Ray Zimmerman  wrote:
>
>> That’s exactly how I would handle it.
>>
>>Ray
>>
>>
>> > On Feb 7, 2019, at 11:38 AM, Ahmad Sadiq Abubakar <
>> ahmad.abuba...@futminna.edu.ng> wrote:
>> >
>> > Hi,
>> > How can I run a load flow using runpf with 24-h varying loads (P, Q)?
>> >
>> > The only way I have thought of is to have a for loop.
>> > Your comments, suggestions and guides will be appreciated.
>> > Sadiq A. A
>>
>>
>>
>>


Multi-period AC runpf( load flow)

2019-02-07 Thread Ahmad Sadiq Abubakar
Hi,
How can I run a load flow using runpf with 24-h varying loads (P, Q)?

The only way I have thought of is to have a for loop.
Your comments, suggestions and guides will be appreciated.
Sadiq A. A


Re: Continuous power flow options

2018-12-31 Thread Ahmad Sadiq Abubakar
Yes, multiple buses can be plotted simultaneously. Just pass them as an
array e.g [2 4 6] plots for buses 2, 4 and 6.
Hope it helps.

On Mon, Dec 31, 2018, 12:17 PM pravin dangar  Hello.. Thank you very much for your kind  response.
>
> I using MATPOWER for the kind of Continuous Power Flow(CPF) with IEEE 33
> bus system.
>
> In CPF  'cpf.plot.bus' option is there,
> is it possible to plot (lembda-V) curve for 2 or 3 buses in same figure?
>
>
> On Monday, December 10, 2018, Ray Zimmerman  wrote:
>
>> I am not aware of any reason to assume that a nose curve should have any
>> particular shape … in particular, that it should decrease when moving
>> toward zero on the lower branch. Off the top-of-my head I can’t give a good
>> intuitive explanation of the difference between a nose-curve that does and
>> another that does not. Maybe someone else here has some intuition about
>> that.
>>
>> Ray
>>
>>
>> On Nov 30, 2018, at 8:57 PM, pravin dangar 
>> wrote:
>>
>>
>> Pravin B. Dangar
>> ME Sem-III
>> Electrical Engineering Department
>> Shantilal Shah Engineering College, Bhavnagar
>> Gujarat
>> Hello,
>> P-V curve obtained from given code
>> clc;
>> clear all
>> define_constants;
>> mpopt = mpoption('out.all', 0, 'verbose', 2);
>> mpopt = mpoption(mpopt, 'cpf.stop_at', 'FULL', 'cpf.step', 0.2);
>> mpopt = mpoption(mpopt, 'cpf.plot.level', 2);
>> mpcb = loadcase(case33bw); % load base case
>> mpct = mpcb; % set up target case with
>> mpct.gen(:, [PG QG]) = mpcb.gen(:, [PG QG]) * 1; % increased generation
>> mpct.bus(:, [PD QD]) = mpcb.bus(:, [PD QD]) * 3.62; % and increased load
>> results = runcpf(mpcb, mpct, mpopt);
>>
>> After a critical point,* why they move *upward  instead of down side?
>>
>>
>>
>
> --
> Pravin B. Dangar
> ME Sem-III
> Electrical Engineering Department
> Shantilal Shah Engineering College, Bhavnagar
> Gujarat
>
>
>


Re: Network Reductions

2018-10-23 Thread Ahmad Sadiq Abubakar
Hi,
Thanks for the response.

On Tue, Oct 23, 2018, 6:40 PM Ray Zimmerman  wrote:

> Sorry for the delayed response. I had to go back and check with the folks
> who implemented it. They say it’s based on a DC model.
>
> Ray
>
>
> > On Oct 16, 2018, at 11:37 AM, Ahmad Sadiq Abubakar <
> ahmad.abuba...@futminna.edu.ng> wrote:
> >
> > Hi,
> > The network Reductions in Matpower, is it based on DC or AC power flow?
>
>
>
>


Network Reductions

2018-10-16 Thread Ahmad Sadiq Abubakar
Hi,
The network Reductions in Matpower, is it based on DC or AC power flow?


Synchronous Condensers

2018-09-18 Thread Ahmad Sadiq Abubakar
Dear all,

How can I represent(or model) a synchronous condenser with zero active
power in MATPOWER?

First I thought of the bus shunt susceptance BS, or just a PV with PG = 0
and QG = condenser VAR.

Dear Ray,
Your help on this will be appreciated

Warm regards as I anticipate all your responses

Ahmad


Re: Combined Transmission System and Distribution Grid in Matpower

2018-04-07 Thread Ahmad Sadiq Abubakar
I think the 33 nodes is a radial network, issues of convergence..

On Sat, Apr 7, 2018, 8:23 PM Arkan Arkan <arkan.m2...@gmail.com> wrote:

> Thanks Ahmad. Would you, please, explain more and provide some code.
> Please consider that I am not a Power system student. So, I appreciate your
> detailed ans step by step description to do such a simulation in the
> Matpower. For example, If I want to attach a 33 bus (case 33 in the
> Matpower) to 14 bus (case 14) as a load bus.
>
> Thank you so much for your help.
>
> On Sat, Apr 7, 2018 at 11:57 AM, Ahmad Sadiq Abubakar <
> ahmad.abuba...@futminna.edu.ng> wrote:
>
>> I don't think there's a problem with your proposed integrated
>> transmission-distribution grid as long as the following is taken care of.
>> 1) The distribution network section is not radial... Since conventional
>> load flow do not converge fine with radial network.
>> 2) At point of common coupling between transmission and distribution, In
>> modelling the PQ load at transmission by a real distribution network you
>> may account or assume the transformer impedances neglected. Such that if
>> you assumed ideal transformer (lossless) the resistance is zero and the
>> transformer is modeled by a very small reactance.
>>
>> For now this is what I can remember. I recently model such integrated
>> grid.
>>
>> Ahmad A. S.
>>
>> On Sat, Apr 7, 2018, 7:43 PM Arkan Arkan <arkan.m2...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am wondering how is it possible to simulate combined transmission
>>> system and distribution grid in one place (global one) in the Matpower? I
>>> want to see the effects of contingencies on transmission grid in the
>>> distribution grid measurements values. Actually I want to attach a
>>> distribution grid to one of the load buses of transmission grid and run the
>>> whole network. I highly welcome any suggestion.
>>>
>>> Thanks for any help in advance.
>>>
>>>
>>>
>>>
>


Re: Combined Transmission System and Distribution Grid in Matpower

2018-04-07 Thread Ahmad Sadiq Abubakar
I don't think there's a problem with your proposed integrated
transmission-distribution grid as long as the following is taken care of.
1) The distribution network section is not radial... Since conventional
load flow do not converge fine with radial network.
2) At point of common coupling between transmission and distribution, In
modelling the PQ load at transmission by a real distribution network you
may account or assume the transformer impedances neglected. Such that if
you assumed ideal transformer (lossless) the resistance is zero and the
transformer is modeled by a very small reactance.

For now this is what I can remember. I recently model such integrated grid.

Ahmad A. S.

On Sat, Apr 7, 2018, 7:43 PM Arkan Arkan  wrote:

> Hi,
>
> I am wondering how is it possible to simulate combined transmission system
> and distribution grid in one place (global one) in the Matpower? I want to
> see the effects of contingencies on transmission grid in the distribution
> grid measurements values. Actually I want to attach a distribution grid to
> one of the load buses of transmission grid and run the whole network. I
> highly welcome any suggestion.
>
> Thanks for any help in advance.
>
>
>
>


TCSC power injection model

2018-04-03 Thread Ahmad Sadiq Abubakar
Dear all
I wish to model FACTS using power injections model(Static modelling). I
have equations of the active and reactive power injections to model e.g.
TCSC, how do I represent these injections in MATPOWER mpc?
The buses between the line with TCSC are PQ buses. In some cases one of the
bus can be a PV bus.

In anticipation of your kind suggestions

Ahmad A. S.


Static SVC model as bus Bs

2018-01-29 Thread Ahmad Sadiq Abubakar
Hi all,
I want to represent static model of SVC which supplied e.g. Q amount of Var
in MATPOWER

I simply used the sixth column of the mpc.bus matrix. I.e. the bus BS.

Can this be considered adequate/correct?

Thanks in advance


Thevenin's equivalent parameters

2017-12-01 Thread Ahmad Sadiq Abubakar
Hi all

Can I have someone who has worked on determination of Thevenin's equivalent
of any IEEE network to discuss with?

I have read some literatures, however my results are not encouraging. For
example I got Thevenin's impedance of my test case with negative imaginary
part, while the Thevenin's voltage is far above 1.1p.u. say 1.7019.


Any help or guidance will be highly appreciated.


Re: Fwd: How to find max-load ability for each bus of power system

2017-11-27 Thread Ahmad Sadiq Abubakar
Hi,
If the CPF simultaneously increases the load at all load buses, then the
lambda is applicable to each load individually.

Although the lambda is scaled in MATPOWER.

I hope it helps

On Nov 27, 2017 11:23 AM, "Electric" 
wrote:


I am interested to find the max load-ability at each bus in order to find
the most critical buses in a power system in aspect of voltage stability.
How is it doable?
I thought of cpf, but it merely returns the max lambda which is an index
for whole system.


Re: Multiple Slack bus

2017-11-22 Thread Ahmad Sadiq Abubakar
Hi Samuel,

Thank you for this insight.

On Wed, Nov 22, 2017 at 9:09 AM, Samuel Perkin <samu...@landsnet.is> wrote:

> Hi Ahmad,
>
>
>
> As Ray said, Matpower doesn’t do distributed slack, but it isn’t too
> difficult to simulate multiple slack buses by wrapping matpower load flow
> functions in a loop. Here is some rough pseudocode to get you started:
>
>
>
> 1)  Define generator participation factors
>
> 2)  Run load flow in Matpower
>
> 3)  Determine change in slack bus generation
>
> 4)  Distribute this change in generation among generators, based on
> their participation factors
>
> 5)  Return to step 2 unless the change in slack bus is near-zero
>
>
>
> To ensure convergence, you may also need to account for changes in losses
> (as you are trying to balance Generation = Load + Losses)
>
>
>
> Kind regards,
>
>
>
> Samuel
>
>
>
>
> * Samuel Perkin  *
>  Kerfisstjórnunarsvið / System Operations
>  Tel / Sími +354 563 / Mobile / Gsm. +354 / samu...@landsnet.is
>
>
>
> *  www.landsnet.is <http://www.landsnet.is> / www.facebook.com/landsnet
> <http://www.facebook.com/landsnet> / www.twitter.com/landsnethf
> <http://www.twitter.com/landsnethf>*
>
> *From:* bounce-122061961-76238...@list.cornell.edu [mailto:
> bounce-122061961-76238...@list.cornell.edu] *On Behalf Of *Ahmad Sadiq
> Abubakar
> *Sent:* 20. nóvember 2017 12:02
> *To:* MATPOWER discussion forum <matpowe...@list.cornell.edu>
> *Subject:* Multiple Slack bus
>
>
>
> Dear all,
>
> Can I run power with multiple slack bus in matpower?
>
>
> --
>
>
> *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*
>



-- 

*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*


Multiple Slack bus

2017-11-20 Thread Ahmad Sadiq Abubakar
Dear all,

Can I run power with multiple slack bus in matpower?

-- 

*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*


Flows at sending and receiving ends

2017-11-08 Thread Ahmad Sadiq Abubakar
Hi all,
It seems I am missing something,
To obtain the active or reactive power flow at the sending(P_s) or
receiving(Q_r) end of a line after power flow solution I used below codes;
results = runpf(casedata)
P_s = results.branch(:, PF)
Q_r = results.branch(:, QT)

Is this the correct thing to do?

Best regards


Line Voltage Stability Indices

2017-11-07 Thread Ahmad Sadiq Abubakar
In the computation of various line voltage stability indices involving
reactive power of receiving end bus Qj, is Qj the reactive flow into bus j ?
Given FVSI = 4*(Z^2)*Qj/(Vi^2)*X ; for two buses i and j representing the
sending and receiving end, does Qj represent reactive power flow ? into bus
j or the reactive load of bus j ?
If it is the reactive load at bus j, then for a given receiving end bus
with two or more lines terminating at bus j, with sending end buses say (i
and m), what is the reactive power Qj of line i - to - j or line m - to - j?


Kind regards as I anticipate your answers


-- 

*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*


Matpower development version

2017-10-27 Thread Ahmad Sadiq Abubakar
Dear Ray,
How can I download/access the latest matpower development version? Or when
will the new version expected to be released?


Re: Branch data ratio and taps

2017-10-17 Thread Ahmad Sadiq Abubakar
Dear Ray,
Thanks for your response. In my case, V1 is a generator bus with 1.025 p.u.
and V2 is a known PQ bus with 1 p.u.
This implied Tap is 1.02?

On Oct 17, 2017 4:27 PM, "Ray Zimmerman" <r...@cornell.edu> wrote:

> The tap ratio is the off-nominal tap ratio, relating per-unit voltages,
> not kV voltages. So if both voltages are at their nominal values (i.e. both
> at 1 p.u.) then the TAP should be 1 and SHIFT should be 0.
>
>Ray
>
>
> On Oct 17, 2017, at 6:23 AM, Ahmad Sadiq Abubakar <
> ahmad.abuba...@futminna.edu.ng> wrote:
>
> Hi, all
> For a given case branch data r, x, b, assuming the branch is a
> transformer, between bus1 and bus2, with voltages V1 and V2 KV
> respectively. How do I obtain the Tap ration (column 9) and shift (column
> 10) of the branch matrix?
>
> I have simply used V1/V2 as the Tap ration while the shift is zero,
> however, the power flow did not converged. Am I missing something?
>
> Kindly assist
>
> best regrads
> A. A. Sadiq
>
>
>


Branch data ratio and taps

2017-10-17 Thread Ahmad Sadiq Abubakar
Hi, all
For a given case branch data r, x, b, assuming the branch is a transformer,
between bus1 and bus2, with voltages V1 and V2 KV respectively. How do I
obtain the Tap ration (column 9) and shift (column 10) of the branch matrix?

I have simply used V1/V2 as the Tap ration while the shift is zero,
however, the power flow did not converged. Am I missing something?

Kindly assist

best regrads
A. A. Sadiq


RE: FACTS INCLUSION

2017-09-28 Thread Ahmad Sadiq Abubakar
Dear Gorazd,
I am looking at power injection models of TCSC, SSSC and UPFC in MATPOWER,
these however has to do with my work. I will appreciate your view on the
following questions.
1) Run CPF with FACTS, is this visible for load ability increment?
2) May I request that I reach out to you for clarifications as the need
arises

In anticipation of your response.
Regards
Ahmad

On Sep 28, 2017 8:27 AM, "Bone, Gorazd" <gorazd.b...@fe.uni-lj.si> wrote:

> Hi, I missed this discussion somehow. I model FACTS devices using MatPower
> too and will gladly upload it when the thing is finished. The method is
> very similar to the taps and phase analysis that I githubbed earlier.
>
> Please give a heads up which way your intended FACTS modelling is headed. I
> would have to see which way MatPower's FACTS modelling will go, because I
> don't think it's good to mix very differrent types of methods since
> convergence characteristics will usually tend to get muddy.
>
> Regards, Gorazd
>
>
> --
> *Od:* bounce-121878646-78499...@list.cornell.edu [
> bounce-121878646-78499...@list.cornell.edu] v imenu Ray Zimmerman [
> r...@cornell.edu]
> *Poslano:* 27. september 2017 21:06
> *Za:* MATPOWER discussion forum
> *Zadeva:* Re: FACTS INCLUSION
>
> Let’s coordinate off-line initially, and then, on MATPOWER-DEV-L when it
> makes sense.
>
>Ray
>
> On Sep 27, 2017, at 2:38 PM, Ahmad Sadiq Abubakar <
> ahmad.abuba...@futminna.edu.ng> wrote:
>
> Thank you Ray for the reply,
> I wish to coordinate with you on this front.
> How to I get involved and when likely are we going to start.
>
> I was the one who contributed the voltage and branch limits enforcement in
> CPF termination.
>
> Regards.
> Ahmad.
>
> On Sep 27, 2017 7:33 PM, "Ray Zimmerman" <r...@cornell.edu> wrote:
>
> I am not aware of anything specific being worked on at the moment related
> to FACTS devices. However, over the next year, I plan to do some
> refactoring of some of the core of MATPOWER to generalize things in a way
> that should make modeling FACTS devices much easier. So, anyone seriously
> planning to work on this area may want to coordinate with me.
>
>Ray
>
>
> > On Sep 27, 2017, at 2:14 PM, Ahmad Sadiq Abubakar <
> ahmad.abuba...@futminna.edu.ng> wrote:
> >
> > Hi all,
> > Is there any development or progress on FACTS models inclusion in
> MATPOWER?
> >
> > Or rather what is the progress so far? Can I be involved in it?
> >
> > In anticipation of your responses.
>
>
>
>
>
>


Re: FACTS INCLUSION

2017-09-27 Thread Ahmad Sadiq Abubakar
Thank you Ray for the reply,
I wish to coordinate with you on this front.
How to I get involved and when likely are we going to start.

I was the one who contributed the voltage and branch limits enforcement in
CPF termination.

Regards.
Ahmad.

On Sep 27, 2017 7:33 PM, "Ray Zimmerman" <r...@cornell.edu> wrote:

I am not aware of anything specific being worked on at the moment related
to FACTS devices. However, over the next year, I plan to do some
refactoring of some of the core of MATPOWER to generalize things in a way
that should make modeling FACTS devices much easier. So, anyone seriously
planning to work on this area may want to coordinate with me.

   Ray


> On Sep 27, 2017, at 2:14 PM, Ahmad Sadiq Abubakar <
ahmad.abuba...@futminna.edu.ng> wrote:
>
> Hi all,
> Is there any development or progress on FACTS models inclusion in
MATPOWER?
>
> Or rather what is the progress so far? Can I be involved in it?
>
> In anticipation of your responses.


FACTS INCLUSION

2017-09-27 Thread Ahmad Sadiq Abubakar
Hi all,
Is there any development or progress on FACTS models inclusion in MATPOWER?

Or rather what is the progress so far? Can I be involved in it?

In anticipation of your responses.


SSSC Model

2017-08-24 Thread Ahmad Sadiq Abubakar
Hi,
Kindly give me hint on how to model SSSC FACTS Device in MATPOWER.
I simply modelled TCSC as a variable reactance in series with a branch.

Best regards


Re: branch_lims

2017-08-03 Thread Ahmad Sadiq Abubakar
Hi, I have some codes which enforce branch lims for runcpf.

If you are interested indicate.

On Aug 3, 2017 1:48 AM, "wgneu.katzenma...@t-online.de" <
wgneu.katzenma...@t-online.de> wrote:

> I am searching for an opportunity to let runpf enforce the branch limits.
>
> Like enforce_q or enforce_p in moption.
>
> Hopefully someone can help me.
>
>
>
>
>
> Kind regards.
>
>
>
> 
>
>
> Gesendet mit Telekom Mail  -
> kostenlos und sicher für alle!
>


results structure

2017-08-01 Thread Ahmad Sadiq Abubakar
Hi, everyone.
After running a typical power flow and I want to obtain the voltage angles
thus, results.bus(:, VA)
Now my question is what is the unit of the angles obtained from the results
structure above.

Kind regards.


Fwd: Re: ACPTDF

2017-07-11 Thread Ahmad Sadiq Abubakar
Hi,
Find here attached the codes for makePTDFac from Ray, Let's see yours for
comparison
-- Forwarded message --
From: "Ray Zimmerman" <r...@cornell.edu>
Date: Apr 26, 2017 5:15 PM
Subject: Re: ACPTDF
To: "Ahmad Sadiq Abubakar" <ahmad.abuba...@futminna.edu.ng>
Cc:

Here’s what I’ve got. Keep me posted on how it works for you.

Ray






On Apr 26, 2017, at 11:32 AM, Ahmad Sadiq Abubakar <
ahmad.abuba...@futminna.edu.ng> wrote:

Hi, Ray Z.,
It will be great of you to send me the codes. Kindly send to
ahmad.abuba...@futminna.edu.ng
In anticipation of your reply.

On Apr 26, 2017 2:22 PM, "Jovan Ilic" <jovan.i...@gmail.com> wrote:

>
> Ray,
>
> We are talking about calculating AC PTDF from a solved PF case, right?
>
> Thanks,
> Jovan
>
>
> On Wed, Apr 26, 2017 at 9:18 AM, Ray Zimmerman <r...@cornell.edu> wrote:
>
>> I started work on makePTDFac() a couple of years ago and I have
>> something I could send you off-list if you like. I’m not sure whether it is
>> correct, but it has some test code as well. If you have the time to check
>> it out, confirm that it works or fix it if necessary, maybe we could
>> include it in MATPOWER.
>>
>> Let me know if you want me to send it to you,
>>
>> Ray
>>
>>
>> On Apr 25, 2017, at 8:18 PM, Sarmad Hanif <sarmad.ha...@tum-create.edu.sg>
>> wrote:
>>
>> Hi,
>>
>> You can calculate ACPTDF using the Jacobian matrix as shown here
>> <http://ieeexplore.ieee.org/document/4312344/>.
>>
>> In MATPOWER, makeJac(‘your case file’) can be used to calculate the
>> Jacobian.
>>
>> Hope this helps.
>>
>> Best
>>
>> *From:* bounce-121468317-74036...@list.cornell.edu [
>> mailto:bounce-121468317-74036...@list.cornell.edu
>> <bounce-121468317-74036...@list.cornell.edu>] *On Behalf Of *Ahmad Sadiq
>> Abubakar
>> *Sent:* Wednesday, 26 April, 2017 3:44 AM
>> *To:* matpower-l@cornell.edu
>> *Subject:* ACPTDF
>>
>>
>>
>> Hi,
>>
>> I want to implement an ACPTDF, but I realized that the makePTDF function
>> is for DC power flow. Is there any way I can achieve the ACPTDF?
>>
>>
>>
>> Kindly assist with possible suggestions to the problem.
>>
>>
>>
>


makePTDFac.m
Description: Binary data


t_makePTDFac.m
Description: Binary data


Re: FACTS Models in MATPOWER

2017-05-25 Thread Ahmad Sadiq Abubakar
Thanks alot for the insight.




*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*

On Thu, May 25, 2017 at 12:39 PM, Bone, Gorazd <gorazd.b...@fe.uni-lj.si>
wrote:

> Hi,
>
> I suppose your TCSC is just a reactance that you can add/subtract.
>
> The SSSC device is more complex because it is a voltage source. If you
> want to properly model it you will have to include the regulation criteria
> which, with the established method, also needs an expansion of the Jacobi
> that searches for the angle and amplitude of the voltage source. The most
> renowned method for the SSSC modelling is the one developped by Zhang:
> http://ieeexplore.ieee.org/document/1245565/http://
> ieeexplore.ieee.org/document/1245565/
>
>
> As it has been found that convergence for the voltage source SSSC
> modelling method is terrible a current flow method was later developped:
> http://www.sciencedirect.com/science/article/pii/S0142061511001347
> http://www.sciencedirect.com/science/article/pii/S0142061511001347
>
> The StatCom and other 2nd generation FACTS can use a similar approach to
> the SSSC.
>
> Coincidentally, we are currently working on implementing a method that
> models the device by altering the power loads in the input data and will
> likely make it available to MatPower. We will model the SSSC device by
> power injections using a Newton method.
>
> regards, Gorazd
> --
> *Od:* bounce-121558857-78499...@list.cornell.edu [
> bounce-121558857-78499...@list.cornell.edu] v imenu Ahmad Sadiq Abubakar [
> ahmad.abuba...@futminna.edu.ng]
> *Poslano:* 25. maj 2017 13:21
> *Za:* MATPOWER discussion forum
> *Zadeva:* FACTS Models in MATPOWER
>
> Hi all,
> Can anybody advice on FACTS reprersentation in MATPOWER?
> OR
> How do i model FACTS (e.g. TCSC or SSSC or STATCOM) to be included in
> power flow rountines (e.g. runpf, runcpf or runopf) of MATPOWER.
>
> Best regards.
>
>
>
> *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*
>


FACTS Models in MATPOWER

2017-05-25 Thread Ahmad Sadiq Abubakar
Hi all,
Can anybody advice on FACTS reprersentation in MATPOWER?
OR
How do i model FACTS (e.g. TCSC or SSSC or STATCOM) to be included in power
flow rountines (e.g. runpf, runcpf or runopf) of MATPOWER.

Best regards.



*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*


Re: CPF termination

2017-05-17 Thread Ahmad Sadiq Abubakar
Hi,
how to i invoke a user callback function to take higher priority over NOSE
point with priority 51.

Kindly help with cyntax example




*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*

On Thu, May 11, 2017 at 3:47 PM, Ahmad Sadiq Abubakar <
ahmad.abuba...@futminna.edu.ng> wrote:

> Hi, Ray.
>
> Thank you for the suggestion
>
>
>
>
> *Engr. AHMAD, Abubakar Sadiq**PhD Student*
>
> *Electrical Engineering.*
>
> *Bayero University, Kano. Nigeria.*
>
> *OR*
>
>
> *LecturerElectrical and Electronics Engineering,*
>
> *Federal University of Technology,*
>
> *P.M.B, 65, Minna.*
> *Nigeria*.
> *+2347068043665*
>
> On Thu, May 11, 2017 at 1:56 PM, Ray Zimmerman <r...@cornell.edu> wrote:
>
>> Thanks Ahmad for being willing to contribute, and thanks Shri for
>> coaching him on the process.
>>
>> Ahmad, yes, each of the 2 events will need both an event function to
>> detect the event, and a corresponding callback function to handle the
>> event. In my opinion cpf_nose_event() and cps_nose_event_cb() are
>> probably the simplest to use as templates.
>>
>> On another note, let’s move any further discussion of this implementation
>> to the MATPOWER-DEV-L list
>> <http://www.pserc.cornell.edu/matpower/mailinglists.html#devlist>.
>>
>> Thanks,
>>
>> Ray
>>
>>
>> On May 10, 2017, at 1:55 PM, Abhyankar, Shrirang G. <abhy...@anl.gov>
>> wrote:
>>
>> Thanks for agreeing to contribute your code. I believe it would be a
>> great addition to MATPOWER’s CPF.
>>
>> It would be good if you can write separate functions for each event type.
>> If its too much for you, then you can write one event function for now. We
>> can work on splitting it later.
>>
>> Shri
>>
>> From: Ahmad Sadiq Abubakar <ahmad.abuba...@futminna.edu.ng>
>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
>> Date: Wednesday, May 10, 2017 at 12:15 PM
>> To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
>> Subject: Re: CPF termination
>>
>> Hi Shrirang,
>> Thanks once again.
>> Yes, I will be honoured to contribute my codes to matpower once it's
>> ready.
>> To implement my written event function for cpf termination, (e.g.
>> cpf_Vlimit_event or cpf_Llimit_event) does each of these need a separate
>> callback function?
>>
>> Alternatively, I thought of implementing this in similar manner as the
>> cpf.enforce_q_lims. Kindly advice
>>
>> On May 10, 2017 5:25 PM, "Abhyankar, Shrirang G." <abhy...@anl.gov>
>> wrote:
>>
>>> Hi Ahmad,
>>>   If you are referring to cpf_default_callback.m then NO, you do need to
>>> modify it. The callback function(s) are basically “post-step” that do not
>>> alter the cpf. They are meant to be used for tracking system states for
>>> logging, visualization, or other similar needs.
>>>
>>> Would you be willing to contribute your code to MATPOWER? I can work
>>> with you on cleaning up the code once it is ready.
>>>
>>> Thanks,
>>> Shri
>>>
>>>
>>> From: Ahmad Sadiq Abubakar <ahmad.abuba...@futminna.edu.ng>
>>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
>>> Date: Wednesday, May 10, 2017 at 7:44 AM
>>> To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
>>> Subject: Re: CPF termination
>>>
>>> Hi Shrirang,
>>>
>>> Thank you for the insight. I try to use cpf_target_lam_event as
>>> template, do I also need to write a callback function for my Vlimts and
>>> Llimits event? or modify the default callback function for cpf termination?
>>>
>>> Kindly excuse my too basic questions, I am novice in coding.
>>>
>>> In anticipation of your reply
>>>
>>>
>>> On Apr 25, 2017 6:45 PM, "Abhyankar, Shrirang G." <abhy...@anl.gov>
>>> wrote:
>>>
>>>> Ahmad,
>>>>   You need to implement an event function (see section 5.5 of the
>>>> manual) for cpf with logic on how you want cpf to terminate. There are a
>>>> few event functions currently implemented — nose point detection, target
>>>> limit, active/reactive power limits — but there is no user-defined event
>>>> function su

CPF termination (cpf_vlim_event.m and cpf_vlim_event_cb.m)

2017-05-17 Thread Ahmad Sadiq Abubakar
Hi Shrirang, and Ray,

I have some codes for cpf termination at voltage limit violation. I want to
test it before sending it here.
I choose to enforce voltage limits in similar manner as reactive power
limits. However, it seems I need to modify the mpoption.m. Is this correct?
Alternatively I can send the codes here.




*Engr. AHMAD, Abubakar Sadiq**PhD Student*

*Electrical Engineering.*

*Bayero University, Kano. Nigeria.*

*OR*


*LecturerElectrical and Electronics Engineering,*

*Federal University of Technology,*

*P.M.B, 65, Minna.*
*Nigeria*.
*+2347068043665*


Re: Area

2017-05-15 Thread Ahmad Sadiq Abubakar
I think the case30 is sectioned into areas for the purpose of identifying
buses that belongs to the same power export/import area/zone.

Regards Ahmad


On May 15, 2017 12:43 PM, "Akash Tyagi"  wrote:

Hello everyone,
I am working on congestion management for 30 bus system as given in
MATPOWER case.
I would like to know the role of AREA in the 30 bus system?
At some buses, it is 1, at other busses, it is 2 and 3 also.
What is the role of AREA and what is 1, 2 and 3?


Re: CPF termination

2017-05-10 Thread Ahmad Sadiq Abubakar
Hi Shrirang,
Thanks once again.
Yes, I will be honoured to contribute my codes to matpower once it's ready.
To implement my written event function for cpf termination, (e.g.
cpf_Vlimit_event or cpf_Llimit_event) does each of these need a separate
callback function?

Alternatively, I thought of implementing this in similar manner as the
cpf.enforce_q_lims. Kindly advice

On May 10, 2017 5:25 PM, "Abhyankar, Shrirang G." <abhy...@anl.gov> wrote:

> Hi Ahmad,
>   If you are referring to cpf_default_callback.m then NO, you do need to
> modify it. The callback function(s) are basically “post-step” that do not
> alter the cpf. They are meant to be used for tracking system states for
> logging, visualization, or other similar needs.
>
> Would you be willing to contribute your code to MATPOWER? I can work with
> you on cleaning up the code once it is ready.
>
> Thanks,
> Shri
>
>
> From: Ahmad Sadiq Abubakar <ahmad.abuba...@futminna.edu.ng>
> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
> Date: Wednesday, May 10, 2017 at 7:44 AM
> To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
> Subject: Re: CPF termination
>
> Hi Shrirang,
>
> Thank you for the insight. I try to use cpf_target_lam_event as template,
> do I also need to write a callback function for my Vlimts and Llimits
> event? or modify the default callback function for cpf termination?
>
> Kindly excuse my too basic questions, I am novice in coding.
>
> In anticipation of your reply
>
>
> On Apr 25, 2017 6:45 PM, "Abhyankar, Shrirang G." <abhy...@anl.gov> wrote:
>
>> Ahmad,
>>   You need to implement an event function (see section 5.5 of the manual)
>> for cpf with logic on how you want cpf to terminate. There are a few event
>> functions currently implemented — nose point detection, target limit,
>> active/reactive power limits — but there is no user-defined event function
>> support yet. So, here’s what you’ll need to do:
>>
>> i) Use cpf_nose_event.m or cpf_target_lam_event as a template to write
>> your own event function.
>> I) Modify runcpf code to register your event function (see lines 173-190
>> on how different event functions are registered).
>>
>> Let us know if you need more help.
>>
>> Shri
>>
>> From: Ahmad Sadiq Abubakar <ahmad.abuba...@futminna.edu.ng>
>> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
>> Date: Tuesday, April 25, 2017 at 1:22 PM
>> To: "matpower-l@cornell.edu" <matpower-l@cornell.edu>
>> Subject: CPF termination
>>
>> Hi,
>> I want to run cpf such that, it stops either at Vmax, Vmin, or ratedA,
>> ratedB and ratedC. In other words, cpf termination should respect bus
>> voltage limits and line thermal limit constraints.
>>
>> Kindly assist on how to implement the codes.
>>
>>


Re: CPF termination

2017-05-10 Thread Ahmad Sadiq Abubakar
Hi Shrirang,

Thank you for the insight. I try to use cpf_target_lam_event as template,
do I also need to write a callback function for my Vlimts and Llimits
event? or modify the default callback function for cpf termination?

Kindly excuse my too basic questions, I am novice in coding.

In anticipation of your reply


On Apr 25, 2017 6:45 PM, "Abhyankar, Shrirang G." <abhy...@anl.gov> wrote:

> Ahmad,
>   You need to implement an event function (see section 5.5 of the manual)
> for cpf with logic on how you want cpf to terminate. There are a few event
> functions currently implemented — nose point detection, target limit,
> active/reactive power limits — but there is no user-defined event function
> support yet. So, here’s what you’ll need to do:
>
> i) Use cpf_nose_event.m or cpf_target_lam_event as a template to write
> your own event function.
> I) Modify runcpf code to register your event function (see lines 173-190
> on how different event functions are registered).
>
> Let us know if you need more help.
>
> Shri
>
> From: Ahmad Sadiq Abubakar <ahmad.abuba...@futminna.edu.ng>
> Reply-To: MATPOWER discussion forum <matpowe...@list.cornell.edu>
> Date: Tuesday, April 25, 2017 at 1:22 PM
> To: "matpower-l@cornell.edu" <matpower-l@cornell.edu>
> Subject: CPF termination
>
> Hi,
> I want to run cpf such that, it stops either at Vmax, Vmin, or ratedA,
> ratedB and ratedC. In other words, cpf termination should respect bus
> voltage limits and line thermal limit constraints.
>
> Kindly assist on how to implement the codes.
>
>


Re: ACPTDF

2017-04-26 Thread Ahmad Sadiq Abubakar
Hi, Ray Z.,
It will be great of you to send me the codes. Kindly send to
ahmad.abuba...@futminna.edu.ng
In anticipation of your reply.

On Apr 26, 2017 2:22 PM, "Jovan Ilic" <jovan.i...@gmail.com> wrote:

>
> Ray,
>
> We are talking about calculating AC PTDF from a solved PF case, right?
>
> Thanks,
> Jovan
>
>
> On Wed, Apr 26, 2017 at 9:18 AM, Ray Zimmerman <r...@cornell.edu> wrote:
>
>> I started work on makePTDFac() a couple of years ago and I have
>> something I could send you off-list if you like. I’m not sure whether it is
>> correct, but it has some test code as well. If you have the time to check
>> it out, confirm that it works or fix it if necessary, maybe we could
>> include it in MATPOWER.
>>
>> Let me know if you want me to send it to you,
>>
>> Ray
>>
>>
>> On Apr 25, 2017, at 8:18 PM, Sarmad Hanif <sarmad.ha...@tum-create.edu.sg>
>> wrote:
>>
>> Hi,
>>
>> You can calculate ACPTDF using the Jacobian matrix as shown here
>> <http://ieeexplore.ieee.org/document/4312344/>.
>>
>> In MATPOWER, makeJac(‘your case file’) can be used to calculate the
>> Jacobian.
>>
>> Hope this helps.
>>
>> Best
>>
>> *From:* bounce-121468317-74036...@list.cornell.edu [
>> mailto:bounce-121468317-74036...@list.cornell.edu
>> <bounce-121468317-74036...@list.cornell.edu>] *On Behalf Of *Ahmad Sadiq
>> Abubakar
>> *Sent:* Wednesday, 26 April, 2017 3:44 AM
>> *To:* matpower-l@cornell.edu
>> *Subject:* ACPTDF
>>
>>
>>
>> Hi,
>>
>> I want to implement an ACPTDF, but I realized that the makePTDF function
>> is for DC power flow. Is there any way I can achieve the ACPTDF?
>>
>>
>>
>> Kindly assist with possible suggestions to the problem.
>>
>>
>>
>


ACPTDF

2017-04-25 Thread Ahmad Sadiq Abubakar
Hi,
I want to implement an ACPTDF, but I realized that the makePTDF function is
for DC power flow. Is there any way I can achieve the ACPTDF?

Kindly assist with possible suggestions to the problem.


CPF termination

2017-04-25 Thread Ahmad Sadiq Abubakar
Hi,
I want to run cpf such that, it stops either at Vmax, Vmin, or ratedA,
ratedB and ratedC. In other words, cpf termination should respect bus
voltage limits and line thermal limit constraints.

Kindly assist on how to implement the codes.