Re: runpf and generation limits constraints

2023-03-12 Thread Mirish Thakur
Hi, Why don't you use the* "runopf"* command then? It serves your purpose of enforcing the limits which you want. Thanks Mirish On Sat, Mar 11, 2023 at 11:09 PM Muhammad Nadeem wrote: > Hello all, > > Is there a way to enforce generation limits, branch flow limits, and > voltage magnitude

Re: Optimal power flow with DG connected

2020-09-17 Thread Mirish Thakur
> Regards >>>> Surbhi Aggarwal >>>> >>>> >>>> On Fri, Sep 11, 2020 at 7:16 PM Ray Daniel Zimmerman >>>> wrote: >>>> >>>>> Hi Surbhi, >>>>> >>>>> It looks like you were using t

Re: Optimal power flow with DG connected

2020-09-11 Thread Mirish Thakur
lands, then each island needs to have its own reference bus, >> and the local generation needs to be able to meet the local load in each >> island. >> >> Ray >> >> >> On Sep 9, 2020, at 4:57 AM, Mirish Thakur wrote: >> >> Hi Surbhi, >>

Re: Optimal power flow with DG connected

2020-09-09 Thread Mirish Thakur
Hi Surbhi, Could you please check the continuity of the system before running opf? I mean to say if you run opf for (n-1) criteria the system should be still well connected. There shouldn't be any island within the system itself. Perhaps you can test your model by removing any one parallel line

Re: what is rateA

2019-02-11 Thread Mirish Thakur
Rate-A is thermal capacity of transmission line in MVA. You can get more information in manual, go to the branch information table if I'm correct. On Mon, 11 Feb 2019, 3:36 p.m. amir ali Hosseini Dear Sir, > hi > i doing make a nwe network with 37 node but i don't know how do they get > their

Re: power flow problem

2019-02-08 Thread Mirish Thakur
Didn't understand your question. If I'm correct then you're performing simple power flow on your case. In this case solver doesn't consider any restriction/ constraints on problem, means, No branch limits No voltage limits are applicable . If you want to impose any voltage limits on system then

Re: About ignoring some bus voltage limit constraints

2019-01-18 Thread Mirish Thakur
ean by relaxing? > Best regards > > On Fri, Jan 18, 2019 at 4:53 PM Mirish Thakur > wrote: > >> Hi Hasan, >> >> I would say, just relax the limits of rest of the buses from bus matrix >> in case9.m file and keep ( 0.9 and 1.1) for 5 to 8. >> >> T

Re: About ignoring some bus voltage limit constraints

2019-01-18 Thread Mirish Thakur
Hi Hasan, I would say, just relax the limits of rest of the buses from bus matrix in case9.m file and keep ( 0.9 and 1.1) for 5 to 8. Thanks Mirish On Fri, Jan 18, 2019 at 10:19 PM Meraj Fouad wrote: > Hi , > How are you all doing? > > I am using "runopf" in MATPOWER. But I want MATPOWER to

How to count iteraions

2019-01-17 Thread Mirish Thakur
Hello all, I've very simple question, does rundcopf() gives iterative solution? If yes then how can I check after how many iterations does solution converged? I checked res=rundcopf(), and res.iterations, but no success. Thank you for your time. regards Mirish

Convert two parallel lines into single line

2019-01-02 Thread Mirish Thakur
Hello all, I have a small question regarding to parallel lines. I want to make one single line from two parallel lines. These are line parameters: R XB Rate_A_ MVA 0.682443.283940.143503462.3 0.651464 3.13874

Re: real and reactive power injection in all buses

2018-10-12 Thread Mirish Thakur
Hi Shiva, Bus indices 1, 2, 3 have generator connected and 5, 7 and 9 load connected and dash (-) means no generation no injection. Thanks. Regards Mirish On Fri, Oct 12, 2018 at 4:30 PM Shiva Moshtagh wrote: > Hello > I am not a power student and I have a question about power flow. > when I

Re: Synchronous Condensers

2018-09-18 Thread Mirish Thakur
I would recommend you to model it as a synchronous generator without active power. So, it will have only Qmax and Qmin in generator matrix. See the link below.

Re: AC OPF Convergence Issue

