Skip to content

Commit

Permalink
Add missing files from export penalty implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
anamileva committed Oct 15, 2021
1 parent 1f36b6a commit 01ca255
Show file tree
Hide file tree
Showing 29 changed files with 330 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
load_zone,allow_overgeneration,overgeneration_penalty_per_mw,allow_unserved_energy,unserved_energy_penalty_per_mwh,max_unserved_load_penalty_per_mw,export_penalty_cost_per_mwh
Zone1,1,99999999,1,99999999,0,200
Zone2,1,99999999,1,99999999,0,200
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
features
lf_reserves_up
lf_reserves_down
regulation_up
regulation_down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
fuel period month fuel_price_per_mmbtu
Coal 2020 1 4.0
Coal 2020 2 4.0
Coal 2030 1 4.0
Coal 2030 2 4.0
Gas 2020 1 5.0
Gas 2020 2 5.0
Gas 2030 1 5.0
Gas 2030 2 5.0
Uranium 2020 1 2.0
Uranium 2020 2 2.0
Uranium 2030 1 2.0
Uranium 2030 2 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FUELS co2_intensity_tons_per_mmbtu
Coal 0.09552
Gas 0.05306
Uranium 0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
project period load_point_fraction average_heat_rate_mmbtu_per_mwh
Coal 0 0.4 1250.0
Coal 0 1.0 506.0
Coal_z2 0 0.4 1250.0
Coal_z2 0 1.0 506.0
Gas_CCGT 0 0.5 506.0
Gas_CCGT 0 1.0 256.0
Gas_CCGT_new 0 0.5 506.0
Gas_CCGT_new 0 1.0 256.0
Gas_CCGT_new_z2 0 0.5 506.0
Gas_CCGT_new_z2 0 1.0 256.0
Gas_CCGT_z2 0 0.5 506.0
Gas_CCGT_z2 0 1.0 256.0
Gas_CT 0 0.4 208.33333
Gas_CT 0 1.0 88.13333
Gas_CT_new 0 0.4 208.33333
Gas_CT_new 0 1.0 88.13333
Gas_CT_new_z2 0 0.4 208.33333
Gas_CT_new_z2 0 1.0 88.13333
Gas_CT_z2 0 0.4 208.33333
Gas_CT_z2 0 1.0 88.13333
Nuclear 0 1.0 1666.67
Nuclear_z2 0 1.0 1666.67
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
horizon balancing_type_horizon timepoint
202001 day 20200101
202001 day 20200102
203001 day 20300101
203001 day 20300102
20201 halfyear 20200101
20202 halfyear 20200102
20301 halfyear 20300101
20302 halfyear 20300102
2020 year 20200101
2020 year 20200102
2030 year 20300101
2030 year 20300102
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
horizon balancing_type_horizon boundary
202001 day circular
203001 day circular
20201 halfyear circular
20202 halfyear circular
20301 halfyear circular
20302 halfyear circular
2020 year circular
2030 year circular
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ba timepoint requirement
Zone1 20200101 1.0
Zone1 20200102 2.0
Zone1 20300101 1.0
Zone1 20300102 2.0
Zone2 20200101 1.0
Zone2 20200102 2.0
Zone2 20300101 1.0
Zone2 20300102 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ba timepoint requirement
Zone1 20200101 1.0
Zone1 20200102 2.0
Zone1 20300101 1.0
Zone1 20300102 2.0
Zone2 20200101 1.0
Zone2 20200102 2.0
Zone2 20300101 1.0
Zone2 20300102 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
balancing_area allow_violation violation_penalty_per_mw reserve_to_energy_adjustment
Zone1 1 999999999.0 .
Zone2 1 999999999.0 .
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
balancing_area allow_violation violation_penalty_per_mw reserve_to_energy_adjustment
Zone1 1 999999999.0 .
Zone2 1 999999999.0 .
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LOAD_ZONES timepoint load_mw
Zone1 20200101 50.0
Zone1 20200102 40.0
Zone1 20300101 40.0
Zone1 20300102 50.0
Zone2 20200101 50.0
Zone2 20200102 40.0
Zone2 20300101 40.0
Zone2 20300102 50.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
load_zone allow_overgeneration overgeneration_penalty_per_mw allow_unserved_energy unserved_energy_penalty_per_mwh max_unserved_load_penalty_per_mw export_penalty_cost_per_mwh
Zone1 1 99999999.0 1 99999999.0 0.0 200.0
Zone2 1 99999999.0 1 99999999.0 0.0 200.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
project vintage lifetime_yrs annualized_real_cost_per_mw_yr min_cumulative_new_build_mw max_cumulative_new_build_mw
Gas_CCGT_new 2020 30 200000.0 . .
Gas_CCGT_new 2030 30 180000.0 . .
Gas_CCGT_new_z2 2020 30 200000.0 . .
Gas_CCGT_new_z2 2030 30 180000.0 . .
Gas_CT_new 2030 30 140000.0 . .
Gas_CT_new_z2 2030 30 140000.0 . .
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
period discount_factor period_start_year period_end_year hours_in_period_timepoints
2020 1.0 2020.0 2030.0 8760.0
2030 1.0 2030.0 2040.0 8760.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
project capacity_type availability_type operational_type balancing_type_project technology load_zone fuel variable_om_cost_per_mwh min_stable_level_fraction unit_size_mw startup_cost_per_mw shutdown_cost_per_mw startup_fuel_mmbtu_per_mw startup_plus_ramp_up_rate shutdown_plus_ramp_down_rate ramp_up_when_on_rate ramp_down_when_on_rate ramp_up_violation_penalty ramp_down_violation_penalty min_up_time_hours min_up_time_violation_penalty min_down_time_hours min_down_time_violation_penalty charging_efficiency discharging_efficiency charging_capacity_multiplier discharging_capacity_multiplier minimum_duration_hours maximum_duration_hours aux_consumption_frac_capacity aux_consumption_frac_power last_commitment_stage curtailment_cost_per_pwh lf_reserves_up_ba lf_reserves_up_derate lf_reserves_down_ba lf_reserves_down_derate regulation_up_ba regulation_up_derate regulation_down_ba regulation_down_derate lf_reserves_up_ramp_rate lf_reserves_down_ramp_rate regulation_up_ramp_rate regulation_down_ramp_rate
Coal gen_spec exogenous gen_commit_cap day Coal Zone1 Coal 1.0 0.4 6.0 1.0 0.0 . . . . . . . . . . . . . . . . . . . 2 . . . . . Zone1 . Zone1 . . . . .
Coal_z2 gen_spec exogenous gen_commit_cap day Coal Zone2 Coal 1.0 0.4 6.0 1.0 0.0 . . . . . . . . . . . . . . . . . . . . . . . . . Zone2 . Zone2 . . . . .
Gas_CCGT gen_spec exogenous gen_commit_cap day Gas Zone1 Gas 2.0 0.4 6.0 1.0 2.0 . . . . . . . . . . . . . . . . . . . 1 . Zone1 . Zone1 . Zone1 . Zone1 . . . . .
Gas_CCGT_new gen_new_lin exogenous gen_commit_cap day Gas Zone1 Gas 2.0 0.4 6.0 1.0 2.0 . . . . . . . . . . . . . . . . . . . 1 . Zone1 . Zone1 . Zone1 . Zone1 . . . . .
Gas_CCGT_new_z2 gen_new_lin exogenous gen_commit_cap day Gas Zone2 Gas 2.0 0.4 6.0 1.0 2.0 . . . . . . . . . . . . . . . . . . . 1 . Zone2 . Zone2 . Zone2 . Zone2 . . . . .
Gas_CCGT_z2 gen_spec exogenous gen_commit_cap day Gas Zone2 Gas 2.0 0.4 6.0 1.0 2.0 . . . . . . . . . . . . . . . . . . . 1 . Zone2 . Zone2 . Zone2 . Zone2 . . . . .
Gas_CT gen_spec exogenous gen_commit_cap day Gas Zone1 Gas 2.0 0.4 6.0 0.0 1.0 . . . . . . . . . . . . . . . . . . . 3 . . . . . . . . . . . . .
Gas_CT_new gen_new_lin exogenous gen_commit_cap day Gas Zone1 Gas 2.0 0.4 6.0 0.0 1.0 . . . . . . . . . . . . . . . . . . . 3 . . . . . . . . . . . . .
Gas_CT_new_z2 gen_new_lin exogenous gen_commit_cap day Gas Zone2 Gas 2.0 0.4 6.0 0.0 1.0 . . . . . . . . . . . . . . . . . . . 3 . . . . . . . . . . . . .
Gas_CT_z2 gen_spec exogenous gen_commit_cap day Gas Zone2 Gas 2.0 0.4 6.0 0.0 1.0 . . . . . . . . . . . . . . . . . . . 3 . . . . . . . . . . . . .
Nuclear gen_spec exogenous gen_must_run day Nuclear Zone1 Uranium 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Nuclear_z2 gen_spec exogenous gen_must_run day Nuclear Zone2 Uranium 1.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wind gen_spec exogenous gen_var day Wind Zone1 . 0.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wind_z2 gen_spec exogenous gen_var day Wind Zone2 . 0.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
balancing_area allow_violation violation_penalty_per_mw reserve_to_energy_adjustment
Zone1 1 999999999.0 .
Zone2 1 999999999.0 .
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ba timepoint requirement
Zone1 20200101 1.0
Zone1 20200102 2.0
Zone1 20300101 1.0
Zone1 20300102 2.0
Zone2 20200101 1.0
Zone2 20200102 2.0
Zone2 20300101 1.0
Zone2 20300102 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
balancing_area allow_violation violation_penalty_per_mw reserve_to_energy_adjustment
Zone1 1 999999999.0 .
Zone2 1 999999999.0 .
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ba timepoint requirement
Zone1 20200101 1.0
Zone1 20200102 2.0
Zone1 20300101 1.0
Zone1 20300102 2.0
Zone2 20200101 1.0
Zone2 20200102 2.0
Zone2 20300101 1.0
Zone2 20300102 2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project period specified_capacity_mw hyb_gen_specified_capacity_mw hyb_stor_specified_capacity_mw specified_capacity_mwh fixed_cost_per_mw_yr hyb_gen_fixed_cost_per_mw_yr hyb_stor_fixed_cost_per_mw_yr fixed_cost_per_mwh_yr
Coal 2020 6.0 0.0
Coal 2030 6.0 0.0
Coal_z2 2020 6.0 0.0
Coal_z2 2030 6.0 0.0
Gas_CCGT 2020 6.0 0.0
Gas_CCGT 2030 6.0 0.0
Gas_CCGT_z2 2020 6.0 0.0
Gas_CCGT_z2 2030 6.0 0.0
Gas_CT 2020 6.0 0.0
Gas_CT 2030 6.0 0.0
Gas_CT_z2 2020 6.0 0.0
Gas_CT_z2 2030 6.0 0.0
Nuclear 2020 6.0 0.0
Nuclear 2030 6.0 0.0
Nuclear_z2 2020 6.0 0.0
Nuclear_z2 2030 6.0 0.0
Wind 2020 2.0 0.0
Wind 2030 2.0 0.0
Wind_z2 2020 2.0 0.0
Wind_z2 2030 2.0 0.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
timepoint period timepoint_weight number_of_hours_in_timepoint previous_stage_timepoint_map month
20200101 2020 4380.0 1 . 1
20200102 2020 4380.0 1 . 1
20300101 2030 4380.0 1 . 1
20300102 2030 4380.0 1 . 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
project timepoint cap_factor
Wind 20200101 0.9
Wind 20200102 0.5
Wind 20300101 0.9
Wind 20300102 0.5
Wind_z2 20200101 0.9
Wind_z2 20200102 0.5
Wind_z2 20300101 0.9
Wind_z2 20300102 0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Objective function: -20171691806.96
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ok
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
##### SUMMARY RESULTS FOR SCENARIO *2periods_new_build_2zones_export_penalty* #####

