Skip to content

Commit

Permalink
Removed ConfigPaths dependency timeslice script
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbrinkerink committed Dec 20, 2024
1 parent 7476a89 commit e2dc657
Show file tree
Hide file tree
Showing 2 changed files with 516 additions and 484 deletions.
38 changes: 23 additions & 15 deletions workflow/rules/preprocess.smk
Original file line number Diff line number Diff line change
Expand Up @@ -287,24 +287,32 @@ rule timeslice:
message:
'Generating timeslice data...'
input:
'resources/data/All_Demand_UTC_2015.csv',
'resources/data/CSP 2015.csv',
'resources/data/SolarPV 2015.csv',
'resources/data/Hydro_Monthly_Profiles (15 year average).csv',
'resources/data/Won 2015.csv',
'resources/data/Woff 2015.csv',
'resources/data/custom_nodes/specified_demand_profile.csv',
'resources/data/custom_nodes/RE_profiles_CSP.csv',
'resources/data/custom_nodes/RE_profiles_HYD.csv',
'resources/data/custom_nodes/RE_profiles_SPV.csv',
'resources/data/custom_nodes/RE_profiles_WOF.csv',
'resources/data/custom_nodes/RE_profiles_WON.csv',
plexos_demand = 'resources/data/All_Demand_UTC_2015.csv',
plexos_csp_2015 = 'resources/data/CSP 2015.csv',
plexos_spv_2015 = 'resources/data/SolarPV 2015.csv',
plexos_hyd_2015 = 'resources/data/Hydro_Monthly_Profiles (15 year average).csv',
plexos_won_2015 = 'resources/data/Won 2015.csv',
plexos_wof_2015 = 'resources/data/Woff 2015.csv',
custom_specified_demand_profiles = 'resources/data/custom_nodes/specified_demand_profile.csv',
custom_csp_profiles = 'resources/data/custom_nodes/RE_profiles_CSP.csv',
custom_hyd_profiles = 'resources/data/custom_nodes/RE_profiles_HYD.csv',
custom_spv_profiles = 'resources/data/custom_nodes/RE_profiles_SPV.csv',
custom_wof_profiles = 'resources/data/custom_nodes/RE_profiles_WOF.csv',
custom_won_profiles = 'resources/data/custom_nodes/RE_profiles_WON.csv',
params:
start_year = config['startYear'],
end_year = config['endYear'],
daytype = config['daytype'],
daypart = config['dayparts'],
region_name = 'GLOBAL',
output_data_dir = 'results/data',
input_data_dir = 'resources/data',
input_dir = 'resources',
output_dir = 'results',
custom_nodes_dir = 'resources/data/custom_nodes',
geographic_scope = config['geographic_scope'],
seasons = config['seasons'],
dayparts = config['dayparts'],
daytype = config['daytype'],
timeshift = config['timeshift'],
output:
csv_files = expand('results/data/{output_file}.csv', output_file=timeslice_files),
log:
Expand Down Expand Up @@ -383,4 +391,4 @@ rule create_missing_csv:
output:
csvs = expand("results/data/{empty}.csv", empty=EMPTY_CSVS)
script:
"../scripts/osemosys_global/create_missing_csvs.py"
"../scripts/osemosys_global/create_missing_csvs.py"
Loading

0 comments on commit e2dc657

Please sign in to comment.