apologies

2020-01-14 Thread Ray Daniel Zimmerman
It appears that some 800 e-mails were subscribed to some MATPOWER lists between Jan 5 and Jan 9 (while I was mostly away from e-mail and didn't notice), presumably by some spammer/prankster, resulting in all of the recent requests to be removed. These addresses have been removed, so hopefully i

Re: modify zones

2020-01-14 Thread Ray Daniel Zimmerman
I’ll do my best to address your questions, but please feel free to ask for further clarification if I don’t get them all. Reserve zones are unrelated to either the BUS_AREA or ZONE columns in the bus matrix. They are defined by the mpc.reserves.zones matrix and can be overlapping (i.e. a given

Problem in running Texas-2000 bus system

2020-01-14 Thread Jubeyer Rahman
Hi, Has anyone ever tried to run the Texas-2000 bus test system in MATPOWER to find its power flow and optimal power flow solution. I am getting the message like the following while trying to run it, For Power-flow: Struct contents reference from a non-struct array object. Error in newtonpf (lin

Re: Extensible OPF

2020-01-14 Thread Ray Daniel Zimmerman
I’m not sure what you mean by flexible. Do you mean price-dependent? The current implementation does not include that. Ray On Jan 8, 2020, at 1:11 AM, Yang mailto:yang_hong_...@163.com>> wrote: Dear Ray, In runopf_w_res() , the zonal requirement is fixed, but I want it to be flexible, how

Re: AC OPF with extra linear constraints on line flows

2020-01-14 Thread Ray Daniel Zimmerman
Unfortunately, there isn’t a simple way to do it with only linear constraints. You could define new variables for the flows and use the opf_branch_flow_fcn() and opf_branch_flow_hess() functions to implement an equality constraint that defines these variables. These constraints would be very sim

Re: Optimal Reactive Power Dispatch

2020-01-14 Thread Ray Daniel Zimmerman
The OPF in the current MATPOWER does not include transformer taps or switched shunt settings as control variables. You can minimize power losses by setting all of the generator active power costs to an identical constant. If you want to combine that with some voltage deviation minimization, I th

Re: Problem in running Texas-2000 bus system

2020-01-14 Thread Ray Daniel Zimmerman
>From the error message, it looks like you might be using an mpopt that is not >actually a valid MATPOWER options struct as returned by mpoption(). Try it >with the default mpopt. Ray On Jan 14, 2020, at 3:50 PM, Jubeyer Rahman mailto:jube...@hawaii.edu>> wrote: Hi, Has anyone ever tried