Repository: electricitymaps/electricitymaps-contrib

Issue:
DE-AT-LU Split
Seen on the ENTSOE TP:

> Dear Users,
> 
>
> Please be informed, that we will start preparation of the platform for DE-AT-LU bidding zone split on the 23rd of August. BZN|DE-AT-LU will be separated into 2 new bidding zones BZN|DE-LU and BZN|AT.
> 
> New bidding zones will be active from the 1st of October, however, first data submissions, like month ahead forecasts, are expected from the 1st of September. 
> 
> Validity end date for BZN|DE-AT-LU is the end of September 2018. 
> EIC codes for new bidding zones:
> BZN|DE-LU - 10Y1001A1001A82H 
> BZN|AT - 10YAT-APG------L (same as control area or country)
> Thanks for your patience and understanding.
> Best Regards
> Transparency Platform Team.

Does this affect us? cc @brunolajoie @alixunderplatz 


Discussion:
I totally missed this development o.O

I think this will only affect the electricity price for the zones, no influence on generation mix in the countries whatsoever, as it's split by country already.

It will lead to higher electricity prices in Austria, I assume...
It might be interesting to monitor if this improves the quality of data per control area for germany (to allow us to split in 3 areas as per #1216)
@corradio The only upcoming "to do" I see here is making sure Germany/Luxembourg and Austria have their designated ENTSO-E codes assigned for pricing.
We used to have an issue in the past #1086 when Austria's electricity price was based on the 15-min day ahead products and not the hourly day-ahead products ("different" data is published on ENTSO-E).
This is still the case, the quarterhourly price (looks like a zig-zag line) is published [on ENTSO-E](https://transparency.entsoe.eu/transmission-domain/r2/dayAheadPrices/show?name=&defaultValue=false&viewType=TABLE&areaType=CTY&atch=false&dateTime.dateTime=18.09.2018+00:00|CET|DAY&biddingZone.values=CTY|10YAT-APG------L!CTY|10YAT-APG------L&dateTime.timezone=CET_CEST&dateTime.timezone_input=CET+(UTC+1)+/+CEST+(UTC+2)) instead of the hourly price (looks like steps).

@brunolajoie I think the quality and diversity of data for Germany are going to stay the same and the 4 TSOs won't start publishing the flows between regions without any regulatory requirements. :(
To fix the prices for these three countries on the map and close this issue:

`ENTSOE_DOMAIN_MAPPINGS`: 
- Add key `DE-LU` with value `10Y1001A1001A82H` 

`ENTSOE_PRICE_DOMAIN_OVERRIDE `:
- Remove key for `AT`
- Change value of keys `DE` and `LU` to `ENTSOE_DOMAIN_MAPPINGS['DE-LU']`

If nobody has time beforehand, I can get to this tomorrow evening.

Resolving patch:
diff --git a/parsers/ENTSOE.py b/parsers/ENTSOE.py
--- a/parsers/ENTSOE.py
+++ b/parsers/ENTSOE.py
@@ -76,7 +76,7 @@
     'CH': '10YCH-SWISSGRIDZ',
     'CZ': '10YCZ-CEPS-----N',
     'DE': '10Y1001A1001A83F',
-    'DE-AT-LU': '10Y1001A1001A63L',
+    'DE-LU': '10Y1001A1001A82H',
     'DK': '10Y1001A1001A65H',
     'DK-DK1': '10YDK-1--------W',
     'DK-DK2': '10YDK-2--------M',
@@ -143,14 +143,12 @@
 
 # Some exchanges require specific domains
 ENTSOE_EXCHANGE_DOMAIN_OVERRIDE = {
-    'AT->IT-NO': [ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
-                  ENTSOE_DOMAIN_MAPPINGS['IT-NO']],
     'BY->UA': [ENTSOE_DOMAIN_MAPPINGS['BY'], '10Y1001C--00003F'],
-    'DE->DK-DK1': [ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
+    'DE->DK-DK1': [ENTSOE_DOMAIN_MAPPINGS['DE-LU'],
                    ENTSOE_DOMAIN_MAPPINGS['DK-DK1']],
-    'DE->DK-DK2': [ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
+    'DE->DK-DK2': [ENTSOE_DOMAIN_MAPPINGS['DE-LU'],
                    ENTSOE_DOMAIN_MAPPINGS['DK-DK2']],
-    'DE->SE-SE4': [ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
+    'DE->SE-SE4': [ENTSOE_DOMAIN_MAPPINGS['DE-LU'],
                    ENTSOE_DOMAIN_MAPPINGS['SE-SE4']],
     'FR-COR->IT-CNO': ['10Y1001A1001A893', ENTSOE_DOMAIN_MAPPINGS['IT-CNO']],
     # 'FR-COR->IT-SAR': [],
@@ -164,11 +162,10 @@
 }
 # Some zone_keys are part of bidding zone domains for price data
 ENTSOE_PRICE_DOMAIN_OVERRIDE = {
-    'AT': ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
     'DK-BHM': ENTSOE_DOMAIN_MAPPINGS['DK-DK2'],
-    'DE': ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
+    'DE': ENTSOE_DOMAIN_MAPPINGS['DE-LU'],
     'IE': '10Y1001A1001A59C',
-    'LU': ENTSOE_DOMAIN_MAPPINGS['DE-AT-LU'],
+    'LU': ENTSOE_DOMAIN_MAPPINGS['DE-LU'],
 }
 
 ENTSOE_UNITS_TO_ZONE = {


Test patch: