diff --git a/config/zones/TC.yaml b/config/zones/TC.yaml new file mode 100644 index 0000000000..e706af556e --- /dev/null +++ b/config/zones/TC.yaml @@ -0,0 +1,45 @@ +bounding_box: + - - -72.6799046 + - 20.9553418 + - - -70.8643591 + - 22.1630989 +capacity: + oil: + - datetime: '2017-01-01' + source: Ember, Yearly electricity data + value: 80.0 + - datetime: '2018-01-01' + source: Ember, Yearly electricity data + value: 90.0 + - datetime: '2023-01-01' + source: Ember, Yearly electricity data + value: 90.0 + solar: + - datetime: '2023-01-01' + source: Ember, Yearly electricity data + value: 0.0 +country: TC +fallbackZoneMixes: + powerOriginRatios: + - _source: USDoE 2020 + datetime: '2020-05-01' + value: + battery discharge: 0.0 + biomass: 0.0 + coal: 0.0 + gas: 0.0 + geothermal: 0.0 + hydro: 0.0 + hydro discharge: 0.0 + nuclear: 0.0 + oil: 0.998 + solar: 0.002 + unknown: 0.0 + wind: 0.0 +parsers: + productionCapacity: EMBER.fetch_production_capacity +region: Americas +sources: + USDoE 2020: + link: https://docs.nrel.gov/docs/fy20osti/76605.pdf +timezone: America/Grand_Turk diff --git a/electricitymap/contrib/capacity_parsers/EMBER.py b/electricitymap/contrib/capacity_parsers/EMBER.py index 8c6d38a3e8..4ded2af507 100644 --- a/electricitymap/contrib/capacity_parsers/EMBER.py +++ b/electricitymap/contrib/capacity_parsers/EMBER.py @@ -29,6 +29,7 @@ "NZ": {"other renewables": "geothermal"}, "SG": {"other fossil": "coal"}, "SV": {"other renewables": "geothermal"}, + "TC": {"other fossil": "oil"}, "TR": {"other fossil": "oil", "other renewables": "geothermal"}, "TW": {"other fossil": "oil"}, "UY": {"other fossil": "unknown"}, @@ -81,7 +82,7 @@ def _ember_production_mode_mapper(row: pd.Series) -> str | None: # Ember also reports the following, which we exclude due to: # 'Wind and solar' is contained in 'wind' and 'solar' data # 'Fossil' contained in all non-renewable sources, i.e. 'coal', 'gas', 'oil', 'other fossil - # 'Clean' containd in all renewable sources, i.e. 'wind', 'solar', 'other renewables', ... + # 'Clean' contained in all renewable sources, i.e. 'wind', 'solar', 'other renewables', ... ember_mapper = { "other fossil": "unknown", "bioenergy": "biomass", diff --git a/web/geo/world.geojson b/web/geo/world.geojson index 41cefa6776..84c14ac270 100644 --- a/web/geo/world.geojson +++ b/web/geo/world.geojson @@ -52110,6 +52110,54 @@ ] ] } + }, + { + "type": "Feature", + "properties": { + "zoneName": "TC", + "countryKey": "TC", + "countryName": "Turks and Caicos Islands" + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [-71.13809160813122, 21.513617311852062], + [-71.13036047434696, 21.498114271925512], + [-71.13361569585932, 21.44647863782127], + [-71.14488685655397, 21.431626763390927], + [-71.15168208916533, 21.45058823638783], + [-71.14549720445602, 21.495062602545566], + [-71.13809160813122, 21.513617311852062] + ] + ], + [ + [ + [-72.03615262181177, 21.94820818018053], + [-72.03394443447186, 21.85293769114513], + [-71.8418321358814, 21.711451486627382], + [-71.52937362725427, 21.582146793809258], + [-71.4609198197099, 21.7093999364467], + [-71.6751139917019, 21.82629155023426], + [-71.86833038396267, 21.828341429680137], + [-71.90145319406423, 21.938991240006303], + [-72.03615262181177, 21.94820818018053] + ] + ], + [ + [ + [-72.33417885969665, 21.862672010979054], + [-72.34648156040683, 21.75701762390159], + [-72.17116302649593, 21.76177651675866], + [-72.08607439537244, 21.875992248244387], + [-72.19268696324954, 21.787479806411767], + [-72.2685416956257, 21.797947188577538], + [-72.33417885969665, 21.862672010979054] + ] + ] + ] + } } ] } diff --git a/web/src/locales/en.json b/web/src/locales/en.json index aa0d7e6d58..9f1033f9d0 100644 --- a/web/src/locales/en.json +++ b/web/src/locales/en.json @@ -1538,6 +1538,9 @@ "SZ": { "zoneName": "Eswatini" }, + "TC": { + "zoneName": "Turks and Caicos Islands" + }, "TD": { "zoneName": "Chad" }, diff --git a/web/src/locales/pl.json b/web/src/locales/pl.json index b0641d4a97..ba1b31aed5 100644 --- a/web/src/locales/pl.json +++ b/web/src/locales/pl.json @@ -1497,6 +1497,9 @@ "SY": { "zoneName": "Syria" }, + "TC": { + "zoneName": "Turks i Caicos" + }, "TF": { "zoneName": "Francuskie Terytoria PoĊ‚udniowe" },