Transmat details

2018-01-17 Thread Alex David
Dear Ray/others,   I have a question regarding "transmat" value used in "most ex7 suc.m". Mainly, I'm confused with the values given in "ex_transmat(nt)":   T = [ 0.158655253931457; 0.682689492137086; 0.158655253931457 ]   Any pointers can be very helpful. Also, pardon for the naive question

Re: Introducing contingency in the network

2018-01-17 Thread Abhyankar, Shrirang G.
Don’t think there is an API, like total_load, that calculates total generation. You can do this easily by summing the active powers (PG column) in the mpc.gen array. If you have any question on what API functions are available in MATPOWER then please refer to http://www.pserc.cornell.edu//matpo

Re: Introducing contingency in the network

2018-01-17 Thread Zain Anwer Memon
ok and how can I find total generation like we find total load through total_load? On Wed, Jan 17, 2018 at 5:07 PM, Abhyankar, Shrirang G. wrote: > MATPOWER’s power flow does not enforce generator active power limits. To > do so, run a dc optimal power flow (rundcopf). > > > > Thanks, > > Shri >

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://www.mai

Re: Introducing contingency in the network

2018-01-17 Thread Abhyankar, Shrirang G.
MATPOWER’s power flow does not enforce generator active power limits. To do so, run a dc optimal power flow (rundcopf). Thanks, Shri Ph: (630) 252 0219 www.mcs.anl.gov/~abhyshr From: on behalf of Zain Anwer Memon Reply-To: MATPOWER discussion forum Date: We

Re: The question about extend OPF and the optimization tool

2018-01-17 Thread Abhyankar, Shrirang G.
Not sure if this is what you want, but here’s one way. https://www.mail-archive.com/matpower-l@cornell.edu/msg00613.html Thanks, Shri Ph: (630) 252 0219 www.mcs.anl.gov/~abhyshr From: on behalf of "neuqxhlin...@163.com" Reply-To: MATPOWER discussion forum Date

The question about extend OPF and the optimization tool

2018-01-17 Thread neuqxhlinwei
Hi, I see. Can we add the power loss into objective function in runopf() ? - Best regards, Wei Lin 林巍 Zhejiang University, Zheda Road 38#, Hangzhou, P.R.China, 310027 +86-13675865210 发件人: Ray Zimmerman [mailto:r...@cornell.

Introducing contingency in the network

2018-01-17 Thread Zain Anwer Memon
Hello everyone, I am analyzing a simple case, that has 3 generators and liming the max power of all the generators to some limit. If I turn off one generator, and run dc power flow, then one of the generator real power is increased by its own more than its MAX Power to meet the load requirement. h