-
Notifications
You must be signed in to change notification settings - Fork 11
/
ex_wind.m
36 lines (33 loc) · 1.18 KB
/
ex_wind.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function wind = ex_wind(mpc)
% ex_wind - Example Wind data file for stochastic OPF.
% MOST
% Copyright (c) 2015-2024, Power Systems Engineering Research Center (PSERC)
% by Ray Zimmerman, PSERC Cornell
%
% This file is part of MOST.
% Covered by the 3-clause BSD License (see LICENSE file for details).
% See https://github.com/MATPOWER/most for more info.
%%----- wind -----
%% 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
wind.gen = [
2 0 0 50 -50 1 100 1 100 0 0 0 0 0 0 0 0 200 200 0 0;
];
%% xGenData
wind.xgd_table.colnames = {
'InitialPg', ...
'RampWearCostCoeff', ...
'PositiveActiveReservePrice', ...
'PositiveActiveReserveQuantity', ...
'NegativeActiveReservePrice', ...
'NegativeActiveReserveQuantity', ...
'PositiveActiveDeltaPrice', ...
'NegativeActiveDeltaPrice', ...
'PositiveLoadFollowReservePrice', ...
'PositiveLoadFollowReserveQuantity', ...
'NegativeLoadFollowReservePrice', ...
'NegativeLoadFollowReserveQuantity', ...
};
wind.xgd_table.data = [
0 0 1e-8 200 2e-8 200 1e-9 1e-9 1e-6 200 1e-6 200;
];