Skip to content

Commit

Permalink
* summary: Skip over battery loads in the input.
Browse files Browse the repository at this point in the history
  • Loading branch information
bje- committed Feb 16, 2024
1 parent df2d471 commit e1a0ab3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion summary
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ av.caps = {}
scenario_num = 0 # pylint: disable=invalid-name

patterns = {
# don't count battery loads
'[Bb]att(ery) ([Ll]oad|[Cc]harger)?.*[kMG]W$': lambda f: None,
'[Bb]att(ery)?.*[kMG]W$': lambda f: addcap("battery", f),
'HSA.*[kMG]W$': lambda f: addcap("HSA", f),
'EGS.*[kMG]W$': lambda f: addcap("EGS", f),
Expand All @@ -92,7 +94,8 @@ patterns = {
' hydro.*[kMG]W$': lambda f: addcap("hydro", f),
'pumped-hydro.*[kMG]W$': lambda f: addcap("PSH", f),
'PSH generator.*[kMG]W$': lambda f: addcap("PSH", f),
'PSH pump.*[kMG]W$': lambda f: None, # don't count pumps
# don't count pumped hydro pumps
'PSH pump.*[kMG]W$': lambda f: None,
' GT.*[kMG]W$': lambda f: addcap("GT", f),
'CCGT-CCS.*[kMG]W$': lambda f: addcap("CCGT-CCS", f),
'CCGT .*[kMG]W$': lambda f: addcap("CCGT", f),
Expand Down

0 comments on commit e1a0ab3

Please sign in to comment.