Skip to content

Commit

Permalink
updated python script
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodawid committed Mar 25, 2024
1 parent 48bbc22 commit f9ad93d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Merging these models has the potential to capture additional interactions betwee

Figure 3 provides an overview of the process involved in merging both models. The units in both models are similar; for example, technology costs are given in millions of dollars per gigawatt (MM⁄GW). Fuel costs are given in millions of dollars per petajoule (MM⁄PJ). Once both models are in *.CSV format, the _snakemake_ file attached is used to:
* Read the common technologies (tech) and fuels. Table 1 shows the common tech and fuel found in both models.
* Update the technology and fuel names in the CLEWs model. For instance, change the fuel name 'ELC' in the CLEWs model to 'ELC003,' which is the electricity provided after transmission and distribution in the WESM.
* Update the technology and fuel names in the CLEWs model. For instance, change the fuel name 'ELC' in the CLEWs model to 'RESELC,' which is the electricity provided after transmission and distribution in the WESM.
* Delete repeated common technologies: IMPDSL, IMPELC, IMPKER, IMPLPG in the CLEWs model.
* Update the Region name from the CLEWs model ('RE1') to the name in the WESM ('KENYA').
* Update the units of emission activity ratio in the merged model to kilotons of CO2 per petajoule (kTon⁄PJ)
Expand Down
2 changes: 1 addition & 1 deletion scr/read_clean_WESM.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main(out_dir, config_file):
'''
Location of the parent directory of the csv files from otoole
'''
WESM_path = './Ke_WESM_ucl/csv_V1'
WESM_path = './Ke_WESM_ucl/csv'
CLEWs_path = './Ke_CLEWs_kth/csv'
model_merged_path = out_dir
config_file_path = config_file
Expand Down

0 comments on commit f9ad93d

Please sign in to comment.