Re: increasing Reactive power load by a load factor

2015-05-26 Thread Abhyankar, Shrirang G.
. Hence I wrote my own code. I wonder can I use the runcpf code for a 14-generator 59 bus system at a selected bus? How do we do that? Best, Nur On 25 May 2015, at 8:28 am, Abhyankar, Shrirang G. abhy...@anl.govmailto:abhy...@anl.gov wrote: Hi, You might want to try MATPOWER’s continuation power

Re: increasing Reactive power load by a load factor

2015-05-26 Thread Abhyankar, Shrirang G.
the voltage against the reactive power load. Is it possible to do this using the continuation power flow method? Thank you Hiranya On 24 May 2015, at 23:28, Abhyankar, Shrirang G. abhy...@anl.govmailto:abhy...@anl.gov wrote: Hi, You might want to try MATPOWER’s continuation power flow feature

Re: increasing Reactive power load by a load factor

2015-05-24 Thread Abhyankar, Shrirang G.
Hi, You might want to try MATPOWER’s continuation power flow feature instead of rolling out your own load increment loop. The reason is that as you increase the load the Jacobian matrix conditioning worsens and running a simple power flow may yield a divergent solution. For your case, I would

Re: Calculating speed of DC load flow

2015-05-20 Thread Abhyankar, Shrirang G.
Every time rundcpf or runpf is called with the only input being the case filename (or the case struct), it creates the options data structure (via a call to mpoption()). As you see from the profile logs, creating dynamic structs in MATLAB is expensive. You should create the options struct up

RE: How to verify the feasibility of your solution without running Power flow?

2015-04-09 Thread Abhyankar, Shrirang G.
I don't know what your algorithm does but I think you can do the same, determine optimal generation and load, using MATPOWER's optimal power flow (runopf). runopf supports all the constraints that you've listed. Shri From:

Re: URGENT

2015-04-06 Thread Abhyankar, Shrirang G.
disposal a transformer 0.66/20 kV that operates with the nominal transformation ratio. Could you please help me? Thank you in advance, AA 2015-04-01 22:20 GMT+03:00 Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov: Its not clear what you mean by different outcomes

Re: available transfer capability

2015-04-01 Thread Abhyankar, Shrirang G.
Although Matpower does not have a function for ATC, it has all the required building blocks for doing the calculations You can take a look at the continuation power flow feature in the MatPower manual as a starting point. Shri On Apr 1, 2015, at 5:07 AM, Aruna Dharmala

RE: URGENT

2015-04-01 Thread Abhyankar, Shrirang G.
...@gmail.com] Sent: Wednesday, April 01, 2015 7:07 AM To: Abhyankar, Shrirang G. Subject: URGENT Hello Shri, Sorry for interrupting you but i have to ask you something relative to matpower. I know i should send an email to the matpower list but it is kind of an urgent so please do not disregard it. I have

Re: Internal impedance of a generator

2015-03-29 Thread Abhyankar, Shrirang G.
1. If you want to incorporate the machine internal emf equation E’ - (R + jX’)I - V = 0 then you need to have an additional bus and line for each generator in your test case. The additional bus will have voltage |E’| with an angle angle(E’), and the line, with impedance R + jX’,

Re: runpf using different load models

2015-03-23 Thread Abhyankar, Shrirang G.
I¹ve started working on adding ZIP load model in MATPOWER. Will try to update you in a couple of days. Shri -Original Message- From: Ray Zimmerman r...@cornell.edu Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Monday, March 23, 2015 at 10:40 AM To: MATPOWER

Re: Extracting Total Load

2015-03-03 Thread Abhyankar, Shrirang G.
results=rundcpf(mpc); In the above command, mpc is the input MATPOWER case struct and results is the output MATPOWER case struct. Each MATPOWER case struct has the fields bus, gen, branch, area, gencost, and other utility fields. Please read the MATPOWER manual for the format of each of these

Re: Convergence Issue for Distribution Network Power Flow Analysis

2015-02-23 Thread Abhyankar, Shrirang G.
http://www.pserc.cornell.edu//matpower/#pfconvergence From: #ZHANG TIAN# tzhang...@e.ntu.edu.sgmailto:tzhang...@e.ntu.edu.sg Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Mon, 23 Feb 2015 07:39:09 + To:

Re: runcpf problem

2015-02-23 Thread Abhyankar, Shrirang G.
Please check if your base case and target case have the same number of buses. Shri From: Amal Elramly amal_...@yahoo.commailto:amal_...@yahoo.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Mon, 23 Feb 2015 12:58:12 + To: MATPOWER