2018-03-07 Thread Mirish Thakur
Hi, I would recommend you to go through these 8 steps (Incremental approach) suggested by Jose L. Marin. Click the link given below and follow the steps. When I was working with the German Grid I had same problems but these steps really worked out in my case. I hope you will get solution.

Re: Renewable Generators

2018-02-16 Thread Mirish Thakur
Hello, You can set the renewable source as an active power generation source in generator matrix use PG column to set its maximum power output as Pmax and if it can not generate reactive power then treat that bus as PQ bus by numbering it '2' in bus matrix or in other way you can use it (same

Re: Optimal Power Flow For 24hr

2017-10-25 Thread Mirish Thakur
Hello Mohammed, If you want to run OPF for 24 hours then you need to have 24 cases (if topology of grid changes). Set a for loop for 24 hours in such a way that in each hour an individual MPC case will be build and OPF will be performed for each hour. This is a simple way I could suggest you

Re: matpower probllem

2016-07-15 Thread Mirish Thakur
One possible method to connect SVC is, connect it as a generator with no active power but reactive power injector to controls voltage of a node. Regards Mirish On Fri, Jul 15, 2016 at 10:24 AM, anshu dahiya wrote: > sir say something about my question that was how to

Re: How to perform OPF for an 11 bus system

2016-07-05 Thread Mirish Thakur
Probably it is due to matrix dimension mismatch. Look carefully the data for two more buses which you are inserting to the existing 9 bus system. Size of new data should have the same size of existing one. Regards Mirish On Tue, Jul 5, 2016 at 8:49 PM, Priyanka Shinde <

Re: Query about LMP function

2016-06-29 Thread Mirish Thakur
When you perform opf operation on your casefile then see the column no. 14 and 15 of bus matrix, you will see the lambda values for both active and reactive power. e.g. res=runopf(case30) then see the *res.bus* matrix. regards Mirish On Wed, Jun 29, 2016 at 9:33 AM, Priyanka Shinde <

Re: Similar sign - branch flows

2016-03-11 Thread Mirish Thakur
>> >> The to equations a simple conservation of energy. And yes the >> conservation of energy fortunately also extends to reactive powers. >> >> You have to be careful though: In the pretty printed output of the >> runpf() method, the branch losses are *only *the s

Re: Similar sign - branch flows

2016-03-01 Thread Mirish Thakur
I hope this helps and i hope my statements are correct, since I only work > on power grids for 5 months now. > > P.S.: Next time please also include the 'from' and 'to' bus entry. That > would make it easier for me to give you a practical example. > > Best regards > Dirk > &

Re: reactive power limits of generators

2016-03-01 Thread Mirish Thakur
Hello Juliane, If you don't know reactive power capability curve then you can approximate by 0.90, 0.95 rule for synchronous generator. By which Qmax is computed by P=Pmax and 0.9 pf lagging. And Qmin is computed by P=Pmax and 0.95 pf leading. Therefore Qmax=Pmax * tan (cos^(-1)(0.9)) and Qmin=

Re: Similar sign - branch flows

2016-02-29 Thread Mirish Thakur
y statements are correct, since I only work > on power grids for 5 months now. > > P.S.: Next time please also include the 'from' and 'to' bus entry. That > would make it easier for me to give you a practical example. > > Best regards > Dirk > > > > On 28.02.2016 02

Similar sign - branch flows

2016-02-27 Thread Mirish Thakur
Hello Matpower friends, I have a question over similar sign of flows at both nodes of a branch. I have performed PF with PG=0, PD=0 BRANCH_R=0; means total reactive power model (reactive power generation and reactive demand exist) and I got successful convergence. When I observed reactive

Re: demand response

2016-02-09 Thread Mirish Thakur
Hello Mounika, If I'm not wrong are you interested in this one - mpc=case_ieee30; % load case_ieee30 mpc1=load2disp(mpc); % make all loads dispatchable r=runopf(mpc1); % perform opf operation on mpc1 casefile. You can observe all loads are modeled as negative generators in mpc1.gen matrix. In

Re: Need help in ACOPF problem

2016-02-04 Thread Mirish Thakur
t; > > On Feb 4, 2016, at 9:30 AM, Mirish Thakur <mirishtha...@gmail.com> wrote: > > Dear Prof.Ray, > > > I have observed result struct of load2disp whre I found some surprising > results on the buses where renewable generator and load both are > available. I kept re

Re: Need help in ACOPF problem

2016-02-04 Thread Mirish Thakur
Thakur. On Wed, Dec 2, 2015 at 6:19 PM, Mirish Thakur <mirishtha...@gmail.com> wrote: > Dear Prof. Ray, > > Thanks a lot for clarifying my doubts. Actually I forgot to see that loads > are modeled as negative generator, instead I was focusing on energy prices > only. And i

Question about islands.

2016-01-21 Thread Mirish Thakur
will be feasible. Thanks and regards Mirish Thakur

Re: Need help in ACOPF problem

2015-12-02 Thread Mirish Thakur
Mirish Thakur On Wed, Dec 2, 2015 at 6:02 PM, Ray Zimmerman <r...@cornell.edu> wrote: > 1) It looks like you are setting up gencost correctly. The negative > objective function value results from the fact that the curtailable loads > are being modeled as negative generation, with

