Skip to content

Commit

Permalink
add extra to backup (#91)
Browse files Browse the repository at this point in the history
* add extra to backup

* update
  • Loading branch information
peterdudfield authored Dec 7, 2024
1 parent e4f29cf commit 581fd5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gspconsumer/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ def make_gsp_yields_from_national(
datetime_utc=national_gsp_yield.datetime_utc,
solar_generation_kw=national_gsp_yield.solar_generation_kw * factor,
regime=national_gsp_yield.regime,
capacity_mwp=location.installed_capacity_mw,
pvlive_updated_utc=national_gsp_yield.pvlive_updated_utc,
)
gsp_yield.location = location
gsp_yields.append(gsp_yield)
Expand Down

0 comments on commit 581fd5a

Please sign in to comment.