Re: Effect of loads in IEEE 39 bus system

2015-02-23 Thread Abhyankar, Shrirang G.
Arun, Please help us to understand the meaning of stuck by providing relevant details of (a) equations you are trying to implement (b) what have you attempted till now c) code snippets (d) errors/warnings. Shri From: arun s nair arunsnair...@gmail.commailto:arunsnair...@gmail.com Reply-To:

Re: CPF for DC Transmission Lines

2015-02-19 Thread Abhyankar, Shrirang G.
My guess is that you have bus 9 set as a PV bus and hence it's voltage magnitude is constant. Shri On Feb 19, 2015, at 4:47 AM, david clerc clerc.da...@hotmail.frmailto:clerc.da...@hotmail.fr wrote: Hello everyone, First I apologize for my approximate english. I am working on a student

Re: PV Curve

2015-02-12 Thread Abhyankar, Shrirang G.
, Natakorn Thasnas Ph.D Student Khonkaen University, Thailand 2015-02-12 20:41 GMT+07:00 Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov: Try using a smaller continuation step size. mpopt = mpoption(mpopt, 'cpf.stop_at', 'full', 'cpf.step', 0.05); Shri On Feb 12, 2015, at 4:03

Re: Effect of loads in IEEE 39 bus system

2015-02-10 Thread Abhyankar, Shrirang G.
, Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov wrote: What sort of analysis do you want to run? Such load models are typically used in system dynamics studies, not for steady-state analysis. If you want to do dynamics assessment, then MATPOWER is not the tool for you

Re: Power Voltage curve using matpower

