Skip to content

Commit 9a99c99

Browse files
authored
Merge pull request #175 from abce-dev/postprocessing
Save constraint and objective data from agent decision optimization
2 parents 559b16c + e537892 commit 9a99c99

14 files changed

Lines changed: 800 additions & 209 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
**/outputs/
55
**/scenario_reduction_tmp/
66
**/tmp/
7+
**/utils/
78
.github/workflows/inactive
89
inputs/backup_calcs
910
test/norun
@@ -28,3 +29,6 @@ precompile.jl
2829
*cplex*
2930
**/*repDays*.csv
3031
*logfile*
32+
core
33+
**/inputs/*test*
34+
**/inputs/*_p.*

inputs/1a_S1aFS.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This input file serves as a base for the Simplified 1-agent Full Spectrum test
2+
#
3+
# System composition:
4+
# - 1 agent, which owns an equal number of all possible generation asset types
5+
# - with 8 assets per type (excl. C2N), 15600 MW unforced capacity (12400 net of wind and solar)
6+
#
7+
# This file is intended to be used with the following other assumptions/files:
8+
# - ts_US_data timeseries files (all quantities constant, no AS)
9+
# - 10k starting peak demand
10+
11+
12+
# Standard Light & Power
13+
201:
14+
debt_fraction: 0.5
15+
cost_of_debt: 0.06
16+
cost_of_equity: 0.1
17+
starting_debt: 3000000000 # $3 B
18+
starting_PPE: 250000000 # $250 M
19+
starting_RE: 200000000 # $200 M
20+
k: 0.95
21+
starting_portfolio:
22+
coal: 8
23+
conventional_nuclear: 8
24+
ngcc: 8
25+
ngct: 8
26+
PUN_unit_high: 8
27+
PUN_unit_low: 8
28+
solar: 8
29+
solar_old: 8
30+
wind: 8
31+
wind_old: 8
32+
advanced_nuclear: 8
33+

inputs/2a1b/2a1b.yml

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# This input file serves as a base for two-agent test scenarios.
2+
# The two agents have identical portfolios and parameters.
3+
# The system portfolio has been adjusted slightly from that of the standard
4+
# ABCE "2019 ERCOT" facsimile to be evenly divisible by two.
5+
6+
7+
# Standard Light & Power
8+
201:
9+
debt_fraction: 0.5
10+
cost_of_debt: 0.06
11+
cost_of_equity: 0.1
12+
starting_debt: 3000000000 # $3 B
13+
starting_PPE: 250000000 # $250 M
14+
starting_RE: 200000000 # $200 M
15+
starting_portfolio:
16+
coal: 8
17+
conventional_nuclear: 4
18+
ngcc: 57
19+
ngct: 44
20+
PUN_unit_high: 22
21+
PUN_unit_low: 10
22+
solar: 10
23+
solar_old: 12
24+
wind: 19
25+
wind_old: 52
26+
scheduled_retirements:
27+
# Format:
28+
# unit_type:
29+
# retirement_pd: num_units
30+
coal:
31+
4: 1
32+
5: 1
33+
8: 3
34+
9: 1
35+
15: 2
36+
conventional_nuclear:
37+
22: 2
38+
27: 2
39+
ngcc:
40+
3: 2
41+
5: 7
42+
8: 4
43+
10: 13
44+
13: 4
45+
17: 8
46+
19: 6
47+
22: 13
48+
ngct:
49+
2: 2
50+
5: 5
51+
7: 6
52+
11: 13
53+
14: 2
54+
19: 10
55+
24: 6
56+
PUN_unit_high:
57+
50: 22
58+
PUN_unit_low:
59+
50: 10
60+
solar:
61+
15: 3
62+
20: 5
63+
27: 2
64+
solar_old:
65+
2: 2
66+
5: 4
67+
8: 4
68+
10: 2
69+
wind:
70+
12: 6
71+
15: 3
72+
24: 10
73+
wind_old:
74+
4: 6
75+
6: 7
76+
8: 9
77+
10: 3
78+
14: 8
79+
16: 13
80+
18: 6
81+
82+
83+
84+
# Springfield Electric
85+
202:
86+
debt_fraction: 0.5
87+
cost_of_debt: 0.06
88+
cost_of_equity: 0.1
89+
starting_debt: 3000000000 # $3 B
90+
starting_PPE: 250000000 # $250 M
91+
starting_RE: 200000000 # $200 M
92+
starting_portfolio:
93+
coal: 8
94+
conventional_nuclear: 4
95+
ngcc: 57
96+
ngct: 44
97+
PUN_unit_high: 22
98+
PUN_unit_low: 10
99+
solar: 10
100+
solar_old: 12
101+
wind: 19
102+
wind_old: 52
103+
scheduled_retirements:
104+
# Format:
105+
# unit_type:
106+
# retirement_pd: num_units
107+
coal:
108+
4: 1
109+
5: 1
110+
8: 3
111+
9: 1
112+
15: 2
113+
conventional_nuclear:
114+
22: 2
115+
27: 2
116+
ngcc:
117+
3: 2
118+
5: 7
119+
8: 4
120+
10: 13
121+
13: 4
122+
17: 8
123+
19: 6
124+
22: 13
125+
ngct:
126+
2: 2
127+
5: 5
128+
7: 6
129+
11: 13
130+
14: 2
131+
19: 10
132+
24: 6
133+
PUN_unit_high:
134+
50: 22
135+
PUN_unit_low:
136+
50: 10
137+
solar:
138+
15: 3
139+
20: 5
140+
27: 2
141+
solar_old:
142+
2: 2
143+
5: 4
144+
8: 4
145+
10: 2
146+
wind:
147+
12: 6
148+
15: 3
149+
24: 10
150+
wind_old:
151+
4: 6
152+
6: 7
153+
8: 9
154+
10: 3
155+
14: 8
156+
16: 13
157+
18: 6
158+
159+
# Balance of System
160+
208:
161+
starting_portfolio:
162+
coal: 16
163+
ngcc: 114
164+
ngct: 88
165+
conventional_nuclear: 8
166+
wind: 38
167+
wind_old: 104
168+
solar: 20
169+
solar_old: 24
170+
PUN_unit_high: 44
171+
PUN_unit_low: 20
172+
inactive: True
173+
balance_of_system: True
174+
expansion_strategy: proportional_expansion
175+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
demand
2+
1
3+
1.012
4+
1.024
5+
1.036
6+
1.049
7+
1.061
8+
1.074
9+
1.087
10+
1.1
11+
1.113
12+
1.127
13+
1.133
14+
1.14
15+
1.147
16+
1.153
17+
1.161
18+
1.168
19+
1.175
20+
1.181
21+
1.189
22+
1.195
23+
1.203
24+
1.21
25+
1.218
26+
1.225
27+
1.232
28+
1.239
29+
1.247
30+
1.254
31+
1.262
32+
1.269
33+
1.277677419
34+
1.286354839
35+
1.295032258
36+
1.303709677
37+
1.312387097
38+
1.321064516
39+
1.329741935
40+
1.338419355
41+
1.347096774
42+
1.355774194
43+
1.364451613
44+
1.373129032
45+
1.381806452
46+
1.390483871
47+
1.39916129
48+
1.40783871
49+
1.416516129
50+
1.425193548
51+
1.433870968
52+
1.442548387
53+
1.451225806
54+
1.459903226
55+
1.468580645
56+
1.477258065
57+
1.485935484
58+
1.494612903
59+
1.503290323
60+
1.511967742
61+
1.520645161
62+
1.529322581
63+
1.538
64+
1.546677419
65+
1.555354839
66+
1.564032258
67+
1.572709677
68+
1.581387097
69+
1.590064516
70+
1.598741935
71+
1.607419355

0 commit comments

Comments
 (0)