Skip to content

Commit

Permalink
Corrected error on DH2 symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias157 committed Oct 7, 2024
1 parent 50f99b8 commit 4772f3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Modules/aggregate_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def get_symbols_to_aggregate(incfile_folder: str,
incfiles.files
.str.replace('INDUSTRY_', '')
.str.replace('HYDROGEN_', '')
.str.replace('DH2', 'HYDROGEN_DH2')
.str.replace('INDIVUSERS_', '')
.str.replace('TRANSPORT_', '')
.str.replace('OFFSHORE_', '')
Expand Down Expand Up @@ -239,7 +240,7 @@ def main(model_path: str, scenario: str, exceptions: str = '',
unique_names = {'TRANSDEMAND_Y' : 'TRANSPORT_TRANSDEMAND_Y',
'XH2INVCOST' : 'HYDROGEN_XH2INVCOST',
'XH2COST' : 'HYDROGEN_XH2COST',
'XH2LOSS' : 'HYDROGEN_XH2LOSS',
'XH2LOSS' : 'HYDROGEN_XH2LOSS',
'FLEXMAXLIMIT' : 'FLEXDEM_FLEXMAXLIMIT',
'FLEXYDEMAND' : 'FLEXDEM_FLEXYDEMAND'} # Symbols that have a different incfile name

Expand Down

0 comments on commit 4772f3f

Please sign in to comment.