2015-02-09 Thread Abhyankar, Shrirang G.
If you run a continuation power flow in MATPOWER, runcpf(), with the option 'cpf_stop_at' set to NOSE then the CPF will terminate on reaching the nose point. runcpf() returns a mpc case struct that has details on the generation and loading at the critical point and the lambda (continuation

Re: AW: Solved case does not converge in zero iterations

2015-01-28 Thread Abhyankar, Shrirang G.
I think the runopf routine should update generator set point voltages in the mpc struct once a solution is found. It is clearly a bug if that's not the case. I did a quick check on case14 and found that the power flow converges in 0 iterations given an initial guess from the OPF solution. With

Re: AC power flow algorithm (NR) + case3120sp.m

2015-01-21 Thread Abhyankar, Shrirang G.
Power flow does not enforce line limits. Run an optimal power flow (runopf) to enforce these limits. Shri On Jan 21, 2015, at 3:15 AM, Přemysl Voráč vo...@ntis.zcu.czmailto:vo...@ntis.zcu.cz wrote: Hello, I’m using Matpower to run a power flow problem on case3120sp.m network. I’m wondering,

Re: Implementation of Load per Hour

2015-01-21 Thread Abhyankar, Shrirang G.
If the load is fixed for each hour the what you are doing is fine. If the load is dispatchable, then use negative generator units. Shri On Jan 21, 2015, at 6:21 AM, Carlos Cruzat Hermosilla ccruz...@gmail.com wrote: Hi All I am currently working with the case24_ieee_rts.m and I am

Re: Warning: Matrix is close to singular or badly scaled. Results may be inaccurate.

2015-01-20 Thread Abhyankar, Shrirang G.
http://www.pserc.cornell.edu//matpower/#pfconvergence On Jan 20, 2015, at 2:47 PM, Jorge Fernando Gutiérrez Gómez jferna...@gmail.commailto:jferna...@gmail.com wrote: Dear Mr. Uzbekov, I think that your case could be an ill-conditioned or an unsolvable one. In power system problems that means

Re: PF Does not run

2015-01-19 Thread Abhyankar, Shrirang G.
...@list.cornell.edu Cc: MATPOWER-L@cornell.edumailto:MATPOWER-L@cornell.edu MATPOWER-L@cornell.edumailto:MATPOWER-L@cornell.edu Subject: Re: PF Does not run It is R2013a 2015-01-18 3:09 GMT+00:00 Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov: What's its Matlab version

Re: PF Does not run

2015-01-17 Thread Abhyankar, Shrirang G.
What's its Matlab version? On Jan 17, 2015, at 5:46 PM, Carlos Cruzat Hermosilla ccruz...@gmail.commailto:ccruz...@gmail.com wrote: Hi All I am trying to run my power flow in a different computer and I got the attached error . I am pretty sure that it is nothing to do with the code, due to

Re: non convergence of 69 bus radial distribution system

2015-01-16 Thread Abhyankar, Shrirang G.
My guess is that opening those lines is creating islands. Use the function case_info to extract the islands. See http://www.pserc.cornell.edu//matpower/#pfconvergence for info on non-convergent power flow. Shri From: Pinak Panda pinak.pand...@gmail.commailto:pinak.pand...@gmail.com Reply-To:

Re: Matpower- Continuation Power Flow

2015-01-16 Thread Abhyankar, Shrirang G.
mpct.bus(:,[PD QG]) = mpcb.bus(:,[PD QG])*2.5 results = runcpf(mpcb, mpct, mpopt); results.cpf Thanking in advance Regards Nair On Thu, Jan 15, 2015 at 3:25 PM, Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov wrote: Arun, You have the same generation/load for both the base

Re: extracting islands in extremely large systems

2015-01-15 Thread Abhyankar, Shrirang G.
From: Bijay Hughes bijayhughe...@gmail.commailto:bijayhughe...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Fri, 16 Jan 2015 07:20:42 +0800 To: MATPOWER discussion forum

Re: Matpower- Continuation Power Flow

2015-01-15 Thread Abhyankar, Shrirang G.
Arun, You have the same generation/load for both the base (mpcb) and target (mpct) cases. What are you seeing is that runcpf is solving the base case over and over again since there is zero power transfer. Use different generation/load for mpcb and mpct and run the continuation power flow

Re: Power system modelling with transformer ratio and shift.

2015-01-14 Thread Abhyankar, Shrirang G.
branch = tapdata; [Ybus, Yff, Yft, Ytf, Ytt,Cf, Ct, Yf, Yt] = makeYbus(baseMVA, bus,branch); but still problem remain same. Error using opf_args (line 312) opf_args.m: Incorrect input parameter order, number or type thanks! On Wed, Jan 14, 2015 at 6:16 AM, Abhyankar, Shrirang G. abhy

Re: Power system modelling with transformer ratio and shift.

2015-01-13 Thread Abhyankar, Shrirang G.
, Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto: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...@gmail.commailto:mirishtha...@gmail.com wrote

Re: Power system modelling with transformer ratio and shift.

2015-01-09 Thread Abhyankar, Shrirang G.
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...@gmail.commailto:mirishtha...@gmail.com wrote: Dear Prof. R. Zimmerman, I'm master student working on a project

Re: Set generators as not dispatchable

2015-01-07 Thread Abhyankar, Shrirang G.
Pgmin = Pgmax = Pg From: Simone Cochi simoneco...@gmail.commailto:simoneco...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Wed, 7 Jan 2015 21:41:56 +0100 To: MATPOWER discussion forum

Re: running opf to get system data

2015-01-06 Thread Abhyankar, Shrirang G.
See FAQ #5 on the MatPower webpage. http://www.pserc.cornell.edu//matpower/#faq Shri From: Zeya Aung [11547809d] zya@connect.polyu.hkmailto:zya@connect.polyu.hk Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Mon, 5 Jan 2015

FW: Need help in MATPOWER problem.

2015-01-06 Thread Abhyankar, Shrirang G.
Its always best to send query emails directly to the MATPOWER forum as you'll get suggestions from more than person. The current OPF in MATPOWER assumes constant tap ratios and phase shifters so that the Ybus, Yf, and Yt matrices are constant in the optimization. Hence, these matrices are

Re: load flow on distribution system

2014-12-30 Thread Abhyankar, Shrirang G.
Note that a common assumption used in most power flow programs, including MATPOWER, is that of a balanced three-phase network. This allows the three-phase network to be reduced to a single phase for analysis. If your distribution system is _unbalanced_, then MATPOWER's power flow is not the

Re: Power Generation VS Power Demand

2014-12-09 Thread Abhyankar, Shrirang G.
I think the total load in your system is more than the total active power output from non-slack generators. Hence, any increase in the load is supplied by the slack. Shri From: Bijay Hughes bijayhughe...@gmail.commailto:bijayhughe...@gmail.com Reply-To: MATPOWER discussion forum

Re: Load and Branch Data

2014-12-09 Thread Abhyankar, Shrirang G.
Do you have a generator at bus 4? On Dec 9, 2014, at 7:31 PM, Bijay Hughes bijayhughe...@gmail.com wrote: Hello Matpower Users, I am having some problems understanding bus data versus branch data. Under the bus data, I have for example for bus 4, load of 100 MW. However, when I

Re: how to inject reactive power into the case system

2014-12-06 Thread Abhyankar, Shrirang G.
Please send your case file, code, and instructions on how to run it. From: lavanya arubolu arubolulava...@gmail.commailto:arubolulava...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Thu, 4 Dec 2014 09:51:03 +0530 To: MATPOWER

Re: Modeling a Battery in OPF

2014-12-06 Thread Abhyankar, Shrirang G.
Hi Manish, I think you'll have to do a multi-period optimization, with appropriate objective and constraints, for your battery charge/discharge problem. I am not sure if this can be cleanly implemented only using the MATPOWER API. You may have to modify some of MATPOWER's code to suit your

Re: Upper and Lower Bounds on Generator

2014-12-06 Thread Abhyankar, Shrirang G.
Please take a look at the case file format explained in the MATPOWER manual or do help caseformat Shri From: Bijay Hughes bijayhughe...@gmail.commailto:bijayhughe...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Sun, 7 Dec

Re: Represent generators as PQ buses

2014-11-24 Thread Abhyankar, Shrirang G.
Marco, MATPOWER does not have any in-built rule that changes the status of a bus from PQ to PV if a generator is incident on it. If you have a generator declared in the GEN struct with its bus type set to PQ in the BUS struct, then the bus voltage magnitude and angle are the variables for

Re: Represent generators as PQ buses

2014-11-24 Thread Abhyankar, Shrirang G.
Barbetta 2014-11-24 17:12 GMT+01:00 Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov: Marco, MATPOWER does not have any in-built rule that changes the status of a bus from PQ to PV if a generator is incident on it. If you have a generator declared in the GEN struct with its bus

Re: Represent generators as PQ buses

2014-11-24 Thread Abhyankar, Shrirang G.
with their normal values (positive). Thanks, Marco Barbetta 2014-11-24 19:29 GMT+01:00 Marco Barbetta marco.barbetta1...@gmail.commailto:marco.barbetta1...@gmail.com: Ok, while an eventual negative value for QG represents an absorbed reactive power, right? 2014-11-24 18:05 GMT+01:00 Abhyankar, Shrirang G

Re: Can a reference bus without generation exist? In MatPower's opinion, no

2014-11-24 Thread Abhyankar, Shrirang G.
Please send your casefile. Shri On Nov 24, 2014, at 5:30 PM, Marco Barbetta marco.barbetta1...@gmail.com wrote: Dear all, i'm facing a problem with my network. I have all PQ buses (some of which are generators, but i need to know how voltage magnitude change during time in all buses,

Re: change the case14 data in matpower

2014-11-20 Thread Abhyankar, Shrirang G.
Take a look at the routine extract_islands(). Shri From: Göktürk Poyrazoğlu goktu...@buffalo.edumailto:goktu...@buffalo.edu Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Thu, 20 Nov 2014 09:01:54 -0500 To: MATPOWER discussion forum

Re: BUS VOLTAGE SENSITIVITIES

2014-11-18 Thread Abhyankar, Shrirang G.
See the documentation of makeJac(). It states that Bus numbers must be consecutive beginning at 1 (internal ordering). case300 is the smallest case in MATPOWER where the bus numbering is unordered. Call ext2int() before makeJac() to convert from external (unordered) to internal (ordered) bus

Re: Order of data in mpc struct affect MatPower functionalities?

2014-11-09 Thread Abhyankar, Shrirang G.
I don't think there should be any issue even if the bus numbers are unsorted. I tested it with case9.m and there weren't any errors. Shri From: Marco Barbetta marco.barbetta1...@gmail.commailto:marco.barbetta1...@gmail.com Reply-To: MATPOWER discussion forum

Re: Order of data in mpc struct affect MatPower functionalities?

2014-11-09 Thread Abhyankar, Shrirang G.
discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Subject: Re: Order of data in mpc struct affect MatPower functionalities? Thank you again! What about generators' order? 2014-11-09 17:28 GMT+01:00 Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov

Re: Query regarding handling VAR limits in the new CPF function added to MATPOWER

2014-11-02 Thread Abhyankar, Shrirang G.
Currently, fhere is no support in CPF to enforce generator reactive power limits. I've started working on it, but I don't know when it will be done and eventually incorporated in MATPOWER. Shri On Oct 31, 2014, at 6:56 PM, Shruti Rao sra...@asu.edumailto:sra...@asu.edu wrote: Hi, I wanted

Re: How to decouple case data into multi areas in MatPower

2014-10-27 Thread Abhyankar, Shrirang G.
If you have information about the boundaries of the control areas then you can set the appropriate information in column 7 of the bus data and divide the areas. I am assuming, however, in your case that you do not have that information and are looking for a criterion to create the areas. I

Re: Piecewise polynomial price curve

2014-10-24 Thread Abhyankar, Shrirang G.
If the cost function is non-smooth then I don't think it can be handled in MATPOWER. Shri From: Tommy k tommy...@gmail.commailto:tommy...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Thu, 23 Oct 2014 20:54:26 +0100 To:

Re: problem in continuation load flow

2014-10-20 Thread Abhyankar, Shrirang G.
Abhishek, You have to provide the 'basecasedata' and 'targetcasedata' (run 'help runcpf' for the meaning of these terms) for runcpf. If no targetcasedata is provided to runcpf then it assumes that the base case is case9.m and uses an example targetcasedata created for this case. It will be

Re: problem in continuation load flow

2014-10-20 Thread Abhyankar, Shrirang G.
getting error. On Mon, Oct 20, 2014 at 12:33 PM, Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov wrote: Abhishek, You have to provide the 'basecasedata' and 'targetcasedata' (run 'help runcpf' for the meaning of these terms) for runcpf. If no targetcasedata is provided

Re: ieee distribution systems

2014-10-04 Thread Abhyankar, Shrirang G.
Ahmad, You may get a better response on the OpenDSS, GridLab-D, or PowerGlobe mailing list. Shri On Oct 4, 2014, at 5:22 PM, ahmad rezaee ahmadrezaee1...@yahoo.commailto:ahmadrezaee1...@yahoo.com wrote: Dear all Can anyone help me to find cases of IEEE 33 and 69 bus distribution test

Re: reg integration of renewable sources

2014-09-19 Thread Abhyankar, Shrirang G.
Ambika, MATPOWER does not have models of renewable energy sources. If you can model it as a complex power injection at a bus (P_G + j*Q_G), you can plug in that value in the generator data struct of the case file and run a power flow or an optimal power flow. Please go through the manual to

Re: Convergence and generator

2014-09-19 Thread Abhyankar, Shrirang G.
solution. Shri Le 18/09/2014 00:18, Abhyankar, Shrirang G. a écrit : Ali, Firstly, you have an error in the case file. The generator set point voltage (gen(1,VG) is set to 2 pu which is incorrect. It should be around 1.0 pu. Even after setting the generator set point voltage to 1 pu

Re: Convergence and generator

2014-09-17 Thread Abhyankar, Shrirang G.
Ali, Firstly, you have an error in the case file. The generator set point voltage (gen(1,VG) is set to 2 pu which is incorrect. It should be around 1.0 pu. Even after setting the generator set point voltage to 1 pu, the case does not converge because the loading surpasses the steady state

Re: Problem using dispatchable loads

2014-09-01 Thread Abhyankar, Shrirang G.
Gamze, Please read the output carefully. It displays at the end Did not converge in 16 itérations. Since the OPF has not converged the displayed results are meaningless. Shri On Sep 1, 2014, at 7:16 AM, Gamze Dogan gamgam...@hotmail.com wrote: Hi, I want to use dispatchable load in

Re: control variables of 'runopf'

2014-08-29 Thread Abhyankar, Shrirang G.
Please read section 6.3 of the manual 'Extended OPF formulation'. Shri From: Bai, Wenlei wenlei_...@baylor.edu Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Fri, 29 Aug 2014 03:09:56 + To: MATPOWER discussion forum matpowe...@list.cornell.edu,

Re: control variables of 'runopf'

2014-08-29 Thread Abhyankar, Shrirang G.
Engineering Baylor University, One Bear Place #97356 Waco, TX 76798-7356 (254)405-3320 wenlei_...@baylor.edu From: bounce-117801146-71172...@list.cornell.edu [bounce-117801146-71172...@list.cornell.edu] on behalf of Abhyankar, Shrirang G. [abhy...@mcs.anl.gov

Re: question about printing power flow results

2014-08-28 Thread Abhyankar, Shrirang G.
Zahra, MATPOWER's output options (help mpoption) control what gets printed to the screen. By default, the bus, branch, system summary, and constraints get printed out. Turn off the appropriate flags in mpoption to suppress it. Shri From: zahra shiravi

Re: Modifying the Power Balance Equations

2014-08-27 Thread Abhyankar, Shrirang G.
Vids, Implementing your reformulated OPF equations, written in complementarity form, is non-trivial in MATPOWER as it will require modifying the variable/equation sizes and muddling with the OPF data structures. Note that you'll also need additional equations, perhaps expressed in semi-smooth

Re: Type switching of PV buses to PQ buses with reference to Q limits in Load flow

2014-08-22 Thread Abhyankar, Shrirang G.
Gelli, I'm not sure whether you have turned on the option pf.enforce_q_lims (help mpoption) to enforce Q limits for the power flow solver. Q limits should be applied once the power flow is at, or fairly close, to an actual solution. If the limits are imposed during the Newton (or gausspf)

Re: Dispatchable loads with negative reactive demand

2014-07-31 Thread Abhyankar, Shrirang G.
On Jul 31, 2014, at 9:17 AM, HEGGIE Alastair s0822...@sms.ed.ac.ukmailto:s0822...@sms.ed.ac.uk wrote: Dear all, Does anyone know if it is possible to convert a load to a dispatchable load if the load at a bus has negative reactive demand (and positive real demand)? You can model it as a

Re: OPF with current limit

2014-07-22 Thread Abhyankar, Shrirang G.
Note that what you want to do would give you a sub-optimal solution. You could try using a larger objective function cost tolerance to have the optimization terminate early. This can be set via mpoption using the option mips.costtol (if you are using MIPS, see the corresponding option for other

Re: OPF with current limit

2014-07-16 Thread Abhyankar, Shrirang G.
On Jul 16, 2014, at 2:04 AM, Gamze Dogan gamgam...@hotmail.com wrote: Hi, I want to implement the OPF with current limit of the branches, I did using the option 'OPF_FLOW_LIM',2 This will apply current limits on all branches except those whose flows have been specified as infinite.

Re: Generators as negative loads

2014-07-16 Thread Abhyankar, Shrirang G.
Simone, Add your generator in the gen data struct in the case file and set its bus type to PQ. Shri On Jul 16, 2014, at 8:31 AM, Simone Cochi simoneco...@gmail.commailto:simoneco...@gmail.com wrote: Dear all, I’m completely new to the power systems simulation. I want to simulate the

RE: Convergence issues: OPF simulation of several interconnected countries

2014-07-14 Thread Abhyankar, Shrirang G.
Patrick, The first thing that I would try to do is to make sure 1. and 2. give similar solution. I would do this by imposing the cross-border flows in 1 as constraints on the tie-lines in 2. So Smax and Smin of the tie-line would be set to the cross-border flow value. The OPF may not converge

Re: data for IEEE 162 bus

2014-07-04 Thread Abhyankar, Shrirang G.
The 162 bus system is not a part of MATPOWER distribution. You can find the data for it here http://www.ee.washington.edu/research/pstca/dyn17/pg_tcadd17.htm Note that the data is in CDF format so you'll need to convert it to MATPOWER format using cdf2matp function. Shri On Jul 4, 2014, at

Re: makeYbus units

2014-07-01 Thread Abhyankar, Shrirang G.
The values are in pu. On Jul 1, 2014, at 7:10 AM, Pieter Jacqmaer pieter.jacqm...@gmail.com wrote: Dear matpower community, Which are the units of the elements of the Ybus matrix you can obtain with the makeYbus-command? Are they Siemens, or are they expressed in per unit (pu)?

Re: Re: OPF in a single source distribution system

2014-07-01 Thread Abhyankar, Shrirang G.
30, 2014 at 3:25 AM, Abhyankar, Shrirang G. abhy...@mcs.anl.gov wrote: PF_MAX_IT_FD option sets the number of iterations for the 'fast decoupled' algorithm. Are you setting the PF_ALG option to select the fast decoupled AC power flow? Shri On Jun 29, 2014, at 12:37 PM, Fereshteh Moghateli

Re: 回复:how to automatically change the case file of MATPOWER?

2014-06-22 Thread Abhyankar, Shrirang G.
Is there any good reason why you would want to modify the case file each time rather than reading the file once and changing the mpc field values as you need? Shri -Original Message- From: Yi Zong y...@elektro.dtu.dk Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date:

Re: cannot converge because the primal residual, dual residual,

2014-06-06 Thread Abhyankar, Shrirang G.
I didn't encounter any errors running dcopf on your example. What error did you get and what line rating and dispatchable load limits were you using? Shri From: Jiashen Teh jiashen.te...@manchester.ac.uk Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Thu, 5 Jun 2014

Re: AW: Automated Tap-Changing in Load Flow Calculation

2014-06-05 Thread Abhyankar, Shrirang G.
Dominic, There is no post-iteration callback hook for runpf(). If you want to do some operation at the end of every Newton iteration then you'll need to modify newtonpf.m, Shri From: Hewes, Dominic dominic.he...@tum.de Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date:

Re: Reactive Losses Power Flow

2014-05-05 Thread Abhyankar, Shrirang G.
The ACOPF in MATPOWER minimizes the generation cost subject to voltage, line flow, and capacity constraints. The objective function is not minimization of line losses. Please read the section on Optimal Power Flow in the manual. http://www.pserc.cornell.edu/matpower/manual.pdf Shri From: Angie

Re: Reply to: test_matpower yields error

2014-05-04 Thread Abhyankar, Shrirang G.
MATPOWER cannot model FACTS devices or solve combinatorial problems such as optimal location. Shri From: chukwudi victor suvichtech0...@yahoo.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Sun, 4 May 2014 12:37:06 +0100 To: MATPOWER discussion forum

Loss sensitivity index

2014-05-04 Thread Abhyankar, Shrirang G.
sensitivity index. The book am reading quoted MATPOWER. See attached .I really need help Victor On Sunday, 4 May 2014, 5:02, Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov wrote: MATPOWER cannot model FACTS devices or solve combinatorial problems such as optimal location. Shri From

Re: changing load at each bus

2014-03-26 Thread Abhyankar, Shrirang G.
This is a Matlab usage question. Please go over some reference on setting values in a vector. Shri On Mar 26, 2014, at 1:58 AM, deepak. deepak.aash...@gmail.commailto:deepak.aash...@gmail.com wrote: Sir I want to change load at each bus for simulating different scenario of load. For

Re: Significant digits in runpf

2014-03-21 Thread Abhyankar, Shrirang G.
From: Tim Chen timtianc...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Thu, 20 Mar 2014 22:03:47 +0100 To: matpower-l@cornell.edu Subject: Significant digits in runpf Hello! Is there anyway to obtain the loses from runpf calculation, like are the

Re: reg pf

2014-03-16 Thread Abhyankar, Shrirang G.
Look at the code in makeJac.m From: ambi ka rambi_2...@yahoo.co.in Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edu Date: Sat, 15 Mar 2014 16:54:45 +0800 To: MATPOWER discussion forum matpowe...@list.cornell.edu Subject: reg pf Sir, I wish to get inverse jacobian matrix.Also

Re: A couple of minor bugs, maybe not....

2014-03-14 Thread Abhyankar, Shrirang G.
On Mar 14, 2014, at 9:10 AM, Jovan Ilic wrote: Is there something funny about case300? makeJac returns errors. makeJac() expects internal ordering of buses. Here's a note from the help info on makeJac %Bus numbers must be consecutive beginning at 1 (internal ordering). Hence,

Re: OPF: Objetive Function - Cost Model

2014-02-28 Thread Abhyankar, Shrirang G.
The appendix section 'Data File Format' in the manual details the format for generator cost data. From: Angie Joaqui Rendon nani0...@hotmail.commailto:nani0...@hotmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Fri, 28 Feb 2014

Re: OPF: Objetive Function - Cost Model

2014-02-27 Thread Abhyankar, Shrirang G.
On Feb 27, 2014, at 4:40 PM, Angie Joaqui Rendon wrote: Regards I'm working with tho OPF in MATPOWER, and i wanted to know which is the model of costs that the program uses. I need the information to be able to compare results with other simulators, because of it I must have very well

Re: Papers to read and practice

2014-02-26 Thread Abhyankar, Shrirang G.
FERC has recently released a series of papers detailing the history, formulation, solution techniques, and computational performance of OPF. http://www.ferc.gov/industries/electric/indus-act/market-planning/opf-papers.asp Shri From: OOzy Pal oozy...@gmail.commailto:oozy...@gmail.com Reply-To:

Re: reg matpwer

2014-02-24 Thread Abhyankar, Shrirang G.
Ambika, 1) MATPOWER does not model power electronics equipment. Read up relevant literature on modeling of solar panel inverters for reactive power optimization. 2) Read the MATPOWER manual to learn the power system elements that MATPOWER models and its associated modeling techniques.

Re: Adding adjustable tap ratios to Matpower

2014-02-24 Thread Abhyankar, Shrirang G.
Don't know how I missed this one. My understanding is that the taps are discrete, not continuous. The formulation presented in the document assumes continuous taps. Shri From: Ray Zimmerman r...@cornell.edumailto:r...@cornell.edu Reply-To: MATPOWER discussion forum

Re: OPF

2014-02-21 Thread Abhyankar, Shrirang G.
From: OOzy Pal oozy...@gmail.commailto:oozy...@gmail.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Fri, 21 Feb 2014 22:30:15 +0300 To: MATPOWER-L@cornell.edumailto:MATPOWER-L@cornell.edu Subject: OPF Hello, I have been reading

Re: Case of islanding

2014-02-20 Thread Abhyankar, Shrirang G.
I believe the power flow and OPF do work for islands provided you have reference bus in each of the islands. One possibility for the solver failure is the presence of isolated buses (buses that do not have any transmission lines connected) in the islands. If there are any isolated buses then

Re: reg mat power

2014-02-19 Thread Abhyankar, Shrirang G.
Ambika, i) nargin and nargout mean 'number of input function arguments' and 'number of function output arguments' respectively. These are in-built MATLAB utility functions, not MATPOWER functions. ii) Could you be more specific about what control variables you are considering and how you

