Skip to content

Commit

Permalink
Merge pull request #217 from kilowatts-io/209-add-regional-solar
Browse files Browse the repository at this point in the history
Add Regional Solar+Wind Data for National Grid DNO Areas
  • Loading branch information
BenjaminWatts authored Feb 24, 2024
2 parents 284ab0e + d3dbf99 commit 2fa88b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/lambda/gb_snapshot/gb_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
from .ptypes import (
BalancingTotals,
EmbeddedSnapshot,
ForeignMarketSnapshot,
NationalGridGspSnapshot,
SummaryOutput,
TotalsSnapshot,
UnitGroupSnapshot,
)
from .generation import GenerationTotals
from .foreign_markets import ForeignMarketTotals
Expand All @@ -17,7 +17,7 @@
from .bm import Bm


def combine_totals(gen_totals: List[UnitGroupSnapshot], fm_totals: TotalsSnapshot):
def combine_totals(gen_totals: List[TotalsSnapshot], fm_totals: ForeignMarketSnapshot):
totals = gen_totals + [fm_totals]
totals.sort(key=lambda x: x.ac, reverse=True)
return totals
Expand Down

0 comments on commit 2fa88b4

Please sign in to comment.