-
Notifications
You must be signed in to change notification settings - Fork 11
/
ex_xgd_uc.m
34 lines (32 loc) · 1.81 KB
/
ex_xgd_uc.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
function xgd_table = ex_xgd_uc(mpc)
% ex_xgd_uc - Example xGenData table for stochastic unit commitment.
% 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.
%% initial xGenData
xgd_table.colnames = {
'CommitKey', ...
'CommitSched', ...
'MinUp', ...
'MinDown', ...
'PositiveActiveReservePrice', ...
'PositiveActiveReserveQuantity', ...
'NegativeActiveReservePrice', ...
'NegativeActiveReserveQuantity', ...
'PositiveActiveDeltaPrice', ...
'NegativeActiveDeltaPrice', ...
'PositiveLoadFollowReservePrice', ...
'PositiveLoadFollowReserveQuantity', ...
'NegativeLoadFollowReservePrice', ...
'NegativeLoadFollowReserveQuantity', ...
};
xgd_table.data = [
1 1 1 1 5 250 10 250 1e-9 1e-9 1e-6 250 1e-6 250;
1 1 3 1 1e-8 250 2e-8 250 1e-9 1e-9 1e-6 250 1e-6 250;
1 1 1 1 1.5 600 3 600 1e-9 1e-9 10 100 10 250;
2 1 1 1 1e-8 800 2e-8 800 1e-9 1e-9 1e-6 800 1e-6 800;
];