### CAPACITY RESULTS ###

--> New Generation Capacity <--
New Capacity (MW)
load_zone technology vintage
Zone1 Gas 2020 32.20
2030 27.67
Zone2 Gas 2020 32.20
2030 27.67

### OPERATIONAL RESULTS ###

--> Energy Production <--
Annual Energy (MWh) % Total Power
load_zone period technology
Zone1 2020 Coal 0.00 0.00
Gas 329,376.00 83.56
Nuclear 52,560.00 13.33
Wind 12,264.00 3.11
2030 Coal 0.00 0.00
Gas 329,376.00 83.56
Nuclear 52,560.00 13.33
Wind 12,264.00 3.11
Zone2 2020 Coal 0.00 0.00
Gas 329,376.00 83.56
Nuclear 52,560.00 13.33
Wind 12,264.00 3.11
2030 Coal 0.00 0.00
Gas 329,376.00 83.56
Nuclear 52,560.00 13.33
Wind 12,264.00 3.11
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
optimal
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
scenario_id,59
scenario_name,2periods_new_build_2zones_export_penalty
of_transmission,
of_transmission_hurdle_rates,
of_simultaneous_flow_limits,
of_lf_reserves_up,1
of_lf_reserves_down,1
of_regulation_up,1
of_regulation_down,1
of_frequency_response,
of_spinning_reserves,
of_period_energy_target,
of_horizon_energy_target,
of_carbon_cap,
of_track_carbon_imports,
of_carbon_tax,
of_prm,
of_elcc_surface,
of_local_capacity,
of_markets,
of_tuning,
temporal_scenario_id,6
load_zone_scenario_id,5
lf_reserves_up_ba_scenario_id,2
lf_reserves_down_ba_scenario_id,2
regulation_up_ba_scenario_id,2
regulation_down_ba_scenario_id,2
frequency_response_ba_scenario_id,NULL
spinning_reserves_ba_scenario_id,NULL
energy_target_zone_scenario_id,NULL
carbon_cap_zone_scenario_id,NULL
carbon_tax_zone_scenario_id,NULL
prm_zone_scenario_id,NULL
local_capacity_zone_scenario_id,NULL
market_scenario_id,NULL
project_portfolio_scenario_id,11
project_operational_chars_scenario_id,1
project_availability_scenario_id,1
fuel_scenario_id,1
project_load_zone_scenario_id,1
project_lf_reserves_up_ba_scenario_id,1
project_lf_reserves_down_ba_scenario_id,1
project_regulation_up_ba_scenario_id,1
project_regulation_down_ba_scenario_id,1
project_frequency_response_ba_scenario_id,NULL
project_spinning_reserves_ba_scenario_id,NULL
project_energy_target_zone_scenario_id,NULL
project_carbon_cap_zone_scenario_id,NULL
project_carbon_tax_zone_scenario_id,NULL
project_prm_zone_scenario_id,NULL
project_elcc_chars_scenario_id,NULL
prm_energy_only_scenario_id,NULL
project_local_capacity_zone_scenario_id,NULL
project_local_capacity_chars_scenario_id,NULL
load_zone_market_scenario_id,NULL
project_specified_capacity_scenario_id,1
project_specified_fixed_cost_scenario_id,1
fuel_price_scenario_id,1
project_new_cost_scenario_id,1
project_new_potential_scenario_id,NULL
project_new_binary_build_size_scenario_id,NULL
project_capacity_group_requirement_scenario_id,NULL
project_capacity_group_scenario_id,NULL
transmission_portfolio_scenario_id,NULL
transmission_load_zone_scenario_id,NULL
transmission_specified_capacity_scenario_id,NULL
transmission_new_cost_scenario_id,NULL
transmission_operational_chars_scenario_id,NULL
transmission_hurdle_rate_scenario_id,NULL
transmission_carbon_cap_zone_scenario_id,NULL
transmission_simultaneous_flow_limit_scenario_id,NULL
transmission_simultaneous_flow_limit_line_group_scenario_id,NULL
load_scenario_id,2
lf_reserves_up_scenario_id,1
lf_reserves_down_scenario_id,1
regulation_up_scenario_id,1
regulation_down_scenario_id,1
frequency_response_scenario_id,NULL
spinning_reserves_scenario_id,NULL
period_energy_target_scenario_id,NULL
horizon_energy_target_scenario_id,NULL
carbon_cap_target_scenario_id,NULL
carbon_tax_scenario_id,NULL
prm_requirement_scenario_id,NULL
local_capacity_requirement_scenario_id,NULL
elcc_surface_scenario_id,NULL
market_price_scenario_id,NULL
market_volume_scenario_id,NULL
tuning_scenario_id,NULL
15 changes: 15 additions & 0 deletions examples/2periods_new_build_2zones_export_penalty/units.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
metric,unit
power,MW
energy,MWh
fuel_energy,MMBtu
cost,USD
carbon_emissions,tonnes CO2
time_for_cost,yr.
heat_rate,MMBtu/MWh
fuel_emission_intensity,tonnes CO2/MMBtu
fuel_price,USD/MMBtu
variable_om_cost,USD/MWh
fixed_om_cost,USD/MW-yr.
fixed_om_cost_energy,USD/MW-yr.
capacity_cost,USD/MW-yr.
energy_capacity_cost,USD/MWh-yr.

0 comments on commit 01ca255

Please sign in to comment.