Need help in ACOPF problem

2015-11-29 Thread Mirish Thakur
. Regards Mirish Thakur KIT University

Re: reactive power dispatch

2015-09-30 Thread Mirish Thakur
gt; > On Sep 24, 2015, at 7:36 AM, Mirish Thakur <mirishtha...@gmail.com> wrote: > > Thank you Dr. Ray and Vida. I think there might be mismatch between > generation and demand which I need to check out through database and may > be unvalid standard position of taps which

Re: reactive power dispatch

2015-09-24 Thread Mirish Thakur
relationship between active and reactive power approach 2) opportunity cost method. Thanks for your time. Mirish Thakur KIT University. On Tue, Sep 22, 2015 at 3:20 AM, vids <vidaj...@gmail.com> wrote: > Hi Mirish, > > I just finished my work that is somewhat related to yours. I did a &

Re: convergence problem in runpf.

2015-09-21 Thread Mirish Thakur
parameters or something else). Thank you for your time. Regards Mirish Thakur KIT University. On Thu, Sep 17, 2015 at 9:27 PM, Ray Zimmerman <r...@cornell.edu> wrote: > Yes, thanks, Jose. I’ve added another item to FAQ #5 with links to your > posts. > >Ray > > > >

Re: convergence problem in runpf.

2015-08-14 Thread Mirish Thakur
. Marin Gridquant España SL Grupo AIA On Wed, Aug 12, 2015 at 2:36 AM, Mirish Thakur mirishtha...@gmail.com wrote: Dear Mr.Shree, Thank you very much for your help. As per your suggestion and FAQ I tried to find out the problems. The results I got- 1) Fast-decoupled power flow did

Re: convergence problem in runpf.

2015-08-11 Thread Mirish Thakur
.). So could you please suggest me what necessary steps I should follow? Thank you for your time. Regards Mirish Thakur KIT, University. On Mon, Aug 10, 2015 at 7:14 PM, Abhyankar, Shrirang G. abhy...@anl.gov wrote: I would suggest trying the following: 1. Use the solution of a fast decoupled

convergence problem in runpf.

2015-08-10 Thread Mirish Thakur
. Regards Mirish Thakur. KIT, University.

Re: Power system modelling with transformer ratio and shift.

2015-01-14 Thread Mirish Thakur
is created in opf_consfcn by extracting Pg, and Qg from the solution vector x. You need to do something similar with Ybus. Shri From: Mirish Thakur mirishtha...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Wed, 14 Jan 2015 00:12:16 +0100 To: MATPOWER discussion

Re: Power system modelling with transformer ratio and shift.

2015-01-13 Thread Mirish Thakur
in opf_args. Thanks . Mirish On Fri, Jan 9, 2015 at 3:05 PM, Abhyankar, Shrirang G. abhy...@mcs.anl.gov wrote: Are you setting the solution vector (x) size and the indexing information for extracting the elements from it correctly? On Jan 8, 2015, at 4:50 AM, Mirish Thakur mirishtha

Power system modelling with transformer ratio and shift.

2015-01-08 Thread Mirish Thakur
Dear Prof. R. Zimmerman, I'm master student working on a project dealing with power system optimization with additional variables 'tap ratio' and 'shift' on 9 bus system by *mipsopf_solver*. I have made necessary changes in respective function files. Also I concern with only current flow