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

Re: load shedding by keeping load's power factor

2018-01-25 Thread Ray Zimmerman
>From Section 6.4.2 Dispatchable Loads in the Manual … … the model used in MATPOWER assumes that dispatchable loads maintain a constant power factor. When formulating the AC OPF problem, MATPOWER will automatically generate an additional equality constraint to enforce a constant power fac

Re: load shedding by keeping load's power factor

2018-01-17 Thread Abhyankar, Shrirang G.
I don’t know of any straightforward way to do this in MATPOWER. You’ll need to add user-defined linear constraint to force the relationship between real and reactive power to keep the power factor constant. Turns out this question has already been addressed on the MATPOWER forum. https

load shedding by keeping load's power factor

2018-01-16 Thread سید محمدرضا ساداتیان
Hi, everyone. by use dispatchable load, we can have load shedding in OPF. How can have load shedding by keeping power factor of loads? Thank you so much for consideration and help.

Re: Constant Power Factor for Generators

2016-07-25 Thread Ray Zimmerman
3rd generator. Ray > On Jul 21, 2016, at 10:07 AM, Ibtihal Abdelmotteleb > wrote: > > Dear Prof. Ray, > I have a question regarding fixing the power factor of the generators. > Within the mail archive, I found a previous reply from you to a similar > question: >

Constant Power Factor for Generators

2016-07-21 Thread Ibtihal Abdelmotteleb
Dear Prof. Ray, I have a question regarding fixing the power factor of the generators. Within the mail archive, I found a previous reply from you to a similar question: define_constants; mpc = loadcase('case9'); nb = size(mpc.bus, 1); ng = size(mpc.gen, 1); pf = 0.95; QPratio = sqrt

Re: Variable power factor

2015-10-01 Thread Carlos Marta Gonzalez Almeida
sorry about that. I really apologize for the way of writing. > So sorry about that. > > Would you mind letting me know how I can modify the code in order to have > variable power factor? I was not able to apply your comments. I'll be very > grateful if you can help me please. >

Re: Variable power factor

2015-10-01 Thread Carlos Marta Gonzalez Almeida
sorry about that. I really apologize for the way of writing. > So sorry about that. > > Would you mind letting me know how I can modify the code in order to have > variable power factor? I was not able to apply your comments. I'll be very > grateful if you can help me please. >

Re: Variable power factor

2015-10-01 Thread Ray Zimmerman
n order to have > variable power factor? I was not able to apply your comments. I'll be very > grateful if you can help me please. > > Once again, I do apologize. > > Best regards, > > Carlos > > On Fri, Sep 25, 2015 at 6:34 PM, Ray Zimmerman <m

Fwd: Variable power factor

2015-10-01 Thread Carlos Marta Gonzalez Almeida
Dear Prof. Zimmerman, I am really sorry about that. I really apologize for the way of writing. So sorry about that. Would you mind letting me know how I can modify the code in order to have variable power factor? I was not able to apply your comments. I'll be very grateful if you can he

Re: Variable power factor

2015-09-26 Thread Carlos Marta Gonzalez Almeida
Dear Prof. Zimmerman, I am really sorry about that. I really apologize for the way of writing. So sorry about that. Would you mind letting me know how I can modify the code in order to have variable power factor? I was not able to apply your comments. I'll be very grateful if you can he

Re: Variable power factor

2015-09-25 Thread Ray Zimmerman
= mpc.A(2:10, :); > >>>> mpc.l = zeros(ng-15, 1); >>>> mpc.u = mpc.l; > >> >> >> Best regards >> >> C > > > On Tue, Sep 22, 2015 at 2:25 PM, Ray Zimmerman <mailto:r...@cornell.edu>> wrote: > That wouldn’t be correct a

Re: Variable power factor

2015-09-23 Thread Carlos Marta Gonzalez Almeida
-ones(ng,1)], ng, 2*nb+2*ng);* >> *mpc.A = mpc.A(2:10, :);* >> >> *mpc.l = zeros(ng-15, 1);* >> *mpc.u = mpc.l;* >> >> Best regards C On Tue, Sep 22, 2015 at 2:25 PM, Ray Zimmerman wrote: > That wouldn’t be correct anyway. The power factor is not the same as t

