0001 function storage = ex_storage(mpc)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 ecap = 200;
0014 pcap = ecap * .4;
0015 scost = 45.166667;
0016
0017 scost2 = 41.6666667;
0018 scost3 = 53.3333333;
0019
0020
0021 storage.gen = [
0022
0023
0024 3 0 0 0 0 1 100 1 pcap -pcap 0 0 0 0 0 0 0 20 20 0 0;
0025 ];
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036 storage.xgd_table.colnames = {
0037 'CommitKey', ...
0038 'CommitSched', ...
0039 'PositiveActiveReservePrice', ...
0040 'PositiveActiveReserveQuantity', ...
0041 'NegativeActiveReservePrice', ...
0042 'NegativeActiveReserveQuantity', ...
0043 'PositiveActiveDeltaPrice', ...
0044 'NegativeActiveDeltaPrice', ...
0045 'PositiveLoadFollowReservePrice', ...
0046 'PositiveLoadFollowReserveQuantity', ...
0047 'NegativeLoadFollowReservePrice', ...
0048 'NegativeLoadFollowReserveQuantity', ...
0049 };
0050
0051 storage.xgd_table.data = [
0052 2 1 1e-8 2*pcap 2e-8 2*pcap 1e-9 1e-9 1e-6 2*pcap 1e-6 2*pcap;
0053
0054
0055 ];
0056
0057
0058 storage.sd_table.OutEff = 1;
0059 storage.sd_table.InEff = 1;
0060 storage.sd_table.LossFactor = 0;
0061 storage.sd_table.rho = 0;
0062 storage.sd_table.colnames = {
0063 'InitialStorage', ...
0064 'InitialStorageLowerBound', ...
0065 'InitialStorageUpperBound', ...
0066 'InitialStorageCost', ...
0067 'TerminalStoragePrice', ...
0068 'MinStorageLevel', ...
0069 'MaxStorageLevel', ...
0070 'OutEff', ...
0071 'InEff', ...
0072 'LossFactor', ...
0073 'rho', ...
0074 };
0075
0076 storage.sd_table.data = [
0077 0 0 ecap scost scost 0 ecap 1 1 1e-5 0;
0078
0079
0080 ];