Skip to content

Commit f969675

Browse files
committed
RPS on generation for 100% RPS runs.
1 parent c53df07 commit f969675

26 files changed

+578
-0
lines changed

examples/rps_on_gen/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SYNOPSIS
2+
switch solve --verbose
3+
4+
This example illustrates the use of Switch to construct and run a
5+
model with three load zones and two investment periods where the first
6+
investment period has more temporal resolution than the second. A
7+
simple Renewable Portfolio Standard (RPS) policy is enforced with the
8+
use of the generators.no_commit module.
9+
10+
This example is built on the same system as the 3zone_toy example.
11+
It can be observed that more biomass (considered an RPS-elegible fuel
12+
in this example) capacity is built on the first period to provide
13+
enough renewable energy to meet the RPS goals.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
BALANCING_AREAS quickstart_res_load_frac quickstart_res_wind_frac quickstart_res_solar_frac spinning_res_load_frac spinning_res_wind_frac spinning_res_solar_frac
2+
NorthCentral 0.04 0.05 0.05 0.02 0.05 0.05
3+
South 0.04 0.06 0.06 0.02 0.07 0.07
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
param base_financial_year := 2015;
2+
param interest_rate := .07;
3+
param discount_rate := .05;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
load_zone fuel period fuel_cost
2+
North Uranium 2020 2.19
3+
Central Uranium 2020 2.19
4+
South Uranium 2020 2.19
5+
North Uranium 2030 2.2
6+
Central Uranium 2030 2.2
7+
South Uranium 2030 2.2
8+
North Coal 2020 1.9012
9+
Central Coal 2020 1.9012
10+
North Coal 2030 2.0467
11+
Central Coal 2030 2.0467
12+
North ResidualFuelOil 2020 18.5755
13+
Central ResidualFuelOil 2020 18.5755
14+
South ResidualFuelOil 2020 18.5755
15+
North ResidualFuelOil 2030 20.3021
16+
Central ResidualFuelOil 2030 20.3021
17+
South ResidualFuelOil 2030 20.3021
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
regional_fuel_market period tier unit_cost max_avail_at_cost
2+
All_DistOil 2020 0 21.9802 inf
3+
All_DistOil 2030 0 24.5216 100000
4+
All_NG 2020 0 4.4647 1950514555
5+
All_NG 2020 1 5.0709 inf
6+
All_NG 2030 0 5.925 2368354558
7+
All_NG 2030 1 5.925 inf
8+
North_Bio 2020 0 1.7102 6864985
9+
North_Bio 2020 1 3.3941 6782413
10+
North_Bio 2030 0 2.0438 6064415
11+
North_Bio 2030 1 3.2218 7680076
12+
South_Bio 2020 0 1.7115 26427258
13+
South_Bio 2020 1 17.1714 486066
14+
South_Bio 2030 0 1.7115 26427258
15+
South_Bio 2030 1 17.1714 26427258
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
fuel co2_intensity upstream_co2_intensity f_rps_eligible
2+
Coal 0.09552 0 0
3+
ResidualFuelOil 0.0788 0 0
4+
DistillateFuelOil 0.07315 0 0
5+
NaturalGas 0.05306 0 0
6+
Uranium 0 . 0
7+
BioSolid 0.09435 -0.09435 1
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
GENERATION_PROJECT build_year gen_overnight_cost gen_fixed_om
2+
N-Coal_ST 1995 2687700.0 21390.0
3+
N-Geothermal 2000 5524200.0 0.0
4+
N-NG_CC 2008 1143900.0 5868.3
5+
N-NG_GT 2009 605430.0 4891.8
6+
C-Coal_ST 1985 2687700.0 21390.0
7+
C-NG_CC 2005 1143900.0 5868.3
8+
C-NG_GT 2005 605430.0 4891.8
9+
S-Geothermal 1998 5524200.0 0.0
10+
S-NG_CC 2000 1143900.0 5868.3
11+
S-NG_GT 1990 605430.0 4891.8
12+
S-NG_GT 2002 605430.0 4891.8
13+
N-Geothermal 2020 5524200.0 0.0
14+
N-Geothermal 2030 5524200.0 0.0
15+
N-Coal_IGCC 2020 3729300.0 28923.0
16+
N-Coal_IGCC 2030 3729300.0 28923.0
17+
N-Coal_IGCC_CCS 2030 6138000.0 41292.0
18+
N-NG_CC 2020 1143900.0 5868.3
19+
N-NG_CC 2030 1143900.0 5868.3
20+
N-NG_CC_CCS 2030 3487500.0 17112.0
21+
N-NG_GT 2020 605430.0 4891.8
22+
N-NG_GT 2030 605430.0 4891.8
23+
N-Nuclear 2030 5673000.0 118110.0
24+
N-Biomass_IGCC 2020 3561900.0 88350.0
25+
N-Biomass_IGCC 2030 3561900.0 88350.0
26+
N-Biomass_IGCC_CCS 2030 5970600.0 100719.0
27+
N-Residential_PV 2020 3487500.0 41850.0
28+
N-Residential_PV 2030 3059700.0 38130.0
29+
N-Commercial_PV 2020 3106200.0 41850.0
30+
N-Commercial_PV 2030 2752800.0 38130.0
31+
N-Central_PV-1 2020 2334300.0 41850.0
32+
N-Central_PV-2 2020 2334300.0 41850.0
33+
N-Central_PV-1 2030 2148300.0 38130.0
34+
N-Central_PV-2 2030 2148300.0 38130.0
35+
N-Wind-1 2020 1841400.0 55800.0
36+
N-Wind-2 2020 1841400.0 55800.0
37+
N-Wind-1 2030 1841400.0 55800.0
38+
N-Wind-2 2030 1841400.0 55800.0
39+
C-Coal_IGCC 2020 2983440.0 23138.4
40+
C-Coal_IGCC 2030 2983440.0 23138.4
41+
C-NG_CC 2020 915120.0 4694.64
42+
C-NG_CC 2030 915120.0 4694.64
43+
C-NG_GT 2020 484344.0 3913.44
44+
C-NG_GT 2030 484344.0 3913.44
45+
C-Nuclear 2030 4538400.0 94488.0
46+
C-Biomass_IGCC 2020 2849520.0 70680.0
47+
C-Biomass_IGCC 2030 2849520.0 70680.0
48+
C-Residential_PV 2020 2790000.0 33480.0
49+
C-Residential_PV 2030 2447760.0 30504.0
50+
C-Commercial_PV 2020 2484960.0 33480.0
51+
C-Commercial_PV 2030 2202240.0 30504.0
52+
C-Central_PV-1 2020 1867440.0 33480.0
53+
C-Central_PV-2 2020 1867440.0 33480.0
54+
C-Central_PV-1 2030 1718640.0 30504.0
55+
C-Central_PV-2 2030 1718640.0 30504.0
56+
C-Wind-1 2020 1473120.0 44640.0
57+
C-Wind-2 2020 1473120.0 44640.0
58+
C-Wind-1 2030 1473120.0 44640.0
59+
C-Wind-2 2030 1473120.0 44640.0
60+
S-Geothermal 2020 6629040.0 0.0
61+
S-Geothermal 2030 6629040.0 0.0
62+
S-NG_CC 2020 1372680.0 7041.96
63+
S-NG_CC 2030 1372680.0 7041.96
64+
S-NG_CC_CCS 2030 4185000.0 20534.4
65+
S-NG_GT 2020 726516.0 5870.16
66+
S-NG_GT 2030 726516.0 5870.16
67+
S-Biomass_IGCC 2020 4274280.0 106020.0
68+
S-Biomass_IGCC 2030 4274280.0 106020.0
69+
S-Biomass_IGCC_CCS 2030 7164720.0 120862.8
70+
S-Residential_PV 2020 4185000.0 50220.0
71+
S-Residential_PV 2030 3671640.0 45756.0
72+
S-Commercial_PV 2020 3727440.0 50220.0
73+
S-Commercial_PV 2030 3303360.0 45756.0
74+
S-Central_PV-1 2020 2801160.0 50220.0
75+
S-Central_PV-2 2020 2801160.0 50220.0
76+
S-Central_PV-1 2030 2577960.0 45756.0
77+
S-Central_PV-2 2030 2577960.0 45756.0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
GENERATION_PROJECT build_year gen_predetermined_cap
2+
N-Coal_ST 1995 2
3+
N-Geothermal 2000 1
4+
N-NG_CC 2008 2
5+
N-NG_GT 2009 2
6+
C-Coal_ST 1985 2
7+
C-NG_CC 2005 2
8+
C-NG_GT 2005 2
9+
S-Geothermal 1998 3
10+
S-NG_CC 2000 5
11+
S-NG_GT 1990 3
12+
S-NG_GT 2002 2
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
GENERATION_PROJECT gen_tech gen_load_zone gen_connect_cost_per_mw gen_capacity_limit_mw gen_full_load_heat_rate gen_variable_om gen_max_age gen_min_build_capacity gen_scheduled_outage_rate gen_forced_outage_rate gen_is_variable gen_is_baseload gen_is_cogen gen_energy_source gen_unit_size gen_ccs_capture_efficiency gen_ccs_energy_load gen_storage_efficiency gen_store_to_release_ratio
2+
N-Geothermal Geothermal North 163081.1 1.5 . 28.83 30 0 0.0075 0.0241 0 1 0 Geothermal . . . . .
3+
N-Coal_IGCC Coal_IGCC North 57566.6 . 7.95 6.0822 40 0 0.08 0.12 0 1 0 Coal 10.0 . . . .
4+
N-Coal_IGCC_CCS Coal_IGCC_CCS North 57566.6 . 10.38 9.858 40 0 0.08 0.12 0 1 0 Coal . 0.85 0.234104046 . .
5+
N-Coal_ST Coal_ST North 57566.6 . 9.0 3.4 40 0 0.06 0.1 0 1 0 Coal . . . . .
6+
N-NG_CC NG_CC North 57566.6 . 6.705 3.4131 20 0 0.04 0.06 0 0 0 NaturalGas . . . . .
7+
N-NG_CC_CCS NG_CC_CCS North 57566.6 . 10.08 9.3 20 0 0.04 0.06 0 0 0 NaturalGas . 0.85 0.334821429 . .
8+
N-NG_GT NG_GT North 57566.6 . 10.39 27.807 20 0 0.04 0.06 0 0 0 NaturalGas . . . . .
9+
N-Nuclear Nuclear North 57566.6 . 9.72 0.0 40 1000 0.04 0.06 0 1 0 Uranium . . . . .
10+
N-Biomass_IGCC Biomass_IGCC North 57566.6 . 12.5 13.95 40 0 0.09 0.076 0 1 0 BioSolid . . . . .
11+
N-Biomass_IGCC_CCS Biomass_IGCC_CCS North 57566.6 . 16.3208 20.1307 40 0 0.09 0.076 0 1 0 BioSolid . 0.85 0.234115557 . .
12+
N-Residential_PV Residential_PV North 0.0 1.5 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
13+
N-Commercial_PV Commercial_PV North 0.0 2.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
14+
N-Central_PV-1 Central_PV North 51272.0 3.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
15+
N-Central_PV-2 Central_PV North 101661.0 2.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
16+
N-Wind-1 Wind North 71602.0 4.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . .
17+
N-Wind-2 Wind North 80259.0 1.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . .
18+
C-Coal_IGCC Coal_IGCC Central 57566.6 . 7.95 4.86576 40 0 0.08 0.12 0 1 0 Coal 10.0 . . . .
19+
C-Coal_ST Coal_ST Central 57566.6 . 9.5 3.6 40 0 0.06 0.1 0 1 0 Coal . . . . .
20+
C-NG_CC NG_CC Central 57566.6 . 6.705 2.73048 20 0 0.04 0.06 0 0 0 NaturalGas . . . . .
21+
C-NG_GT NG_GT Central 57566.6 . 10.39 22.2456 20 0 0.04 0.06 0 0 0 NaturalGas . . . . .
22+
C-Nuclear Nuclear Central 57566.6 . 9.72 0.0 40 1000 0.04 0.06 0 1 0 Uranium . . . . .
23+
C-Biomass_IGCC Biomass_IGCC Central 57566.6 . 12.5 11.16 40 0 0.09 0.076 0 1 0 BioSolid . . . . .
24+
C-Residential_PV Residential_PV Central 0.0 0.5 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
25+
C-Commercial_PV Commercial_PV Central 0.0 0.7 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
26+
C-Central_PV-1 Central_PV Central 122526.8 2.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
27+
C-Central_PV-2 Central_PV Central 45197.2 3.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
28+
C-Wind-1 Wind Central 72541.5 4.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . .
29+
C-Wind-2 Wind Central 77892.2 3.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . .
30+
S-Geothermal Geothermal South 134222.0 3.0 . 34.596 30 0 0.0075 0.0241 0 1 0 Geothermal . . . . .
31+
S-NG_CC NG_CC South 57566.6 . 6.705 4.09572 20 0 0.04 0.06 0 0 0 NaturalGas . . . . .
32+
S-NG_CC_CCS NG_CC_CCS South 57566.6 . 10.08 11.16 20 0 0.04 0.06 0 0 0 NaturalGas . 0.85 0.334821429 . .
33+
S-NG_GT NG_GT South 57566.6 5.0 10.39 33.3684 20 0 0.04 0.06 0 0 0 NaturalGas . . . . .
34+
S-Biomass_IGCC Biomass_IGCC South 57566.6 . 12.5 16.74 40 0 0.09 0.076 0 1 0 BioSolid . . . . .
35+
S-Biomass_IGCC_CCS Biomass_IGCC_CCS South 57566.6 . 16.3208 24.15684 40 0 0.09 0.076 0 1 0 BioSolid . 0.85 0.234115557 . .
36+
S-Residential_PV Residential_PV South 0.0 3.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
37+
S-Commercial_PV Commercial_PV South 0.0 3.3 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
38+
S-Central_PV-1 Central_PV South 74881.9 0.8 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
39+
S-Central_PV-2 Central_PV South 65370.3 0.4 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
LOAD_ZONE dbid existing_local_td local_td_annual_cost_per_mw
2+
North 1 5.5 66406.5
3+
Central 2 3.5 61663.4
4+
South 3 9.5 128040.0

0 commit comments

Comments
 (0)