forked from switch-model/switch
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RPS on generation for 100% RPS runs.
- Loading branch information
1 parent
c53df07
commit f969675
Showing
26 changed files
with
578 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SYNOPSIS | ||
switch solve --verbose | ||
|
||
This example illustrates the use of Switch to construct and run a | ||
model with three load zones and two investment periods where the first | ||
investment period has more temporal resolution than the second. A | ||
simple Renewable Portfolio Standard (RPS) policy is enforced with the | ||
use of the generators.no_commit module. | ||
|
||
This example is built on the same system as the 3zone_toy example. | ||
It can be observed that more biomass (considered an RPS-elegible fuel | ||
in this example) capacity is built on the first period to provide | ||
enough renewable energy to meet the RPS goals. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
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 | ||
NorthCentral 0.04 0.05 0.05 0.02 0.05 0.05 | ||
South 0.04 0.06 0.06 0.02 0.07 0.07 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
param base_financial_year := 2015; | ||
param interest_rate := .07; | ||
param discount_rate := .05; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
load_zone fuel period fuel_cost | ||
North Uranium 2020 2.19 | ||
Central Uranium 2020 2.19 | ||
South Uranium 2020 2.19 | ||
North Uranium 2030 2.2 | ||
Central Uranium 2030 2.2 | ||
South Uranium 2030 2.2 | ||
North Coal 2020 1.9012 | ||
Central Coal 2020 1.9012 | ||
North Coal 2030 2.0467 | ||
Central Coal 2030 2.0467 | ||
North ResidualFuelOil 2020 18.5755 | ||
Central ResidualFuelOil 2020 18.5755 | ||
South ResidualFuelOil 2020 18.5755 | ||
North ResidualFuelOil 2030 20.3021 | ||
Central ResidualFuelOil 2030 20.3021 | ||
South ResidualFuelOil 2030 20.3021 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
regional_fuel_market period tier unit_cost max_avail_at_cost | ||
All_DistOil 2020 0 21.9802 inf | ||
All_DistOil 2030 0 24.5216 100000 | ||
All_NG 2020 0 4.4647 1950514555 | ||
All_NG 2020 1 5.0709 inf | ||
All_NG 2030 0 5.925 2368354558 | ||
All_NG 2030 1 5.925 inf | ||
North_Bio 2020 0 1.7102 6864985 | ||
North_Bio 2020 1 3.3941 6782413 | ||
North_Bio 2030 0 2.0438 6064415 | ||
North_Bio 2030 1 3.2218 7680076 | ||
South_Bio 2020 0 1.7115 26427258 | ||
South_Bio 2020 1 17.1714 486066 | ||
South_Bio 2030 0 1.7115 26427258 | ||
South_Bio 2030 1 17.1714 26427258 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fuel co2_intensity upstream_co2_intensity f_rps_eligible | ||
Coal 0.09552 0 0 | ||
ResidualFuelOil 0.0788 0 0 | ||
DistillateFuelOil 0.07315 0 0 | ||
NaturalGas 0.05306 0 0 | ||
Uranium 0 . 0 | ||
BioSolid 0.09435 -0.09435 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
GENERATION_PROJECT build_year gen_overnight_cost gen_fixed_om | ||
N-Coal_ST 1995 2687700.0 21390.0 | ||
N-Geothermal 2000 5524200.0 0.0 | ||
N-NG_CC 2008 1143900.0 5868.3 | ||
N-NG_GT 2009 605430.0 4891.8 | ||
C-Coal_ST 1985 2687700.0 21390.0 | ||
C-NG_CC 2005 1143900.0 5868.3 | ||
C-NG_GT 2005 605430.0 4891.8 | ||
S-Geothermal 1998 5524200.0 0.0 | ||
S-NG_CC 2000 1143900.0 5868.3 | ||
S-NG_GT 1990 605430.0 4891.8 | ||
S-NG_GT 2002 605430.0 4891.8 | ||
N-Geothermal 2020 5524200.0 0.0 | ||
N-Geothermal 2030 5524200.0 0.0 | ||
N-Coal_IGCC 2020 3729300.0 28923.0 | ||
N-Coal_IGCC 2030 3729300.0 28923.0 | ||
N-Coal_IGCC_CCS 2030 6138000.0 41292.0 | ||
N-NG_CC 2020 1143900.0 5868.3 | ||
N-NG_CC 2030 1143900.0 5868.3 | ||
N-NG_CC_CCS 2030 3487500.0 17112.0 | ||
N-NG_GT 2020 605430.0 4891.8 | ||
N-NG_GT 2030 605430.0 4891.8 | ||
N-Nuclear 2030 5673000.0 118110.0 | ||
N-Biomass_IGCC 2020 3561900.0 88350.0 | ||
N-Biomass_IGCC 2030 3561900.0 88350.0 | ||
N-Biomass_IGCC_CCS 2030 5970600.0 100719.0 | ||
N-Residential_PV 2020 3487500.0 41850.0 | ||
N-Residential_PV 2030 3059700.0 38130.0 | ||
N-Commercial_PV 2020 3106200.0 41850.0 | ||
N-Commercial_PV 2030 2752800.0 38130.0 | ||
N-Central_PV-1 2020 2334300.0 41850.0 | ||
N-Central_PV-2 2020 2334300.0 41850.0 | ||
N-Central_PV-1 2030 2148300.0 38130.0 | ||
N-Central_PV-2 2030 2148300.0 38130.0 | ||
N-Wind-1 2020 1841400.0 55800.0 | ||
N-Wind-2 2020 1841400.0 55800.0 | ||
N-Wind-1 2030 1841400.0 55800.0 | ||
N-Wind-2 2030 1841400.0 55800.0 | ||
C-Coal_IGCC 2020 2983440.0 23138.4 | ||
C-Coal_IGCC 2030 2983440.0 23138.4 | ||
C-NG_CC 2020 915120.0 4694.64 | ||
C-NG_CC 2030 915120.0 4694.64 | ||
C-NG_GT 2020 484344.0 3913.44 | ||
C-NG_GT 2030 484344.0 3913.44 | ||
C-Nuclear 2030 4538400.0 94488.0 | ||
C-Biomass_IGCC 2020 2849520.0 70680.0 | ||
C-Biomass_IGCC 2030 2849520.0 70680.0 | ||
C-Residential_PV 2020 2790000.0 33480.0 | ||
C-Residential_PV 2030 2447760.0 30504.0 | ||
C-Commercial_PV 2020 2484960.0 33480.0 | ||
C-Commercial_PV 2030 2202240.0 30504.0 | ||
C-Central_PV-1 2020 1867440.0 33480.0 | ||
C-Central_PV-2 2020 1867440.0 33480.0 | ||
C-Central_PV-1 2030 1718640.0 30504.0 | ||
C-Central_PV-2 2030 1718640.0 30504.0 | ||
C-Wind-1 2020 1473120.0 44640.0 | ||
C-Wind-2 2020 1473120.0 44640.0 | ||
C-Wind-1 2030 1473120.0 44640.0 | ||
C-Wind-2 2030 1473120.0 44640.0 | ||
S-Geothermal 2020 6629040.0 0.0 | ||
S-Geothermal 2030 6629040.0 0.0 | ||
S-NG_CC 2020 1372680.0 7041.96 | ||
S-NG_CC 2030 1372680.0 7041.96 | ||
S-NG_CC_CCS 2030 4185000.0 20534.4 | ||
S-NG_GT 2020 726516.0 5870.16 | ||
S-NG_GT 2030 726516.0 5870.16 | ||
S-Biomass_IGCC 2020 4274280.0 106020.0 | ||
S-Biomass_IGCC 2030 4274280.0 106020.0 | ||
S-Biomass_IGCC_CCS 2030 7164720.0 120862.8 | ||
S-Residential_PV 2020 4185000.0 50220.0 | ||
S-Residential_PV 2030 3671640.0 45756.0 | ||
S-Commercial_PV 2020 3727440.0 50220.0 | ||
S-Commercial_PV 2030 3303360.0 45756.0 | ||
S-Central_PV-1 2020 2801160.0 50220.0 | ||
S-Central_PV-2 2020 2801160.0 50220.0 | ||
S-Central_PV-1 2030 2577960.0 45756.0 | ||
S-Central_PV-2 2030 2577960.0 45756.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
GENERATION_PROJECT build_year gen_predetermined_cap | ||
N-Coal_ST 1995 2 | ||
N-Geothermal 2000 1 | ||
N-NG_CC 2008 2 | ||
N-NG_GT 2009 2 | ||
C-Coal_ST 1985 2 | ||
C-NG_CC 2005 2 | ||
C-NG_GT 2005 2 | ||
S-Geothermal 1998 3 | ||
S-NG_CC 2000 5 | ||
S-NG_GT 1990 3 | ||
S-NG_GT 2002 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
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 | ||
N-Geothermal Geothermal North 163081.1 1.5 . 28.83 30 0 0.0075 0.0241 0 1 0 Geothermal . . . . . | ||
N-Coal_IGCC Coal_IGCC North 57566.6 . 7.95 6.0822 40 0 0.08 0.12 0 1 0 Coal 10.0 . . . . | ||
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 . . | ||
N-Coal_ST Coal_ST North 57566.6 . 9.0 3.4 40 0 0.06 0.1 0 1 0 Coal . . . . . | ||
N-NG_CC NG_CC North 57566.6 . 6.705 3.4131 20 0 0.04 0.06 0 0 0 NaturalGas . . . . . | ||
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 . . | ||
N-NG_GT NG_GT North 57566.6 . 10.39 27.807 20 0 0.04 0.06 0 0 0 NaturalGas . . . . . | ||
N-Nuclear Nuclear North 57566.6 . 9.72 0.0 40 1000 0.04 0.06 0 1 0 Uranium . . . . . | ||
N-Biomass_IGCC Biomass_IGCC North 57566.6 . 12.5 13.95 40 0 0.09 0.076 0 1 0 BioSolid . . . . . | ||
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 . . | ||
N-Residential_PV Residential_PV North 0.0 1.5 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
N-Commercial_PV Commercial_PV North 0.0 2.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
N-Central_PV-1 Central_PV North 51272.0 3.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
N-Central_PV-2 Central_PV North 101661.0 2.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
N-Wind-1 Wind North 71602.0 4.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . . | ||
N-Wind-2 Wind North 80259.0 1.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . . | ||
C-Coal_IGCC Coal_IGCC Central 57566.6 . 7.95 4.86576 40 0 0.08 0.12 0 1 0 Coal 10.0 . . . . | ||
C-Coal_ST Coal_ST Central 57566.6 . 9.5 3.6 40 0 0.06 0.1 0 1 0 Coal . . . . . | ||
C-NG_CC NG_CC Central 57566.6 . 6.705 2.73048 20 0 0.04 0.06 0 0 0 NaturalGas . . . . . | ||
C-NG_GT NG_GT Central 57566.6 . 10.39 22.2456 20 0 0.04 0.06 0 0 0 NaturalGas . . . . . | ||
C-Nuclear Nuclear Central 57566.6 . 9.72 0.0 40 1000 0.04 0.06 0 1 0 Uranium . . . . . | ||
C-Biomass_IGCC Biomass_IGCC Central 57566.6 . 12.5 11.16 40 0 0.09 0.076 0 1 0 BioSolid . . . . . | ||
C-Residential_PV Residential_PV Central 0.0 0.5 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
C-Commercial_PV Commercial_PV Central 0.0 0.7 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
C-Central_PV-1 Central_PV Central 122526.8 2.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
C-Central_PV-2 Central_PV Central 45197.2 3.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
C-Wind-1 Wind Central 72541.5 4.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . . | ||
C-Wind-2 Wind Central 77892.2 3.0 . 0.0 30 0 0.05 0.006 1 0 0 Wind . . . . . | ||
S-Geothermal Geothermal South 134222.0 3.0 . 34.596 30 0 0.0075 0.0241 0 1 0 Geothermal . . . . . | ||
S-NG_CC NG_CC South 57566.6 . 6.705 4.09572 20 0 0.04 0.06 0 0 0 NaturalGas . . . . . | ||
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 . . | ||
S-NG_GT NG_GT South 57566.6 5.0 10.39 33.3684 20 0 0.04 0.06 0 0 0 NaturalGas . . . . . | ||
S-Biomass_IGCC Biomass_IGCC South 57566.6 . 12.5 16.74 40 0 0.09 0.076 0 1 0 BioSolid . . . . . | ||
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 . . | ||
S-Residential_PV Residential_PV South 0.0 3.0 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
S-Commercial_PV Commercial_PV South 0.0 3.3 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
S-Central_PV-1 Central_PV South 74881.9 0.8 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . | ||
S-Central_PV-2 Central_PV South 65370.3 0.4 . 0.0 20 0 0.0 0.02 1 0 0 Solar . . . . . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LOAD_ZONE dbid existing_local_td local_td_annual_cost_per_mw | ||
North 1 5.5 66406.5 | ||
Central 2 3.5 61663.4 | ||
South 3 9.5 128040.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
LOAD_ZONE TIMEPOINT zone_demand_mw | ||
North 1 5 | ||
North 2 4 | ||
North 3 4.5 | ||
North 4 4.2 | ||
North 5 4 | ||
North 6 6 | ||
North 7 6 | ||
Central 1 3.7 | ||
Central 2 3 | ||
Central 3 3.6 | ||
Central 4 3.3 | ||
Central 5 3 | ||
Central 6 4 | ||
Central 7 4.6 | ||
South 1 6 | ||
South 2 7 | ||
South 3 6.5 | ||
South 4 7.2 | ||
South 5 8 | ||
South 6 10 | ||
South 7 10.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Core Modules | ||
switch_model | ||
switch_model.timescales | ||
switch_model.financials | ||
switch_model.balancing.load_zones | ||
switch_model.energy_sources.properties | ||
switch_model.generators.core.build | ||
switch_model.generators.core.dispatch | ||
switch_model.reporting | ||
# Custom Modules | ||
switch_model.transmission.local_td | ||
switch_model.generators.core.no_commit | ||
switch_model.energy_sources.fuel_costs.markets | ||
switch_model.transmission.transport.build | ||
switch_model.transmission.transport.dispatch | ||
switch_model.policies.rps_on_gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
energy_source | ||
Wind | ||
Solar | ||
Geothermal | ||
Water | ||
Electricity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
INVESTMENT_PERIOD period_start period_end | ||
2020 2017 2026 | ||
2030 2027 2036 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
regional_fuel_market fuel | ||
All_DistOil DistillateFuelOil | ||
All_NG NaturalGas | ||
North_Bio BioSolid | ||
South_Bio BioSolid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
load_zone period rps_target | ||
North 2020 0.35 | ||
North 2030 0.9 | ||
Central 2020 0.35 | ||
Central 2030 0.3 | ||
South 2020 0.35 | ||
South 2030 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.0.0b2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
timepoint_id timestamp timeseries | ||
1 2025011500 2020_01winter | ||
2 2025011512 2020_01winter | ||
3 2025011600 2020_01winter | ||
4 2025011612 2020_01winter | ||
5 2025061500 2020_06summer | ||
6 2025061512 2020_06summer | ||
7 2035011512 2030_all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
TIMESERIES ts_period ts_duration_of_tp ts_num_tps ts_scale_to_period | ||
2020_01winter 2020 12 4 913.12 | ||
2020_06summer 2020 12 2 1826.25 | ||
2030_all 2030 24 1 3652.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TRANSMISSION_LINE trans_lz1 trans_lz2 trans_length_km trans_efficiency existing_trans_cap | ||
N-C North Central 100 0.96 3 | ||
C-S Central South 200 0.94 6 |
Oops, something went wrong.