Skip to content

Solar consumer does not run when running at NL #164

@peterdudfield

Description

@peterdudfield

Describe the bug

When running the app for the NL, it currently doesn't run when attached to a data-platform with a uk-national
I suspect this is similar when running this for BE

Expected behavior

Run it locally with data-platform with UK locations in it, and it works and saves generation values to the data-platform

Additional context

To make NL work, we need to

  • country to be added to metadata of the location
  • _list_locations should also take country in and see if they are in the database already
  • NL should have both dp.LocationType.NATION and dp.LocationType.COUNTY, this could be stored in the locations.csv
  • add a test where we add a location that is in the UK, but check NL and BE still work

Metadata

Metadata

Labels

bugSomething isn't workingocf-internalAn issue to be addressed internally by Open Climate Fix and not suitable for external contributors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions