Take this simple case with 3 buses and 2 transmission lines (10 kV  
system). It comprises one conventional generator (bus1), a wind farm  
generating 20 MW (bus3) and one load S=40+j20 MVA (bus2).

For dispatchable generators (like bus1), just define "type" = 2 (PV)  
and fill the generator data for that generator. For non-dispatchable  
generation (such as wind power), just set bus "type" to 1 (PQ) and  
define the power injected as negative load.

Two transmission lines connect the generator and the wind farm to bus  
2, thus feeding the load. Pd = -20 MW for bus 3 means that the wind  
farm is generating 20 MW. Also, if the wind farm is comprised of  
induction wind turbines, you can model any reactive power consumprtion  
by defining "Qd" as a positive quantity.

Check the attached "case_simple_wind.m" file



Citando Yogess H Singh <[email protected]>:

> Can you please share any code?
>
> Best Regards,
>
> *Yogesh Kumar*
> *Graduate Research Assistant*
> *NE 2042, EECS Department*
> *University of Toledo, OH 43507*
> *+1 (419)530-8295 <%2B1%20%28419%29450-2217>*
>
> On Thu, Oct 1, 2015 at 5:12 PM, <[email protected]> wrote:
>
>> Try modelling the wind farms as negative loads. Define such power
>> injections in the bus section of the case data
>>
>>
>> Citando Yogess H Singh <[email protected]>:
>>
>> Dear Fellow Members,
>>>
>>> What is the procedure to run load flow analysis of an IEEE 9 bus with wind
>>> energy in MATPOWER?
>>>
>>> Best Regards,
>>>
>>> *Yogesh Kumar*
>>> *Graduate Research Assistant*
>>> *NE 2042, EECS Department*
>>> *University of Toledo, OH 43507*
>>> *+1 (419)530-8295 <%2B1%20%28419%29450-2217>*
>>>
>>>
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
function mpc = case5
%CASE5  Power flow data for modified 5 bus, 5 gen case based on PJM 5-bus system
%   Please see CASEFORMAT for details on the case file format.
%
%   Based on data from ...
%     F.Li and R.Bo, "Small Test Systems for Power System Economic Studies",
%     Proceedings of the 2010 IEEE Power & Energy Society General Meeting

%   Created by Rui Bo in 2006, modified in 2010, 2014.
%   Distributed with permission.

%   MATPOWER
%   $Id: case5.m 2408 2014-10-22 20:41:33Z ray $

\%% MATPOWER Case Format : Version 2
mpc.version = '2';

\%%-----  Power Flow Data  -----\%%
\%% system MVA base
mpc.baseMVA = 100;

\%% bus data
%       bus_i   type    Pd      Qd      Gs      Bs      area    Vm      Va      
baseKV  zone    Vmax    Vmin
mpc.bus = [
        1       2       0       0       0       0       1       1       0       
10      1       1.1     0.9;
        2       1       40      20      0       0       1       1       0       
10      1       1.1     0.9;
        3       1       -20     0       0       0       1       1       0       
10      1       1.1     0.9;

];

\%% generator data
%       bus     Pg      Qg      Qmax    Qmin    Vg      mBase   status  Pmax    
Pmin    Pc1     Pc2     Qc1min  Qc1max  Qc2min  Qc2max  ramp_agc        ramp_10 
ramp_30 ramp_q  apf
mpc.gen = [
        1       40      0       50      -50     1       100     1       100     
0       0       0       0       0       0       0       0       0       0       
0       0;
];

\%% branch data
%       fbus    tbus    r       x       b       rateA   rateB   rateC   ratio   
angle   status  angmin  angmax
mpc.branch = [
        1       2       0.00281 0.0281  0.00712 400     400     400     0       
0       1       -360    360;
        3       2       0.00064 0.0064  0.03126 100     100     100     0       
0       1       -360    360;
];

\%%-----  OPF Data  -----\%%
\%% generator cost data
%       1       startup shutdown        n       x1      y1      ...     xn      
yn
%       2       startup shutdown        n       c(n-1)  ...     c0
mpc.gencost = [
        2       0       0       2       14      0;
];

Reply via email to