Re: Variable power factor

2015-09-22 Thread Ray Zimmerman
That wouldn’t be correct anyway. The power factor is not the same as the Q/P ratio. And you will need two separate sets of constraints, one for the upper bound on the power factor and the other for the lower bound on the power factor. Ray > On Sep 22, 2015, at 2:56 AM, Carlos Ma

Re: Variable power factor

2015-09-21 Thread Carlos Marta Gonzalez Almeida
t you are having > trouble understanding? > > It is setting up a constraint *l* <= *A* * *x* <= *u*, where *x* = [*Va*; > *Vm*; *Pg*; *Qg*], so you need to define the *A*, *l* and *u* to restrict > the *Qg*/*Pg* ratio in a way the enforces the power factor range you > desire. You

Re: Variable power factor

2015-09-21 Thread Ray Zimmerman
here x = [Va; Vm; Pg; Qg], so you need to define the A, l and u to restrict the Qg/Pg ratio in a way the enforces the power factor range you desire. You have an example of how to enforce the Qg/Pg ratio to a specific value that corresponds to a given power factor. Once you understand that, it sho

Re: Variable power factor

2015-09-20 Thread Carlos Marta Gonzalez Almeida
nderstanding? > >Ray > > > On Sep 1, 2015, at 11:58 AM, Carlos Marta Gonzalez Almeida < > cgonzalezalme...@gmail.com> wrote: > > Dear Dr. Zimmerman, > > According to your previous posts on the following equation which makes the > power factor constant. No

Re: Power factor

2015-06-02 Thread Abhyankar, Shrirang G.
load p.f. = cos(atan(Q/P)). By changing the P and Q values, you should be able to set the desired power factor. Shri -Original Message- From: Hiranya Seneviratne Reply-To: MATPOWER discussion forum Date: Tuesday, June 2, 2015 at 10:43 AM To: MATPOWER discussion forum Subject: Re

Re: Power factor

2015-06-02 Thread Hiranya Seneviratne
Dear Shri, Thanks a lot. Is it possible to change the power factor as well? I thought only the magnitudes of p and q can be changed in that manner? Thank you Sent from my iPhone > On 2 Jun 2015, at 16:31, "Abhyankar, Shrirang G." wrote: > > Before running the power flow,

Re: Power factor

2015-06-02 Thread Abhyankar, Shrirang G.
Before running the power flow, you can change the load P and Q values in the bus data. Shri -Original Message- From: Hiranya Seneviratne Reply-To: MATPOWER discussion forum Date: Tuesday, June 2, 2015 at 6:17 AM To: MATPOWER discussion forum Subject: Power factor >Dear Ray, >

Power factor

2015-06-02 Thread Hiranya Seneviratne
Dear Ray, Is it possible to change the load power factor in matlab when running a power flow simulation? Thank you Hiranya

Re: Power Factor as Constraint

2014-07-28 Thread Ray Zimmerman
Just a friendly reminder to everyone, please do a quick search of the mailing list archives before posting your questions. There is a lot of good stuff hidden there. The following post contains an example of setting a constant power factor constraint. Turning it into a set of inequality

Power Factor as Constraint

2014-07-28 Thread vids
How can I implement a power factor constraint in the OPF solution? What if all generators will have to operate within a certain pf range? let's say all generators must operate within 0.85 lag to 0.95 lead. How do I implement this?

Re: power factor

2013-11-13 Thread Ray Zimmerman
ve read decide optimal location, optimal size and "optimal > DG power factor", but in manual appendix B how to change power factor of > generator is not written. > > I want to optimize location , size and power factor. > Can matpower treat power factor of generator? >

Re: power factor

2013-11-13 Thread Shri
load power factor held constant. This optimization would give you the optimal size for the DG but _not_ the optimal power factor. For obtaining optimal power factor of the DG, one way is to include minimization of the reactive power of the DG in the OPF objective function. You can do this by

Re: power factor

2013-11-13 Thread 小柳拓也
PE)=2, mpc.gen(,PG)=100...". Journal I have read decide optimal location, optimal size and "optimal DG power factor", but in manual appendix B how to change power factor of generator is not written. I want to optimize location , size and power factor. Can matpower treat power

Re: power factor

2013-11-13 Thread Ray Zimmerman
If you mean that you would like to constrain the power factor of a distributed generator to remain constant as it gets redispatched by the OPF, then, yes, it is possible. You will have to add a user-defined linear equality constraint for each distributed generator. This is already done for

power factor

2013-11-13 Thread 小柳拓也
Hello, I have a question about power factor. I have read many journal about distributed generator insertion. Journal I have read treat power factor of distributed generator. I want to treat power factor of distributed generator, but how to treat power factor of distributed generator is not

Re: Leading and lagging Power factor

2012-02-16 Thread Ray Zimmerman
This is the kind of thing that you should be able to derive very easily by looking up the definition of power factor and how it relates to the ratio of Q and P. I think it's just a sign change. -- Ray Zimmerman Senior Research Associate 419A Warren Hall, Cornell University, Ithaca, NY

Re: Variable power factor

2012-02-07 Thread Ray Zimmerman
or you, I think I got the > inequalities correct. > -- > Ray Zimmerman > Senior Research Associate > 419A Warren Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > > > > On Feb 6, 2012, at 9:13 AM, Roberto Carvalini wrote: > >> D

Re: Variable power factor

2012-02-07 Thread Roberto Carvalini
9645 > > > > > On Feb 6, 2012, at 9:13 AM, Roberto Carvalini wrote: > > Dear Ray, > > According to your reply to one of the posts as you specified a predefined > PF as follow. Now, I want to have only a range of Power Factor, for > example, between 0.9 and 0.8. What change

Re: Variable power factor

2012-02-06 Thread Ray Zimmerman
> Dear Ray, > > According to your reply to one of the posts as you specified a predefined PF > as follow. Now, I want to have only a range of Power Factor, for example, > between 0.9 and 0.8. What changes I have to do in the following program in > order to have va

Re: Constant power factor

2011-03-14 Thread Ray Zimmerman
I think you need to take some time to understand the examples I already gave. If you understand them, the answer to your question should be obvious. Simply eliminate the row of A corresponding to the generator whose power factor you want to free up. -- Ray Zimmerman Senior Research Associate

Re: Constant power factor

2011-03-14 Thread Roberto Carvalini
one with a free power factor and large enough > reactive power range to balance the reactive power in the system. > > -- > Ray Zimmerman > Senior Research Associate > 211 Warren Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > > > On Mar 14,

Re: Constant power factor

2011-03-14 Thread Ray Zimmerman
You have to leave at least one with a free power factor and large enough reactive power range to balance the reactive power in the system. -- Ray Zimmerman Senior Research Associate 211 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Mar 14, 2011, at 11:53 AM

Re: Constant power factor

2011-03-14 Thread Roberto Carvalini
tage >>> angles (1st nb columns) and magnitudes (next nb columns), so it's in column >>> 2*nb+1. For Qg(1) it's the first column after the Pg columns, so 2*nb (for >>> the voltage angles and magnitudes) plus ng columns for Pg. >>> >>> Yes, if you

Re: Constant power factor

2011-03-14 Thread Ray Zimmerman
mns), so it's in column 2*nb+1. For >> Qg(1) it's the first column after the Pg columns, so 2*nb (for the voltage >> angles and magnitudes) plus ng columns for Pg. >> >> Yes, if you wanted to do this for all generators, you need to include a row >> in A

Re: Constant power factor

2011-03-14 Thread Roberto Carvalini
;s the first column after the Pg columns, so 2*nb (for >> the voltage angles and magnitudes) plus ng columns for Pg. >> >> Yes, if you wanted to do this for all generators, you need to include a >> row in *A* for each. Be careful though, this will likely over-constrain >> th

Re: Constant power factor

2011-03-14 Thread Ray Zimmerman
he Pg columns, so 2*nb (for the voltage > angles and magnitudes) plus ng columns for Pg. > > Yes, if you wanted to do this for all generators, you need to include a row > in A for each. Be careful though, this will likely over-constrain the problem > and make it infeasible. If

Re: Constant power factor

2011-03-14 Thread Roberto Carvalini
-constrain the > problem and make it infeasible. If all generators have a fixed power factor, > then balancing the real power output to match the load will mean a specific > reactive power output as well, which will not necessarily match the reactive > power load. > > -- &g

Re: Constant power factor

2011-03-14 Thread Ray Zimmerman
em and make it infeasible. If all generators have a fixed power factor, then balancing the real power output to match the load will mean a specific reactive power output as well, which will not necessarily match the reactive power load. -- Ray Zimmerman Senior Research Associate 211 Warren Hall, Cor

Re: Constant power factor

2011-03-13 Thread Roberto Carvalini
Dear Prof. Zimmerman Thank you very much for your help. I don't know what changes should be applied to the following code to have PF=0.95 for other generators. I cannot obtain the same power factor(0.95, I obtained 0.99 or other values). If it is possible please help me. Best Wishes Ro

Re: Constant power factor

2011-03-11 Thread Roberto Carvalini
bject to a constant power factor constraint, then you > will need to supply an additional user-defined linear constraint. For > example, if you want to run case9 with a constant power factor constraint of > 0.95 on the first generator, you could do it like this ... > > define_constant

Re: Constant power factor

2011-03-11 Thread Ray Zimmerman
Dirk's suggestion is fine for a simple power flow. But if you want to run an OPF, where the generator dispatch is to be determined by the optimization, but subject to a constant power factor constraint, then you will need to supply an additional user-defined linear constraint. For example, i

Re: Constant power factor

2011-03-11 Thread Dirk Van Hertem
Roberto On Fri, Mar 11, 2011 at 12:22, Dirk Van Hertem mailto:dirk.vanher...@ieee.org>> wrote: You can just define them as a PQ bus with negative power... (negative load) Dirk On 03/11/2011 12:11 PM, Roberto Carvalini wrote: Hi How can I define constant

Re: Constant power factor

2011-03-11 Thread Roberto Carvalini
; Hi >> >> How can I define constant power factor in MAPOWER for example, for >> generators PF=0.9? >> >> Please help me >> >> Regards >> >> Roberto >> >> >> > > -- > Dirk Van Hertem dirk.vanher...@

Re: Constant power factor

2011-03-11 Thread Dirk Van Hertem
You can just define them as a PQ bus with negative power... (negative load) Dirk On 03/11/2011 12:11 PM, Roberto Carvalini wrote: Hi How can I define constant power factor in MAPOWER for example, for generators PF=0.9? Please help me Regards Roberto -- Dirk Van Hertem

Constant power factor

2011-03-11 Thread Roberto Carvalini
Hi How can I define constant power factor in MAPOWER for example, for generators PF=0.9? Please help me Regards Roberto

Re: Power factor change in dispatchable loads

2011-03-04 Thread Carlos Gonzalez Almeida
Thanks. On Fri, Mar 4, 2011 at 16:24, Ray Zimmerman wrote: > For a dispatchable load with a positive reactive load, QMIN and PMIN are > used to compute the constant power factor constraint. QG and PG must also be > consistent with this power factor. If you adjust any of these 4 p

Re: Power factor change in dispatchable loads

2011-03-04 Thread Ray Zimmerman
For a dispatchable load with a positive reactive load, QMIN and PMIN are used to compute the constant power factor constraint. QG and PG must also be consistent with this power factor. If you adjust any of these 4 parameters, you must adjust the others to ensure that QMIN/PMIN = QG/PG. If the

Power factor change in dispatchable loads

2011-03-04 Thread Carlos Gonzalez Almeida
Hello How can I change power factor of dispatchable loads (changing reactive power ) in MATPOWER? I cannot change. there is an error Regards

Power factor change in dispatchable loads

2011-03-04 Thread Carlos Gonzalez Almeida
Hello How can I change power factor of dispatchable loads (changing reactive power ) in MATPOWER? I cannot change. there is an error Regards

Re: constant power factor ?

2008-03-03 Thread Ray Zimmerman
ower 3.2.   When using 'uopf' , can power factor of certain generators remain constant, for example ,  power factor is set to 0.85 ?   I added a linear constraint (A,l,u)  to 'opf', but failed. The linear constraint is :   l<=Ax<=u Ax=Pg - 0.61*Qg,  l=0, u=0.    (be