Dear Ray,
Thanks for your reply. I understand your explain, and I have new problem as 
following:
1. May I make OPF be a dynamic model? I want to implement it in typhoon 
situation, like at t=1, it's normal; at t=2, the load of branch 1 needs to 
decraese 10%; at t=3, the load of branch 1 decreases 20%, branch 2 decreses 
10%, etc. With the load changes, power flow will change.
2. With the load changes, generators' output will be different. But I want to 
set sum of the every zone is fixed, like every zone's reserve requirements. If 
the load of branch 1 decreses, other branches can fill the gap.
3. In MATPOWER, the SCOPF is considering renewable energy, maybe I don't 
undersant it very well. I want to do some work about SCOPF in typhoon 
situation, may I use MATPOWER?


Thanks for your patience.
Warm regards.


Yang.













At 2020-01-18 02:20:40, "Ray Daniel Zimmerman" <[email protected]> wrote:

The reserve requirement is a lower bound on the sum of reserves for the zone. 
If you make it an upper bound then there is no incentive to provide any 
reserves at all and zero reserves will always be the optimal solution.


   Ray




On Jan 15, 2020, at 3:09 AM, Yang <[email protected]> wrote:


Dear Ray,
Thanks for your reply!  Flexible, I mean, you see in run_w_res(), there is a 
fixed value requirement for each reserve, and I don't want this fixed value, 
can it just be a limit, so the reserve result will change when the load change.
For example, we give the 10MW for zone 1 with gen1 and gen2, so the sum reserve 
of gen1 and gen2 is 10MW. But I want this 10MW to be a limit, and maybe the sum 
reserve of gen1 and gen2 less than 10MW, it is not necessary for their sum to 
be 10MW.
May I have ways to implement it?


Thanks a lot.
Yang.









At 2020-01-15 06:49:54, "Ray Daniel Zimmerman" <[email protected]> wrote:

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 <[email protected]> wrote:


Dear Ray,
In runopf_w_res() , the zonal requirement is fixed, but I want it to be 
flexible, how can I do this ?
Thanks.








At 2020-01-03 01:36:43, "Ray Daniel Zimmerman" <[email protected]> wrote:

Hi Yang,


It’s not clear whether you simply want to use the fixed reserves extension (see 
Section 7.6.1 in the MATPOWER User’s Manual) or you want to implement your own 
OPF extension. In the first case you can simply use runopf_w_res(). In the 
second, please see Chapter 7 and the code for the various extensions described 
in Section 7.6.


   Ray




On Dec 25, 2019, at 8:11 PM, Yang <[email protected]> wrote:


Dear sir,
I want to do the extensible OPF, and I read paper MATPOWER’s Extensible Optimal 
Power Flow Architecture.
The objective function is min f(x)+fu(x,z),and fu=sum(ci*ri), following the 
code:
Ar = [I I];
om = add_vars(om, 'R', ng, [], Rmin, Rmax);
om = add_constraints(om, 'Pg_plus_R', Ar, [], Pmax, {'Pg', 'R'});
om = add_constraints(om, 'Rreq', Az, Rreq, [], {'R'});
om = add_costs(om, 'Rcost', struct('N',I,'Cw',Rcost), {'R'});


I add these into .m file, as for add_vars if I should change [], Rmin, Rmax 
into data I need, and do the same with other codes.
I don't know if it's right.
Best regards.


Yang.





 






 






 



Reply via email to