Re: Hessian problem

2014-02-10 Thread Abhyankar, Shrirang G.
Are you using BFGS approximated Hessian via the fmincon function or computing it yourself? What happens if you use your computed Hessian with the interior point scheme in fmincon? Shri From: amel zerigui zerigui_a...@hotmail.commailto:zerigui_a...@hotmail.com Reply-To: MATPOWER discussion

Re: Hessian problem

2014-02-10 Thread Abhyankar, Shrirang G.
Can't tell much other than the BFGS approximated Hessian may be resulting in some incorrect direction. It may also be due to the interior point method options (initial barrier, scaling) but its hard to say. Using the exact Hessian, if available, is always better as (i) the sparsity of the

Re: Map of Hadi Saadat IEEE30 data to MATPOWER

2014-02-09 Thread Abhyankar, Shrirang G.
The data format that MATPOWER uses is described in Appendix B of the manual. http://www.pserc.cornell.edu/matpower/manual.pdf Shri From: Hasan Bjaili ha...@bjaili.commailto:ha...@bjaili.com Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date:

Re: numerically failed opf

2014-01-30 Thread Abhyankar, Shrirang G.
: bounce-112255487-48954...@list.cornell.edumailto:bounce-112255487-48954...@list.cornell.edu [mailto:bounce-112255487-48954...@list.cornell.edu] On Behalf Of Abhyankar, Shrirang G. Sent: 29 January 2014 15:53 To: MATPOWER discussion forum Subject: Re: numerically failed opf The numerical divergence

