Skip to content

Commit 26a4935

Browse files
Pierresegonne/remove production per unit (#8119)
* feat: add enum for parser data types * clean up parser data types throughout contrib * chore: remove references to productionPerUnit * remove unused code --------- Co-authored-by: Pierre Segonne <[email protected]> Co-authored-by: Viktor Andersson <[email protected]>
1 parent 5546e8f commit 26a4935

File tree

15 files changed

+0
-256
lines changed

15 files changed

+0
-256
lines changed

config/zones/DK-DK1.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@ parsers:
518518
production: ENTSOE.fetch_production
519519
productionCapacity: ENTSOE.fetch_production_capacity
520520
productionPerModeForecast: DK.fetch_wind_solar_forecasts
521-
productionPerUnit: ENTSOE.fetch_production_per_units
522521
region: Europe
523522
sources:
524523
EU-ETS, ENTSO-E 2021:

config/zones/DK-DK2.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ parsers:
503503
production: ENTSOE.fetch_production
504504
productionCapacity: ENTSOE.fetch_production_capacity
505505
productionPerModeForecast: DK.fetch_wind_solar_forecasts
506-
productionPerUnit: ENTSOE.fetch_production_per_units
507506
region: Europe
508507
sources:
509508
EU-ETS, ENTSO-E 2021:

config/zones/FI.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ parsers:
439439
production: ENTSOE.fetch_production
440440
productionCapacity: FI.fetch_production_capacity
441441
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
442-
productionPerUnit: ENTSOE.fetch_production_per_units
443442
region: Europe
444443
sources:
445444
EU-ETS, ENTSO-E 2021:

config/zones/PL.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,6 @@ parsers:
576576
production: ENTSOE.fetch_production
577577
productionCapacity: ENTSOE.fetch_production_capacity
578578
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
579-
productionPerUnit: ENTSOE.fetch_production_per_units
580579
region: Europe
581580
sources:
582581
EU-ETS, ENTSO-E 2021:

config/zones/SE-SE1.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ parsers:
293293
price: NORDPOOL.fetch_price
294294
production: ENTSOE.fetch_production
295295
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
296-
productionPerUnit: ENTSOE.fetch_production_per_units
297296
region: Europe
298297
sources:
299298
EU-ETS, ENTSO-E 2021:

config/zones/SE-SE2.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ parsers:
379379
price: NORDPOOL.fetch_price
380380
production: ENTSOE.fetch_production
381381
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
382-
productionPerUnit: ENTSOE.fetch_production_per_units
383382
region: Europe
384383
sources:
385384
EU-ETS, ENTSO-E 2021:

config/zones/SE-SE3.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ parsers:
379379
price: NORDPOOL.fetch_price
380380
production: ENTSOE.fetch_production
381381
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
382-
productionPerUnit: ENTSOE.fetch_production_per_units
383382
region: Europe
384383
sources:
385384
EU-ETS, ENTSO-E 2021:

config/zones/SE-SE4.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ parsers:
364364
price: NORDPOOL.fetch_price
365365
production: ENTSOE.fetch_production
366366
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
367-
productionPerUnit: ENTSOE.fetch_production_per_units
368367
region: Europe
369368
sources:
370369
EU-ETS, ENTSO-E 2021:

config/zones/XK.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,5 @@ parsers:
214214
production: ENTSOE.fetch_production
215215
productionCapacity: ENTSOE.fetch_production_capacity
216216
productionPerModeForecast: ENTSOE.fetch_wind_solar_forecasts
217-
productionPerUnit: ENTSOE.fetch_production_per_units
218217
region: Europe
219218
timezone: Europe/Belgrade

electricitymap/contrib/config/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ class Parsers(ParsersBaseModel):
102102
realtimeLocationalMarginalPrice: str | None
103103
price: str | None
104104
production: str | None
105-
productionPerUnit: str | None
106105
productionCapacity: str | None
107106

108107

@@ -117,7 +116,6 @@ class Delays(StrictBaseModel):
117116
price: PositiveInt | None
118117
production: PositiveInt | None
119118
productionPerModeForecast: PositiveInt | None
120-
productionPerUnit: PositiveInt | None
121119

122120

123121
class Zone(StrictBaseModelWithAlias):

0 commit comments

Comments
 (0)