Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alan GenX debug #2

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*.jl.*.cov
*.jl.mem
*.DS_Store
desktop.ini
.ipynb_checkpoints/
Manifest.toml
.Rhistory
deps/deps.jl
Expand Down
403 changes: 287 additions & 116 deletions Example_Systems/RealSystemExample/ISONE_Singlezone/analyze_results.ipynb

Large diffs are not rendered by default.

17,821 changes: 9,072 additions & 8,749 deletions Example_Systems/RealSystemExample/ISONE_Singlezone/make_batch_csv.ipynb

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions Example_Systems/RealSystemExample/ISONE_Singlezone/replacements.csv

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Model years and planning parameters
model_year: [2030, 2040, 2050]
model_first_planning_year: 2020

# Geographic model regions
model_regions:
- Northwest
- CAISO
- ISONE_NYISO
- PJM
- Southeast

# Region aggregations for combined areas
region_aggregations:
ISONE_NYISO:
- ISONE
- NYISO

# Demand scenarios
demand_scenarios:
high_demand:
description: "High economic growth leading to increased energy demand"
growth_factor: 1.2
regional_growth_factors:
Northwest: 1.3
CAISO: 1.2
ISONE_NYISO: 1.1
PJM: 1.25
Southeast: 1.15
moderate_demand:
description: "Moderate economic growth with steady demand increase"
growth_factor: 1.1
regional_growth_factors:
Northwest: 1.15
CAISO: 1.1
ISONE_NYISO: 1.05
PJM: 1.1
Southeast: 1.08
low_demand:
description: "Low economic growth with minimal changes in demand"
growth_factor: 1.03
regional_growth_factors:
Northwest: 1.04
CAISO: 1.03
ISONE_NYISO: 1.02
PJM: 1.05
Southeast: 1.04

# User supplied time series data paths
extra_inputs:
distributed_gen_profiles_fn: 'extra_inputs/distributed_gen_profiles.csv'
demand_response_fn: 'extra_inputs/demand_response.csv'
regional_load_fn: 'extra_inputs/regional_load.csv'

# Case definitions and scenario descriptions
case_id_description_fn: 'case_id_descriptions.csv'
scenario_descriptions_fn: 'scenario_descriptions.csv'

# Generator configurations
misc_gen_inputs_fn: 'extra_inputs/misc_gen_inputs.csv'
capacity_limit_spur_fn: 'extra_inputs/capacity_limit_spur.csv'

# Cost and technology mappings
atb_new_gen:
- [NaturalGas, CCAvgCF, Moderate, 500]
- [NaturalGas, CTAvgCF, Moderate, 100]
- [OffShoreWind, Class10, Moderate, 1]
- [UtilityPV, Class1, Moderate, 1]

# Emission policies and demand segments
emission_policies_fn: 'emission_policies.csv'
demand_segments_fn: 'demand_segments.csv'

# GenX settings and reserves
genx_settings_folder: 'genx_settings/'
reserves_fn: 'reserves.csv'

# Existing generators data years and capacity columns
eia_data_years: [2020]
capacity_col: 'summer_capacity_mw'

# Technology groups and operational settings
num_clusters:
Natural Gas Fired Combined Cycle: 1
Natural Gas Fired Combustion Turbine: 1
Solar Photovoltaic: 1
Offshore Wind Turbine: 1

group_technologies: true
tech_groups:
combined_cycle:
- NGCC
- NGCT
renewable:
- Wind
- Solar
regional_no_grouping:
- CAISO

PUDL_DB: ../WEC-DECIDER/data/pudl/pudl.sqlite
PG_DB: ../WEC-DECIDER/data/pg/pg_misc_tables_efs.sqlite
RESOURCE_GROUP_PROFILES: ../WEC-DECIDER/data/resource_profiles
EFS_DATA: ../WEC-DECIDER/data/efs
DISTRIBUTED_GEN_DATA: ../WEC-DECIDER/data/cambium
# OPTIONAL: RESOURCE_GROUPS = YOUR_PATH_HERE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Trans_Loss_Segments: 1 # Number of segments used in piecewise linear approximati
Reserves: 0 # Regulation (primary) and operating (secondary) reserves; 0 = not active, 1 = active systemwide
EnergyShareRequirement: 1 # Minimum qualifying renewables penetration; 0 = not active; 1 = active systemwide
CapacityReserveMargin: 1 # Number of capacity reserve margin constraints; 0 = not active; 1 = active systemwide
CO2Cap: 1 # CO2 emissions cap; 0 = not active (no CO2 emission limit); 1 = mass-based emission limit constraint; 2 = load + rate-based emission limit constraint; 3 = generation + rate-based emission limit constraint
CO2Cap: 0 # CO2 emissions cap; 0 = not active (no CO2 emission limit); 1 = mass-based emission limit constraint; 2 = load + rate-based emission limit constraint; 3 = generation + rate-based emission limit constraint
StorageLosses: 1 # Energy Share Requirement and CO2 constraints account for energy lost; 0 = not active (DO NOT account for energy lost); 1 = active systemwide (DO account for energy lost)
MinCapReq: 1 # Activate minimum technology carveout constraints; 0 = not active; 1 = active
MaxCapReq: 0 # Activate maximum technology carveout constraints; 0 = not active; 1 = active
Expand All @@ -14,7 +14,7 @@ ParameterScale: 1 # Turn on parameter scaling wherein load, capacity and power v
WriteShadowPrices: 1 # Write shadow prices of LP or relaxed MILP; 0 = not active; 1 = active
UCommit: 2 # Unit committment of thermal power plants; 0 = not active; 1 = active using integer clestering; 2 = active using linearized clustering
TimeDomainReductionFolder: "TDR_Results" # Directory name where results from time domain reduction will be saved. If results already exist here, these will be used without running time domain reduction script again.
TimeDomainReduction: 1 # Time domain reduce (i.e. cluster) inputs based on Load_data.csv, Generators_variability.csv, and Fuels_data.csv; 0 = not active (use input data as provided); 0 = active (cluster input data, or use data that has already been clustered)
TimeDomainReduction: 0 # Time domain reduce (i.e. cluster) inputs based on Load_data.csv, Generators_variability.csv, and Fuels_data.csv; 0 = not active (use input data as provided); 0 = active (cluster input data, or use data that has already been clustered)
ModelingToGenerateAlternatives: 0 # Modeling to generate alternatives; 0 = not active; 1 = active. Note: produces a single solution as output
ModelingtoGenerateAlternativeSlack: 0.1 # Slack value as a fraction of least-cost objective in budget constraint used for evaluating alternative model solutions; positive float value
ModelingToGenerateAlternativeIterations: 3 # Number of MGA iterations with maximization and minimization objective
Expand Down