Re: error message

2014-01-24 Thread Abhyankar, Shrirang G.
See below. From: Alexandra Kapetanaki alexandra.kapetan...@manchester.ac.ukmailto:alexandra.kapetan...@manchester.ac.uk Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Thu, 23 Jan 2014 21:19:27 + To: MATPOWER discussion forum

Re: How to block displaying OPF messages

2014-01-23 Thread Abhyankar, Shrirang G.
: (607) 255-9645 On Jan 21, 2014, at 11:10 AM, Abhyankar, Shrirang G. abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov wrote: Those messages are generated by MATLAB. You can turn them off by using the warning command. But I doubt if you want to suppress these warnings. Matlab's warning 'Matrix

Re: addmitance matrix(zbus), nodal currents

2014-01-21 Thread Abhyankar, Shrirang G.
From: bounce-112019008-46384...@list.cornell.edumailto:bounce-112019008-46384...@list.cornell.edu [bounce-112019008-46384...@list.cornell.edumailto:bounce-112019008-46384...@list.cornell.edu] on behalf of Abhyankar, Shrirang G. [abhy...@mcs.anl.govmailto:abhy...@mcs.anl.gov] Sent: 20

Re: How to block displaying OPF messages

2014-01-21 Thread Abhyankar, Shrirang G.
Those messages are generated by MATLAB. You can turn them off by using the warning command. But I doubt if you want to suppress these warnings. Matlab's warning 'Matrix is singular to working precision' indicates the linear solver's (backslash operator) failure and as such the results obtained

Re: DCOPF taking into consideration line power limits.(and N-1 criteria)

2014-01-20 Thread Abhyankar, Shrirang G.
See below. From: Petr Kaplunovich pe...@mit.edumailto:pe...@mit.edu Reply-To: MATPOWER discussion forum matpowe...@list.cornell.edumailto:matpowe...@list.cornell.edu Date: Mon, 20 Jan 2014 07:21:40 -0500 To: MATPOWER-L@cornell.edumailto:MATPOWER-L@cornell.edu Subject: DCOPF taking into

Re: addmitance matrix(zbus), nodal currents

2014-01-20 Thread Abhyankar, Shrirang G.
Use the routine makeYbus to construct the Ybus matrix. The nodal voltages obtained from running the power flow can be found in the bus data. From the Ybus and the nodal voltages, you can get the nodal currents. Shri From: Alexandra Kapetanaki

Re: KKT

2014-01-17 Thread Abhyankar, Shrirang G.
The KKT conditions for the optimal power flow formulation used in MatPower are not given in the manual. MatPower uses a standard OPF formulation with voltages represented in polar form. You should be able to find the KKT conditions for it from any standard text or by deriving the gradients

<    1   2   3   >