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 (w

Re: Optimal power flow with DG connected

2020-09-11 Thread Mirish Thakur
.html>. If >> there are islands, 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: &

Re: Optimal power flow with DG connected

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

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 limits

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 constr

Re: Power system modelling with transformer ratio and shift.

2015-01-13 Thread Mirish Thakur
? But facing the problem in opf_args. Thanks . Mirish On Fri, Jan 9, 2015 at 3:05 PM, Abhyankar, Shrirang G. 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, "Mi

Re: Power system modelling with transformer ratio and shift.

2015-01-14 Thread Mirish Thakur
fcn by extracting Pg, and > Qg from the solution vector x. You need to do something similar with Ybus. > > Shri > > From: Mirish Thakur > Reply-To: MATPOWER discussion forum > Date: Wed, 14 Jan 2015 00:12:16 +0100 > To: MATPOWER discussion forum > Subject: R

convergence problem in runpf.

2015-08-10 Thread Mirish Thakur
rder: [1x1 struct] et: 0.2320 success: 0 I will be very thankful for your help. Regards Mirish Thakur. KIT, University.

Re: convergence problem in runpf.

2015-08-11 Thread Mirish Thakur
cat(transmission_lines,grid_transformer) which is similar to matpower test cases.). 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. wrote: > I would sugge

Re: convergence problem in runpf.

2015-08-14 Thread Mirish Thakur
quot;. Get a healthy backbone first, and then you > can start transporting real power. > > Hope it helps, > > -- > Jose L. Marin > Gridquant España SL > Grupo AIA > > > On Wed, Aug 12, 2015 at 2:36 AM, Mirish Thakur > wrote: > >> Dear Mr.Shree, &g

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 wrote: > Yes, thanks, Jose. I’ve added another item to FAQ #5 with links to your > posts. > >Ray > > > > On Aug 16, 2015

Re: reactive power dispatch

2015-09-24 Thread Mirish Thakur
gular 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 wrote: > Hi Mirish, > > I just finished my work that is somewhat related to yours. I did a > reactive power disp

Re: reactive power dispatch

2015-09-30 Thread Mirish Thakur
Thank you very much Prof. Ray. Regards Mirish On Fri, Sep 25, 2015 at 7:37 PM, Ray Zimmerman wrote: > You might have a look at Markets for Reactive Power and Reliability: A > White Paper <http://e3rg.pserc.cornell.edu/node/100>. > >Ray > > > > On Sep 24, 2

Need help in ACOPF problem

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

Re: Need help in ACOPF problem

2015-12-01 Thread Mirish Thakur
. Regards Mirish Thakur On Mon, Nov 30, 2015 at 5:54 PM, Ray Zimmerman wrote: > Hi Mirish, > > There is no way to see the load or renewable curtailment until you get a > converging OPF. It is possible that you will also have to redispatch the > conventional generators in order to

Re: Need help in ACOPF problem

2015-12-02 Thread Mirish Thakur
gards Mirish Thakur On Wed, Dec 2, 2015 at 6:02 PM, Ray Zimmerman 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 negative c

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 power

Re: Similar sign - branch flows

2016-02-29 Thread Mirish Thakur
ct, 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:36,

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-03-01 Thread Mirish Thakur
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 series element losses (I^2 * Z). > That might cause some confusion. > > > I hope this helps and i hope my statements are c

Re: Similar sign - branch flows

2016-03-11 Thread Mirish Thakur
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 series element losses >> (I^2 * Z). That might cause some confusion. >

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 r.ge

Re: Need help in ACOPF problem

2016-02-04 Thread Mirish Thakur
derstand why this happens. I > really do appreciate your help. Thank you for your time. > > > Thanks and regards > > Mirish Thakur. > > On Wed, Dec 2, 2015 at 6:19 PM, Mirish Thakur > wrote: > >> Dear Prof. Ray, >> >> Thanks a lot for clarifying my

Re: Need help in ACOPF problem

2016-02-04 Thread Mirish Thakur
irish Thakur. On Wed, Dec 2, 2015 at 6:19 PM, Mirish Thakur 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 in second one I didn't ela

Re: Question about islands.

2016-01-22 Thread Mirish Thakur
t; branches to make the analysis converge/feasible? > > I don't much about the problem you are trying to solve, but I feel, based > on the description below, that you should first define the problem clearly > with a set of assumptions conforming reality. > > Shri > > &g

Question about islands.

2016-01-21 Thread Mirish Thakur
ters so that problem will be feasible. Thanks and regards Mirish Thakur

Re: Similar sign - branch flows

2016-03-19 Thread Mirish Thakur
tor costs in the system, which > can legitimately happen. > >Ray > > > On Mar 11, 2016, at 9:54 AM, Mirish Thakur wrote: > > Dear Prof. Ray, > > With reference to the same thread, I want to clear one doubt. > I have imposed reactive power cost on conventional gene

Capability curve

2016-04-06 Thread Mirish Thakur
Dear Prof. Ray, I have modeled capability curve in triangular shape. Ex. P1=0, P2= 10 MW, Qmax =4.84, Qmin =-3.28, Pmax=Pmin=9.5. So at this Pmax limit generator should produce reactive power =0.24 MVAr but in opf it generates 4.60 MVAr. I don't understand the reason because I have fixed the acti

Re: Capability curve

2016-04-14 Thread Mirish Thakur
MW would be -3.28 to +4.84 MVAr … at 9.5 MW it would > be 0.95 times those numbers, i.e. -3.12 to +4.60 MVAr. > > Which is what you see. > > Ray > > > > > On Apr 6, 2016, at 11:16 AM, Mirish Thakur wrote: > > Dear Prof. Ray, > > I have modeled capability

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Mirish Thakur
Hello Fiaz, If you want to perform OPF then you have to put limits on active and reactive power generation; i.e. Pmax, Pmin, Qmax Qmin in generator matrix column. Just try to format your case according to any sample case;e.g. case9. You can get additional information from manual in the Table B-1 t

Re: Re: modification on Matpower case.m file for power flow of distribution system

2016-05-05 Thread Mirish Thakur
should just put a fictitious > generator at > the substation bus and declare it a slack bus. > > Jovan > > On Thu, May 5, 2016 at 8:05 AM, Mirish Thakur > wrote: > >> Hello Fiaz, >> >> If you want to perform OPF then you have to put limits on active and >&g

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 < priyanka.shi

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 < priyanka.shinde.1...@gmail.

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 connect SVC in the ckt? > >

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 acco

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 gene

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. *https:

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.138740

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

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

Re: About ignoring some bus voltage limit constraints

2019-01-18 Thread Mirish Thakur
you mean 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. >> >&

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 yo

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 va

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 r

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. https://www.power-eng.com/articles/print/volume-115/issue-10/features/converting-existing-synchronous-generators-into-synchronous-condenser