diff --git a/analysers/analyser_osmosis_relation_multipolygon.py b/analysers/analyser_osmosis_relation_multipolygon.py
index 766c8b574..c8ae653bd 100644
--- a/analysers/analyser_osmosis_relation_multipolygon.py
+++ b/analysers/analyser_osmosis_relation_multipolygon.py
@@ -161,43 +161,6 @@
     COUNT(*) > 1
 """
 
-sql40 = """
-SELECT
-    ways.id,
-    ST_AsText(way_locate(ways.linestring)),
-    ways.tags->'area',
-    ways.tags->'landuse',
-    ways.tags->'natural',
-    ways.tags->'waterway',
-    ways.tags->'leisure',
-    ways.tags->'amenity',
-    ways.tags->'building',
-    COALESCE(ways.tags->'area', ways.tags->'landuse', ways.tags->'natural', ways.tags->'waterway', ways.tags->'leisure', ways.tags->'amenity', ways.tags->'building')
-FROM
-    {0}ways AS ways
-    LEFT JOIN relation_members ON
-        relation_members.member_id = ways.id AND
-        relation_members.member_type = 'W'
-WHERE
-    ways.tags != ''::hstore AND
-    (
-        (ways.tags?'area' AND ways.tags->'area' in ('yes', 'true')) OR
-        ways.tags?'landuse' OR
-        (ways.tags?'natural' AND ways.tags->'natural' in ('bare_rock', 'bay', 'beach', 'fell', 'glacier', 'grassland', 'heath', 'hot_spring', 'moor', 'mud', 'rock', 'sand', 'scree', 'scrub', 'shingle', 'sinkhole', 'stone', 'water', 'wetland', 'wood') AND (NOT ways.tags?'bay' OR ways.tags->'bay' != 'fjord')) OR
-        (ways.tags?'waterway' AND ways.tags->'waterway' in ('boatyard', 'dock', 'fuel', 'riverbank')) OR
-        (ways.tags?'leisure' AND ways.tags->'leisure' in ('adult_gaming_centre', 'amusement_arcade', 'bandstand', 'beach_resort', 'bird_hide', 'common', 'dance', 'dog_park', 'firepit', 'fishing', 'fitness_centre', 'garden', 'golf_course', 'hackerspace', 'horse_riding', 'ice_rink', 'marina', 'miniature_golf', 'nature_reserve', 'park', 'picnic_table', 'pitch', 'playground', 'sports_centre', 'stadium', 'summer_camp', 'swimming_area', 'swimming_pool', 'water_park', 'wildlife_hide')) OR
-        (ways.tags?'amenity' AND ways.tags->'amenity' in ('animal_boarding', 'animal_shelter', 'arts_centre', 'baby_hatch', 'bank', 'bar', 'bicycle_rental', 'bicycle_repair_station', 'biergarten', 'blood_donation', 'boat_sharing', 'brothel', 'bus_station', 'cafe', 'car_rental', 'car_sharing', 'car_wash', 'casino', 'cinema', 'clinic', 'college', 'community_centre', 'courthouse', 'coworking_space', 'crematorium', 'crypt', 'dentist', 'dive_centre', 'doctors', 'dojo', 'driving_school', 'embassy', 'fast_food', 'ferry_terminal', 'fire_station', 'firepit', 'food_court', 'fountain', 'fuel', 'gambling', 'game_feeding', 'grave_yard', 'gym', 'hospital', 'hunting_stand', 'ice_cream', 'internet_cafe', 'kindergarten', 'kneipp_water_cure', 'language_school', 'library', 'marketplace', 'motorcycle_parking', 'music_school', 'nightclub', 'nursing_home', 'parking', 'parking_space', 'pharmacy', 'place_of_worship', 'planetarium', 'police', 'post_office', 'prison', 'pub', 'public_bookcase', 'public_building', 'ranger_station', 'recycling', 'rescue_station', 'restaurant', 'sauna', 'school', 'shelter', 'shower', 'social_centre', 'social_facility', 'studio', 'swingerclub', 'taxi', 'theatre', 'toilets', 'townhall', 'university', 'veterinary', 'waste_transfer_station')) OR
-        ways.tags?'building'
-    ) AND
-    ways.linestring IS NOT NULL AND
-    NOT ways.is_polygon AND
-    relation_members.member_id IS NULL AND
-    -- Avoid confusing warnings for invalid polygons. Any closed way with >3 nodes that doesn't match
-    -- is_polygon (with any of the tags above) must be an invalid polygon (which is checked elsewhere)
-    -- Note: use array_length instead of ST_NPoints as the former includes nodes outside of the extract
-    (NOT ST_IsClosed(ways.linestring) OR array_length(ways.nodes,1) = 3)
-"""
-
 class Analyser_Osmosis_Relation_Multipolygon(Analyser_Osmosis):
 
     def __init__(self, config, logger = None):
@@ -220,13 +183,6 @@ def __init__(self, config, logger = None):
             detail = T_(
 '''Multipolygon does not define nature, several found on the outer role
 members.'''))
-        self.classs_change[4] = self.def_class(item = 1170, level = 1, tags = ['relation', 'fix:chair', 'geom'],
-            title = T_('Should be polygon, part of multipolygon or not having area tag'),
-            detail = T_(
-'''The nature of the way indicates that it is a surface, the way would be
-a polygon or a part of a multipolygon as outer role.'''),
-            fix = T_(
-'''Close the way to make a polygon or add to a multipolygon.'''))
 
         self.callback10 = lambda res: {"class":1, "data":[self.relation_full, self.way_full, self.way_full, self.positionAsText]}
         self.callback20 = lambda res: {"class":2, "subclass":stablehash64(res[11]), "data":[self.relation_full, self.way_full, self.positionAsText],
@@ -235,9 +191,6 @@ def __init__(self, config, logger = None):
         self.callback30 = lambda res: {"class":3, "subclass":1, "data":[self.relation_full, self.positionAsText],
             "text": {"en": u", ".join(map(lambda k: "{0}=({1})".format(*k), filter(lambda k: k[1], (("landuse",res[2]), ("natural",res[3]), ("waterway",res[4]), ("building",res[5])))))}
         }
-        self.callback40 = lambda res: {"class":4, "subclass":stablehash64(res[9]), "data":[self.way_full, self.positionAsText],
-            "text": {"en": u", ".join(map(lambda k: "{0}={1}".format(*k), filter(lambda k: k[1], (("area",res[2]), ("landuse",res[3]), ("natural",res[4]), ("waterway",res[5]), ("leisure",res[6]), ("amenity",res[7]), ("building",res[8])))))}
-        }
 
     def analyser_osmosis_common(self):
         self.run(sql30, self.callback30)
@@ -247,7 +200,6 @@ def analyser_osmosis_full(self):
         self.run(sql11)
         self.run(sql12.format("", "", ""), self.callback10)
         self.run(sql20.format("", ""), self.callback20)
-        self.run(sql40.format(""), self.callback40)
 
     def analyser_osmosis_diff(self):
         self.run(sql10)
@@ -258,4 +210,3 @@ def analyser_osmosis_diff(self):
         self.run(sql12.format("not_touched_", "not_touched_", "touched_"), self.callback10)
         self.run(sql20.format("touched_", ""), self.callback20)
         self.run(sql20.format("not_touched_", "touched_"), self.callback20)
-        self.run(sql40.format("touched_"), self.callback40)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 771f25e9b..0fa141a38 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.11
+FROM python:3.13
 
 RUN apt-get update && \
     apt-get -y dist-upgrade && \
@@ -18,7 +18,7 @@ RUN apt-get update && \
         libprotobuf-dev \
         locales \
         make \
-        openjdk-17-jre-headless \
+        openjdk-21-jre-headless \
         pkg-config \
         postgis \
         postgresql-client \
diff --git a/docker/README.md b/docker/README.md
index c2ab89d66..37633ee2b 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -5,7 +5,7 @@ osmose-backend can be run in a Docker container. This avoids setting
 up and configuring Python, Java and PostgreSQL on your system.
 
 Note : A PostgreSQL docker is automatically installed and run by
-docker-compose and doesn't need be installed manually.
+docker compose and doesn't need be installed manually.
 The osmose-frontend docker may also be run but is not mandatory.
 
 
@@ -14,7 +14,7 @@ Setup
 
 To build the docker image run this command from the docker folder:
 ```
-docker-compose build
+docker compose build
 ```
 
 For production setup, you may fill the `SENTRY_DSN` field in
@@ -32,8 +32,8 @@ chmod a+w ./work
 Taking Monaco (a quick and small one) as an example, once the docker
 image is built, you can run Osmose analyzers using:
 ```
-docker-compose --project-name monaco run --rm backend ./osmose_run.py --country=monaco
-docker-compose --project-name monaco down # Destroy the loaded data base
+docker compose --project-name monaco run --rm backend ./osmose_run.py --country=monaco
+docker compose --project-name monaco down # Destroy the loaded data base
 ```
 
 This will run interactively and you will see the output scrolling on your
@@ -67,7 +67,7 @@ requiring extra configuration or upload password.
 
 Build the docker image with develop tools included:
 ```
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml build
+docker compose -f docker-compose.yml -f docker-compose-dev.yml build
 ```
 
 
@@ -80,7 +80,7 @@ chmod a+w ../modules/osm_pbf_parser/
 
 Enter the container with:
 ```
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml run --rm backend
+docker compose -f docker-compose.yml -f docker-compose-dev.yml run --rm backend
 ```
 
 On the first execution only, compile the OSM PBF parser:
@@ -89,7 +89,7 @@ cd modules/osm_pbf_parser/ && make && cd -
 ```
 
 Note: when exiting the backend, the dependency Database container will still be
-running. You can stop it with `docker-compose stop`.
+running. You can stop it with `docker compose stop`.
 
 
 ## Access to the Database
@@ -109,7 +109,7 @@ osmose=> set search_path to monaco,public;
 
 You can Reset the Database and the docker containers with:
 ```
-docker-compose down -v
+docker compose down -v
 ```
 
 
@@ -130,14 +130,14 @@ pytest plugins/TagFix_Housenumber.py
 
 Download and load a country into the Database:
 ```
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml run -p 8888:8888 --rm backend ./osmose_run.py --no-clean --country=monaco --skip-analyser --skip-upload
+docker compose -f docker-compose.yml -f docker-compose-dev.yml run -p 8888:8888 --rm backend ./osmose_run.py --no-clean --country=monaco --skip-analyser --skip-upload
 ```
 You do not need to load the country each time. It remains in the Database.
 
 
 Then run the jupyter-notebook web server:
 ```
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml run -p 8888:8888 --rm backend jupyter-notebook
+docker compose -f docker-compose.yml -f docker-compose-dev.yml run -p 8888:8888 --rm backend jupyter-notebook
 ```
 Note the `8888:8888`, which exposes port `8888` to localhost.
 
@@ -152,7 +152,7 @@ own analyzer code.
 
 From docker container you can test all the analyzers using:
 ```
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml run --rm backend
+docker compose -f docker-compose.yml -f docker-compose-dev.yml run --rm backend
 ```
 
 To test a specific analyzer:
@@ -187,16 +187,16 @@ First time build
 git clone https://github.com/osmose-qa/osmose-frontend.git
 cd osmose-frontend/docker
 curl https://osmose.openstreetmap.fr/export/osmose-menu.sql.bz2 | bzcat > osmose-menu.sql
-docker-compose build
-docker-compose -f docker-compose.yml -f docker-compose-test.yml up -d postgres
+docker compose build
+docker compose -f docker-compose.yml -f docker-compose-test.yml up -d postgres
 # Wait fwe seconds for postgres ready
-docker-compose -f docker-compose.yml -f docker-compose-test.yml run --rm api bash -c "cd web_api/static && npm run build"
-docker-compose -f docker-compose.yml -f docker-compose-test.yml stop postgres
+docker compose -f docker-compose.yml -f docker-compose-test.yml run --rm api bash -c "cd web_api/static && npm run build"
+docker compose -f docker-compose.yml -f docker-compose-test.yml stop postgres
 ```
 
 Run the frontend
 ```
-docker-compose -f docker-compose.yml -f docker-compose-test.yml up
+docker compose -f docker-compose.yml -f docker-compose-test.yml up
 ```
 
 For a detailed description of the procedure see
@@ -205,7 +205,7 @@ https://github.com/osmose-qa/osmose-frontend/tree/master/docker
 
 To upload the results of the analysis to the frontend, use:
 ```
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml -f docker-compose-frontend.yml run --rm backend bash
+docker compose -f docker-compose.yml -f docker-compose-dev.yml -f docker-compose-frontend.yml run --rm backend bash
 ```
 
 The result will be available at: http://127.0.0.1:8080/en/issues/open?item=xxxx&useDevItem=all
diff --git a/docker/docker-compose-dev.yml b/docker/docker-compose-dev.yml
index 881b2607b..f5d29b8a2 100644
--- a/docker/docker-compose-dev.yml
+++ b/docker/docker-compose-dev.yml
@@ -1,5 +1,3 @@
-version: '3.3'
-
 services:
   backend:
     build:
diff --git a/docker/docker-compose-frontend.yml b/docker/docker-compose-frontend.yml
index cde868366..d80eb74ec 100644
--- a/docker/docker-compose-frontend.yml
+++ b/docker/docker-compose-frontend.yml
@@ -1,5 +1,3 @@
-version: '3.3'
-
 services:
   backend:
     volumes:
diff --git a/docker/docker-compose-readonly.yml b/docker/docker-compose-readonly.yml
index d498beb56..2446d4284 100644
--- a/docker/docker-compose-readonly.yml
+++ b/docker/docker-compose-readonly.yml
@@ -1,5 +1,3 @@
-version: '3.3'
-
 services:
   postgis:
     volumes:
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index d7c29b513..d42cdefd9 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -1,12 +1,10 @@
-version: '3.3'
-
 volumes:
   pgdata:
 
 services:
   postgis:
     shm_size: 1g
-    image: postgis/postgis:16-3.5-alpine
+    image: postgis/postgis:17-3.5-alpine
     volumes:
       - type: bind
         source: ./postgis-init.sh
diff --git a/docker/public-jupyter.sh b/docker/public-jupyter.sh
index 46e7b0778..6452169d4 100755
--- a/docker/public-jupyter.sh
+++ b/docker/public-jupyter.sh
@@ -6,12 +6,12 @@ export COMPOSE_HTTP_TIMEOUT=300
 mkdir local && chmod a+w local
 
 # Just build with docker-compose-dev.yml, not for run
-docker-compose -f docker-compose.yml -f docker-compose-dev.yml build
+docker compose -f docker-compose.yml -f docker-compose-dev.yml build
 
-docker-compose down -v
-docker-compose -f docker-compose.yml run -p 8888:8888 --rm backend ./osmose_run.py --no-clean --country=monaco --skip-analyser --skip-upload
+docker compose down -v
+docker compose -f docker-compose.yml run -p 8888:8888 --rm backend ./osmose_run.py --no-clean --country=monaco --skip-analyser --skip-upload
 
-docker-compose down
-docker-compose -f docker-compose.yml -f docker-compose-readonly.yml up -d
-docker-compose -f docker-compose.yml -f docker-compose-readonly.yml exec postgis bash /postgres-readonly.sh
-# docker-compose -f docker-compose.yml -f docker-compose-readonly.yml run -p 8888:8888 --rm backend jupyter-notebook
+docker compose down
+docker compose -f docker-compose.yml -f docker-compose-readonly.yml up -d
+docker compose -f docker-compose.yml -f docker-compose-readonly.yml exec postgis bash /postgres-readonly.sh
+# docker compose -f docker-compose.yml -f docker-compose-readonly.yml run -p 8888:8888 --rm backend jupyter-notebook
diff --git a/mapcss/item_map.py b/mapcss/item_map.py
index a80b67a85..5074e793a 100644
--- a/mapcss/item_map.py
+++ b/mapcss/item_map.py
@@ -439,6 +439,221 @@
                     'subclass_blacklist': [160705788, 321695123],
                     'tags': ['tag', 'railway'],
                     'url': 'https://www.openrailwaymap.org/validator/openrailwaymap.validator.mapcss'},
+ 'powerQA': {'class': {None: 0,
+                       'Incompatibility between method and source on a power generator': 5,
+                       'Incompatibility between method and source on a power plant': 21,
+                       'Invalid voltage value for this country (Afghanistan)': 35,
+                       'Invalid voltage value for this country (Albania)': 36,
+                       'Invalid voltage value for this country (Algeria)': 37,
+                       'Invalid voltage value for this country (Andorra)': 38,
+                       'Invalid voltage value for this country (Angola)': 39,
+                       'Invalid voltage value for this country (Argentina)': 40,
+                       'Invalid voltage value for this country (Armenia)': 41,
+                       'Invalid voltage value for this country (Australia)': 42,
+                       'Invalid voltage value for this country (Austria)': 43,
+                       'Invalid voltage value for this country (Azerbaijan)': 44,
+                       'Invalid voltage value for this country (Bahrain)': 45,
+                       'Invalid voltage value for this country (Bangladesh)': 46,
+                       'Invalid voltage value for this country (Belarus)': 47,
+                       'Invalid voltage value for this country (Belgium)': 48,
+                       'Invalid voltage value for this country (Belize)': 49,
+                       'Invalid voltage value for this country (Benin)': 50,
+                       'Invalid voltage value for this country (Bhutan)': 51,
+                       'Invalid voltage value for this country (Bolivia)': 52,
+                       'Invalid voltage value for this country (Bosnia and Herzegovina)': 53,
+                       'Invalid voltage value for this country (Botswana)': 54,
+                       'Invalid voltage value for this country (Brazil)': 55,
+                       'Invalid voltage value for this country (Brunei)': 56,
+                       'Invalid voltage value for this country (Bulgaria)': 57,
+                       'Invalid voltage value for this country (Burkina Faso)': 58,
+                       'Invalid voltage value for this country (Burundi)': 59,
+                       'Invalid voltage value for this country (Cambodia)': 60,
+                       'Invalid voltage value for this country (Cameroon)': 61,
+                       'Invalid voltage value for this country (Canada)': 62,
+                       'Invalid voltage value for this country (Cape Verde)': 63,
+                       'Invalid voltage value for this country (Central African Republic)': 64,
+                       'Invalid voltage value for this country (Chad)': 65,
+                       'Invalid voltage value for this country (Chile)': 66,
+                       'Invalid voltage value for this country (Colombia)': 67,
+                       'Invalid voltage value for this country (Costa Rica)': 68,
+                       'Invalid voltage value for this country (Croatia)': 69,
+                       'Invalid voltage value for this country (Cuba)': 70,
+                       'Invalid voltage value for this country (Cyprus)': 71,
+                       'Invalid voltage value for this country (Czech Republic)': 72,
+                       'Invalid voltage value for this country (Democratic Republic of the Congo)': 73,
+                       'Invalid voltage value for this country (Djibouti)': 74,
+                       'Invalid voltage value for this country (Dominican Republic)': 75,
+                       'Invalid voltage value for this country (Ecuador)': 76,
+                       'Invalid voltage value for this country (Egypt)': 77,
+                       'Invalid voltage value for this country (El Salvador)': 78,
+                       'Invalid voltage value for this country (Equatorial Guinea)': 79,
+                       'Invalid voltage value for this country (Eritrea)': 80,
+                       'Invalid voltage value for this country (Estonia)': 81,
+                       'Invalid voltage value for this country (Eswatini)': 82,
+                       'Invalid voltage value for this country (Ethiopia)': 83,
+                       'Invalid voltage value for this country (Federated States of Micronesia)': 84,
+                       'Invalid voltage value for this country (Fiji)': 85,
+                       'Invalid voltage value for this country (Finland)': 86,
+                       'Invalid voltage value for this country (France)': 87,
+                       'Invalid voltage value for this country (Gabon)': 88,
+                       'Invalid voltage value for this country (Georgia)': 89,
+                       'Invalid voltage value for this country (Germany)': 90,
+                       'Invalid voltage value for this country (Ghana)': 91,
+                       'Invalid voltage value for this country (Greece)': 92,
+                       'Invalid voltage value for this country (Guatemala)': 93,
+                       'Invalid voltage value for this country (Guinea)': 94,
+                       'Invalid voltage value for this country (Guinea-Bissau)': 95,
+                       'Invalid voltage value for this country (Haiti)': 96,
+                       'Invalid voltage value for this country (Honduras)': 97,
+                       'Invalid voltage value for this country (Hungary)': 98,
+                       'Invalid voltage value for this country (Iceland)': 99,
+                       'Invalid voltage value for this country (India)': 100,
+                       'Invalid voltage value for this country (Indonesia)': 101,
+                       'Invalid voltage value for this country (Iran)': 102,
+                       'Invalid voltage value for this country (Iraq)': 103,
+                       'Invalid voltage value for this country (Ireland)': 104,
+                       'Invalid voltage value for this country (Israel)': 105,
+                       'Invalid voltage value for this country (Italy)': 106,
+                       'Invalid voltage value for this country (Ivory Coast)': 107,
+                       'Invalid voltage value for this country (Jamaica)': 108,
+                       'Invalid voltage value for this country (Japan)': 109,
+                       'Invalid voltage value for this country (Jordan)': 110,
+                       'Invalid voltage value for this country (Kazakhstan)': 111,
+                       'Invalid voltage value for this country (Kenya)': 112,
+                       'Invalid voltage value for this country (Kingdom of Denmark)': 113,
+                       'Invalid voltage value for this country (Kingdom of the Netherlands)': 114,
+                       'Invalid voltage value for this country (Kuwait)': 115,
+                       'Invalid voltage value for this country (Kyrgyzstan)': 116,
+                       'Invalid voltage value for this country (Laos)': 117,
+                       'Invalid voltage value for this country (Latvia)': 118,
+                       'Invalid voltage value for this country (Lebanon)': 119,
+                       'Invalid voltage value for this country (Lesotho)': 120,
+                       'Invalid voltage value for this country (Liberia)': 121,
+                       'Invalid voltage value for this country (Libya)': 122,
+                       'Invalid voltage value for this country (Liechtenstein)': 123,
+                       'Invalid voltage value for this country (Lithuania)': 124,
+                       'Invalid voltage value for this country (Luxembourg)': 125,
+                       'Invalid voltage value for this country (Madagascar)': 126,
+                       'Invalid voltage value for this country (Malawi)': 127,
+                       'Invalid voltage value for this country (Malaysia)': 128,
+                       'Invalid voltage value for this country (Maldives)': 129,
+                       'Invalid voltage value for this country (Mali)': 130,
+                       'Invalid voltage value for this country (Malta)': 131,
+                       'Invalid voltage value for this country (Mauritania)': 132,
+                       'Invalid voltage value for this country (Mauritius)': 133,
+                       'Invalid voltage value for this country (Mexico)': 134,
+                       'Invalid voltage value for this country (Moldova)': 135,
+                       'Invalid voltage value for this country (Mongolia)': 136,
+                       'Invalid voltage value for this country (Montenegro)': 137,
+                       'Invalid voltage value for this country (Morocco)': 138,
+                       'Invalid voltage value for this country (Mozambique)': 139,
+                       'Invalid voltage value for this country (Myanmar)': 140,
+                       'Invalid voltage value for this country (Namibia)': 141,
+                       'Invalid voltage value for this country (Nepal)': 142,
+                       'Invalid voltage value for this country (New Zealand)': 143,
+                       'Invalid voltage value for this country (Nicaragua)': 144,
+                       'Invalid voltage value for this country (Niger)': 145,
+                       'Invalid voltage value for this country (Nigeria)': 146,
+                       'Invalid voltage value for this country (North Korea)': 147,
+                       'Invalid voltage value for this country (North Macedonia)': 148,
+                       'Invalid voltage value for this country (Norway)': 149,
+                       'Invalid voltage value for this country (Oman)': 150,
+                       'Invalid voltage value for this country (Pakistan)': 151,
+                       'Invalid voltage value for this country (Panama)': 152,
+                       'Invalid voltage value for this country (Papua New Guinea)': 153,
+                       'Invalid voltage value for this country (Paraguay)': 154,
+                       "Invalid voltage value for this country (People's Republic of China)": 155,
+                       'Invalid voltage value for this country (Peru)': 156,
+                       'Invalid voltage value for this country (Philippines)': 157,
+                       'Invalid voltage value for this country (Poland)': 158,
+                       'Invalid voltage value for this country (Portugal)': 159,
+                       'Invalid voltage value for this country (Qatar)': 160,
+                       'Invalid voltage value for this country (Republic of the Congo)': 161,
+                       'Invalid voltage value for this country (Romania)': 162,
+                       'Invalid voltage value for this country (Russia)': 163,
+                       'Invalid voltage value for this country (Rwanda)': 164,
+                       'Invalid voltage value for this country (San Marino)': 165,
+                       'Invalid voltage value for this country (Saudi Arabia)': 166,
+                       'Invalid voltage value for this country (Senegal)': 167,
+                       'Invalid voltage value for this country (Serbia)': 168,
+                       'Invalid voltage value for this country (Sierra Leone)': 169,
+                       'Invalid voltage value for this country (Singapore)': 170,
+                       'Invalid voltage value for this country (Slovakia)': 171,
+                       'Invalid voltage value for this country (Slovenia)': 172,
+                       'Invalid voltage value for this country (South Africa)': 173,
+                       'Invalid voltage value for this country (South Korea)': 174,
+                       'Invalid voltage value for this country (South Sudan)': 175,
+                       'Invalid voltage value for this country (Spain)': 176,
+                       'Invalid voltage value for this country (Sri Lanka)': 177,
+                       'Invalid voltage value for this country (State of Palestine)': 178,
+                       'Invalid voltage value for this country (Sudan)': 179,
+                       'Invalid voltage value for this country (Suriname)': 180,
+                       'Invalid voltage value for this country (Sweden)': 181,
+                       'Invalid voltage value for this country (Switzerland)': 182,
+                       'Invalid voltage value for this country (Syria)': 183,
+                       'Invalid voltage value for this country (Taiwan)': 184,
+                       'Invalid voltage value for this country (Tajikistan)': 185,
+                       'Invalid voltage value for this country (Tanzania)': 186,
+                       'Invalid voltage value for this country (Thailand)': 187,
+                       'Invalid voltage value for this country (The Bahamas)': 188,
+                       'Invalid voltage value for this country (The Gambia)': 189,
+                       'Invalid voltage value for this country (Timor-Leste)': 190,
+                       'Invalid voltage value for this country (Togo)': 191,
+                       'Invalid voltage value for this country (Trinidad and Tobago)': 192,
+                       'Invalid voltage value for this country (Tunisia)': 193,
+                       'Invalid voltage value for this country (Turkey)': 194,
+                       'Invalid voltage value for this country (Turkmenistan)': 195,
+                       'Invalid voltage value for this country (Uganda)': 196,
+                       'Invalid voltage value for this country (Ukraine)': 197,
+                       'Invalid voltage value for this country (United Arab Emirates)': 198,
+                       'Invalid voltage value for this country (United Kingdom)': 199,
+                       'Invalid voltage value for this country (United States)': 200,
+                       'Invalid voltage value for this country (Uruguay)': 201,
+                       'Invalid voltage value for this country (Uzbekistan)': 202,
+                       'Invalid voltage value for this country (Venezuela)': 203,
+                       'Invalid voltage value for this country (Vietnam)': 204,
+                       'Invalid voltage value for this country (Yemen)': 205,
+                       'Invalid voltage value for this country (Zambia)': 206,
+                       'Invalid voltage value for this country (Zimbabwe)': 207,
+                       'Is it a power circuit or a power line section? Add the power=* tag accordingly.': 208,
+                       'Unsuitable method for biofuel generator': 13,
+                       'Unsuitable method for biofuel power plant': 29,
+                       'Unsuitable method for biogas generator': 14,
+                       'Unsuitable method for biogas power plant': 30,
+                       'Unsuitable method for biomass generator': 12,
+                       'Unsuitable method for biomass power plant': 28,
+                       'Unsuitable method for coal generator': 10,
+                       'Unsuitable method for coal power plant': 26,
+                       'Unsuitable method for diesel generator': 16,
+                       'Unsuitable method for diesel power plant': 32,
+                       'Unsuitable method for gas generator': 11,
+                       'Unsuitable method for gas power plant': 27,
+                       'Unsuitable method for gasoline generator': 17,
+                       'Unsuitable method for gasoline power plant': 33,
+                       'Unsuitable method for hydro generator': 7,
+                       'Unsuitable method for hydro power plant': 23,
+                       'Unsuitable method for nuclear generator': 4,
+                       'Unsuitable method for nuclear power plant': 20,
+                       'Unsuitable method for oil generator': 15,
+                       'Unsuitable method for oil power plant': 31,
+                       'Unsuitable method for solar generator': 9,
+                       'Unsuitable method for solar power plant': 25,
+                       'Unsuitable method for tidal generator': 8,
+                       'Unsuitable method for tidal power plant': 24,
+                       'Unsuitable method for waste generator': 18,
+                       'Unsuitable method for waste power plant': 34,
+                       'Unsuitable method for wind generator': 6,
+                       'Unsuitable method for wind power plant': 22,
+                       'Unsuitable value for generator:source=* tag': 3,
+                       'Unsuitable value for plant:source=* tag': 19,
+                       'Unsuitable value for power=* tag': 1,
+                       'Unsuitable value for transformer=* tag': 2,
+                       'power=circuit relations should have a topology tag with value linear or branched': 209,
+                       'wires tag should be on the power line and not on the circuit relation': 210},
+             'item': 7040,
+             'prefix': 'Josm_',
+             'tags': ['tag', 'power'],
+             'url': 'https://github.com/open-energy-transition/validate-my-grid/blob/gh-pages/powerQA.validator.mapcss'},
  'relation': {'class': {'missing tag': 9007001},
               'item': 9007,
               'prefix': 'Josm_',
diff --git a/plugins/Josm_powerQA.py b/plugins/Josm_powerQA.py
new file mode 100644
index 000000000..49e8a068c
--- /dev/null
+++ b/plugins/Josm_powerQA.py
@@ -0,0 +1,13408 @@
+#-*- coding: utf-8 -*-
+import modules.mapcss_lib as mapcss
+import regex as re # noqa
+
+from plugins.Plugin import with_options # noqa
+from plugins.PluginMapCSS import PluginMapCSS
+
+
+class Josm_powerQA(PluginMapCSS):
+    # ------------------------------- IMPORTANT -------------------------------
+    # This file is generated automatically and should not be modified directly.
+    # Instead, modify the source mapcss file and regenerate this Python script.
+    # -------------------------------------------------------------------------
+
+    MAPCSS_URL = 'https://github.com/open-energy-transition/validate-my-grid/blob/gh-pages/powerQA.validator.mapcss'
+
+
+    def init(self, logger):
+        super().init(logger)
+        tags = capture_tags = {} # noqa
+        self.errors[1] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable value for power=* tag'), fix = mapcss.tr('Check the list of possible values on the wiki and correct the tag for this object.'), detail = mapcss.tr('The power=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:power')
+        self.errors[2] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable value for transformer=* tag'), fix = mapcss.tr('Check the list of possible values on the wiki and correct the tag for this object.'), detail = mapcss.tr('The transformer=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:transformer')
+        self.errors[3] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable value for generator:source=* tag'), fix = mapcss.tr('Check the list of possible values on the wiki and correct the tag for this object.'), detail = mapcss.tr('The generator:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:source')
+        self.errors[4] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for nuclear generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Nuclear generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[5] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Incompatibility between method and source on a power generator'), fix = mapcss.tr('Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.', 'generator:method', 'generator:source'), detail = mapcss.tr('It is not possible to use the specified method to generate energy from this source.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[6] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for wind generator'), fix = mapcss.tr('Remove the `{0}` tag or change it to `{1}`.', 'generator:method', 'wind_turbine'), detail = mapcss.tr('Wind generators can only use turbines to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[7] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for hydro generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Hydro generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[8] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for tidal generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Tidal generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[9] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for solar generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Solar generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[10] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for coal generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Coal generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[11] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for gas generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Gas generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[12] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for biomass generator'), detail = mapcss.tr('Biomass generator can only use certain well-defined methods to generate energy.'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[13] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for biofuel generator'), detail = mapcss.tr('Biofuel generator can only use certain well-defined methods to generate energy.'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[14] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for biogas generator'), detail = mapcss.tr('Biogas generator can only use certain well-defined methods to generate energy.'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[15] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for oil generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Oil generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[16] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for diesel generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Diesel generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[17] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for gasoline generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Gasoline generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[18] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for waste generator'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'generator:method'), detail = mapcss.tr('Waste generator can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:generator:method')
+        self.errors[19] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable value for plant:source=* tag'), fix = mapcss.tr('Check the list of possible values on the wiki and correct the tag for this object.'), detail = mapcss.tr('The plant:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:source')
+        self.errors[20] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for nuclear power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Nuclear power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[21] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Incompatibility between method and source on a power plant'), fix = mapcss.tr('Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.', 'plant:method', 'plant:source'), detail = mapcss.tr('It is not possible to use the specified method to generate energy from this source.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[22] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for wind power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Wind power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[23] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for hydro power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Hydro power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[24] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for tidal power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Tidal power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[25] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for solar power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Solar power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[26] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for coal power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Coal power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[27] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for gas power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Gas power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[28] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for biomass power plant'), detail = mapcss.tr('Biomass power plants can only use certain well-defined methods to generate energy.'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[29] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for biofuel power plant'), detail = mapcss.tr('Biofuel power plants can only use certain well-defined methods to generate energy.'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[30] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for biogas power plant'), detail = mapcss.tr('Biogas power plants can only use certain well-defined methods to generate energy.'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[31] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for oil power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Oil power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[32] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for diesel power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Diesel power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[33] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for gasoline power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Gasoline power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[34] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Unsuitable method for waste power plant'), fix = mapcss.tr('Check the list of possible values for this source on the wiki and correct the `{0}` tag.', 'plant:method'), detail = mapcss.tr('Waste power plants can only use certain well-defined methods to generate energy.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:plant:method')
+        self.errors[35] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Afghanistan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Afghanistan')
+        self.errors[36] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Albania)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Albania')
+        self.errors[37] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Algeria)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Algeria')
+        self.errors[38] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Andorra)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Andorra')
+        self.errors[39] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Angola)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Angola')
+        self.errors[40] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Argentina)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Argentina')
+        self.errors[41] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Armenia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Armenia')
+        self.errors[42] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Australia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Australia')
+        self.errors[43] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Austria)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Austria')
+        self.errors[44] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Azerbaijan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Azerbaijan')
+        self.errors[45] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Bahrain)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Bahrain')
+        self.errors[46] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Bangladesh)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Bangladesh')
+        self.errors[47] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Belarus)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Belarus')
+        self.errors[48] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Belgium)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Belgium')
+        self.errors[49] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Belize)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Belize')
+        self.errors[50] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Benin)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Benin')
+        self.errors[51] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Bhutan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Bhutan')
+        self.errors[52] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Bolivia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Bolivia')
+        self.errors[53] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Bosnia and Herzegovina)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Bosnia_and_Herzegovina')
+        self.errors[54] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Botswana)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Botswana')
+        self.errors[55] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Brazil)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Brazil')
+        self.errors[56] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Brunei)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Brunei')
+        self.errors[57] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Bulgaria)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Bulgaria')
+        self.errors[58] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Burkina Faso)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Burkina_Faso')
+        self.errors[59] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Burundi)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Burundi')
+        self.errors[60] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Cambodia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Cambodia')
+        self.errors[61] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Cameroon)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Cameroon')
+        self.errors[62] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Canada)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Canada')
+        self.errors[63] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Cape Verde)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Cape_Verde')
+        self.errors[64] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Central African Republic)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Central_African_Republic')
+        self.errors[65] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Chad)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Chad')
+        self.errors[66] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Chile)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Chile')
+        self.errors[67] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Colombia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Colombia')
+        self.errors[68] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Costa Rica)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Costa_Rica')
+        self.errors[69] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Croatia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Croatia')
+        self.errors[70] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Cuba)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Cuba')
+        self.errors[71] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Cyprus)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Cyprus')
+        self.errors[72] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Czech Republic)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Czech_Republic')
+        self.errors[73] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Democratic Republic of the Congo)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Democratic_Republic_of_the_Congo')
+        self.errors[74] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Djibouti)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Djibouti')
+        self.errors[75] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Dominican Republic)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Dominican_Republic')
+        self.errors[76] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Ecuador)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Ecuador')
+        self.errors[77] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Egypt)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Egypt')
+        self.errors[78] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (El Salvador)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/El_Salvador')
+        self.errors[79] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Equatorial Guinea)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Equatorial_Guinea')
+        self.errors[80] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Eritrea)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Eritrea')
+        self.errors[81] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Estonia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Estonia')
+        self.errors[82] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Eswatini)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Eswatini')
+        self.errors[83] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Ethiopia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Ethiopia')
+        self.errors[84] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Federated States of Micronesia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Federated_States_of_Micronesia')
+        self.errors[85] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Fiji)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Fiji')
+        self.errors[86] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Finland)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Finland')
+        self.errors[87] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (France)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/France')
+        self.errors[88] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Gabon)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Gabon')
+        self.errors[89] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Georgia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Georgia')
+        self.errors[90] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Germany)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Germany')
+        self.errors[91] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Ghana)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Ghana')
+        self.errors[92] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Greece)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Greece')
+        self.errors[93] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Guatemala)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Guatemala')
+        self.errors[94] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Guinea)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Guinea')
+        self.errors[95] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Guinea-Bissau)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Guinea-Bissau')
+        self.errors[96] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Haiti)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Haiti')
+        self.errors[97] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Honduras)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Honduras')
+        self.errors[98] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Hungary)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Hungary')
+        self.errors[99] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Iceland)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Iceland')
+        self.errors[100] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (India)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/India')
+        self.errors[101] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Indonesia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Indonesia')
+        self.errors[102] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Iran)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Iran')
+        self.errors[103] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Iraq)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Iraq')
+        self.errors[104] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Ireland)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Ireland')
+        self.errors[105] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Israel)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Israel')
+        self.errors[106] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Italy)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Italy')
+        self.errors[107] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Ivory Coast)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Ivory_Coast')
+        self.errors[108] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Jamaica)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Jamaica')
+        self.errors[109] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Japan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Japan')
+        self.errors[110] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Jordan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Jordan')
+        self.errors[111] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Kazakhstan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Kazakhstan')
+        self.errors[112] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Kenya)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Kenya')
+        self.errors[113] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Kingdom of Denmark)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Denmark')
+        self.errors[114] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Kingdom of the Netherlands)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Netherlands')
+        self.errors[115] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Kuwait)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Kuwait')
+        self.errors[116] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Kyrgyzstan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Kyrgyzstan')
+        self.errors[117] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Laos)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Laos')
+        self.errors[118] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Latvia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Latvia')
+        self.errors[119] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Lebanon)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Lebanon')
+        self.errors[120] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Lesotho)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Lesotho')
+        self.errors[121] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Liberia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Liberia')
+        self.errors[122] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Libya)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Libya')
+        self.errors[123] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Liechtenstein)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Liechtenstein')
+        self.errors[124] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Lithuania)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Lithuania')
+        self.errors[125] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Luxembourg)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Luxembourg')
+        self.errors[126] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Madagascar)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Madagascar')
+        self.errors[127] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Malawi)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Malawi')
+        self.errors[128] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Malaysia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Malaysia')
+        self.errors[129] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Maldives)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Maldives')
+        self.errors[130] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Mali)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Mali')
+        self.errors[131] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Malta)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Malta')
+        self.errors[132] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Mauritania)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Mauritania')
+        self.errors[133] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Mauritius)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Mauritius')
+        self.errors[134] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Mexico)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Mexico')
+        self.errors[135] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Moldova)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Moldova')
+        self.errors[136] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Mongolia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Mongolia')
+        self.errors[137] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Montenegro)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Montenegro')
+        self.errors[138] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Morocco)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Morocco')
+        self.errors[139] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Mozambique)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Mozambique')
+        self.errors[140] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Myanmar)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Myanmar')
+        self.errors[141] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Namibia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Namibia')
+        self.errors[142] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Nepal)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Nepal')
+        self.errors[143] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (New Zealand)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/New_Zealand')
+        self.errors[144] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Nicaragua)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Nicaragua')
+        self.errors[145] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Niger)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Niger')
+        self.errors[146] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Nigeria)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Nigeria')
+        self.errors[147] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (North Korea)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/North_Korea')
+        self.errors[148] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (North Macedonia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/North_Macedonia')
+        self.errors[149] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Norway)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Norway')
+        self.errors[150] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Oman)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Oman')
+        self.errors[151] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Pakistan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Pakistan')
+        self.errors[152] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Panama)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Panama')
+        self.errors[153] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Papua New Guinea)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Papua_New_Guinea')
+        self.errors[154] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Paraguay)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Paraguay')
+        self.errors[155] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (People\'s Republic of China)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/China')
+        self.errors[156] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Peru)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Peru')
+        self.errors[157] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Philippines)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Philippines')
+        self.errors[158] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Poland)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Poland')
+        self.errors[159] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Portugal)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Portugal')
+        self.errors[160] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Qatar)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Qatar')
+        self.errors[161] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Republic of the Congo)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Republic_of_the_Congo')
+        self.errors[162] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Romania)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Romania')
+        self.errors[163] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Russia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Russia')
+        self.errors[164] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Rwanda)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Rwanda')
+        self.errors[165] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (San Marino)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/San_Marino')
+        self.errors[166] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Saudi Arabia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Saudi_Arabia')
+        self.errors[167] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Senegal)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Senegal')
+        self.errors[168] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Serbia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Serbia')
+        self.errors[169] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Sierra Leone)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Sierra_Leone')
+        self.errors[170] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Singapore)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Singapore')
+        self.errors[171] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Slovakia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Slovakia')
+        self.errors[172] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Slovenia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Slovenia')
+        self.errors[173] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (South Africa)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/South_Africa')
+        self.errors[174] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (South Korea)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/South_Korea')
+        self.errors[175] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (South Sudan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/South_Sudan')
+        self.errors[176] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Spain)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Spain')
+        self.errors[177] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Sri Lanka)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Sri_Lanka')
+        self.errors[178] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (State of Palestine)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/State_of_Palestine')
+        self.errors[179] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Sudan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Sudan')
+        self.errors[180] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Suriname)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Suriname')
+        self.errors[181] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Sweden)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Sweden')
+        self.errors[182] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Switzerland)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Switzerland')
+        self.errors[183] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Syria)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Syria')
+        self.errors[184] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Taiwan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Taiwan')
+        self.errors[185] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Tajikistan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Tajikistan')
+        self.errors[186] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Tanzania)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Tanzania')
+        self.errors[187] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Thailand)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Thailand')
+        self.errors[188] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (The Bahamas)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/The_Bahamas')
+        self.errors[189] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (The Gambia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/The_Gambia')
+        self.errors[190] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Timor-Leste)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Timor-Leste')
+        self.errors[191] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Togo)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Togo')
+        self.errors[192] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Trinidad and Tobago)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Trinidad_and_Tobago')
+        self.errors[193] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Tunisia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Tunisia')
+        self.errors[194] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Turkey)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Turkey')
+        self.errors[195] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Turkmenistan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Turkmenistan')
+        self.errors[196] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Uganda)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Uganda')
+        self.errors[197] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Ukraine)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Ukraine')
+        self.errors[198] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (United Arab Emirates)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/United_Arab_Emirates')
+        self.errors[199] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (United Kingdom)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Great_Britain')
+        self.errors[200] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (United States)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/United_States')
+        self.errors[201] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Uruguay)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Uruguay')
+        self.errors[202] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Uzbekistan)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Uzbekistan')
+        self.errors[203] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Venezuela)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Venezuela')
+        self.errors[204] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Vietnam)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Vietnam')
+        self.errors[205] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Yemen)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Yemen')
+        self.errors[206] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Zambia)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Zambia')
+        self.errors[207] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Invalid voltage value for this country (Zimbabwe)'), fix = mapcss.tr('Check the list of possible values for this country on the wiki and correct the `0` tag.', 'voltage'), detail = mapcss.tr('Each country has its own voltage set used for electricity transmission.'), example = mapcss.tr('For example, in Jordan, only 132 kV and 400 kV voltages are used.'), trap = {"en": 'If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check.'}, resource = 'https://wiki.openstreetmap.org/wiki/Power_networks/Zimbabwe')
+        self.errors[208] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('Is it a power circuit or a power line section? Add the power=* tag accordingly.'), fix = mapcss.tr('Check whether it is a line section or a complete circuit, and add the power tag accordingly.'), detail = mapcss.tr('There are only two possible types of power relation. The power tag must be added to specify which type is involved here.'), resource = 'https://wiki.openstreetmap.org/wiki/Relation:power')
+        self.errors[209] = self.def_class(item = 7040, level = 2, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('power=circuit relations should have a topology tag with value linear or branched'), fix = mapcss.tr('Check the circuit topology and specify a value between `{0}` and `{1}`.', 'linear', 'branched'), detail = mapcss.tr('The topology tag can only take two values on the power circuit context. This is probably a typo or an error.'), resource = 'https://wiki.openstreetmap.org/wiki/Key:topology')
+        self.errors[210] = self.def_class(item = 7040, level = 3, tags = mapcss.list_('tag', 'power'), title = mapcss.tr('wires tag should be on the power line and not on the circuit relation'), detail = mapcss.tr('Bundles arrangement only regard power segments. A given circuit can go through several line segments with different bundles. Use wires only on power segments.'), fix = mapcss.tr('Remove the tag from the circuit relation and add it to its members instead'), resource = 'https://wiki.openstreetmap.org/wiki/Key:wires#A_physical_property')
+
+        self.re_009ee9c4 = re.compile(r'^(combustion|gasification|anaerobic_digestion)$')
+        self.re_03e3112c = re.compile(r'^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$')
+        self.re_0425562b = re.compile(r'^(110000|220000|230000|500000)$')
+        self.re_043624d0 = re.compile(r'^(33000|66000|150000|220000|400000)$')
+        self.re_05a6cbca = re.compile(r'^(combustion|gasification)$')
+        self.re_074fdc09 = re.compile(r'^(69000|138000|230000)$')
+        self.re_0757e9d5 = re.compile(r'^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$')
+        self.re_08bfac39 = re.compile(r'^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$')
+        self.re_0999cd78 = re.compile(r'^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$')
+        self.re_0a039a95 = re.compile(r'^(66000|132000|220000)$')
+        self.re_0a188683 = re.compile(r'^(30000|35000|110000|150000|220000|400000)$')
+        self.re_0bb23efd = re.compile(r'^(23000|33000|132000|230000|400000)$')
+        self.re_0c11f7a6 = re.compile(r'^(22000|35000|110000|220000|500000)$')
+        self.re_0cf641e0 = re.compile(r'^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$')
+        self.re_0d635fe6 = re.compile(r'^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$')
+        self.re_0e11dbdf = re.compile(r'^(225000)$')
+        self.re_0f195ae1 = re.compile(r'^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$')
+        self.re_1031dc3f = re.compile(r'^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$')
+        self.re_110dc891 = re.compile(r'^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$')
+        self.re_122154ab = re.compile(r'^(15000|35000|110000|300000|330000|400000)$')
+        self.re_13fd4c40 = re.compile(r'^(11000|15000|132000|220000|400000|500000)$')
+        self.re_15aa6eb6 = re.compile(r'^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$')
+        self.re_15d3b209 = re.compile(r'^(115000|161000|400000)$')
+        self.re_1639cf1a = re.compile(r'^(66000)$')
+        self.re_168afd57 = re.compile(r'^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$')
+        self.re_17045a03 = re.compile(r'^(63000|138000)$')
+        self.re_17aa7472 = re.compile(r'^(69000|161000|345000|690000)$')
+        self.re_1810335f = re.compile(r'^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$')
+        self.re_187ae8d5 = re.compile(r'^(132000)$')
+        self.re_19e5679c = re.compile(r'^(230000)$')
+        self.re_1b67d214 = re.compile(r'^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$')
+        self.re_1c0df27c = re.compile(r'^(66000|132000|220000|400000|500000)$')
+        self.re_1cb10787 = re.compile(r'^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$')
+        self.re_1e0c1227 = re.compile(r'^(20000|60000)$')
+        self.re_1f435557 = re.compile(r'^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$')
+        self.re_20a11341 = re.compile(r'^(60000|66000|110000|132000|150000|220000|400000)$')
+        self.re_20a91a01 = re.compile(r'^(11000|33000|66000|132000|275000|300000|500000)$')
+        self.re_2150c255 = re.compile(r'^(161000)$')
+        self.re_21537747 = re.compile(r'fission|fusion')
+        self.re_21b86ee6 = re.compile(r'^(22000|50000|110000|115000|220000|230000|500000)$')
+        self.re_24462be0 = re.compile(r'^(63000|65000|150000|220000|225000)$')
+        self.re_2450a903 = re.compile(r'^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$')
+        self.re_247a7ae8 = re.compile(r'^(220000|230000|400000)$')
+        self.re_24f5f1cd = re.compile(r'^(110000|220000|400000)$')
+        self.re_25cd10b5 = re.compile(r'^(90000|225000)$')
+        self.re_25ec0862 = re.compile(r'^(150000)$')
+        self.re_262476e6 = re.compile(r'line_section|circuit')
+        self.re_263b6b3e = re.compile(r'^(66000|110000|132000|220000|275000|330000|400000|533000)$')
+        self.re_2687a5ba = re.compile(r'^(11000|33000|132000|330000)$')
+        self.re_26c08bf9 = re.compile(r'^(thermal|photovoltaic)$')
+        self.re_28f9c3db = re.compile(r'^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$')
+        self.re_296b474d = re.compile(r'^(main|auxiliary|generator|converter|phase_angle_regulator|converter|distribution|yes|traction|minor_distribution|auto)$')
+        self.re_2bb1cd2e = re.compile(r'^(20000|110000|330000)$')
+        self.re_2bd2d0e5 = re.compile(r'^(11000|33000|66000|110000|132000|400000)$')
+        self.re_2c04ecfb = re.compile(r'^(water-storage|water-pumped-storage|run-of-the-river)$')
+        self.re_2cc8f87e = re.compile(r'^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$')
+        self.re_2dccca10 = re.compile(r'^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$')
+        self.re_2e660e01 = re.compile(r'^(66000|132000|220000|400000)$')
+        self.re_2e7e4902 = re.compile(r'^(70000|110000|220000)$')
+        self.re_2ea677e3 = re.compile(r'^(66000|110000|220000|500000)$')
+        self.re_2f6339dc = re.compile(r'^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$')
+        self.re_2f7e025c = re.compile(r'^(13800)$')
+        self.re_2fe82f3c = re.compile(r'^(63000|150000|225000)$')
+        self.re_2ff1797a = re.compile(r'^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$')
+        self.re_3007231b = re.compile(r'^(11000|23000|25000|33000|66000|132000|154000|400000)$')
+        self.re_309280d5 = re.compile(r'^(35000|40000|100000|110000|220000|330000|750000)$')
+        self.re_313e83ad = re.compile(r'^(25000|33000|110000|115000|132000|230000|380000|400000)$')
+        self.re_32e2ea6c = re.compile(r'^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$')
+        self.re_333c4ef6 = re.compile(r'^(30000|33000|60000|66000|138000|220000|230000|500000)$')
+        self.re_33f4b70a = re.compile(r'^(20000|25000|35000|110000|220000|400000|500000)$')
+        self.re_34230a2b = re.compile(r'^(90000|132000|225000)$')
+        self.re_34dfedad = re.compile(r'^(12000|34500|66000|69000|132000|138000|220000|500000)$')
+        self.re_351dc689 = re.compile(r'^(11000|161000|225000|330000)$')
+        self.re_356889db = re.compile(r'^(21000|66000|110000|132000|220000|400000)$')
+        self.re_35859f0b = re.compile(r'^(11000|66000|132000)$')
+        self.re_35ea191f = re.compile(r'^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$')
+        self.re_364ced34 = re.compile(r'^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$')
+        self.re_375460ae = re.compile(r'^(15000|20000|24000|35000|110000|150000|330000|450000)$')
+        self.re_38c1c717 = re.compile(r'^(35000|110000|220000|400000)$')
+        self.re_3907ef06 = re.compile(r'^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$')
+        self.re_39f1f164 = re.compile(r'^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$')
+        self.re_39f6e14a = re.compile(r'^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$')
+        self.re_3aa87d11 = re.compile(r'^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$')
+        self.re_3b02dceb = re.compile(r'^(33000|35000|110000|330000|400000)$')
+        self.re_3b2d49c4 = re.compile(r'^(66000|132000|275000)$')
+        self.re_3c9d3cca = re.compile(r'^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$')
+        self.re_3de199b9 = re.compile(r'^(35000|110000|138000|220000|500000)$')
+        self.re_3f88f86c = re.compile(r'^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$')
+        self.re_40006e82 = re.compile(r'^(11000|20000|33000|66000|110000|132000|230000|500000)$')
+        self.re_403ae00b = re.compile(r'^(33000|132000|220000|400000)$')
+        self.re_40d39fce = re.compile(r'^(50000|60000|132000|150000|220000|400000)$')
+        self.re_4148662f = re.compile(r'^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$')
+        self.re_4343e75a = re.compile(r'^(35000|110000|220000|400000|500000)$')
+        self.re_4366c21c = re.compile(r'^(35000|110000|132000|154000|220000|330000|500000)$')
+        self.re_4399527a = re.compile(r';')
+        self.re_43d80261 = re.compile(r'^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$')
+        self.re_445dce10 = re.compile(r'^(30000|110000|225000)$')
+        self.re_447ac42a = re.compile(r'^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$')
+        self.re_44d511b4 = re.compile(r'^(69000|138000)$')
+        self.re_44f7c665 = re.compile(r'^(20000|70000|150000|230000|275000|500000)$')
+        self.re_455fa519 = re.compile(r'^(15000|90000|225000|400000)$')
+        self.re_4690e9a7 = re.compile(r'^(33000|66000|132000|220000|400000)$')
+        self.re_4698125a = re.compile(r'^(132000|400000)$')
+        self.re_48a46ecb = re.compile(r'^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$')
+        self.re_494f7be8 = re.compile(r'^(20000|25000|30000|35000|110000|220000|380000|400000)$')
+        self.re_4a39b920 = re.compile(r'^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$')
+        self.re_4c208d10 = re.compile(r'^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$')
+        self.re_4c6c0f8c = re.compile(r'^(66000|132000|400000)$')
+        self.re_4e6ba896 = re.compile(r'^(132000|220000|400000)$')
+        self.re_50389fcc = re.compile(r'^(50000|66000|110000|220000)$')
+        self.re_5079f988 = re.compile(r'^(110000|220000)$')
+        self.re_526934a1 = re.compile(r'^(11000|66000|110000|154000|220000)$')
+        self.re_528c9009 = re.compile(r'^(69000|115000)$')
+        self.re_53561357 = re.compile(r'^(69000|115000|132000|138000|230000|400000)$')
+        self.re_56b8f45f = re.compile(r'^(11000|15000|33000|66000|132000|220000|400000)$')
+        self.re_580cbc71 = re.compile(r'^(30000|60000|66000|90000|150000|220000|225000|400000)$')
+        self.re_583b6258 = re.compile(r'^(barrage|stream)$')
+        self.re_59057c52 = re.compile(r'^(115000|230000)$')
+        self.re_59f73886 = re.compile(r'^(22000|33000|35000|110000|220000|380000|400000)$')
+        self.re_5a39ab8e = re.compile(r'^(22000|110000|220000|400000)$')
+        self.re_5b4d6241 = re.compile(r'^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$')
+        self.re_5d252d75 = re.compile(r'^(waste|biomass)(;(waste|biomass))*$')
+        self.re_5e41b29d = re.compile(r'^(30000|31500|60000|63000|132000|150000|230000|500000)$')
+        self.re_5e6454d8 = re.compile(r'^(63000|90000|115000|225000)$')
+        self.re_5ec02c4f = re.compile(r'^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$')
+        self.re_5ec31fe0 = re.compile(r'^(161000|225000)$')
+        self.re_5f0cae6b = re.compile(r'^(138000|230000)$')
+        self.re_601cbfba = re.compile(r'^(33000|66000|132000|275000|400000)$')
+        self.re_642c98f5 = re.compile(r'^(fission|fusion)$')
+        self.re_643751fc = re.compile(r'^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$')
+        self.re_64f34b83 = re.compile(r'^(11000|33000|132000|220000)$')
+        self.re_65c9364b = re.compile(r'^(33000|66000|88000|110000|132000|220000|330000|400000)$')
+        self.re_65ecf8ac = re.compile(r'^(110000|115000|220000|230000|500000)$')
+        self.re_65ed1a9a = re.compile(r'^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$')
+        self.re_66509c6a = re.compile(r'^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$')
+        self.re_68c12a97 = re.compile(r'^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$')
+        self.re_69390aec = re.compile(r'^(66000|132000)$')
+        self.re_69eb6042 = re.compile(r'^(11000|33000|110000|132000)$')
+        self.re_6a0cb1be = re.compile(r'^(161000|330000)$')
+        self.re_6aae528c = re.compile(r'^(10000|110000|220000|500000)$')
+        self.re_6ae4d0fa = re.compile(r'^(30000|90000|110000|220000|225000)$')
+        self.re_6ae50e2c = re.compile(r'^(22000|50000|69000|115000|132000|230000|300000|500000)$')
+        self.re_6b88cc68 = re.compile(r'^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$')
+        self.re_6be5b2f4 = re.compile(r'^(20000|25000|38000|55000|110000|220000|380000|400000)$')
+        self.re_6ccf0b67 = re.compile(r'^(25000|45000|66000|132000|220000|230000|400000|500000)$')
+        self.re_6d4931b2 = re.compile(r'^(20000|22000|25000|35000|110000|220000|400000)$')
+        self.re_6dafd830 = re.compile(r'^(15000|22000|35000|110000|220000)$')
+        self.re_6e8113e9 = re.compile(r'^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$')
+        self.re_703e20a3 = re.compile(r'^(11000|33000|66000|88000|132000|220000|330000)$')
+        self.re_713f7fd5 = re.compile(r'^(20000|66000|90000)$')
+        self.re_71a6f4de = re.compile(r'^(11000|110000|220000)$')
+        self.re_73467271 = re.compile(r'^(63000|230000)$')
+        self.re_73a2a316 = re.compile(r'^(15000|20000|22000|66000|150000|400000|500000)$')
+        self.re_74005c1f = re.compile(r'line|minor_line|cable')
+        self.re_74a6316e = re.compile(r'^(22000|34500|69000|115000)$')
+        self.re_753efcad = re.compile(r'^(110000)$')
+        self.re_754b6662 = re.compile(r'^(linear|branched)$')
+        self.re_7581d073 = re.compile(r'^(66000|225000)$')
+        self.re_7889b2ce = re.compile(r'^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$')
+        self.re_789fa698 = re.compile(r'^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$')
+        self.re_78f8f400 = re.compile(r'^(15000|20000|35000|100000|110000|220000|400000)$')
+        self.re_79cf4090 = re.compile(r'^(23000|66000|154000|161000|220000|230000|380000|400000)$')
+        self.re_7a0db6a9 = re.compile(r'^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$')
+        self.re_7a215554 = re.compile(r'^(69000|138000|230000|345000)$')
+        self.re_7b35047a = re.compile(r'^(110000|132000|220000|500000)$')
+        self.re_7bbd0e42 = re.compile(r'^(110000|150000|225000)$')
+        self.re_7c0499f4 = re.compile(r'^(115000|220000|500000)$')
+        self.re_7d50c8e9 = re.compile(r'^(33000|66000|88000|132000)$')
+        self.re_7edd7211 = re.compile(r'^(35000|75000|110000|220000|350000|380000|500000)$')
+        self.re_7f949189 = re.compile(r'^(220000)$')
+        self.re_7f98a74d = re.compile(r'^(11000|33000|66000|132000|220000|222000|400000)$')
+
+
+    def node(self, data, tags):
+        capture_tags = {}
+        keys = tags.keys()
+        err = []
+
+
+        # *[power][power!~/^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$/]
+        if ('power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 1, self.re_6b88cc68, '^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$'), mapcss._tag_capture(capture_tags, 1, tags, 'power'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The power=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:power"
+                # throwError:tr("Unsuitable value for power=* tag")
+                err.append({'class': 1, 'subclass': 36378028, 'text': mapcss.tr('Unsuitable value for power=* tag')})
+
+        # node[power=transformer][transformer][transformer!~/^(main|auxiliary|generator|converter|phase_angle_regulator|converter|distribution|yes|traction|minor_distribution|auto)$/]
+        if ('power' in keys and 'transformer' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'transformer')) and (mapcss._tag_capture(capture_tags, 1, tags, 'transformer')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_296b474d, '^(main|auxiliary|generator|converter|phase_angle_regulator|converter|distribution|yes|traction|minor_distribution|auto)$'), mapcss._tag_capture(capture_tags, 2, tags, 'transformer'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The transformer=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:transformer"
+                # throwError:tr("Unsuitable value for transformer=* tag")
+                # assertNoMatch:"node power=transformer transformer=main"
+                # assertMatch:"node power=transformer transformer=railway"
+                # assertNoMatch:"node power=transformer"
+                err.append({'class': 2, 'subclass': 1524257444, 'text': mapcss.tr('Unsuitable value for transformer=* tag')})
+
+        # *[power=generator][generator:source][generator:source!~/^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$/]
+        if ('generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_0cf641e0, '^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$'), mapcss._tag_capture(capture_tags, 2, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The generator:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:source"
+                # throwError:tr("Unsuitable value for generator:source=* tag")
+                # assertMatch:"node power=generator generator:source=geothermals"
+                # assertNoMatch:"node power=generator generator:source=oil;gas"
+                # assertMatch:"node power=generator generator:source=photovoltaic"
+                # assertNoMatch:"node power=generator generator:source=solar"
+                # assertNoMatch:"node power=generator"
+                err.append({'class': 3, 'subclass': 600492584, 'text': mapcss.tr('Unsuitable value for generator:source=* tag')})
+
+        # *[power=generator][generator:source=nuclear][generator:method][generator:method!~/^(fission|fusion)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'nuclear')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_642c98f5, '^(fission|fusion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Nuclear generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for nuclear generator")
+                # suggestAlternative:"fission or fusion"
+                # fixRemove:"generator:method"
+                # assertNoMatch:"node power=generator generator:source=nuclear generator:method=fission"
+                # assertMatch:"node power=generator generator:source=nuclear generator:method=nuclear"
+                err.append({'class': 4, 'subclass': 1513616022, 'text': mapcss.tr('Unsuitable method for nuclear generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/fission|fusion/][generator:source][generator:source!=nuclear]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_21537747), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'nuclear', 'nuclear')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertNoMatch:"node power=generator generator:source=nuclear generator:method=fission"
+                # assertMatch:"node power=generator generator:source=solar generator:method=fusion"
+                err.append({'class': 5, 'subclass': 1445012384, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=wind][generator:method][generator:method!=wind_turbine]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'wind')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'wind_turbine', 'wind_turbine')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Remove the `{0}` tag or change it to `{1}`.","generator:method","wind_turbine")
+                # -osmoseDetail:tr("Wind generators can only use turbines to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for wind generator")
+                # fixRemove:"generator:method"
+                # assertMatch:"node power=generator generator:source=wind generator:method=wind"
+                # assertNoMatch:"node power=generator generator:source=wind generator:method=wind_turbine"
+                # assertNoMatch:"node power=generator generator:source=wind"
+                err.append({'class': 6, 'subclass': 1104182574, 'text': mapcss.tr('Unsuitable method for wind generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=wind_turbine][generator:source][generator:source!=wind]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'wind_turbine')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'wind', 'wind')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertMatch:"node power=generator generator:source=turbine generator:method=wind_turbine"
+                # assertNoMatch:"node power=generator generator:source=wind generator:method=wind_turbine"
+                err.append({'class': 5, 'subclass': 1021686777, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=hydro][generator:method][generator:method!~/^(water-storage|water-pumped-storage|run-of-the-river)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'hydro')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2c04ecfb, '^(water-storage|water-pumped-storage|run-of-the-river)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Hydro generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for hydro generator")
+                # suggestAlternative:"water-storage, run-of-the-river or water-pumped-storage"
+                # fixRemove:"generator:method"
+                # assertMatch:"node power=generator generator:source=hydro generator:method=pump"
+                # assertNoMatch:"node power=generator generator:source=hydro generator:method=water-storage"
+                err.append({'class': 7, 'subclass': 1379042787, 'text': mapcss.tr('Unsuitable method for hydro generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(water-storage|water-pumped-storage|run-of-the-river)$/][generator:source][generator:source!=hydro]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_2c04ecfb), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'hydro', 'hydro')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertNoMatch:"node power=generator generator:source=hydro generator:method=water-storage"
+                # assertMatch:"node power=generator generator:source=water generator:method=water-pumped-storage"
+                err.append({'class': 5, 'subclass': 1830475878, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=tidal][generator:method][generator:method!~/^(barrage|stream)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'tidal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_583b6258, '^(barrage|stream)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Tidal generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for tidal generator")
+                # suggestAlternative:"barrage or stream"
+                # fixRemove:"generator:method"
+                # assertNoMatch:"node power=generator generator:source=tidal generator:method=barrage"
+                # assertMatch:"node power=generator generator:source=tidal generator:method=dam"
+                err.append({'class': 8, 'subclass': 503240008, 'text': mapcss.tr('Unsuitable method for tidal generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(barrage|stream)$/][generator:source][generator:source!=tidal]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_583b6258), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'tidal', 'tidal')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertMatch:"node power=generator generator:source=solar generator:method=stream"
+                # assertNoMatch:"node power=generator generator:source=tidal generator:method=barrage"
+                err.append({'class': 5, 'subclass': 976314568, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=solar][generator:method][generator:method!~/^(thermal|photovoltaic)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'solar')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_26c08bf9, '^(thermal|photovoltaic)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Solar generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for solar generator")
+                # suggestAlternative:"thermal or photovoltaic"
+                # fixRemove:"generator:method"
+                # assertMatch:"node power=generator generator:source=solar generator:method=solar"
+                # assertNoMatch:"node power=generator generator:source=solar generator:method=thermal"
+                err.append({'class': 9, 'subclass': 1095645684, 'text': mapcss.tr('Unsuitable method for solar generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(thermal|photovoltaic)$/][generator:source][generator:source!=solar]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_26c08bf9), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'solar', 'solar')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertMatch:"node power=generator generator:source=photovoltaic generator:method=photovoltaic"
+                # assertNoMatch:"node power=generator generator:source=solar generator:method=thermal"
+                err.append({'class': 5, 'subclass': 1457983121, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=coal][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'coal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Coal generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for coal generator")
+                # assertMatch:"node power=generator generator:source=coal generator:method=burning"
+                # assertNoMatch:"node power=generator generator:source=coal generator:method=combustion"
+                # assertNoMatch:"node power=generator generator:source=coal"
+                err.append({'class': 10, 'subclass': 727067352, 'text': mapcss.tr('Unsuitable method for coal generator')})
+
+        # *[power=generator][generator:source=gas][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'gas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Gas generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for gas generator")
+                # assertNoMatch:"node power=generator generator:source=gas generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=gas generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=gas"
+                err.append({'class': 11, 'subclass': 1587058630, 'text': mapcss.tr('Unsuitable method for gas generator')})
+
+        # *[power=generator][generator:source=biomass][generator:method][generator:method!~/^(combustion|gasification|anaerobic_digestion)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biomass')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_009ee9c4, '^(combustion|gasification|anaerobic_digestion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biomass generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biomass generator")
+                # suggestAlternative:"combustion, anaerobic_digestion or gasification"
+                # fixRemove:"generator:method"
+                # assertNoMatch:"node power=generator generator:source=biomass generator:method=anaerobic_digestion"
+                # assertMatch:"node power=generator generator:source=biomass generator:method=burn"
+                err.append({'class': 12, 'subclass': 1563205211, 'text': mapcss.tr('Unsuitable method for biomass generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:source=biofuel][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biofuel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biofuel generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biofuel generator")
+                # assertNoMatch:"node power=generator generator:source=biofuel generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=biofuel generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=biofuel"
+                err.append({'class': 13, 'subclass': 2056310355, 'text': mapcss.tr('Unsuitable method for biofuel generator')})
+
+        # *[power=generator][generator:source=biogas][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biogas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biogas generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biogas generator")
+                # assertNoMatch:"node power=generator generator:source=biogas generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=biogas generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=biogas"
+                err.append({'class': 14, 'subclass': 1353854094, 'text': mapcss.tr('Unsuitable method for biogas generator')})
+
+        # *[power=generator][generator:source=oil][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'oil')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Oil generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for oil generator")
+                # assertNoMatch:"node power=generator generator:source=oil generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=oil generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=oil"
+                err.append({'class': 15, 'subclass': 2059171544, 'text': mapcss.tr('Unsuitable method for oil generator')})
+
+        # *[power=generator][generator:source=diesel][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'diesel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Diesel generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for diesel generator")
+                # assertNoMatch:"node power=generator generator:source=diesel generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=diesel generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=diesel"
+                err.append({'class': 16, 'subclass': 87750196, 'text': mapcss.tr('Unsuitable method for diesel generator')})
+
+        # *[power=generator][generator:source=gasoline][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'gasoline')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Gasoline generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for gasoline generator")
+                # assertNoMatch:"node power=generator generator:source=gasoline generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=gasoline generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=gasoline"
+                err.append({'class': 17, 'subclass': 1418218249, 'text': mapcss.tr('Unsuitable method for gasoline generator')})
+
+        # *[power=generator][generator:source=waste][generator:method][generator:method!~/^(combustion|gasification)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'waste')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_05a6cbca, '^(combustion|gasification)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Waste generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for waste generator")
+                # suggestAlternative:"combustion or gasification"
+                # fixRemove:"generator:method"
+                # assertMatch:"node power=generator generator:source=waste generator:method=burning"
+                # assertNoMatch:"node power=generator generator:source=waste generator:method=combustion"
+                err.append({'class': 18, 'subclass': 600470569, 'text': mapcss.tr('Unsuitable method for waste generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=combustion][generator:source][generator:source!~/^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'combustion')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5b4d6241, '^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertNoMatch:"node power=generator generator:source=biomass generator:method=combustion"
+                # assertNoMatch:"node power=generator generator:source=gas;oil generator:method=combustion"
+                # assertNoMatch:"node power=generator generator:source=gas;oil;waste generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=waste;solar generator:method=combustion"
+                # assertMatch:"node power=generator generator:source=wave generator:method=combustion"
+                err.append({'class': 5, 'subclass': 1335984003, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:method=gasification][generator:source][generator:source!~/^(waste|biomass)(;(waste|biomass))*$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'gasification')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5d252d75, '^(waste|biomass)(;(waste|biomass))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                # assertNoMatch:"node power=generator generator:source=biomass generator:method=gasification"
+                # assertNoMatch:"node power=generator generator:source=biomass;waste generator:method=gasification"
+                # assertMatch:"node power=generator generator:source=coal generator:method=gasification"
+                err.append({'class': 5, 'subclass': 313390332, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=plant][plant:source][plant:source!~/^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$/]
+        if ('plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_0cf641e0, '^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$'), mapcss._tag_capture(capture_tags, 2, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The plant:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:source"
+                # throwError:tr("Unsuitable value for plant:source=* tag")
+                # assertNoMatch:"node power=plant plant:source=gas;oil"
+                # assertMatch:"node power=plant plant:source=photovoltaic"
+                # assertNoMatch:"node power=plant plant:source=solar"
+                # assertNoMatch:"node power=plant"
+                err.append({'class': 19, 'subclass': 966751128, 'text': mapcss.tr('Unsuitable value for plant:source=* tag')})
+
+        # *[power=plant][plant:source=nuclear][plant:method][plant:method!~/^(fission|fusion)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'nuclear')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_642c98f5, '^(fission|fusion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Nuclear power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for nuclear power plant")
+                # suggestAlternative:"fission or fusion"
+                # fixRemove:"plant:method"
+                # assertNoMatch:"node power=plant plant:source=nuclear plant:method=fission"
+                # assertMatch:"node power=plant plant:source=nuclear plant:method=nuclear"
+                err.append({'class': 20, 'subclass': 56152287, 'text': mapcss.tr('Unsuitable method for nuclear power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(fission|fusion)$/][plant:source][plant:source!=nuclear]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_642c98f5), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'nuclear', 'nuclear')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertNoMatch:"node power=plant plant:source=nuclear plant:method=fission"
+                # assertMatch:"node power=plant plant:source=solar plant:method=fusion"
+                err.append({'class': 21, 'subclass': 120690153, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=wind][plant:method][plant:method!=wind_turbine]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'wind')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'wind_turbine', 'wind_turbine')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Wind power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for wind power plant")
+                # fixRemove:"plant:method"
+                # assertMatch:"node power=plant plant:source=wind plant:method=wind"
+                # assertNoMatch:"node power=plant plant:source=wind plant:method=wind_turbine"
+                # assertNoMatch:"node power=plant plant:source=wind"
+                err.append({'class': 22, 'subclass': 515061741, 'text': mapcss.tr('Unsuitable method for wind power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=wind_turbine][plant:source][plant:source!=wind]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'wind_turbine')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'wind', 'wind')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertMatch:"node power=plant plant:source=eolien plant:method=wind_turbine"
+                # assertNoMatch:"node power=plant plant:source=wind plant:method=wind_turbine"
+                err.append({'class': 21, 'subclass': 443176990, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=hydro][plant:method][plant:method!~/^(water-storage|water-pumped-storage|run-of-the-river)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'hydro')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2c04ecfb, '^(water-storage|water-pumped-storage|run-of-the-river)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Hydro power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for hydro power plant")
+                # suggestAlternative:"water-storage, run-of-the-river or water-pumped-storage"
+                # fixRemove:"plant:method"
+                # assertMatch:"node power=plant plant:source=hydro plant:method=pump"
+                # assertNoMatch:"node power=plant plant:source=hydro plant:method=water-storage"
+                err.append({'class': 23, 'subclass': 1020856194, 'text': mapcss.tr('Unsuitable method for hydro power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(water-storage|water-pumped-storage|run-of-the-river)$/][plant:source][plant:source!=hydro]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_2c04ecfb), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'hydro', 'hydro')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertNoMatch:"node power=plant plant:source=hydro plant:method=water-storage"
+                # assertMatch:"node power=plant plant:source=water plant:method=water-pumped-storage"
+                err.append({'class': 21, 'subclass': 1372509170, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=tidal][plant:method][plant:method!~/^(barrage|stream)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'tidal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_583b6258, '^(barrage|stream)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Tidal power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for tidal power plant")
+                # suggestAlternative:"barrage or stream"
+                # fixRemove:"plant:method"
+                # assertNoMatch:"node power=plant plant:source=tidal plant:method=barrage"
+                # assertMatch:"node power=plant plant:source=tidal plant:method=dam"
+                err.append({'class': 24, 'subclass': 75438578, 'text': mapcss.tr('Unsuitable method for tidal power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(barrage|stream)$/][plant:source][plant:source!=tidal]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_583b6258), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'tidal', 'tidal')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertMatch:"node power=plant plant:source=solar plant:method=stream"
+                # assertNoMatch:"node power=plant plant:source=tidal plant:method=barrage"
+                err.append({'class': 21, 'subclass': 934978595, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=solar][plant:method][plant:method!~/^(thermal|photovoltaic)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'solar')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_26c08bf9, '^(thermal|photovoltaic)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Solar power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for solar power plant")
+                # suggestAlternative:"thermal or photovoltaic"
+                # fixRemove:"plant:method"
+                # assertMatch:"node power=plant plant:source=solar plant:method=solar"
+                # assertNoMatch:"node power=plant plant:source=solar plant:method=thermal"
+                err.append({'class': 25, 'subclass': 1799335667, 'text': mapcss.tr('Unsuitable method for solar power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(thermal|photovoltaic)$/][plant:source][plant:source!=solar]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_26c08bf9), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'solar', 'solar')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertMatch:"node power=plant plant:source=photovoltaic plant:method=photovoltaic"
+                # assertNoMatch:"node power=plant plant:source=solar plant:method=thermal"
+                err.append({'class': 21, 'subclass': 1085835351, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=coal][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'coal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Coal power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for coal power plant")
+                # assertMatch:"node power=plant plant:source=coal plant:method=burning"
+                # assertNoMatch:"node power=plant plant:source=coal plant:method=combustion"
+                # assertNoMatch:"node power=plant plant:source=coal"
+                err.append({'class': 26, 'subclass': 746471181, 'text': mapcss.tr('Unsuitable method for coal power plant')})
+
+        # *[power=plant][plant:source=gas][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'gas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Gas power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for gas power plant")
+                # assertNoMatch:"node power=plant plant:source=gas plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=gas plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=gas"
+                err.append({'class': 27, 'subclass': 827336490, 'text': mapcss.tr('Unsuitable method for gas power plant')})
+
+        # *[power=plant][plant:source=biomass][plant:method][plant:method!~/^(combustion|gasification|anaerobic_digestion)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biomass')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_009ee9c4, '^(combustion|gasification|anaerobic_digestion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biomass power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biomass power plant")
+                # suggestAlternative:"combustion, anaerobic_digestion or gasification"
+                # fixRemove:"plant:method"
+                # assertNoMatch:"node power=plant plant:source=biomass plant:method=anaerobic_digestion"
+                # assertMatch:"node power=plant plant:source=biomass plant:method=burn"
+                err.append({'class': 28, 'subclass': 2076402923, 'text': mapcss.tr('Unsuitable method for biomass power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:source=biofuel][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biofuel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biofuel power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biofuel power plant")
+                # assertNoMatch:"node power=plant plant:source=biofuel plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=biofuel plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=biofuel"
+                err.append({'class': 29, 'subclass': 1882895060, 'text': mapcss.tr('Unsuitable method for biofuel power plant')})
+
+        # *[power=plant][plant:source=biogas][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biogas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biogas power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biogas power plant")
+                # assertNoMatch:"node power=plant plant:source=biogas plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=biogas plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=biogas"
+                err.append({'class': 30, 'subclass': 887792794, 'text': mapcss.tr('Unsuitable method for biogas power plant')})
+
+        # *[power=plant][plant:source=oil][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'oil')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Oil power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for oil power plant")
+                # assertNoMatch:"node power=plant plant:source=oil plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=oil plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=oil"
+                err.append({'class': 31, 'subclass': 1678290892, 'text': mapcss.tr('Unsuitable method for oil power plant')})
+
+        # *[power=plant][plant:source=diesel][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'diesel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Diesel power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for diesel power plant")
+                # assertNoMatch:"node power=plant plant:source=diesel plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=diesel plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=diesel"
+                err.append({'class': 32, 'subclass': 75543302, 'text': mapcss.tr('Unsuitable method for diesel power plant')})
+
+        # *[power=plant][plant:source=gasoline][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'gasoline')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Gasoline power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for gasoline power plant")
+                # assertNoMatch:"node power=plant plant:source=gasoline plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=gasoline plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=gasoline"
+                err.append({'class': 33, 'subclass': 599334301, 'text': mapcss.tr('Unsuitable method for gasoline power plant')})
+
+        # *[power=plant][plant:source=waste][plant:method][plant:method!~/^(combustion|gasification)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'waste')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_05a6cbca, '^(combustion|gasification)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Waste power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for waste power plant")
+                # suggestAlternative:"combustion or gasification"
+                # fixRemove:"plant:method"
+                # assertMatch:"node power=plant plant:source=waste plant:method=burning"
+                # assertNoMatch:"node power=plant plant:source=waste plant:method=combustion"
+                err.append({'class': 34, 'subclass': 489417432, 'text': mapcss.tr('Unsuitable method for waste power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=combustion][plant:source][plant:source!~/^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'combustion')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5b4d6241, '^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertNoMatch:"node power=plant plant:source=biomass plant:method=combustion"
+                # assertNoMatch:"node power=plant plant:source=biomass;waste plant:method=combustion"
+                # assertMatch:"node power=plant plant:source=wave plant:method=combustion"
+                err.append({'class': 21, 'subclass': 46745407, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:method=gasification][plant:source][plant:source!~/^(waste|biomass)(;(waste|biomass))*$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'gasification')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5d252d75, '^(waste|biomass)(;(waste|biomass))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                # assertNoMatch:"node power=plant plant:source=biomass plant:method=gasification"
+                # assertNoMatch:"node power=plant plant:source=biomass;waste plant:method=gasification"
+                # assertMatch:"node power=plant plant:source=coal plant:method=gasification"
+                err.append({'class': 21, 'subclass': 1329720574, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|132000|220000|500000)$/][inside("AF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7b35047a, '^(110000|132000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Afghanistan"
+                # throwError:tr("Invalid voltage value for this country (Afghanistan)")
+                # suggestAlternative:"110000/132000/220000/500000"
+                err.append({'class': 35, 'subclass': 476050435, 'text': mapcss.tr('Invalid voltage value for this country (Afghanistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|35000|110000|150000|220000|400000)$/][inside("AL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a188683, '^(30000|35000|110000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Albania"
+                # throwError:tr("Invalid voltage value for this country (Albania)")
+                # suggestAlternative:"30000/35000/110000/150000/220000/400000"
+                err.append({'class': 36, 'subclass': 1983074643, 'text': mapcss.tr('Invalid voltage value for this country (Albania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|60000|66000|90000|150000|220000|225000|400000)$/][inside("DZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_580cbc71, '^(30000|60000|66000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Algeria"
+                # throwError:tr("Invalid voltage value for this country (Algeria)")
+                # suggestAlternative:"30000/60000/66000/90000/150000/220000/225000/400000"
+                err.append({'class': 37, 'subclass': 1872289267, 'text': mapcss.tr('Invalid voltage value for this country (Algeria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|150000|225000)$/][inside("AD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7bbd0e42, '^(110000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Andorra"
+                # throwError:tr("Invalid voltage value for this country (Andorra)")
+                # suggestAlternative:"110000/150000/225000"
+                err.append({'class': 38, 'subclass': 58588868, 'text': mapcss.tr('Invalid voltage value for this country (Andorra)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(60000|66000|110000|132000|150000|220000|400000)$/][inside("AO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a11341, '^(60000|66000|110000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Angola"
+                # throwError:tr("Invalid voltage value for this country (Angola)")
+                # suggestAlternative:"60000/66000/110000/132000/150000/220000/400000"
+                err.append({'class': 39, 'subclass': 235679545, 'text': mapcss.tr('Invalid voltage value for this country (Angola)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$/][inside("AR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7889b2ce, '^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Argentina"
+                # throwError:tr("Invalid voltage value for this country (Argentina)")
+                # suggestAlternative:"13200/25000/32000/33000/35000/66000/132000/220000/330000/345000/500000"
+                err.append({'class': 40, 'subclass': 1618375374, 'text': mapcss.tr('Invalid voltage value for this country (Argentina)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$/][inside("AM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1f435557, '^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Armenia"
+                # throwError:tr("Invalid voltage value for this country (Armenia)")
+                # suggestAlternative:"35000/36000/100000/110000/220000/230000/330000/400000/500000"
+                err.append({'class': 41, 'subclass': 1828289630, 'text': mapcss.tr('Invalid voltage value for this country (Armenia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$/][inside("AU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_110dc891, '^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Australia"
+                # throwError:tr("Invalid voltage value for this country (Australia)")
+                # suggestAlternative:"10500/11000/12700/19000/19100/22000/33000/35000/44000/50000/66000/80000/110000/132000/150000/220000/275000/330000/400000/500000"
+                err.append({'class': 42, 'subclass': 327122119, 'text': mapcss.tr('Invalid voltage value for this country (Australia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$/][inside("AT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c208d10, '^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Austria"
+                # throwError:tr("Invalid voltage value for this country (Austria)")
+                # suggestAlternative:"10500/13800/15000/16000/17500/20000/25000/30000/55000/60000/110000/132000/150000/220000/380000/400000"
+                err.append({'class': 43, 'subclass': 1273628480, 'text': mapcss.tr('Invalid voltage value for this country (Austria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|132000|154000|220000|330000|500000)$/][inside("AZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4366c21c, '^(35000|110000|132000|154000|220000|330000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Azerbaijan"
+                # throwError:tr("Invalid voltage value for this country (Azerbaijan)")
+                # suggestAlternative:"35000/110000/132000/154000/220000/330000/500000"
+                err.append({'class': 44, 'subclass': 398122760, 'text': mapcss.tr('Invalid voltage value for this country (Azerbaijan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000|230000|400000)$/][inside("BH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_247a7ae8, '^(220000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bahrain"
+                # throwError:tr("Invalid voltage value for this country (Bahrain)")
+                # suggestAlternative:"220000/230000/400000"
+                err.append({'class': 45, 'subclass': 1709065708, 'text': mapcss.tr('Invalid voltage value for this country (Bahrain)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(23000|33000|132000|230000|400000)$/][inside("BD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0bb23efd, '^(23000|33000|132000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bangladesh"
+                # throwError:tr("Invalid voltage value for this country (Bangladesh)")
+                # suggestAlternative:"23000/33000/132000/230000/400000"
+                err.append({'class': 46, 'subclass': 1699525539, 'text': mapcss.tr('Invalid voltage value for this country (Bangladesh)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|40000|100000|110000|220000|330000|750000)$/][inside("BY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_309280d5, '^(35000|40000|100000|110000|220000|330000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belarus"
+                # throwError:tr("Invalid voltage value for this country (Belarus)")
+                # suggestAlternative:"35000/40000/100000/110000/220000/330000/750000"
+                err.append({'class': 47, 'subclass': 1481420278, 'text': mapcss.tr('Invalid voltage value for this country (Belarus)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$/][inside("BE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec02c4f, '^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belgium"
+                # throwError:tr("Invalid voltage value for this country (Belgium)")
+                # suggestAlternative:"11000/11500/15000/30000/33000/36000/50000/63000/70000/110000/150000/220000/225000/320000/380000/400000"
+                err.append({'class': 48, 'subclass': 274095264, 'text': mapcss.tr('Invalid voltage value for this country (Belgium)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|34500|69000|115000)$/][inside("BZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_74a6316e, '^(22000|34500|69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belize"
+                # throwError:tr("Invalid voltage value for this country (Belize)")
+                # suggestAlternative:"22000/34500/69000/115000"
+                err.append({'class': 49, 'subclass': 766927721, 'text': mapcss.tr('Invalid voltage value for this country (Belize)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("BJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Benin"
+                # throwError:tr("Invalid voltage value for this country (Benin)")
+                # suggestAlternative:"161000/330000"
+                err.append({'class': 50, 'subclass': 1947206292, 'text': mapcss.tr('Invalid voltage value for this country (Benin)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bhutan"
+                # throwError:tr("Invalid voltage value for this country (Bhutan)")
+                # suggestAlternative:"66000/132000/220000/400000"
+                err.append({'class': 51, 'subclass': 1604273791, 'text': mapcss.tr('Invalid voltage value for this country (Bhutan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|220000|500000)$/][inside("BO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7c0499f4, '^(115000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bolivia"
+                # throwError:tr("Invalid voltage value for this country (Bolivia)")
+                # suggestAlternative:"115000/220000/500000"
+                err.append({'class': 52, 'subclass': 855964000, 'text': mapcss.tr('Invalid voltage value for this country (Bolivia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000)$/][inside("BA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_38c1c717, '^(35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bosnia_and_Herzegovina"
+                # throwError:tr("Invalid voltage value for this country (Bosnia and Herzegovina)")
+                # suggestAlternative:"35000/110000/220000/400000"
+                err.append({'class': 53, 'subclass': 316047865, 'text': mapcss.tr('Invalid voltage value for this country (Bosnia and Herzegovina)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Botswana"
+                # throwError:tr("Invalid voltage value for this country (Botswana)")
+                # suggestAlternative:"66000/132000/220000/400000"
+                err.append({'class': 54, 'subclass': 1508465306, 'text': mapcss.tr('Invalid voltage value for this country (Botswana)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$/][inside("BR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2450a903, '^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Brazil"
+                # throwError:tr("Invalid voltage value for this country (Brazil)")
+                # suggestAlternative:"13800/23100/34500/66000/69000/88000/110000/132000/138000/230000/345000/440000/500000/525000/600000/765000/800000"
+                err.append({'class': 55, 'subclass': 110797621, 'text': mapcss.tr('Invalid voltage value for this country (Brazil)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|275000)$/][inside("BN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b2d49c4, '^(66000|132000|275000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Brunei"
+                # throwError:tr("Invalid voltage value for this country (Brunei)")
+                # suggestAlternative:"66000/132000/275000"
+                err.append({'class': 56, 'subclass': 407729200, 'text': mapcss.tr('Invalid voltage value for this country (Brunei)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|35000|110000|220000|400000)$/][inside("BG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6d4931b2, '^(20000|22000|25000|35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bulgaria"
+                # throwError:tr("Invalid voltage value for this country (Bulgaria)")
+                # suggestAlternative:"20000/22000/25000/35000/110000/220000/400000"
+                err.append({'class': 57, 'subclass': 2011260374, 'text': mapcss.tr('Invalid voltage value for this country (Bulgaria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|132000|225000)$/][inside("BF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34230a2b, '^(90000|132000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Burkina_Faso"
+                # throwError:tr("Invalid voltage value for this country (Burkina Faso)")
+                # suggestAlternative:"90000/132000/225000"
+                err.append({'class': 58, 'subclass': 1507871769, 'text': mapcss.tr('Invalid voltage value for this country (Burkina Faso)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("BI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Burundi"
+                # throwError:tr("Invalid voltage value for this country (Burundi)")
+                # suggestAlternative:"70000/110000/220000"
+                err.append({'class': 59, 'subclass': 1709474748, 'text': mapcss.tr('Invalid voltage value for this country (Burundi)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("KH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cambodia"
+                # throwError:tr("Invalid voltage value for this country (Cambodia)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 60, 'subclass': 988460776, 'text': mapcss.tr('Invalid voltage value for this country (Cambodia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|90000|110000|220000|225000)$/][inside("CM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae4d0fa, '^(30000|90000|110000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cameroon"
+                # throwError:tr("Invalid voltage value for this country (Cameroon)")
+                # suggestAlternative:"30000/90000/110000/220000/225000"
+                err.append({'class': 61, 'subclass': 87587000, 'text': mapcss.tr('Invalid voltage value for this country (Cameroon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$/][inside("CA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f6e14a, '^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Canada"
+                # throwError:tr("Invalid voltage value for this country (Canada)")
+                # suggestAlternative:"11500/12000/12470/12500/13000/13200/13800/14000/14400/16000/17500/23000/24940/25000/26400/27600/28000/34000/34500/35000/42000/44000/46000/49000/60000/63000/66000/69000/72000/110000/115000/120000/132000/138000/144000/150000/161000/200000/220000/230000/240000/260000/280000/287000/315000/345000/350000/360000/450000/500000/735000/765000"
+                err.append({'class': 62, 'subclass': 1237272098, 'text': mapcss.tr('Invalid voltage value for this country (Canada)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|60000)$/][inside("CV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1e0c1227, '^(20000|60000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cape_Verde"
+                # throwError:tr("Invalid voltage value for this country (Cape Verde)")
+                # suggestAlternative:"20000/60000"
+                err.append({'class': 63, 'subclass': 1540084049, 'text': mapcss.tr('Invalid voltage value for this country (Cape Verde)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000)$/][inside("CF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_753efcad, '^(110000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Central_African_Republic"
+                # throwError:tr("Invalid voltage value for this country (Central African Republic)")
+                # suggestAlternative:"110000"
+                err.append({'class': 64, 'subclass': 966893072, 'text': mapcss.tr('Invalid voltage value for this country (Central African Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|66000|90000)$/][inside("TD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_713f7fd5, '^(20000|66000|90000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Chad"
+                # throwError:tr("Invalid voltage value for this country (Chad)")
+                # suggestAlternative:"20000/66000/90000"
+                err.append({'class': 65, 'subclass': 537318656, 'text': mapcss.tr('Invalid voltage value for this country (Chad)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$/][inside("CL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_66509c6a, '^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Chile"
+                # throwError:tr("Invalid voltage value for this country (Chile)")
+                # suggestAlternative:"13800/15000/23000/33000/34500/66000/69000/100000/110000/154000/220000/345000/500000"
+                err.append({'class': 66, 'subclass': 353014571, 'text': mapcss.tr('Invalid voltage value for this country (Chile)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$/][inside("CO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0999cd78, '^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Colombia"
+                # throwError:tr("Invalid voltage value for this country (Colombia)")
+                # suggestAlternative:"15000/25000/34500/66000/110000/115000/138000/220000/230000/500000"
+                err.append({'class': 67, 'subclass': 662682689, 'text': mapcss.tr('Invalid voltage value for this country (Colombia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(138000|230000)$/][inside("CR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5f0cae6b, '^(138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Costa_Rica"
+                # throwError:tr("Invalid voltage value for this country (Costa Rica)")
+                # suggestAlternative:"138000/230000"
+                err.append({'class': 68, 'subclass': 316878503, 'text': mapcss.tr('Invalid voltage value for this country (Costa Rica)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|35000|110000|220000|400000|500000)$/][inside("HR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_33f4b70a, '^(20000|25000|35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Croatia"
+                # throwError:tr("Invalid voltage value for this country (Croatia)")
+                # suggestAlternative:"20000/25000/35000/110000/220000/400000/500000"
+                err.append({'class': 69, 'subclass': 1920686550, 'text': mapcss.tr('Invalid voltage value for this country (Croatia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|110000|220000)$/][inside("CU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_71a6f4de, '^(11000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cuba"
+                # throwError:tr("Invalid voltage value for this country (Cuba)")
+                # suggestAlternative:"11000/110000/220000"
+                err.append({'class': 70, 'subclass': 1900521322, 'text': mapcss.tr('Invalid voltage value for this country (Cuba)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("CY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cyprus"
+                # throwError:tr("Invalid voltage value for this country (Cyprus)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 71, 'subclass': 540137395, 'text': mapcss.tr('Invalid voltage value for this country (Cyprus)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|33000|35000|110000|220000|380000|400000)$/][inside("CZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59f73886, '^(22000|33000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Czech_Republic"
+                # throwError:tr("Invalid voltage value for this country (Czech Republic)")
+                # suggestAlternative:"22000/33000/35000/110000/220000/380000/400000"
+                err.append({'class': 72, 'subclass': 938628373, 'text': mapcss.tr('Invalid voltage value for this country (Czech Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$/][inside("CD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f1f164, '^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Democratic_Republic_of_the_Congo"
+                # throwError:tr("Invalid voltage value for this country (Democratic Republic of the Congo)")
+                # suggestAlternative:"11000/30000/33000/50000/70000/110000/120000/132000/220000/400000/500000"
+                err.append({'class': 73, 'subclass': 1276063637, 'text': mapcss.tr('Invalid voltage value for this country (Democratic Republic of the Congo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|230000)$/][inside("DJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73467271, '^(63000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Djibouti"
+                # throwError:tr("Invalid voltage value for this country (Djibouti)")
+                # suggestAlternative:"63000/230000"
+                err.append({'class': 74, 'subclass': 413176455, 'text': mapcss.tr('Invalid voltage value for this country (Djibouti)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000|345000)$/][inside("DO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a215554, '^(69000|138000|230000|345000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Dominican_Republic"
+                # throwError:tr("Invalid voltage value for this country (Dominican Republic)")
+                # suggestAlternative:"69000/138000/230000/345000"
+                err.append({'class': 75, 'subclass': 1737719490, 'text': mapcss.tr('Invalid voltage value for this country (Dominican Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$/][inside("EC")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4a39b920, '^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EC')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ecuador"
+                # throwError:tr("Invalid voltage value for this country (Ecuador)")
+                # suggestAlternative:"11000/22000/23000/34500/46000/48000/69000/138000/230000/500000"
+                err.append({'class': 76, 'subclass': 1289930511, 'text': mapcss.tr('Invalid voltage value for this country (Ecuador)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000|500000)$/][inside("EG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1c0df27c, '^(66000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Egypt"
+                # throwError:tr("Invalid voltage value for this country (Egypt)")
+                # suggestAlternative:"66000/132000/220000/400000/500000"
+                err.append({'class': 77, 'subclass': 509025628, 'text': mapcss.tr('Invalid voltage value for this country (Egypt)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("SV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/El_Salvador"
+                # throwError:tr("Invalid voltage value for this country (El Salvador)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 78, 'subclass': 1843563158, 'text': mapcss.tr('Invalid voltage value for this country (El Salvador)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("GQ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GQ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Equatorial_Guinea"
+                # throwError:tr("Invalid voltage value for this country (Equatorial Guinea)")
+                # suggestAlternative:"110000/220000"
+                err.append({'class': 79, 'subclass': 1342735732, 'text': mapcss.tr('Invalid voltage value for this country (Equatorial Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("ER")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ER')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Eritrea"
+                # throwError:tr("Invalid voltage value for this country (Eritrea)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 80, 'subclass': 1320994045, 'text': mapcss.tr('Invalid voltage value for this country (Eritrea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|24000|35000|110000|150000|330000|450000)$/][inside("EE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_375460ae, '^(15000|20000|24000|35000|110000|150000|330000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Estonia"
+                # throwError:tr("Invalid voltage value for this country (Estonia)")
+                # suggestAlternative:"15000/20000/24000/35000/110000/150000/330000/450000"
+                err.append({'class': 81, 'subclass': 133380231, 'text': mapcss.tr('Invalid voltage value for this country (Estonia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|400000)$/][inside("SZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c6c0f8c, '^(66000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Eswatini"
+                # throwError:tr("Invalid voltage value for this country (Eswatini)")
+                # suggestAlternative:"66000/132000/400000"
+                err.append({'class': 82, 'subclass': 202348354, 'text': mapcss.tr('Invalid voltage value for this country (Eswatini)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(25000|45000|66000|132000|220000|230000|400000|500000)$/][inside("ET")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ccf0b67, '^(25000|45000|66000|132000|220000|230000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ET')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ethiopia"
+                # throwError:tr("Invalid voltage value for this country (Ethiopia)")
+                # suggestAlternative:"25000/45000/66000/132000/220000/230000/400000/500000"
+                err.append({'class': 83, 'subclass': 159779468, 'text': mapcss.tr('Invalid voltage value for this country (Ethiopia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800)$/][inside("FM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f7e025c, '^(13800)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Federated_States_of_Micronesia"
+                # throwError:tr("Invalid voltage value for this country (Federated States of Micronesia)")
+                # suggestAlternative:"13800"
+                err.append({'class': 84, 'subclass': 317465542, 'text': mapcss.tr('Invalid voltage value for this country (Federated States of Micronesia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|110000|132000)$/][inside("FJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69eb6042, '^(11000|33000|110000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Fiji"
+                # throwError:tr("Invalid voltage value for this country (Fiji)")
+                # suggestAlternative:"11000/33000/110000/132000"
+                err.append({'class': 85, 'subclass': 2146313913, 'text': mapcss.tr('Invalid voltage value for this country (Fiji)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$/][inside("FI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_68c12a97, '^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Finland"
+                # throwError:tr("Invalid voltage value for this country (Finland)")
+                # suggestAlternative:"20000/22000/25000/45000/80000/100000/110000/150000/220000/400000/450000/500000"
+                err.append({'class': 86, 'subclass': 1198662752, 'text': mapcss.tr('Invalid voltage value for this country (Finland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$/][inside("FR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_48a46ecb, '^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/France"
+                # throwError:tr("Invalid voltage value for this country (France)")
+                # suggestAlternative:"10300/10500/13000/15000/15500/16000/17000/17200/17500/20000/25000/30000/33000/42000/45000/50000/52000/63000/66000/90000/110000/150000/200000/220000/225000/270000/320000/380000/400000/500000"
+                err.append({'class': 87, 'subclass': 986837139, 'text': mapcss.tr('Invalid voltage value for this country (France)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|90000|115000|225000)$/][inside("GA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e6454d8, '^(63000|90000|115000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Gabon"
+                # throwError:tr("Invalid voltage value for this country (Gabon)")
+                # suggestAlternative:"63000/90000/115000/225000"
+                err.append({'class': 88, 'subclass': 869668290, 'text': mapcss.tr('Invalid voltage value for this country (Gabon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$/][inside("GE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_03e3112c, '^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Georgia"
+                # throwError:tr("Invalid voltage value for this country (Georgia)")
+                # suggestAlternative:"35000/110000/154000/220000/330000/350000/380000/400000/500000"
+                err.append({'class': 89, 'subclass': 608739745, 'text': mapcss.tr('Invalid voltage value for this country (Georgia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$/][inside("DE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_28f9c3db, '^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Germany"
+                # throwError:tr("Invalid voltage value for this country (Germany)")
+                # suggestAlternative:"10500/11000/15000/16000/20000/21000/22000/25000/27000/30000/33000/35000/50000/55000/60000/63000/65000/110000/132000/150000/155000/200000/220000/225000/250000/300000/320000/362000/380000/400000/450000/525000/600000"
+                err.append({'class': 90, 'subclass': 1186612248, 'text': mapcss.tr('Invalid voltage value for this country (Germany)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|161000|225000|330000)$/][inside("GH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_351dc689, '^(11000|161000|225000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ghana"
+                # throwError:tr("Invalid voltage value for this country (Ghana)")
+                # suggestAlternative:"11000/161000/225000/330000"
+                err.append({'class': 91, 'subclass': 1212044535, 'text': mapcss.tr('Invalid voltage value for this country (Ghana)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|22000|66000|150000|400000|500000)$/][inside("GR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73a2a316, '^(15000|20000|22000|66000|150000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Greece"
+                # throwError:tr("Invalid voltage value for this country (Greece)")
+                # suggestAlternative:"15000/20000/22000/66000/150000/400000/500000"
+                err.append({'class': 92, 'subclass': 2080985914, 'text': mapcss.tr('Invalid voltage value for this country (Greece)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|115000|132000|138000|230000|400000)$/][inside("GT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_53561357, '^(69000|115000|132000|138000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guatemala"
+                # throwError:tr("Invalid voltage value for this country (Guatemala)")
+                # suggestAlternative:"69000/115000/132000/138000/230000/400000"
+                err.append({'class': 93, 'subclass': 913363101, 'text': mapcss.tr('Invalid voltage value for this country (Guatemala)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|110000|225000)$/][inside("GN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_445dce10, '^(30000|110000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guinea"
+                # throwError:tr("Invalid voltage value for this country (Guinea)")
+                # suggestAlternative:"30000/110000/225000"
+                err.append({'class': 94, 'subclass': 308155262, 'text': mapcss.tr('Invalid voltage value for this country (Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guinea-Bissau"
+                # throwError:tr("Invalid voltage value for this country (Guinea-Bissau)")
+                # suggestAlternative:"225000"
+                err.append({'class': 95, 'subclass': 497173075, 'text': mapcss.tr('Invalid voltage value for this country (Guinea-Bissau)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|115000)$/][inside("HT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_528c9009, '^(69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Haiti"
+                # throwError:tr("Invalid voltage value for this country (Haiti)")
+                # suggestAlternative:"69000/115000"
+                err.append({'class': 96, 'subclass': 724313217, 'text': mapcss.tr('Invalid voltage value for this country (Haiti)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("HN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Honduras"
+                # throwError:tr("Invalid voltage value for this country (Honduras)")
+                # suggestAlternative:"69000/138000/230000"
+                err.append({'class': 97, 'subclass': 234477509, 'text': mapcss.tr('Invalid voltage value for this country (Honduras)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$/][inside("HU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_643751fc, '^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Hungary"
+                # throwError:tr("Invalid voltage value for this country (Hungary)")
+                # suggestAlternative:"11000/18000/20000/22000/25000/35000/110000/132000/220000/400000/750000"
+                err.append({'class': 98, 'subclass': 763862877, 'text': mapcss.tr('Invalid voltage value for this country (Hungary)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("IS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iceland"
+                # throwError:tr("Invalid voltage value for this country (Iceland)")
+                # suggestAlternative:"66000/132000/220000"
+                err.append({'class': 99, 'subclass': 1470655330, 'text': mapcss.tr('Invalid voltage value for this country (Iceland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$/][inside("IN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1810335f, '^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/India"
+                # throwError:tr("Invalid voltage value for this country (India)")
+                # suggestAlternative:"11000/13200/22000/25000/31000/33000/66000/100000/110000/132000/200000/220000/220001/230000/320000/400000/500000/660000/765000/800000/1200000"
+                err.append({'class': 100, 'subclass': 784655335, 'text': mapcss.tr('Invalid voltage value for this country (India)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|70000|150000|230000|275000|500000)$/][inside("ID")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44f7c665, '^(20000|70000|150000|230000|275000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ID')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Indonesia"
+                # throwError:tr("Invalid voltage value for this country (Indonesia)")
+                # suggestAlternative:"20000/70000/150000/230000/275000/500000"
+                err.append({'class': 101, 'subclass': 780357890, 'text': mapcss.tr('Invalid voltage value for this country (Indonesia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$/][inside("IR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15aa6eb6, '^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iran"
+                # throwError:tr("Invalid voltage value for this country (Iran)")
+                # suggestAlternative:"15000/20000/25000/63000/110000/132000/154000/220000/230000/330000/380000/400000/2300000"
+                err.append({'class': 102, 'subclass': 1973736936, 'text': mapcss.tr('Invalid voltage value for this country (Iran)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|23000|25000|33000|66000|132000|154000|400000)$/][inside("IQ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3007231b, '^(11000|23000|25000|33000|66000|132000|154000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IQ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iraq"
+                # throwError:tr("Invalid voltage value for this country (Iraq)")
+                # suggestAlternative:"11000/23000/25000/33000/66000/132000/154000/400000"
+                err.append({'class': 103, 'subclass': 1395023746, 'text': mapcss.tr('Invalid voltage value for this country (Iraq)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$/][inside("IE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1031dc3f, '^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ireland"
+                # throwError:tr("Invalid voltage value for this country (Ireland)")
+                # suggestAlternative:"10500/19000/20000/22000/33000/38000/110000/200000/220000/275000/320000/380000/400000"
+                err.append({'class': 104, 'subclass': 1615418027, 'text': mapcss.tr('Invalid voltage value for this country (Ireland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|161000|400000)$/][inside("IL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15d3b209, '^(115000|161000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Israel"
+                # throwError:tr("Invalid voltage value for this country (Israel)")
+                # suggestAlternative:"115000/161000/400000"
+                err.append({'class': 105, 'subclass': 816036143, 'text': mapcss.tr('Invalid voltage value for this country (Israel)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$/][inside("IT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3aa87d11, '^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Italy"
+                # throwError:tr("Invalid voltage value for this country (Italy)")
+                # suggestAlternative:"15000/20000/25000/30000/45000/50000/55000/60000/63000/66000/68000/70000/110000/120000/130000/132000/135000/137000/138000/150000/200000/220000/225000/320000/380000/400000/500000"
+                err.append({'class': 106, 'subclass': 1691592601, 'text': mapcss.tr('Invalid voltage value for this country (Italy)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|90000|225000|400000)$/][inside("CI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_455fa519, '^(15000|90000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ivory_Coast"
+                # throwError:tr("Invalid voltage value for this country (Ivory Coast)")
+                # suggestAlternative:"15000/90000/225000/400000"
+                err.append({'class': 107, 'subclass': 1352331895, 'text': mapcss.tr('Invalid voltage value for this country (Ivory Coast)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000)$/][inside("JM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44d511b4, '^(69000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Jamaica"
+                # throwError:tr("Invalid voltage value for this country (Jamaica)")
+                # suggestAlternative:"69000/138000"
+                err.append({'class': 108, 'subclass': 546500240, 'text': mapcss.tr('Invalid voltage value for this country (Jamaica)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$/][inside("JP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3907ef06, '^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Japan"
+                # throwError:tr("Invalid voltage value for this country (Japan)")
+                # suggestAlternative:"11000/15400/20000/22000/25000/30000/33000/44000/60000/66000/77000/100000/110000/132000/154000/187000/200000/220000/250000/275000/500000/660000"
+                err.append({'class': 109, 'subclass': 1526111529, 'text': mapcss.tr('Invalid voltage value for this country (Japan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("JO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Jordan"
+                # throwError:tr("Invalid voltage value for this country (Jordan)")
+                # suggestAlternative:"132000/400000"
+                err.append({'class': 110, 'subclass': 1643851194, 'text': mapcss.tr('Invalid voltage value for this country (Jordan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|35000|110000|220000|500000)$/][inside("KZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0c11f7a6, '^(22000|35000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kazakhstan"
+                # throwError:tr("Invalid voltage value for this country (Kazakhstan)")
+                # suggestAlternative:"22000/35000/110000/220000/500000"
+                err.append({'class': 111, 'subclass': 1351749481, 'text': mapcss.tr('Invalid voltage value for this country (Kazakhstan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|132000|220000|400000|500000)$/][inside("KE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_13fd4c40, '^(11000|15000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kenya"
+                # throwError:tr("Invalid voltage value for this country (Kenya)")
+                # suggestAlternative:"11000/15000/132000/220000/400000/500000"
+                err.append({'class': 112, 'subclass': 2125326631, 'text': mapcss.tr('Invalid voltage value for this country (Kenya)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(50000|60000|132000|150000|220000|400000)$/][inside("DK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40d39fce, '^(50000|60000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Denmark"
+                # throwError:tr("Invalid voltage value for this country (Kingdom of Denmark)")
+                # suggestAlternative:"50000/60000/132000/150000/220000/400000"
+                err.append({'class': 113, 'subclass': 1072204970, 'text': mapcss.tr('Invalid voltage value for this country (Kingdom of Denmark)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$/][inside("NL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1b67d214, '^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Netherlands"
+                # throwError:tr("Invalid voltage value for this country (Kingdom of the Netherlands)")
+                # suggestAlternative:"13000/20000/22000/23000/24000/25000/30000/33000/34000/50000/66000/110000/150000/220000/320000/380000/450000/600000"
+                err.append({'class': 114, 'subclass': 201279952, 'text': mapcss.tr('Invalid voltage value for this country (Kingdom of the Netherlands)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|275000|400000)$/][inside("KW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_601cbfba, '^(33000|66000|132000|275000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kuwait"
+                # throwError:tr("Invalid voltage value for this country (Kuwait)")
+                # suggestAlternative:"33000/66000/132000/275000/400000"
+                err.append({'class': 115, 'subclass': 1150073554, 'text': mapcss.tr('Invalid voltage value for this country (Kuwait)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10000|110000|220000|500000)$/][inside("KG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6aae528c, '^(10000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kyrgyzstan"
+                # throwError:tr("Invalid voltage value for this country (Kyrgyzstan)")
+                # suggestAlternative:"10000/110000/220000/500000"
+                err.append({'class': 116, 'subclass': 123332204, 'text': mapcss.tr('Invalid voltage value for this country (Kyrgyzstan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|115000|220000|230000|500000)$/][inside("LA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ecf8ac, '^(110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Laos"
+                # throwError:tr("Invalid voltage value for this country (Laos)")
+                # suggestAlternative:"110000/115000/220000/230000/500000"
+                err.append({'class': 117, 'subclass': 1094461130, 'text': mapcss.tr('Invalid voltage value for this country (Laos)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|110000|330000)$/][inside("LV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bb1cd2e, '^(20000|110000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Latvia"
+                # throwError:tr("Invalid voltage value for this country (Latvia)")
+                # suggestAlternative:"20000/110000/330000"
+                err.append({'class': 118, 'subclass': 990618496, 'text': mapcss.tr('Invalid voltage value for this country (Latvia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|150000|220000|400000)$/][inside("LB")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_043624d0, '^(33000|66000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LB')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lebanon"
+                # throwError:tr("Invalid voltage value for this country (Lebanon)")
+                # suggestAlternative:"33000/66000/150000/220000/400000"
+                err.append({'class': 119, 'subclass': 2096410348, 'text': mapcss.tr('Invalid voltage value for this country (Lebanon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|132000)$/][inside("LS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7d50c8e9, '^(33000|66000|88000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lesotho"
+                # throwError:tr("Invalid voltage value for this country (Lesotho)")
+                # suggestAlternative:"33000/66000/88000/132000"
+                err.append({'class': 120, 'subclass': 703582505, 'text': mapcss.tr('Invalid voltage value for this country (Lesotho)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|225000)$/][inside("LR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7581d073, '^(66000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Liberia"
+                # throwError:tr("Invalid voltage value for this country (Liberia)")
+                # suggestAlternative:"66000/225000"
+                err.append({'class': 121, 'subclass': 1100422698, 'text': mapcss.tr('Invalid voltage value for this country (Liberia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$/][inside("LY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0f195ae1, '^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Libya"
+                # throwError:tr("Invalid voltage value for this country (Libya)")
+                # suggestAlternative:"22500/25000/30000/66000/69000/132000/220000/400000/500000"
+                err.append({'class': 122, 'subclass': 778094231, 'text': mapcss.tr('Invalid voltage value for this country (Libya)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("LI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Liechtenstein"
+                # throwError:tr("Invalid voltage value for this country (Liechtenstein)")
+                # suggestAlternative:"220000"
+                err.append({'class': 123, 'subclass': 272893646, 'text': mapcss.tr('Invalid voltage value for this country (Liechtenstein)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|300000|330000|400000)$/][inside("LT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_122154ab, '^(15000|35000|110000|300000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lithuania"
+                # throwError:tr("Invalid voltage value for this country (Lithuania)")
+                # suggestAlternative:"15000/35000/110000/300000/330000/400000"
+                err.append({'class': 124, 'subclass': 635578850, 'text': mapcss.tr('Invalid voltage value for this country (Lithuania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|65000|150000|220000|225000)$/][inside("LU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24462be0, '^(63000|65000|150000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Luxembourg"
+                # throwError:tr("Invalid voltage value for this country (Luxembourg)")
+                # suggestAlternative:"63000/65000/150000/220000/225000"
+                err.append({'class': 125, 'subclass': 525286859, 'text': mapcss.tr('Invalid voltage value for this country (Luxembourg)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|138000)$/][inside("MG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17045a03, '^(63000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Madagascar"
+                # throwError:tr("Invalid voltage value for this country (Madagascar)")
+                # suggestAlternative:"63000/138000"
+                err.append({'class': 126, 'subclass': 797364950, 'text': mapcss.tr('Invalid voltage value for this country (Madagascar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|400000)$/][inside("MW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bd2d0e5, '^(11000|33000|66000|110000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malawi"
+                # throwError:tr("Invalid voltage value for this country (Malawi)")
+                # suggestAlternative:"11000/33000/66000/110000/132000/400000"
+                err.append({'class': 127, 'subclass': 611164753, 'text': mapcss.tr('Invalid voltage value for this country (Malawi)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|275000|300000|500000)$/][inside("MY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a91a01, '^(11000|33000|66000|132000|275000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malaysia"
+                # throwError:tr("Invalid voltage value for this country (Malaysia)")
+                # suggestAlternative:"11000/33000/66000/132000/275000/300000/500000"
+                err.append({'class': 128, 'subclass': 617502982, 'text': mapcss.tr('Invalid voltage value for this country (Malaysia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("MV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Maldives"
+                # throwError:tr("Invalid voltage value for this country (Maldives)")
+                # suggestAlternative:"132000"
+                err.append({'class': 129, 'subclass': 1402166756, 'text': mapcss.tr('Invalid voltage value for this country (Maldives)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|150000|225000)$/][inside("ML")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2fe82f3c, '^(63000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ML')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mali"
+                # throwError:tr("Invalid voltage value for this country (Mali)")
+                # suggestAlternative:"63000/150000/225000"
+                err.append({'class': 130, 'subclass': 330859131, 'text': mapcss.tr('Invalid voltage value for this country (Mali)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("MT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malta"
+                # throwError:tr("Invalid voltage value for this country (Malta)")
+                # suggestAlternative:"11000/33000/132000/220000"
+                err.append({'class': 131, 'subclass': 717548617, 'text': mapcss.tr('Invalid voltage value for this country (Malta)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("MR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mauritania"
+                # throwError:tr("Invalid voltage value for this country (Mauritania)")
+                # suggestAlternative:"90000/225000"
+                err.append({'class': 132, 'subclass': 678485733, 'text': mapcss.tr('Invalid voltage value for this country (Mauritania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000)$/][inside("MU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1639cf1a, '^(66000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mauritius"
+                # throwError:tr("Invalid voltage value for this country (Mauritius)")
+                # suggestAlternative:"66000"
+                err.append({'class': 133, 'subclass': 511732299, 'text': mapcss.tr('Invalid voltage value for this country (Mauritius)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$/][inside("MX")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3f88f86c, '^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MX')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mexico"
+                # throwError:tr("Invalid voltage value for this country (Mexico)")
+                # suggestAlternative:"13800/15000/25000/34500/65000/69000/85000/113000/115000/138000/161000/230000/400000"
+                err.append({'class': 134, 'subclass': 1022433712, 'text': mapcss.tr('Invalid voltage value for this country (Mexico)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|35000|110000|330000|400000)$/][inside("MD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b02dceb, '^(33000|35000|110000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Moldova"
+                # throwError:tr("Invalid voltage value for this country (Moldova)")
+                # suggestAlternative:"33000/35000/110000/330000/400000"
+                err.append({'class': 135, 'subclass': 293969861, 'text': mapcss.tr('Invalid voltage value for this country (Moldova)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22000|35000|110000|220000)$/][inside("MN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6dafd830, '^(15000|22000|35000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mongolia"
+                # throwError:tr("Invalid voltage value for this country (Mongolia)")
+                # suggestAlternative:"15000/22000/35000/110000/220000"
+                err.append({'class': 136, 'subclass': 1341862702, 'text': mapcss.tr('Invalid voltage value for this country (Mongolia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000|500000)$/][inside("ME")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4343e75a, '^(35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ME')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Montenegro"
+                # throwError:tr("Invalid voltage value for this country (Montenegro)")
+                # suggestAlternative:"35000/110000/220000/400000/500000"
+                err.append({'class': 137, 'subclass': 708862647, 'text': mapcss.tr('Invalid voltage value for this country (Montenegro)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$/][inside("MA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f6339dc, '^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Morocco"
+                # throwError:tr("Invalid voltage value for this country (Morocco)")
+                # suggestAlternative:"20000/22000/22500/30000/33000/60000/110000/132000/150000/220000/225000/400000"
+                err.append({'class': 138, 'subclass': 727733409, 'text': mapcss.tr('Invalid voltage value for this country (Morocco)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|110000|132000|220000|275000|330000|400000|533000)$/][inside("MZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_263b6b3e, '^(66000|110000|132000|220000|275000|330000|400000|533000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mozambique"
+                # throwError:tr("Invalid voltage value for this country (Mozambique)")
+                # suggestAlternative:"66000/110000/132000/220000/275000/330000/400000/533000"
+                err.append({'class': 139, 'subclass': 1891391646, 'text': mapcss.tr('Invalid voltage value for this country (Mozambique)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|20000|33000|66000|110000|132000|230000|500000)$/][inside("MM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40006e82, '^(11000|20000|33000|66000|110000|132000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Myanmar"
+                # throwError:tr("Invalid voltage value for this country (Myanmar)")
+                # suggestAlternative:"11000/20000/33000/66000/110000/132000/230000/500000"
+                err.append({'class': 140, 'subclass': 435535645, 'text': mapcss.tr('Invalid voltage value for this country (Myanmar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$/][inside("NA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_364ced34, '^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Namibia"
+                # throwError:tr("Invalid voltage value for this country (Namibia)")
+                # suggestAlternative:"11000/19000/22000/33000/66000/132000/220000/330000/350000/400000"
+                err.append({'class': 141, 'subclass': 1760657754, 'text': mapcss.tr('Invalid voltage value for this country (Namibia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|220000|400000)$/][inside("NP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4690e9a7, '^(33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nepal"
+                # throwError:tr("Invalid voltage value for this country (Nepal)")
+                # suggestAlternative:"33000/66000/132000/220000/400000"
+                err.append({'class': 142, 'subclass': 1725568019, 'text': mapcss.tr('Invalid voltage value for this country (Nepal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(50000|66000|110000|220000)$/][inside("NZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_50389fcc, '^(50000|66000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/New_Zealand"
+                # throwError:tr("Invalid voltage value for this country (New Zealand)")
+                # suggestAlternative:"50000/66000/110000/220000"
+                err.append({'class': 143, 'subclass': 1294007602, 'text': mapcss.tr('Invalid voltage value for this country (New Zealand)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("NI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nicaragua"
+                # throwError:tr("Invalid voltage value for this country (Nicaragua)")
+                # suggestAlternative:"69000/138000/230000"
+                err.append({'class': 144, 'subclass': 466194970, 'text': mapcss.tr('Invalid voltage value for this country (Nicaragua)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("NE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Niger"
+                # throwError:tr("Invalid voltage value for this country (Niger)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 145, 'subclass': 1013061006, 'text': mapcss.tr('Invalid voltage value for this country (Niger)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|330000)$/][inside("NG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2687a5ba, '^(11000|33000|132000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nigeria"
+                # throwError:tr("Invalid voltage value for this country (Nigeria)")
+                # suggestAlternative:"11000/33000/132000/330000"
+                err.append({'class': 146, 'subclass': 1805464507, 'text': mapcss.tr('Invalid voltage value for this country (Nigeria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|66000|110000|154000|220000)$/][inside("KP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_526934a1, '^(11000|66000|110000|154000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/North_Korea"
+                # throwError:tr("Invalid voltage value for this country (North Korea)")
+                # suggestAlternative:"11000/66000/110000/154000/220000"
+                err.append({'class': 147, 'subclass': 499754115, 'text': mapcss.tr('Invalid voltage value for this country (North Korea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000|400000)$/][inside("MK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24f5f1cd, '^(110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/North_Macedonia"
+                # throwError:tr("Invalid voltage value for this country (North Macedonia)")
+                # suggestAlternative:"110000/220000/400000"
+                err.append({'class': 148, 'subclass': 554139457, 'text': mapcss.tr('Invalid voltage value for this country (North Macedonia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$/][inside("NO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2dccca10, '^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Norway"
+                # throwError:tr("Invalid voltage value for this country (Norway)")
+                # suggestAlternative:"11000/12000/13000/15000/16000/17000/20000/22000/24000/25000/33000/45000/47000/50000/55000/60000/66000/80000/90000/100000/110000/132000/150000/220000/250000/300000/350000/400000/420000/450000/500000/515000/525000/825000"
+                err.append({'class': 149, 'subclass': 600671413, 'text': mapcss.tr('Invalid voltage value for this country (Norway)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|220000|400000)$/][inside("OM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4e6ba896, '^(132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'OM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Oman"
+                # throwError:tr("Invalid voltage value for this country (Oman)")
+                # suggestAlternative:"132000/220000/400000"
+                err.append({'class': 150, 'subclass': 1669833678, 'text': mapcss.tr('Invalid voltage value for this country (Oman)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$/][inside("PK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6e8113e9, '^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Pakistan"
+                # throwError:tr("Invalid voltage value for this country (Pakistan)")
+                # suggestAlternative:"11000/33000/66000/110000/132000/220000/230000/500000/660000"
+                err.append({'class': 151, 'subclass': 1186221521, 'text': mapcss.tr('Invalid voltage value for this country (Pakistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("PA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Panama"
+                # throwError:tr("Invalid voltage value for this country (Panama)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 152, 'subclass': 58595451, 'text': mapcss.tr('Invalid voltage value for this country (Panama)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|66000|132000)$/][inside("PG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35859f0b, '^(11000|66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Papua_New_Guinea"
+                # throwError:tr("Invalid voltage value for this country (Papua New Guinea)")
+                # suggestAlternative:"11000/66000/132000"
+                err.append({'class': 153, 'subclass': 1154134953, 'text': mapcss.tr('Invalid voltage value for this country (Papua New Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(12000|34500|66000|69000|132000|138000|220000|500000)$/][inside("PY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34dfedad, '^(12000|34500|66000|69000|132000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Paraguay"
+                # throwError:tr("Invalid voltage value for this country (Paraguay)")
+                # suggestAlternative:"12000/34500/66000/69000/132000/138000/220000/500000"
+                err.append({'class': 154, 'subclass': 1942354519, 'text': mapcss.tr('Invalid voltage value for this country (Paraguay)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$/][inside("CN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ed1a9a, '^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/China"
+                # throwError:tr("Invalid voltage value for this country (People's Republic of China)")
+                # suggestAlternative:"10500/11000/22000/23000/25000/27000/27500/33000/35000/50000/63000/66000/100000/110000/132000/160000/220000/230000/275000/320000/330000/400000/500000/544000/660000/750000/800000/1000000/1100000/1150000/2200001/2200002/22000011"
+                err.append({'class': 155, 'subclass': 1037822606, 'text': mapcss.tr('Invalid voltage value for this country (People\'s Republic of China)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|33000|60000|66000|138000|220000|230000|500000)$/][inside("PE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_333c4ef6, '^(30000|33000|60000|66000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Peru"
+                # throwError:tr("Invalid voltage value for this country (Peru)")
+                # suggestAlternative:"30000/33000/60000/66000/138000/220000/230000/500000"
+                err.append({'class': 156, 'subclass': 1881850138, 'text': mapcss.tr('Invalid voltage value for this country (Peru)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$/][inside("PH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_447ac42a, '^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Philippines"
+                # throwError:tr("Invalid voltage value for this country (Philippines)")
+                # suggestAlternative:"13200/13800/20000/23000/30000/34500/60000/69000/70000/115000/138000/220000/230000/345000/350000/500000"
+                err.append({'class': 157, 'subclass': 308932368, 'text': mapcss.tr('Invalid voltage value for this country (Philippines)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$/][inside("PL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4148662f, '^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Poland"
+                # throwError:tr("Invalid voltage value for this country (Poland)")
+                # suggestAlternative:"11000/15000/20000/21000/22000/25000/27000/30000/100000/110000/200000/220000/400000/450000"
+                err.append({'class': 158, 'subclass': 517865466, 'text': mapcss.tr('Invalid voltage value for this country (Poland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$/][inside("PT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_08bfac39, '^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Portugal"
+                # throwError:tr("Invalid voltage value for this country (Portugal)")
+                # suggestAlternative:"11000/15000/18000/20000/25000/30000/50000/60000/130000/150000/220000/400000"
+                err.append({'class': 159, 'subclass': 150215451, 'text': mapcss.tr('Invalid voltage value for this country (Portugal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(21000|66000|110000|132000|220000|400000)$/][inside("QA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_356889db, '^(21000|66000|110000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'QA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Qatar"
+                # throwError:tr("Invalid voltage value for this country (Qatar)")
+                # suggestAlternative:"21000/66000/110000/132000/220000/400000"
+                err.append({'class': 160, 'subclass': 1152032816, 'text': mapcss.tr('Invalid voltage value for this country (Qatar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("CG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Republic_of_the_Congo"
+                # throwError:tr("Invalid voltage value for this country (Republic of the Congo)")
+                # suggestAlternative:"110000/220000"
+                err.append({'class': 161, 'subclass': 1185301592, 'text': mapcss.tr('Invalid voltage value for this country (Republic of the Congo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|38000|55000|110000|220000|380000|400000)$/][inside("RO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6be5b2f4, '^(20000|25000|38000|55000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Romania"
+                # throwError:tr("Invalid voltage value for this country (Romania)")
+                # suggestAlternative:"20000/25000/38000/55000/110000/220000/380000/400000"
+                err.append({'class': 162, 'subclass': 537046778, 'text': mapcss.tr('Invalid voltage value for this country (Romania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$/][inside("RU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ff1797a, '^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Russia"
+                # throwError:tr("Invalid voltage value for this country (Russia)")
+                # suggestAlternative:"10500/15000/16000/20000/30000/35000/60000/66000/100000/110000/138000/150000/154000/220000/330000/350000/400000/500000/750000/800000/1100000"
+                err.append({'class': 163, 'subclass': 1463533967, 'text': mapcss.tr('Invalid voltage value for this country (Russia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("RW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Rwanda"
+                # throwError:tr("Invalid voltage value for this country (Rwanda)")
+                # suggestAlternative:"70000/110000/220000"
+                err.append({'class': 164, 'subclass': 596543002, 'text': mapcss.tr('Invalid voltage value for this country (Rwanda)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("SM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/San_Marino"
+                # throwError:tr("Invalid voltage value for this country (San Marino)")
+                # suggestAlternative:"132000"
+                err.append({'class': 165, 'subclass': 1414179455, 'text': mapcss.tr('Invalid voltage value for this country (San Marino)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(25000|33000|110000|115000|132000|230000|380000|400000)$/][inside("SA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_313e83ad, '^(25000|33000|110000|115000|132000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Saudi_Arabia"
+                # throwError:tr("Invalid voltage value for this country (Saudi Arabia)")
+                # suggestAlternative:"25000/33000/110000/115000/132000/230000/380000/400000"
+                err.append({'class': 166, 'subclass': 693215238, 'text': mapcss.tr('Invalid voltage value for this country (Saudi Arabia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("SN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Senegal"
+                # throwError:tr("Invalid voltage value for this country (Senegal)")
+                # suggestAlternative:"90000/225000"
+                err.append({'class': 167, 'subclass': 378987080, 'text': mapcss.tr('Invalid voltage value for this country (Senegal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|30000|35000|110000|220000|380000|400000)$/][inside("RS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_494f7be8, '^(20000|25000|30000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Serbia"
+                # throwError:tr("Invalid voltage value for this country (Serbia)")
+                # suggestAlternative:"20000/25000/30000/35000/110000/220000/380000/400000"
+                err.append({'class': 168, 'subclass': 1630472990, 'text': mapcss.tr('Invalid voltage value for this country (Serbia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|225000)$/][inside("SL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec31fe0, '^(161000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sierra_Leone"
+                # throwError:tr("Invalid voltage value for this country (Sierra Leone)")
+                # suggestAlternative:"161000/225000"
+                err.append({'class': 169, 'subclass': 622075609, 'text': mapcss.tr('Invalid voltage value for this country (Sierra Leone)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(230000)$/][inside("SG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_19e5679c, '^(230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Singapore"
+                # throwError:tr("Invalid voltage value for this country (Singapore)")
+                # suggestAlternative:"230000"
+                err.append({'class': 170, 'subclass': 157185646, 'text': mapcss.tr('Invalid voltage value for this country (Singapore)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|110000|220000|400000)$/][inside("SK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5a39ab8e, '^(22000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Slovakia"
+                # throwError:tr("Invalid voltage value for this country (Slovakia)")
+                # suggestAlternative:"22000/110000/220000/400000"
+                err.append({'class': 171, 'subclass': 565395639, 'text': mapcss.tr('Invalid voltage value for this country (Slovakia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|35000|100000|110000|220000|400000)$/][inside("SI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_78f8f400, '^(15000|20000|35000|100000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Slovenia"
+                # throwError:tr("Invalid voltage value for this country (Slovenia)")
+                # suggestAlternative:"15000/20000/35000/100000/110000/220000/400000"
+                err.append({'class': 172, 'subclass': 834136653, 'text': mapcss.tr('Invalid voltage value for this country (Slovenia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$/][inside("ZA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35ea191f, '^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Africa"
+                # throwError:tr("Invalid voltage value for this country (South Africa)")
+                # suggestAlternative:"11000/20000/22000/33000/44000/66000/88000/110000/132000/220000/275000/380000/400000/533000/765000"
+                err.append({'class': 173, 'subclass': 784514385, 'text': mapcss.tr('Invalid voltage value for this country (South Africa)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$/][inside("KR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_43d80261, '^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Korea"
+                # throwError:tr("Invalid voltage value for this country (South Korea)")
+                # suggestAlternative:"15000/22900/145000/150000/154000/180000/250000/345000/354000/380000/765000"
+                err.append({'class': 174, 'subclass': 178837632, 'text': mapcss.tr('Invalid voltage value for this country (South Korea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("SS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Sudan"
+                # throwError:tr("Invalid voltage value for this country (South Sudan)")
+                # suggestAlternative:"220000"
+                err.append({'class': 175, 'subclass': 2047708575, 'text': mapcss.tr('Invalid voltage value for this country (South Sudan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$/][inside("ES")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0d635fe6, '^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ES')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Spain"
+                # throwError:tr("Invalid voltage value for this country (Spain)")
+                # suggestAlternative:"12000/13000/13200/15000/17000/20000/22000/24000/25000/30000/33000/35000/45000/50000/55000/60000/65000/66000/66600/100000/110000/120000/130000/132000/138000/150000/200000/220000/225000/240000/250000/320000/400000"
+                err.append({'class': 176, 'subclass': 1913559889, 'text': mapcss.tr('Invalid voltage value for this country (Spain)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("LK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sri_Lanka"
+                # throwError:tr("Invalid voltage value for this country (Sri Lanka)")
+                # suggestAlternative:"11000/33000/132000/220000"
+                err.append({'class': 177, 'subclass': 474591271, 'text': mapcss.tr('Invalid voltage value for this country (Sri Lanka)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("PS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/State_of_Palestine"
+                # throwError:tr("Invalid voltage value for this country (State of Palestine)")
+                # suggestAlternative:"161000"
+                err.append({'class': 178, 'subclass': 1034528303, 'text': mapcss.tr('Invalid voltage value for this country (State of Palestine)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|110000|220000|500000)$/][inside("SD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ea677e3, '^(66000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sudan"
+                # throwError:tr("Invalid voltage value for this country (Sudan)")
+                # suggestAlternative:"66000/110000/220000/500000"
+                err.append({'class': 179, 'subclass': 810850697, 'text': mapcss.tr('Invalid voltage value for this country (Sudan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("SR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Suriname"
+                # throwError:tr("Invalid voltage value for this country (Suriname)")
+                # suggestAlternative:"161000"
+                err.append({'class': 180, 'subclass': 1927028078, 'text': mapcss.tr('Invalid voltage value for this country (Suriname)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$/][inside("SE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_168afd57, '^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sweden"
+                # throwError:tr("Invalid voltage value for this country (Sweden)")
+                # suggestAlternative:"11000/12000/15000/20000/22000/24000/30000/36000/40000/45000/50000/52000/55000/60000/66000/70000/72500/77000/80000/110000/130000/132000/138000/145000/150000/160000/170000/220000/230000/236000/285000/300000/400000/412000/420000/450000/500000"
+                err.append({'class': 181, 'subclass': 1587479274, 'text': mapcss.tr('Invalid voltage value for this country (Sweden)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$/][inside("CH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3c9d3cca, '^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Switzerland"
+                # throwError:tr("Invalid voltage value for this country (Switzerland)")
+                # suggestAlternative:"11000/13000/15000/15500/16000/17000/18000/20000/21000/22000/23000/25000/50000/60000/63000/65000/66000/110000/125000/130000/132000/138000/145000/150000/220000/222000/225000/380000/400000"
+                err.append({'class': 182, 'subclass': 530518436, 'text': mapcss.tr('Invalid voltage value for this country (Switzerland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(23000|66000|154000|161000|220000|230000|380000|400000)$/][inside("SY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_79cf4090, '^(23000|66000|154000|161000|220000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Syria"
+                # throwError:tr("Invalid voltage value for this country (Syria)")
+                # suggestAlternative:"23000/66000/154000/161000/220000/230000/380000/400000"
+                err.append({'class': 183, 'subclass': 1924817826, 'text': mapcss.tr('Invalid voltage value for this country (Syria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|161000|345000|690000)$/][inside("TW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17aa7472, '^(69000|161000|345000|690000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Taiwan"
+                # throwError:tr("Invalid voltage value for this country (Taiwan)")
+                # suggestAlternative:"69000/161000/345000/690000"
+                err.append({'class': 184, 'subclass': 780710383, 'text': mapcss.tr('Invalid voltage value for this country (Taiwan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|138000|220000|500000)$/][inside("TJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3de199b9, '^(35000|110000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tajikistan"
+                # throwError:tr("Invalid voltage value for this country (Tajikistan)")
+                # suggestAlternative:"35000/110000/138000/220000/500000"
+                err.append({'class': 185, 'subclass': 2020974277, 'text': mapcss.tr('Invalid voltage value for this country (Tajikistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|220000|222000|400000)$/][inside("TZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f98a74d, '^(11000|33000|66000|132000|220000|222000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tanzania"
+                # throwError:tr("Invalid voltage value for this country (Tanzania)")
+                # suggestAlternative:"11000/33000/66000/132000/220000/222000/400000"
+                err.append({'class': 186, 'subclass': 1121001731, 'text': mapcss.tr('Invalid voltage value for this country (Tanzania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|50000|69000|115000|132000|230000|300000|500000)$/][inside("TH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae50e2c, '^(22000|50000|69000|115000|132000|230000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Thailand"
+                # throwError:tr("Invalid voltage value for this country (Thailand)")
+                # suggestAlternative:"22000/50000/69000/115000/132000/230000/300000/500000"
+                err.append({'class': 187, 'subclass': 1199914302, 'text': mapcss.tr('Invalid voltage value for this country (Thailand)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("BS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/The_Bahamas"
+                # throwError:tr("Invalid voltage value for this country (The Bahamas)")
+                # suggestAlternative:"132000"
+                err.append({'class': 188, 'subclass': 44101464, 'text': mapcss.tr('Invalid voltage value for this country (The Bahamas)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/The_Gambia"
+                # throwError:tr("Invalid voltage value for this country (The Gambia)")
+                # suggestAlternative:"225000"
+                err.append({'class': 189, 'subclass': 1294976035, 'text': mapcss.tr('Invalid voltage value for this country (The Gambia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(150000)$/][inside("TL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25ec0862, '^(150000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Timor-Leste"
+                # throwError:tr("Invalid voltage value for this country (Timor-Leste)")
+                # suggestAlternative:"150000"
+                err.append({'class': 190, 'subclass': 1799882419, 'text': mapcss.tr('Invalid voltage value for this country (Timor-Leste)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("TG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Togo"
+                # throwError:tr("Invalid voltage value for this country (Togo)")
+                # suggestAlternative:"161000/330000"
+                err.append({'class': 191, 'subclass': 635965103, 'text': mapcss.tr('Invalid voltage value for this country (Togo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("TT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Trinidad_and_Tobago"
+                # throwError:tr("Invalid voltage value for this country (Trinidad and Tobago)")
+                # suggestAlternative:"66000/132000/220000"
+                err.append({'class': 192, 'subclass': 1547001286, 'text': mapcss.tr('Invalid voltage value for this country (Trinidad and Tobago)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$/][inside("TN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2cc8f87e, '^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tunisia"
+                # throwError:tr("Invalid voltage value for this country (Tunisia)")
+                # suggestAlternative:"15000/22500/30000/33000/90000/150000/220000/225000/400000"
+                err.append({'class': 193, 'subclass': 1987915471, 'text': mapcss.tr('Invalid voltage value for this country (Tunisia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$/][inside("TR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a0db6a9, '^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Turkey"
+                # throwError:tr("Invalid voltage value for this country (Turkey)")
+                # suggestAlternative:"20000/25000/31500/34000/34500/35000/36000/66000/150000/154000/170000/220000/345005/380000/400000/1000000"
+                err.append({'class': 194, 'subclass': 976988585, 'text': mapcss.tr('Invalid voltage value for this country (Turkey)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000|230000|500000)$/][inside("TM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0425562b, '^(110000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Turkmenistan"
+                # throwError:tr("Invalid voltage value for this country (Turkmenistan)")
+                # suggestAlternative:"110000/220000/230000/500000"
+                err.append({'class': 195, 'subclass': 686569689, 'text': mapcss.tr('Invalid voltage value for this country (Turkmenistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|33000|66000|132000|220000|400000)$/][inside("UG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_56b8f45f, '^(11000|15000|33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uganda"
+                # throwError:tr("Invalid voltage value for this country (Uganda)")
+                # suggestAlternative:"11000/15000/33000/66000/132000/220000/400000"
+                err.append({'class': 196, 'subclass': 1343285261, 'text': mapcss.tr('Invalid voltage value for this country (Uganda)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$/][inside("UA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_789fa698, '^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ukraine"
+                # throwError:tr("Invalid voltage value for this country (Ukraine)")
+                # suggestAlternative:"15000/35000/110000/150000/154000/220000/330000/400000/500000/750000/800000"
+                err.append({'class': 197, 'subclass': 1545715340, 'text': mapcss.tr('Invalid voltage value for this country (Ukraine)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|132000|220000|400000)$/][inside("AE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_403ae00b, '^(33000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/United_Arab_Emirates"
+                # throwError:tr("Invalid voltage value for this country (United Arab Emirates)")
+                # suggestAlternative:"33000/132000/220000/400000"
+                err.append({'class': 198, 'subclass': 1617670352, 'text': mapcss.tr('Invalid voltage value for this country (United Arab Emirates)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$/][inside("GB")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0757e9d5, '^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GB')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Great_Britain"
+                # throwError:tr("Invalid voltage value for this country (United Kingdom)")
+                # suggestAlternative:"11000/12300/13800/15000/16000/20000/22000/24000/25000/27000/32000/33000/33300/35000/36000/66000/90000/110000/132000/145000/150000/170000/200000/220000/250000/254000/270000/275000/320000/400000/450000/515000/525000/600000"
+                err.append({'class': 199, 'subclass': 511227450, 'text': mapcss.tr('Invalid voltage value for this country (United Kingdom)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$/][inside("US")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_32e2ea6c, '^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'US')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/United_States"
+                # throwError:tr("Invalid voltage value for this country (United States)")
+                # suggestAlternative:"11000/11500/12000/12370/12400/12470/12500/13000/13200/13800/13860/14000/14400/14750/15000/16000/17500/18000/19920/19935/20000/20800/21000/21800/22000/23000/23900/24000/24900/24940/25000/26000/26400/27000/27600/32000/33000/34000/34500/34599/35000/35400/37500/38000/40000/41600/43000/43800/44000/46000/49000/50000/55000/57000/57100/60000/66000/69000/70000/71000/87000/88000/92000/100000/110000/111500/115000/120000/125000/130000/132000/138000/150000/160000/161000/200000/220000/230000/235000/250000/260000/276000/287000/320000/345000/400000/450000/460000/500000/690002/765000/1100000/1150003/1333000/1380000"
+                err.append({'class': 200, 'subclass': 1460296158, 'text': mapcss.tr('Invalid voltage value for this country (United States)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|31500|60000|63000|132000|150000|230000|500000)$/][inside("UY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e41b29d, '^(30000|31500|60000|63000|132000|150000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uruguay"
+                # throwError:tr("Invalid voltage value for this country (Uruguay)")
+                # suggestAlternative:"30000/31500/60000/63000/132000/150000/230000/500000"
+                err.append({'class': 201, 'subclass': 1295728901, 'text': mapcss.tr('Invalid voltage value for this country (Uruguay)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|75000|110000|220000|350000|380000|500000)$/][inside("UZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7edd7211, '^(35000|75000|110000|220000|350000|380000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uzbekistan"
+                # throwError:tr("Invalid voltage value for this country (Uzbekistan)")
+                # suggestAlternative:"35000/75000/110000/220000/350000/380000/500000"
+                err.append({'class': 202, 'subclass': 610780797, 'text': mapcss.tr('Invalid voltage value for this country (Uzbekistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$/][inside("VE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1cb10787, '^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Venezuela"
+                # throwError:tr("Invalid voltage value for this country (Venezuela)")
+                # suggestAlternative:"13800/24000/30000/69000/115000/138000/230000/400000/765000"
+                err.append({'class': 203, 'subclass': 2065474114, 'text': mapcss.tr('Invalid voltage value for this country (Venezuela)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|50000|110000|115000|220000|230000|500000)$/][inside("VN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_21b86ee6, '^(22000|50000|110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Vietnam"
+                # throwError:tr("Invalid voltage value for this country (Vietnam)")
+                # suggestAlternative:"22000/50000/110000/115000/220000/230000/500000"
+                err.append({'class': 204, 'subclass': 1132764275, 'text': mapcss.tr('Invalid voltage value for this country (Vietnam)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("YE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'YE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Yemen"
+                # throwError:tr("Invalid voltage value for this country (Yemen)")
+                # suggestAlternative:"132000/400000"
+                err.append({'class': 205, 'subclass': 1327576406, 'text': mapcss.tr('Invalid voltage value for this country (Yemen)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|88000|132000|220000|330000)$/][inside("ZM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_703e20a3, '^(11000|33000|66000|88000|132000|220000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Zambia"
+                # throwError:tr("Invalid voltage value for this country (Zambia)")
+                # suggestAlternative:"11000/33000/66000/88000/132000/220000/330000"
+                err.append({'class': 206, 'subclass': 1569104562, 'text': mapcss.tr('Invalid voltage value for this country (Zambia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|110000|132000|220000|330000|400000)$/][inside("ZW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65c9364b, '^(33000|66000|88000|110000|132000|220000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Zimbabwe"
+                # throwError:tr("Invalid voltage value for this country (Zimbabwe)")
+                # suggestAlternative:"33000/66000/88000/110000/132000/220000/330000/400000"
+                err.append({'class': 207, 'subclass': 842844725, 'text': mapcss.tr('Invalid voltage value for this country (Zimbabwe)')})
+
+        return err
+
+    def way(self, data, tags, nds):
+        capture_tags = {}
+        keys = tags.keys()
+        err = []
+
+
+        # *[power][power!~/^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$/]
+        if ('power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 1, self.re_6b88cc68, '^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$'), mapcss._tag_capture(capture_tags, 1, tags, 'power'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The power=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:power"
+                # throwError:tr("Unsuitable value for power=* tag")
+                # assertNoMatch:"way power=cable"
+                err.append({'class': 1, 'subclass': 36378028, 'text': mapcss.tr('Unsuitable value for power=* tag')})
+
+        # *[power=generator][generator:source][generator:source!~/^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$/]
+        if ('generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_0cf641e0, '^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$'), mapcss._tag_capture(capture_tags, 2, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The generator:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:source"
+                # throwError:tr("Unsuitable value for generator:source=* tag")
+                err.append({'class': 3, 'subclass': 600492584, 'text': mapcss.tr('Unsuitable value for generator:source=* tag')})
+
+        # *[power=generator][generator:source=nuclear][generator:method][generator:method!~/^(fission|fusion)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'nuclear')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_642c98f5, '^(fission|fusion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Nuclear generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for nuclear generator")
+                # suggestAlternative:"fission or fusion"
+                # fixRemove:"generator:method"
+                err.append({'class': 4, 'subclass': 1513616022, 'text': mapcss.tr('Unsuitable method for nuclear generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/fission|fusion/][generator:source][generator:source!=nuclear]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_21537747), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'nuclear', 'nuclear')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1445012384, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=wind][generator:method][generator:method!=wind_turbine]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'wind')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'wind_turbine', 'wind_turbine')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Remove the `{0}` tag or change it to `{1}`.","generator:method","wind_turbine")
+                # -osmoseDetail:tr("Wind generators can only use turbines to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for wind generator")
+                # fixRemove:"generator:method"
+                err.append({'class': 6, 'subclass': 1104182574, 'text': mapcss.tr('Unsuitable method for wind generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=wind_turbine][generator:source][generator:source!=wind]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'wind_turbine')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'wind', 'wind')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1021686777, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=hydro][generator:method][generator:method!~/^(water-storage|water-pumped-storage|run-of-the-river)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'hydro')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2c04ecfb, '^(water-storage|water-pumped-storage|run-of-the-river)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Hydro generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for hydro generator")
+                # suggestAlternative:"water-storage, run-of-the-river or water-pumped-storage"
+                # fixRemove:"generator:method"
+                err.append({'class': 7, 'subclass': 1379042787, 'text': mapcss.tr('Unsuitable method for hydro generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(water-storage|water-pumped-storage|run-of-the-river)$/][generator:source][generator:source!=hydro]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_2c04ecfb), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'hydro', 'hydro')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1830475878, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=tidal][generator:method][generator:method!~/^(barrage|stream)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'tidal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_583b6258, '^(barrage|stream)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Tidal generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for tidal generator")
+                # suggestAlternative:"barrage or stream"
+                # fixRemove:"generator:method"
+                err.append({'class': 8, 'subclass': 503240008, 'text': mapcss.tr('Unsuitable method for tidal generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(barrage|stream)$/][generator:source][generator:source!=tidal]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_583b6258), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'tidal', 'tidal')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 976314568, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=solar][generator:method][generator:method!~/^(thermal|photovoltaic)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'solar')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_26c08bf9, '^(thermal|photovoltaic)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Solar generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for solar generator")
+                # suggestAlternative:"thermal or photovoltaic"
+                # fixRemove:"generator:method"
+                err.append({'class': 9, 'subclass': 1095645684, 'text': mapcss.tr('Unsuitable method for solar generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(thermal|photovoltaic)$/][generator:source][generator:source!=solar]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_26c08bf9), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'solar', 'solar')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1457983121, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=coal][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'coal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Coal generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for coal generator")
+                err.append({'class': 10, 'subclass': 727067352, 'text': mapcss.tr('Unsuitable method for coal generator')})
+
+        # *[power=generator][generator:source=gas][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'gas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Gas generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for gas generator")
+                err.append({'class': 11, 'subclass': 1587058630, 'text': mapcss.tr('Unsuitable method for gas generator')})
+
+        # *[power=generator][generator:source=biomass][generator:method][generator:method!~/^(combustion|gasification|anaerobic_digestion)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biomass')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_009ee9c4, '^(combustion|gasification|anaerobic_digestion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biomass generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biomass generator")
+                # suggestAlternative:"combustion, anaerobic_digestion or gasification"
+                # fixRemove:"generator:method"
+                err.append({'class': 12, 'subclass': 1563205211, 'text': mapcss.tr('Unsuitable method for biomass generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:source=biofuel][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biofuel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biofuel generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biofuel generator")
+                err.append({'class': 13, 'subclass': 2056310355, 'text': mapcss.tr('Unsuitable method for biofuel generator')})
+
+        # *[power=generator][generator:source=biogas][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biogas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biogas generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biogas generator")
+                err.append({'class': 14, 'subclass': 1353854094, 'text': mapcss.tr('Unsuitable method for biogas generator')})
+
+        # *[power=generator][generator:source=oil][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'oil')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Oil generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for oil generator")
+                err.append({'class': 15, 'subclass': 2059171544, 'text': mapcss.tr('Unsuitable method for oil generator')})
+
+        # *[power=generator][generator:source=diesel][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'diesel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Diesel generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for diesel generator")
+                err.append({'class': 16, 'subclass': 87750196, 'text': mapcss.tr('Unsuitable method for diesel generator')})
+
+        # *[power=generator][generator:source=gasoline][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'gasoline')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Gasoline generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for gasoline generator")
+                err.append({'class': 17, 'subclass': 1418218249, 'text': mapcss.tr('Unsuitable method for gasoline generator')})
+
+        # *[power=generator][generator:source=waste][generator:method][generator:method!~/^(combustion|gasification)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'waste')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_05a6cbca, '^(combustion|gasification)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Waste generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for waste generator")
+                # suggestAlternative:"combustion or gasification"
+                # fixRemove:"generator:method"
+                err.append({'class': 18, 'subclass': 600470569, 'text': mapcss.tr('Unsuitable method for waste generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=combustion][generator:source][generator:source!~/^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'combustion')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5b4d6241, '^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1335984003, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:method=gasification][generator:source][generator:source!~/^(waste|biomass)(;(waste|biomass))*$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'gasification')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5d252d75, '^(waste|biomass)(;(waste|biomass))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 313390332, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=plant][plant:source][plant:source!~/^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$/]
+        if ('plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_0cf641e0, '^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$'), mapcss._tag_capture(capture_tags, 2, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The plant:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:source"
+                # throwError:tr("Unsuitable value for plant:source=* tag")
+                err.append({'class': 19, 'subclass': 966751128, 'text': mapcss.tr('Unsuitable value for plant:source=* tag')})
+
+        # *[power=plant][plant:source=nuclear][plant:method][plant:method!~/^(fission|fusion)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'nuclear')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_642c98f5, '^(fission|fusion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Nuclear power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for nuclear power plant")
+                # suggestAlternative:"fission or fusion"
+                # fixRemove:"plant:method"
+                err.append({'class': 20, 'subclass': 56152287, 'text': mapcss.tr('Unsuitable method for nuclear power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(fission|fusion)$/][plant:source][plant:source!=nuclear]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_642c98f5), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'nuclear', 'nuclear')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 120690153, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=wind][plant:method][plant:method!=wind_turbine]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'wind')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'wind_turbine', 'wind_turbine')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Wind power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for wind power plant")
+                # fixRemove:"plant:method"
+                err.append({'class': 22, 'subclass': 515061741, 'text': mapcss.tr('Unsuitable method for wind power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=wind_turbine][plant:source][plant:source!=wind]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'wind_turbine')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'wind', 'wind')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 443176990, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=hydro][plant:method][plant:method!~/^(water-storage|water-pumped-storage|run-of-the-river)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'hydro')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2c04ecfb, '^(water-storage|water-pumped-storage|run-of-the-river)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Hydro power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for hydro power plant")
+                # suggestAlternative:"water-storage, run-of-the-river or water-pumped-storage"
+                # fixRemove:"plant:method"
+                err.append({'class': 23, 'subclass': 1020856194, 'text': mapcss.tr('Unsuitable method for hydro power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(water-storage|water-pumped-storage|run-of-the-river)$/][plant:source][plant:source!=hydro]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_2c04ecfb), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'hydro', 'hydro')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 1372509170, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=tidal][plant:method][plant:method!~/^(barrage|stream)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'tidal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_583b6258, '^(barrage|stream)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Tidal power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for tidal power plant")
+                # suggestAlternative:"barrage or stream"
+                # fixRemove:"plant:method"
+                err.append({'class': 24, 'subclass': 75438578, 'text': mapcss.tr('Unsuitable method for tidal power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(barrage|stream)$/][plant:source][plant:source!=tidal]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_583b6258), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'tidal', 'tidal')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 934978595, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=solar][plant:method][plant:method!~/^(thermal|photovoltaic)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'solar')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_26c08bf9, '^(thermal|photovoltaic)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Solar power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for solar power plant")
+                # suggestAlternative:"thermal or photovoltaic"
+                # fixRemove:"plant:method"
+                err.append({'class': 25, 'subclass': 1799335667, 'text': mapcss.tr('Unsuitable method for solar power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(thermal|photovoltaic)$/][plant:source][plant:source!=solar]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_26c08bf9), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'solar', 'solar')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 1085835351, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=coal][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'coal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Coal power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for coal power plant")
+                err.append({'class': 26, 'subclass': 746471181, 'text': mapcss.tr('Unsuitable method for coal power plant')})
+
+        # *[power=plant][plant:source=gas][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'gas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Gas power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for gas power plant")
+                err.append({'class': 27, 'subclass': 827336490, 'text': mapcss.tr('Unsuitable method for gas power plant')})
+
+        # *[power=plant][plant:source=biomass][plant:method][plant:method!~/^(combustion|gasification|anaerobic_digestion)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biomass')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_009ee9c4, '^(combustion|gasification|anaerobic_digestion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biomass power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biomass power plant")
+                # suggestAlternative:"combustion, anaerobic_digestion or gasification"
+                # fixRemove:"plant:method"
+                err.append({'class': 28, 'subclass': 2076402923, 'text': mapcss.tr('Unsuitable method for biomass power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:source=biofuel][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biofuel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biofuel power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biofuel power plant")
+                err.append({'class': 29, 'subclass': 1882895060, 'text': mapcss.tr('Unsuitable method for biofuel power plant')})
+
+        # *[power=plant][plant:source=biogas][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biogas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biogas power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biogas power plant")
+                err.append({'class': 30, 'subclass': 887792794, 'text': mapcss.tr('Unsuitable method for biogas power plant')})
+
+        # *[power=plant][plant:source=oil][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'oil')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Oil power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for oil power plant")
+                err.append({'class': 31, 'subclass': 1678290892, 'text': mapcss.tr('Unsuitable method for oil power plant')})
+
+        # *[power=plant][plant:source=diesel][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'diesel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Diesel power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for diesel power plant")
+                err.append({'class': 32, 'subclass': 75543302, 'text': mapcss.tr('Unsuitable method for diesel power plant')})
+
+        # *[power=plant][plant:source=gasoline][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'gasoline')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Gasoline power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for gasoline power plant")
+                err.append({'class': 33, 'subclass': 599334301, 'text': mapcss.tr('Unsuitable method for gasoline power plant')})
+
+        # *[power=plant][plant:source=waste][plant:method][plant:method!~/^(combustion|gasification)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'waste')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_05a6cbca, '^(combustion|gasification)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Waste power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for waste power plant")
+                # suggestAlternative:"combustion or gasification"
+                # fixRemove:"plant:method"
+                err.append({'class': 34, 'subclass': 489417432, 'text': mapcss.tr('Unsuitable method for waste power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=combustion][plant:source][plant:source!~/^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'combustion')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5b4d6241, '^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 46745407, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:method=gasification][plant:source][plant:source!~/^(waste|biomass)(;(waste|biomass))*$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'gasification')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5d252d75, '^(waste|biomass)(;(waste|biomass))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 1329720574, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|132000|220000|500000)$/][inside("AF")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|132000|220000|500000)$/][inside("AF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7b35047a, '^(110000|132000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AF')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7b35047a, '^(110000|132000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Afghanistan"
+                # throwError:tr("Invalid voltage value for this country (Afghanistan)")
+                # suggestAlternative:"110000/132000/220000/500000"
+                err.append({'class': 35, 'subclass': 894410045, 'text': mapcss.tr('Invalid voltage value for this country (Afghanistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|35000|110000|150000|220000|400000)$/][inside("AL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(30000|35000|110000|150000|220000|400000)$/][inside("AL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a188683, '^(30000|35000|110000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a188683, '^(30000|35000|110000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Albania"
+                # throwError:tr("Invalid voltage value for this country (Albania)")
+                # suggestAlternative:"30000/35000/110000/150000/220000/400000"
+                err.append({'class': 36, 'subclass': 1354359149, 'text': mapcss.tr('Invalid voltage value for this country (Albania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|60000|66000|90000|150000|220000|225000|400000)$/][inside("DZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(30000|60000|66000|90000|150000|220000|225000|400000)$/][inside("DZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_580cbc71, '^(30000|60000|66000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_580cbc71, '^(30000|60000|66000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Algeria"
+                # throwError:tr("Invalid voltage value for this country (Algeria)")
+                # suggestAlternative:"30000/60000/66000/90000/150000/220000/225000/400000"
+                err.append({'class': 37, 'subclass': 372319734, 'text': mapcss.tr('Invalid voltage value for this country (Algeria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|150000|225000)$/][inside("AD")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|150000|225000)$/][inside("AD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7bbd0e42, '^(110000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7bbd0e42, '^(110000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Andorra"
+                # throwError:tr("Invalid voltage value for this country (Andorra)")
+                # suggestAlternative:"110000/150000/225000"
+                err.append({'class': 38, 'subclass': 2076885744, 'text': mapcss.tr('Invalid voltage value for this country (Andorra)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(60000|66000|110000|132000|150000|220000|400000)$/][inside("AO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(60000|66000|110000|132000|150000|220000|400000)$/][inside("AO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a11341, '^(60000|66000|110000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a11341, '^(60000|66000|110000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Angola"
+                # throwError:tr("Invalid voltage value for this country (Angola)")
+                # suggestAlternative:"60000/66000/110000/132000/150000/220000/400000"
+                err.append({'class': 39, 'subclass': 897856585, 'text': mapcss.tr('Invalid voltage value for this country (Angola)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$/][inside("AR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$/][inside("AR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7889b2ce, '^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7889b2ce, '^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Argentina"
+                # throwError:tr("Invalid voltage value for this country (Argentina)")
+                # suggestAlternative:"13200/25000/32000/33000/35000/66000/132000/220000/330000/345000/500000"
+                err.append({'class': 40, 'subclass': 1701283263, 'text': mapcss.tr('Invalid voltage value for this country (Argentina)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$/][inside("AM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$/][inside("AM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1f435557, '^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1f435557, '^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Armenia"
+                # throwError:tr("Invalid voltage value for this country (Armenia)")
+                # suggestAlternative:"35000/36000/100000/110000/220000/230000/330000/400000/500000"
+                err.append({'class': 41, 'subclass': 1653152722, 'text': mapcss.tr('Invalid voltage value for this country (Armenia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$/][inside("AU")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$/][inside("AU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_110dc891, '^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_110dc891, '^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Australia"
+                # throwError:tr("Invalid voltage value for this country (Australia)")
+                # suggestAlternative:"10500/11000/12700/19000/19100/22000/33000/35000/44000/50000/66000/80000/110000/132000/150000/220000/275000/330000/400000/500000"
+                err.append({'class': 42, 'subclass': 368793225, 'text': mapcss.tr('Invalid voltage value for this country (Australia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$/][inside("AT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$/][inside("AT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c208d10, '^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c208d10, '^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Austria"
+                # throwError:tr("Invalid voltage value for this country (Austria)")
+                # suggestAlternative:"10500/13800/15000/16000/17500/20000/25000/30000/55000/60000/110000/132000/150000/220000/380000/400000"
+                err.append({'class': 43, 'subclass': 722031792, 'text': mapcss.tr('Invalid voltage value for this country (Austria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|132000|154000|220000|330000|500000)$/][inside("AZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|110000|132000|154000|220000|330000|500000)$/][inside("AZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4366c21c, '^(35000|110000|132000|154000|220000|330000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4366c21c, '^(35000|110000|132000|154000|220000|330000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Azerbaijan"
+                # throwError:tr("Invalid voltage value for this country (Azerbaijan)")
+                # suggestAlternative:"35000/110000/132000/154000/220000/330000/500000"
+                err.append({'class': 44, 'subclass': 1150181715, 'text': mapcss.tr('Invalid voltage value for this country (Azerbaijan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000|230000|400000)$/][inside("BH")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(220000|230000|400000)$/][inside("BH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_247a7ae8, '^(220000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_247a7ae8, '^(220000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bahrain"
+                # throwError:tr("Invalid voltage value for this country (Bahrain)")
+                # suggestAlternative:"220000/230000/400000"
+                err.append({'class': 45, 'subclass': 1908817208, 'text': mapcss.tr('Invalid voltage value for this country (Bahrain)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(23000|33000|132000|230000|400000)$/][inside("BD")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(23000|33000|132000|230000|400000)$/][inside("BD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0bb23efd, '^(23000|33000|132000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0bb23efd, '^(23000|33000|132000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bangladesh"
+                # throwError:tr("Invalid voltage value for this country (Bangladesh)")
+                # suggestAlternative:"23000/33000/132000/230000/400000"
+                err.append({'class': 46, 'subclass': 454897030, 'text': mapcss.tr('Invalid voltage value for this country (Bangladesh)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|40000|100000|110000|220000|330000|750000)$/][inside("BY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|40000|100000|110000|220000|330000|750000)$/][inside("BY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_309280d5, '^(35000|40000|100000|110000|220000|330000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_309280d5, '^(35000|40000|100000|110000|220000|330000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belarus"
+                # throwError:tr("Invalid voltage value for this country (Belarus)")
+                # suggestAlternative:"35000/40000/100000/110000/220000/330000/750000"
+                err.append({'class': 47, 'subclass': 502462111, 'text': mapcss.tr('Invalid voltage value for this country (Belarus)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$/][inside("BE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$/][inside("BE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec02c4f, '^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec02c4f, '^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belgium"
+                # throwError:tr("Invalid voltage value for this country (Belgium)")
+                # suggestAlternative:"11000/11500/15000/30000/33000/36000/50000/63000/70000/110000/150000/220000/225000/320000/380000/400000"
+                err.append({'class': 48, 'subclass': 76971998, 'text': mapcss.tr('Invalid voltage value for this country (Belgium)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|34500|69000|115000)$/][inside("BZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22000|34500|69000|115000)$/][inside("BZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_74a6316e, '^(22000|34500|69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_74a6316e, '^(22000|34500|69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belize"
+                # throwError:tr("Invalid voltage value for this country (Belize)")
+                # suggestAlternative:"22000/34500/69000/115000"
+                err.append({'class': 49, 'subclass': 1995167695, 'text': mapcss.tr('Invalid voltage value for this country (Belize)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("BJ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("BJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Benin"
+                # throwError:tr("Invalid voltage value for this country (Benin)")
+                # suggestAlternative:"161000/330000"
+                err.append({'class': 50, 'subclass': 1721177484, 'text': mapcss.tr('Invalid voltage value for this country (Benin)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bhutan"
+                # throwError:tr("Invalid voltage value for this country (Bhutan)")
+                # suggestAlternative:"66000/132000/220000/400000"
+                err.append({'class': 51, 'subclass': 1049906813, 'text': mapcss.tr('Invalid voltage value for this country (Bhutan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|220000|500000)$/][inside("BO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(115000|220000|500000)$/][inside("BO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7c0499f4, '^(115000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7c0499f4, '^(115000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bolivia"
+                # throwError:tr("Invalid voltage value for this country (Bolivia)")
+                # suggestAlternative:"115000/220000/500000"
+                err.append({'class': 52, 'subclass': 1551078077, 'text': mapcss.tr('Invalid voltage value for this country (Bolivia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000)$/][inside("BA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000)$/][inside("BA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_38c1c717, '^(35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_38c1c717, '^(35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bosnia_and_Herzegovina"
+                # throwError:tr("Invalid voltage value for this country (Bosnia and Herzegovina)")
+                # suggestAlternative:"35000/110000/220000/400000"
+                err.append({'class': 53, 'subclass': 285152791, 'text': mapcss.tr('Invalid voltage value for this country (Bosnia and Herzegovina)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Botswana"
+                # throwError:tr("Invalid voltage value for this country (Botswana)")
+                # suggestAlternative:"66000/132000/220000/400000"
+                err.append({'class': 54, 'subclass': 1742378833, 'text': mapcss.tr('Invalid voltage value for this country (Botswana)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$/][inside("BR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$/][inside("BR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2450a903, '^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2450a903, '^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Brazil"
+                # throwError:tr("Invalid voltage value for this country (Brazil)")
+                # suggestAlternative:"13800/23100/34500/66000/69000/88000/110000/132000/138000/230000/345000/440000/500000/525000/600000/765000/800000"
+                err.append({'class': 55, 'subclass': 520735111, 'text': mapcss.tr('Invalid voltage value for this country (Brazil)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|275000)$/][inside("BN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|275000)$/][inside("BN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b2d49c4, '^(66000|132000|275000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b2d49c4, '^(66000|132000|275000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Brunei"
+                # throwError:tr("Invalid voltage value for this country (Brunei)")
+                # suggestAlternative:"66000/132000/275000"
+                err.append({'class': 56, 'subclass': 1641553535, 'text': mapcss.tr('Invalid voltage value for this country (Brunei)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|35000|110000|220000|400000)$/][inside("BG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|35000|110000|220000|400000)$/][inside("BG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6d4931b2, '^(20000|22000|25000|35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6d4931b2, '^(20000|22000|25000|35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bulgaria"
+                # throwError:tr("Invalid voltage value for this country (Bulgaria)")
+                # suggestAlternative:"20000/22000/25000/35000/110000/220000/400000"
+                err.append({'class': 57, 'subclass': 1177149465, 'text': mapcss.tr('Invalid voltage value for this country (Bulgaria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|132000|225000)$/][inside("BF")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(90000|132000|225000)$/][inside("BF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34230a2b, '^(90000|132000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BF')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34230a2b, '^(90000|132000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Burkina_Faso"
+                # throwError:tr("Invalid voltage value for this country (Burkina Faso)")
+                # suggestAlternative:"90000/132000/225000"
+                err.append({'class': 58, 'subclass': 681270478, 'text': mapcss.tr('Invalid voltage value for this country (Burkina Faso)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("BI")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("BI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Burundi"
+                # throwError:tr("Invalid voltage value for this country (Burundi)")
+                # suggestAlternative:"70000/110000/220000"
+                err.append({'class': 59, 'subclass': 2043854762, 'text': mapcss.tr('Invalid voltage value for this country (Burundi)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("KH")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("KH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cambodia"
+                # throwError:tr("Invalid voltage value for this country (Cambodia)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 60, 'subclass': 1962688737, 'text': mapcss.tr('Invalid voltage value for this country (Cambodia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|90000|110000|220000|225000)$/][inside("CM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(30000|90000|110000|220000|225000)$/][inside("CM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae4d0fa, '^(30000|90000|110000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae4d0fa, '^(30000|90000|110000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cameroon"
+                # throwError:tr("Invalid voltage value for this country (Cameroon)")
+                # suggestAlternative:"30000/90000/110000/220000/225000"
+                err.append({'class': 61, 'subclass': 738433665, 'text': mapcss.tr('Invalid voltage value for this country (Cameroon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$/][inside("CA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$/][inside("CA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f6e14a, '^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f6e14a, '^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Canada"
+                # throwError:tr("Invalid voltage value for this country (Canada)")
+                # suggestAlternative:"11500/12000/12470/12500/13000/13200/13800/14000/14400/16000/17500/23000/24940/25000/26400/27600/28000/34000/34500/35000/42000/44000/46000/49000/60000/63000/66000/69000/72000/110000/115000/120000/132000/138000/144000/150000/161000/200000/220000/230000/240000/260000/280000/287000/315000/345000/350000/360000/450000/500000/735000/765000"
+                err.append({'class': 62, 'subclass': 1120964588, 'text': mapcss.tr('Invalid voltage value for this country (Canada)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|60000)$/][inside("CV")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|60000)$/][inside("CV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1e0c1227, '^(20000|60000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1e0c1227, '^(20000|60000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cape_Verde"
+                # throwError:tr("Invalid voltage value for this country (Cape Verde)")
+                # suggestAlternative:"20000/60000"
+                err.append({'class': 63, 'subclass': 1002810182, 'text': mapcss.tr('Invalid voltage value for this country (Cape Verde)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000)$/][inside("CF")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000)$/][inside("CF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_753efcad, '^(110000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CF')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_753efcad, '^(110000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Central_African_Republic"
+                # throwError:tr("Invalid voltage value for this country (Central African Republic)")
+                # suggestAlternative:"110000"
+                err.append({'class': 64, 'subclass': 287596509, 'text': mapcss.tr('Invalid voltage value for this country (Central African Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|66000|90000)$/][inside("TD")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|66000|90000)$/][inside("TD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_713f7fd5, '^(20000|66000|90000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_713f7fd5, '^(20000|66000|90000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Chad"
+                # throwError:tr("Invalid voltage value for this country (Chad)")
+                # suggestAlternative:"20000/66000/90000"
+                err.append({'class': 65, 'subclass': 783605678, 'text': mapcss.tr('Invalid voltage value for this country (Chad)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$/][inside("CL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$/][inside("CL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_66509c6a, '^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_66509c6a, '^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Chile"
+                # throwError:tr("Invalid voltage value for this country (Chile)")
+                # suggestAlternative:"13800/15000/23000/33000/34500/66000/69000/100000/110000/154000/220000/345000/500000"
+                err.append({'class': 66, 'subclass': 1014846569, 'text': mapcss.tr('Invalid voltage value for this country (Chile)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$/][inside("CO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$/][inside("CO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0999cd78, '^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0999cd78, '^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Colombia"
+                # throwError:tr("Invalid voltage value for this country (Colombia)")
+                # suggestAlternative:"15000/25000/34500/66000/110000/115000/138000/220000/230000/500000"
+                err.append({'class': 67, 'subclass': 720082595, 'text': mapcss.tr('Invalid voltage value for this country (Colombia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(138000|230000)$/][inside("CR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(138000|230000)$/][inside("CR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5f0cae6b, '^(138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5f0cae6b, '^(138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Costa_Rica"
+                # throwError:tr("Invalid voltage value for this country (Costa Rica)")
+                # suggestAlternative:"138000/230000"
+                err.append({'class': 68, 'subclass': 322410606, 'text': mapcss.tr('Invalid voltage value for this country (Costa Rica)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|35000|110000|220000|400000|500000)$/][inside("HR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|25000|35000|110000|220000|400000|500000)$/][inside("HR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_33f4b70a, '^(20000|25000|35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_33f4b70a, '^(20000|25000|35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Croatia"
+                # throwError:tr("Invalid voltage value for this country (Croatia)")
+                # suggestAlternative:"20000/25000/35000/110000/220000/400000/500000"
+                err.append({'class': 69, 'subclass': 772212595, 'text': mapcss.tr('Invalid voltage value for this country (Croatia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|110000|220000)$/][inside("CU")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|110000|220000)$/][inside("CU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_71a6f4de, '^(11000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_71a6f4de, '^(11000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cuba"
+                # throwError:tr("Invalid voltage value for this country (Cuba)")
+                # suggestAlternative:"11000/110000/220000"
+                err.append({'class': 70, 'subclass': 1211051548, 'text': mapcss.tr('Invalid voltage value for this country (Cuba)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("CY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("CY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cyprus"
+                # throwError:tr("Invalid voltage value for this country (Cyprus)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 71, 'subclass': 1666044666, 'text': mapcss.tr('Invalid voltage value for this country (Cyprus)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|33000|35000|110000|220000|380000|400000)$/][inside("CZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22000|33000|35000|110000|220000|380000|400000)$/][inside("CZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59f73886, '^(22000|33000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59f73886, '^(22000|33000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Czech_Republic"
+                # throwError:tr("Invalid voltage value for this country (Czech Republic)")
+                # suggestAlternative:"22000/33000/35000/110000/220000/380000/400000"
+                err.append({'class': 72, 'subclass': 1486093289, 'text': mapcss.tr('Invalid voltage value for this country (Czech Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$/][inside("CD")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$/][inside("CD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f1f164, '^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f1f164, '^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Democratic_Republic_of_the_Congo"
+                # throwError:tr("Invalid voltage value for this country (Democratic Republic of the Congo)")
+                # suggestAlternative:"11000/30000/33000/50000/70000/110000/120000/132000/220000/400000/500000"
+                err.append({'class': 73, 'subclass': 1208997465, 'text': mapcss.tr('Invalid voltage value for this country (Democratic Republic of the Congo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|230000)$/][inside("DJ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(63000|230000)$/][inside("DJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73467271, '^(63000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73467271, '^(63000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Djibouti"
+                # throwError:tr("Invalid voltage value for this country (Djibouti)")
+                # suggestAlternative:"63000/230000"
+                err.append({'class': 74, 'subclass': 120329466, 'text': mapcss.tr('Invalid voltage value for this country (Djibouti)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000|345000)$/][inside("DO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000|345000)$/][inside("DO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a215554, '^(69000|138000|230000|345000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a215554, '^(69000|138000|230000|345000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Dominican_Republic"
+                # throwError:tr("Invalid voltage value for this country (Dominican Republic)")
+                # suggestAlternative:"69000/138000/230000/345000"
+                err.append({'class': 75, 'subclass': 842580562, 'text': mapcss.tr('Invalid voltage value for this country (Dominican Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$/][inside("EC")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$/][inside("EC")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4a39b920, '^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EC')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4a39b920, '^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EC')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ecuador"
+                # throwError:tr("Invalid voltage value for this country (Ecuador)")
+                # suggestAlternative:"11000/22000/23000/34500/46000/48000/69000/138000/230000/500000"
+                err.append({'class': 76, 'subclass': 2076625913, 'text': mapcss.tr('Invalid voltage value for this country (Ecuador)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000|500000)$/][inside("EG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000|500000)$/][inside("EG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1c0df27c, '^(66000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1c0df27c, '^(66000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Egypt"
+                # throwError:tr("Invalid voltage value for this country (Egypt)")
+                # suggestAlternative:"66000/132000/220000/400000/500000"
+                err.append({'class': 77, 'subclass': 667037383, 'text': mapcss.tr('Invalid voltage value for this country (Egypt)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("SV")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("SV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/El_Salvador"
+                # throwError:tr("Invalid voltage value for this country (El Salvador)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 78, 'subclass': 1529758756, 'text': mapcss.tr('Invalid voltage value for this country (El Salvador)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("GQ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("GQ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GQ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GQ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Equatorial_Guinea"
+                # throwError:tr("Invalid voltage value for this country (Equatorial Guinea)")
+                # suggestAlternative:"110000/220000"
+                err.append({'class': 79, 'subclass': 874039607, 'text': mapcss.tr('Invalid voltage value for this country (Equatorial Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("ER")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("ER")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ER')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ER')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Eritrea"
+                # throwError:tr("Invalid voltage value for this country (Eritrea)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 80, 'subclass': 1154111938, 'text': mapcss.tr('Invalid voltage value for this country (Eritrea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|24000|35000|110000|150000|330000|450000)$/][inside("EE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|20000|24000|35000|110000|150000|330000|450000)$/][inside("EE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_375460ae, '^(15000|20000|24000|35000|110000|150000|330000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_375460ae, '^(15000|20000|24000|35000|110000|150000|330000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Estonia"
+                # throwError:tr("Invalid voltage value for this country (Estonia)")
+                # suggestAlternative:"15000/20000/24000/35000/110000/150000/330000/450000"
+                err.append({'class': 81, 'subclass': 1234868595, 'text': mapcss.tr('Invalid voltage value for this country (Estonia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|400000)$/][inside("SZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|400000)$/][inside("SZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c6c0f8c, '^(66000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c6c0f8c, '^(66000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Eswatini"
+                # throwError:tr("Invalid voltage value for this country (Eswatini)")
+                # suggestAlternative:"66000/132000/400000"
+                err.append({'class': 82, 'subclass': 2023007346, 'text': mapcss.tr('Invalid voltage value for this country (Eswatini)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(25000|45000|66000|132000|220000|230000|400000|500000)$/][inside("ET")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(25000|45000|66000|132000|220000|230000|400000|500000)$/][inside("ET")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ccf0b67, '^(25000|45000|66000|132000|220000|230000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ET')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ccf0b67, '^(25000|45000|66000|132000|220000|230000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ET')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ethiopia"
+                # throwError:tr("Invalid voltage value for this country (Ethiopia)")
+                # suggestAlternative:"25000/45000/66000/132000/220000/230000/400000/500000"
+                err.append({'class': 83, 'subclass': 752405605, 'text': mapcss.tr('Invalid voltage value for this country (Ethiopia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800)$/][inside("FM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13800)$/][inside("FM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f7e025c, '^(13800)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f7e025c, '^(13800)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Federated_States_of_Micronesia"
+                # throwError:tr("Invalid voltage value for this country (Federated States of Micronesia)")
+                # suggestAlternative:"13800"
+                err.append({'class': 84, 'subclass': 320444685, 'text': mapcss.tr('Invalid voltage value for this country (Federated States of Micronesia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|110000|132000)$/][inside("FJ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|110000|132000)$/][inside("FJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69eb6042, '^(11000|33000|110000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69eb6042, '^(11000|33000|110000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Fiji"
+                # throwError:tr("Invalid voltage value for this country (Fiji)")
+                # suggestAlternative:"11000/33000/110000/132000"
+                err.append({'class': 85, 'subclass': 1984085302, 'text': mapcss.tr('Invalid voltage value for this country (Fiji)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$/][inside("FI")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$/][inside("FI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_68c12a97, '^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_68c12a97, '^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Finland"
+                # throwError:tr("Invalid voltage value for this country (Finland)")
+                # suggestAlternative:"20000/22000/25000/45000/80000/100000/110000/150000/220000/400000/450000/500000"
+                err.append({'class': 86, 'subclass': 741954301, 'text': mapcss.tr('Invalid voltage value for this country (Finland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$/][inside("FR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$/][inside("FR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_48a46ecb, '^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_48a46ecb, '^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/France"
+                # throwError:tr("Invalid voltage value for this country (France)")
+                # suggestAlternative:"10300/10500/13000/15000/15500/16000/17000/17200/17500/20000/25000/30000/33000/42000/45000/50000/52000/63000/66000/90000/110000/150000/200000/220000/225000/270000/320000/380000/400000/500000"
+                err.append({'class': 87, 'subclass': 1742847931, 'text': mapcss.tr('Invalid voltage value for this country (France)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|90000|115000|225000)$/][inside("GA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(63000|90000|115000|225000)$/][inside("GA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e6454d8, '^(63000|90000|115000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e6454d8, '^(63000|90000|115000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Gabon"
+                # throwError:tr("Invalid voltage value for this country (Gabon)")
+                # suggestAlternative:"63000/90000/115000/225000"
+                err.append({'class': 88, 'subclass': 926078478, 'text': mapcss.tr('Invalid voltage value for this country (Gabon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$/][inside("GE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$/][inside("GE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_03e3112c, '^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_03e3112c, '^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Georgia"
+                # throwError:tr("Invalid voltage value for this country (Georgia)")
+                # suggestAlternative:"35000/110000/154000/220000/330000/350000/380000/400000/500000"
+                err.append({'class': 89, 'subclass': 2062879893, 'text': mapcss.tr('Invalid voltage value for this country (Georgia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$/][inside("DE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$/][inside("DE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_28f9c3db, '^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_28f9c3db, '^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Germany"
+                # throwError:tr("Invalid voltage value for this country (Germany)")
+                # suggestAlternative:"10500/11000/15000/16000/20000/21000/22000/25000/27000/30000/33000/35000/50000/55000/60000/63000/65000/110000/132000/150000/155000/200000/220000/225000/250000/300000/320000/362000/380000/400000/450000/525000/600000"
+                err.append({'class': 90, 'subclass': 731334531, 'text': mapcss.tr('Invalid voltage value for this country (Germany)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|161000|225000|330000)$/][inside("GH")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|161000|225000|330000)$/][inside("GH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_351dc689, '^(11000|161000|225000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_351dc689, '^(11000|161000|225000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ghana"
+                # throwError:tr("Invalid voltage value for this country (Ghana)")
+                # suggestAlternative:"11000/161000/225000/330000"
+                err.append({'class': 91, 'subclass': 1586184540, 'text': mapcss.tr('Invalid voltage value for this country (Ghana)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|22000|66000|150000|400000|500000)$/][inside("GR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|20000|22000|66000|150000|400000|500000)$/][inside("GR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73a2a316, '^(15000|20000|22000|66000|150000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73a2a316, '^(15000|20000|22000|66000|150000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Greece"
+                # throwError:tr("Invalid voltage value for this country (Greece)")
+                # suggestAlternative:"15000/20000/22000/66000/150000/400000/500000"
+                err.append({'class': 92, 'subclass': 2084017271, 'text': mapcss.tr('Invalid voltage value for this country (Greece)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|115000|132000|138000|230000|400000)$/][inside("GT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|115000|132000|138000|230000|400000)$/][inside("GT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_53561357, '^(69000|115000|132000|138000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_53561357, '^(69000|115000|132000|138000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guatemala"
+                # throwError:tr("Invalid voltage value for this country (Guatemala)")
+                # suggestAlternative:"69000/115000/132000/138000/230000/400000"
+                err.append({'class': 93, 'subclass': 1139211860, 'text': mapcss.tr('Invalid voltage value for this country (Guatemala)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|110000|225000)$/][inside("GN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(30000|110000|225000)$/][inside("GN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_445dce10, '^(30000|110000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_445dce10, '^(30000|110000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guinea"
+                # throwError:tr("Invalid voltage value for this country (Guinea)")
+                # suggestAlternative:"30000/110000/225000"
+                err.append({'class': 94, 'subclass': 488889974, 'text': mapcss.tr('Invalid voltage value for this country (Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guinea-Bissau"
+                # throwError:tr("Invalid voltage value for this country (Guinea-Bissau)")
+                # suggestAlternative:"225000"
+                err.append({'class': 95, 'subclass': 2018554266, 'text': mapcss.tr('Invalid voltage value for this country (Guinea-Bissau)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|115000)$/][inside("HT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|115000)$/][inside("HT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_528c9009, '^(69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_528c9009, '^(69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Haiti"
+                # throwError:tr("Invalid voltage value for this country (Haiti)")
+                # suggestAlternative:"69000/115000"
+                err.append({'class': 96, 'subclass': 2020105765, 'text': mapcss.tr('Invalid voltage value for this country (Haiti)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("HN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("HN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Honduras"
+                # throwError:tr("Invalid voltage value for this country (Honduras)")
+                # suggestAlternative:"69000/138000/230000"
+                err.append({'class': 97, 'subclass': 105654765, 'text': mapcss.tr('Invalid voltage value for this country (Honduras)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$/][inside("HU")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$/][inside("HU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_643751fc, '^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_643751fc, '^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Hungary"
+                # throwError:tr("Invalid voltage value for this country (Hungary)")
+                # suggestAlternative:"11000/18000/20000/22000/25000/35000/110000/132000/220000/400000/750000"
+                err.append({'class': 98, 'subclass': 985049648, 'text': mapcss.tr('Invalid voltage value for this country (Hungary)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("IS")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("IS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iceland"
+                # throwError:tr("Invalid voltage value for this country (Iceland)")
+                # suggestAlternative:"66000/132000/220000"
+                err.append({'class': 99, 'subclass': 282994226, 'text': mapcss.tr('Invalid voltage value for this country (Iceland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$/][inside("IN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$/][inside("IN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1810335f, '^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1810335f, '^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/India"
+                # throwError:tr("Invalid voltage value for this country (India)")
+                # suggestAlternative:"11000/13200/22000/25000/31000/33000/66000/100000/110000/132000/200000/220000/220001/230000/320000/400000/500000/660000/765000/800000/1200000"
+                err.append({'class': 100, 'subclass': 1654665669, 'text': mapcss.tr('Invalid voltage value for this country (India)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|70000|150000|230000|275000|500000)$/][inside("ID")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|70000|150000|230000|275000|500000)$/][inside("ID")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44f7c665, '^(20000|70000|150000|230000|275000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ID')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44f7c665, '^(20000|70000|150000|230000|275000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ID')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Indonesia"
+                # throwError:tr("Invalid voltage value for this country (Indonesia)")
+                # suggestAlternative:"20000/70000/150000/230000/275000/500000"
+                err.append({'class': 101, 'subclass': 1680405695, 'text': mapcss.tr('Invalid voltage value for this country (Indonesia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$/][inside("IR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$/][inside("IR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15aa6eb6, '^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15aa6eb6, '^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iran"
+                # throwError:tr("Invalid voltage value for this country (Iran)")
+                # suggestAlternative:"15000/20000/25000/63000/110000/132000/154000/220000/230000/330000/380000/400000/2300000"
+                err.append({'class': 102, 'subclass': 232087912, 'text': mapcss.tr('Invalid voltage value for this country (Iran)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|23000|25000|33000|66000|132000|154000|400000)$/][inside("IQ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|23000|25000|33000|66000|132000|154000|400000)$/][inside("IQ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3007231b, '^(11000|23000|25000|33000|66000|132000|154000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IQ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3007231b, '^(11000|23000|25000|33000|66000|132000|154000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IQ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iraq"
+                # throwError:tr("Invalid voltage value for this country (Iraq)")
+                # suggestAlternative:"11000/23000/25000/33000/66000/132000/154000/400000"
+                err.append({'class': 103, 'subclass': 305515120, 'text': mapcss.tr('Invalid voltage value for this country (Iraq)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$/][inside("IE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$/][inside("IE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1031dc3f, '^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1031dc3f, '^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ireland"
+                # throwError:tr("Invalid voltage value for this country (Ireland)")
+                # suggestAlternative:"10500/19000/20000/22000/33000/38000/110000/200000/220000/275000/320000/380000/400000"
+                err.append({'class': 104, 'subclass': 169672672, 'text': mapcss.tr('Invalid voltage value for this country (Ireland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|161000|400000)$/][inside("IL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(115000|161000|400000)$/][inside("IL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15d3b209, '^(115000|161000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15d3b209, '^(115000|161000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Israel"
+                # throwError:tr("Invalid voltage value for this country (Israel)")
+                # suggestAlternative:"115000/161000/400000"
+                err.append({'class': 105, 'subclass': 625192723, 'text': mapcss.tr('Invalid voltage value for this country (Israel)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$/][inside("IT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$/][inside("IT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3aa87d11, '^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3aa87d11, '^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Italy"
+                # throwError:tr("Invalid voltage value for this country (Italy)")
+                # suggestAlternative:"15000/20000/25000/30000/45000/50000/55000/60000/63000/66000/68000/70000/110000/120000/130000/132000/135000/137000/138000/150000/200000/220000/225000/320000/380000/400000/500000"
+                err.append({'class': 106, 'subclass': 969356129, 'text': mapcss.tr('Invalid voltage value for this country (Italy)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|90000|225000|400000)$/][inside("CI")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|90000|225000|400000)$/][inside("CI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_455fa519, '^(15000|90000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_455fa519, '^(15000|90000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ivory_Coast"
+                # throwError:tr("Invalid voltage value for this country (Ivory Coast)")
+                # suggestAlternative:"15000/90000/225000/400000"
+                err.append({'class': 107, 'subclass': 1797665278, 'text': mapcss.tr('Invalid voltage value for this country (Ivory Coast)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000)$/][inside("JM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|138000)$/][inside("JM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44d511b4, '^(69000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44d511b4, '^(69000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Jamaica"
+                # throwError:tr("Invalid voltage value for this country (Jamaica)")
+                # suggestAlternative:"69000/138000"
+                err.append({'class': 108, 'subclass': 693697068, 'text': mapcss.tr('Invalid voltage value for this country (Jamaica)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$/][inside("JP")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$/][inside("JP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3907ef06, '^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JP')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3907ef06, '^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Japan"
+                # throwError:tr("Invalid voltage value for this country (Japan)")
+                # suggestAlternative:"11000/15400/20000/22000/25000/30000/33000/44000/60000/66000/77000/100000/110000/132000/154000/187000/200000/220000/250000/275000/500000/660000"
+                err.append({'class': 109, 'subclass': 1312284000, 'text': mapcss.tr('Invalid voltage value for this country (Japan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("JO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("JO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Jordan"
+                # throwError:tr("Invalid voltage value for this country (Jordan)")
+                # suggestAlternative:"132000/400000"
+                err.append({'class': 110, 'subclass': 2075808260, 'text': mapcss.tr('Invalid voltage value for this country (Jordan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|35000|110000|220000|500000)$/][inside("KZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22000|35000|110000|220000|500000)$/][inside("KZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0c11f7a6, '^(22000|35000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0c11f7a6, '^(22000|35000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kazakhstan"
+                # throwError:tr("Invalid voltage value for this country (Kazakhstan)")
+                # suggestAlternative:"22000/35000/110000/220000/500000"
+                err.append({'class': 111, 'subclass': 595219434, 'text': mapcss.tr('Invalid voltage value for this country (Kazakhstan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|132000|220000|400000|500000)$/][inside("KE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|15000|132000|220000|400000|500000)$/][inside("KE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_13fd4c40, '^(11000|15000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_13fd4c40, '^(11000|15000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kenya"
+                # throwError:tr("Invalid voltage value for this country (Kenya)")
+                # suggestAlternative:"11000/15000/132000/220000/400000/500000"
+                err.append({'class': 112, 'subclass': 299331775, 'text': mapcss.tr('Invalid voltage value for this country (Kenya)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(50000|60000|132000|150000|220000|400000)$/][inside("DK")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(50000|60000|132000|150000|220000|400000)$/][inside("DK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40d39fce, '^(50000|60000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40d39fce, '^(50000|60000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Denmark"
+                # throwError:tr("Invalid voltage value for this country (Kingdom of Denmark)")
+                # suggestAlternative:"50000/60000/132000/150000/220000/400000"
+                err.append({'class': 113, 'subclass': 560037645, 'text': mapcss.tr('Invalid voltage value for this country (Kingdom of Denmark)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$/][inside("NL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$/][inside("NL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1b67d214, '^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1b67d214, '^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Netherlands"
+                # throwError:tr("Invalid voltage value for this country (Kingdom of the Netherlands)")
+                # suggestAlternative:"13000/20000/22000/23000/24000/25000/30000/33000/34000/50000/66000/110000/150000/220000/320000/380000/450000/600000"
+                err.append({'class': 114, 'subclass': 796289411, 'text': mapcss.tr('Invalid voltage value for this country (Kingdom of the Netherlands)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|275000|400000)$/][inside("KW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|275000|400000)$/][inside("KW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_601cbfba, '^(33000|66000|132000|275000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_601cbfba, '^(33000|66000|132000|275000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kuwait"
+                # throwError:tr("Invalid voltage value for this country (Kuwait)")
+                # suggestAlternative:"33000/66000/132000/275000/400000"
+                err.append({'class': 115, 'subclass': 1279992090, 'text': mapcss.tr('Invalid voltage value for this country (Kuwait)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10000|110000|220000|500000)$/][inside("KG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10000|110000|220000|500000)$/][inside("KG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6aae528c, '^(10000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6aae528c, '^(10000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kyrgyzstan"
+                # throwError:tr("Invalid voltage value for this country (Kyrgyzstan)")
+                # suggestAlternative:"10000/110000/220000/500000"
+                err.append({'class': 116, 'subclass': 826750944, 'text': mapcss.tr('Invalid voltage value for this country (Kyrgyzstan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|115000|220000|230000|500000)$/][inside("LA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|115000|220000|230000|500000)$/][inside("LA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ecf8ac, '^(110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ecf8ac, '^(110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Laos"
+                # throwError:tr("Invalid voltage value for this country (Laos)")
+                # suggestAlternative:"110000/115000/220000/230000/500000"
+                err.append({'class': 117, 'subclass': 1955573363, 'text': mapcss.tr('Invalid voltage value for this country (Laos)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|110000|330000)$/][inside("LV")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|110000|330000)$/][inside("LV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bb1cd2e, '^(20000|110000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bb1cd2e, '^(20000|110000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Latvia"
+                # throwError:tr("Invalid voltage value for this country (Latvia)")
+                # suggestAlternative:"20000/110000/330000"
+                err.append({'class': 118, 'subclass': 227150555, 'text': mapcss.tr('Invalid voltage value for this country (Latvia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|150000|220000|400000)$/][inside("LB")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|66000|150000|220000|400000)$/][inside("LB")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_043624d0, '^(33000|66000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LB')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_043624d0, '^(33000|66000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LB')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lebanon"
+                # throwError:tr("Invalid voltage value for this country (Lebanon)")
+                # suggestAlternative:"33000/66000/150000/220000/400000"
+                err.append({'class': 119, 'subclass': 1879742037, 'text': mapcss.tr('Invalid voltage value for this country (Lebanon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|132000)$/][inside("LS")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|132000)$/][inside("LS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7d50c8e9, '^(33000|66000|88000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7d50c8e9, '^(33000|66000|88000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lesotho"
+                # throwError:tr("Invalid voltage value for this country (Lesotho)")
+                # suggestAlternative:"33000/66000/88000/132000"
+                err.append({'class': 120, 'subclass': 488833994, 'text': mapcss.tr('Invalid voltage value for this country (Lesotho)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|225000)$/][inside("LR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|225000)$/][inside("LR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7581d073, '^(66000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7581d073, '^(66000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Liberia"
+                # throwError:tr("Invalid voltage value for this country (Liberia)")
+                # suggestAlternative:"66000/225000"
+                err.append({'class': 121, 'subclass': 926911881, 'text': mapcss.tr('Invalid voltage value for this country (Liberia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$/][inside("LY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$/][inside("LY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0f195ae1, '^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0f195ae1, '^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Libya"
+                # throwError:tr("Invalid voltage value for this country (Libya)")
+                # suggestAlternative:"22500/25000/30000/66000/69000/132000/220000/400000/500000"
+                err.append({'class': 122, 'subclass': 768096197, 'text': mapcss.tr('Invalid voltage value for this country (Libya)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("LI")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("LI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Liechtenstein"
+                # throwError:tr("Invalid voltage value for this country (Liechtenstein)")
+                # suggestAlternative:"220000"
+                err.append({'class': 123, 'subclass': 546689387, 'text': mapcss.tr('Invalid voltage value for this country (Liechtenstein)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|300000|330000|400000)$/][inside("LT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|300000|330000|400000)$/][inside("LT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_122154ab, '^(15000|35000|110000|300000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_122154ab, '^(15000|35000|110000|300000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lithuania"
+                # throwError:tr("Invalid voltage value for this country (Lithuania)")
+                # suggestAlternative:"15000/35000/110000/300000/330000/400000"
+                err.append({'class': 124, 'subclass': 717063480, 'text': mapcss.tr('Invalid voltage value for this country (Lithuania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|65000|150000|220000|225000)$/][inside("LU")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(63000|65000|150000|220000|225000)$/][inside("LU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24462be0, '^(63000|65000|150000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24462be0, '^(63000|65000|150000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Luxembourg"
+                # throwError:tr("Invalid voltage value for this country (Luxembourg)")
+                # suggestAlternative:"63000/65000/150000/220000/225000"
+                err.append({'class': 125, 'subclass': 1676663027, 'text': mapcss.tr('Invalid voltage value for this country (Luxembourg)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|138000)$/][inside("MG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(63000|138000)$/][inside("MG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17045a03, '^(63000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17045a03, '^(63000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Madagascar"
+                # throwError:tr("Invalid voltage value for this country (Madagascar)")
+                # suggestAlternative:"63000/138000"
+                err.append({'class': 126, 'subclass': 1968801980, 'text': mapcss.tr('Invalid voltage value for this country (Madagascar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|400000)$/][inside("MW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|400000)$/][inside("MW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bd2d0e5, '^(11000|33000|66000|110000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bd2d0e5, '^(11000|33000|66000|110000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malawi"
+                # throwError:tr("Invalid voltage value for this country (Malawi)")
+                # suggestAlternative:"11000/33000/66000/110000/132000/400000"
+                err.append({'class': 127, 'subclass': 1809688437, 'text': mapcss.tr('Invalid voltage value for this country (Malawi)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|275000|300000|500000)$/][inside("MY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|275000|300000|500000)$/][inside("MY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a91a01, '^(11000|33000|66000|132000|275000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a91a01, '^(11000|33000|66000|132000|275000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malaysia"
+                # throwError:tr("Invalid voltage value for this country (Malaysia)")
+                # suggestAlternative:"11000/33000/66000/132000/275000/300000/500000"
+                err.append({'class': 128, 'subclass': 1473208741, 'text': mapcss.tr('Invalid voltage value for this country (Malaysia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("MV")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("MV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Maldives"
+                # throwError:tr("Invalid voltage value for this country (Maldives)")
+                # suggestAlternative:"132000"
+                err.append({'class': 129, 'subclass': 1094361238, 'text': mapcss.tr('Invalid voltage value for this country (Maldives)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|150000|225000)$/][inside("ML")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(63000|150000|225000)$/][inside("ML")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2fe82f3c, '^(63000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ML')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2fe82f3c, '^(63000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ML')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mali"
+                # throwError:tr("Invalid voltage value for this country (Mali)")
+                # suggestAlternative:"63000/150000/225000"
+                err.append({'class': 130, 'subclass': 914972182, 'text': mapcss.tr('Invalid voltage value for this country (Mali)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("MT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("MT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malta"
+                # throwError:tr("Invalid voltage value for this country (Malta)")
+                # suggestAlternative:"11000/33000/132000/220000"
+                err.append({'class': 131, 'subclass': 1512688517, 'text': mapcss.tr('Invalid voltage value for this country (Malta)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("MR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("MR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mauritania"
+                # throwError:tr("Invalid voltage value for this country (Mauritania)")
+                # suggestAlternative:"90000/225000"
+                err.append({'class': 132, 'subclass': 1192989618, 'text': mapcss.tr('Invalid voltage value for this country (Mauritania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000)$/][inside("MU")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000)$/][inside("MU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1639cf1a, '^(66000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1639cf1a, '^(66000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mauritius"
+                # throwError:tr("Invalid voltage value for this country (Mauritius)")
+                # suggestAlternative:"66000"
+                err.append({'class': 133, 'subclass': 1762670082, 'text': mapcss.tr('Invalid voltage value for this country (Mauritius)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$/][inside("MX")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$/][inside("MX")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3f88f86c, '^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MX')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3f88f86c, '^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MX')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mexico"
+                # throwError:tr("Invalid voltage value for this country (Mexico)")
+                # suggestAlternative:"13800/15000/25000/34500/65000/69000/85000/113000/115000/138000/161000/230000/400000"
+                err.append({'class': 134, 'subclass': 30649551, 'text': mapcss.tr('Invalid voltage value for this country (Mexico)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|35000|110000|330000|400000)$/][inside("MD")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|35000|110000|330000|400000)$/][inside("MD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b02dceb, '^(33000|35000|110000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b02dceb, '^(33000|35000|110000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Moldova"
+                # throwError:tr("Invalid voltage value for this country (Moldova)")
+                # suggestAlternative:"33000/35000/110000/330000/400000"
+                err.append({'class': 135, 'subclass': 1361739100, 'text': mapcss.tr('Invalid voltage value for this country (Moldova)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22000|35000|110000|220000)$/][inside("MN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|22000|35000|110000|220000)$/][inside("MN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6dafd830, '^(15000|22000|35000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6dafd830, '^(15000|22000|35000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mongolia"
+                # throwError:tr("Invalid voltage value for this country (Mongolia)")
+                # suggestAlternative:"15000/22000/35000/110000/220000"
+                err.append({'class': 136, 'subclass': 844124236, 'text': mapcss.tr('Invalid voltage value for this country (Mongolia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000|500000)$/][inside("ME")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000|500000)$/][inside("ME")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4343e75a, '^(35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ME')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4343e75a, '^(35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ME')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Montenegro"
+                # throwError:tr("Invalid voltage value for this country (Montenegro)")
+                # suggestAlternative:"35000/110000/220000/400000/500000"
+                err.append({'class': 137, 'subclass': 1736541272, 'text': mapcss.tr('Invalid voltage value for this country (Montenegro)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$/][inside("MA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$/][inside("MA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f6339dc, '^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f6339dc, '^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Morocco"
+                # throwError:tr("Invalid voltage value for this country (Morocco)")
+                # suggestAlternative:"20000/22000/22500/30000/33000/60000/110000/132000/150000/220000/225000/400000"
+                err.append({'class': 138, 'subclass': 1997753665, 'text': mapcss.tr('Invalid voltage value for this country (Morocco)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|110000|132000|220000|275000|330000|400000|533000)$/][inside("MZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|110000|132000|220000|275000|330000|400000|533000)$/][inside("MZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_263b6b3e, '^(66000|110000|132000|220000|275000|330000|400000|533000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_263b6b3e, '^(66000|110000|132000|220000|275000|330000|400000|533000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mozambique"
+                # throwError:tr("Invalid voltage value for this country (Mozambique)")
+                # suggestAlternative:"66000/110000/132000/220000/275000/330000/400000/533000"
+                err.append({'class': 139, 'subclass': 544582650, 'text': mapcss.tr('Invalid voltage value for this country (Mozambique)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|20000|33000|66000|110000|132000|230000|500000)$/][inside("MM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|20000|33000|66000|110000|132000|230000|500000)$/][inside("MM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40006e82, '^(11000|20000|33000|66000|110000|132000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40006e82, '^(11000|20000|33000|66000|110000|132000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Myanmar"
+                # throwError:tr("Invalid voltage value for this country (Myanmar)")
+                # suggestAlternative:"11000/20000/33000/66000/110000/132000/230000/500000"
+                err.append({'class': 140, 'subclass': 1848252895, 'text': mapcss.tr('Invalid voltage value for this country (Myanmar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$/][inside("NA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$/][inside("NA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_364ced34, '^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_364ced34, '^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Namibia"
+                # throwError:tr("Invalid voltage value for this country (Namibia)")
+                # suggestAlternative:"11000/19000/22000/33000/66000/132000/220000/330000/350000/400000"
+                err.append({'class': 141, 'subclass': 1347128652, 'text': mapcss.tr('Invalid voltage value for this country (Namibia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|220000|400000)$/][inside("NP")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|220000|400000)$/][inside("NP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4690e9a7, '^(33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NP')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4690e9a7, '^(33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nepal"
+                # throwError:tr("Invalid voltage value for this country (Nepal)")
+                # suggestAlternative:"33000/66000/132000/220000/400000"
+                err.append({'class': 142, 'subclass': 959943805, 'text': mapcss.tr('Invalid voltage value for this country (Nepal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(50000|66000|110000|220000)$/][inside("NZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(50000|66000|110000|220000)$/][inside("NZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_50389fcc, '^(50000|66000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_50389fcc, '^(50000|66000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/New_Zealand"
+                # throwError:tr("Invalid voltage value for this country (New Zealand)")
+                # suggestAlternative:"50000/66000/110000/220000"
+                err.append({'class': 143, 'subclass': 1522859127, 'text': mapcss.tr('Invalid voltage value for this country (New Zealand)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("NI")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("NI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nicaragua"
+                # throwError:tr("Invalid voltage value for this country (Nicaragua)")
+                # suggestAlternative:"69000/138000/230000"
+                err.append({'class': 144, 'subclass': 1504855679, 'text': mapcss.tr('Invalid voltage value for this country (Nicaragua)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("NE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("NE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Niger"
+                # throwError:tr("Invalid voltage value for this country (Niger)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 145, 'subclass': 1178537524, 'text': mapcss.tr('Invalid voltage value for this country (Niger)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|330000)$/][inside("NG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|330000)$/][inside("NG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2687a5ba, '^(11000|33000|132000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2687a5ba, '^(11000|33000|132000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nigeria"
+                # throwError:tr("Invalid voltage value for this country (Nigeria)")
+                # suggestAlternative:"11000/33000/132000/330000"
+                err.append({'class': 146, 'subclass': 2059986833, 'text': mapcss.tr('Invalid voltage value for this country (Nigeria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|66000|110000|154000|220000)$/][inside("KP")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|66000|110000|154000|220000)$/][inside("KP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_526934a1, '^(11000|66000|110000|154000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KP')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_526934a1, '^(11000|66000|110000|154000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/North_Korea"
+                # throwError:tr("Invalid voltage value for this country (North Korea)")
+                # suggestAlternative:"11000/66000/110000/154000/220000"
+                err.append({'class': 147, 'subclass': 1497515400, 'text': mapcss.tr('Invalid voltage value for this country (North Korea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000|400000)$/][inside("MK")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|220000|400000)$/][inside("MK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24f5f1cd, '^(110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24f5f1cd, '^(110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/North_Macedonia"
+                # throwError:tr("Invalid voltage value for this country (North Macedonia)")
+                # suggestAlternative:"110000/220000/400000"
+                err.append({'class': 148, 'subclass': 1014401964, 'text': mapcss.tr('Invalid voltage value for this country (North Macedonia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$/][inside("NO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$/][inside("NO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2dccca10, '^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2dccca10, '^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Norway"
+                # throwError:tr("Invalid voltage value for this country (Norway)")
+                # suggestAlternative:"11000/12000/13000/15000/16000/17000/20000/22000/24000/25000/33000/45000/47000/50000/55000/60000/66000/80000/90000/100000/110000/132000/150000/220000/250000/300000/350000/400000/420000/450000/500000/515000/525000/825000"
+                err.append({'class': 149, 'subclass': 153360454, 'text': mapcss.tr('Invalid voltage value for this country (Norway)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|220000|400000)$/][inside("OM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(132000|220000|400000)$/][inside("OM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4e6ba896, '^(132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'OM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4e6ba896, '^(132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'OM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Oman"
+                # throwError:tr("Invalid voltage value for this country (Oman)")
+                # suggestAlternative:"132000/220000/400000"
+                err.append({'class': 150, 'subclass': 824908458, 'text': mapcss.tr('Invalid voltage value for this country (Oman)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$/][inside("PK")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$/][inside("PK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6e8113e9, '^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6e8113e9, '^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Pakistan"
+                # throwError:tr("Invalid voltage value for this country (Pakistan)")
+                # suggestAlternative:"11000/33000/66000/110000/132000/220000/230000/500000/660000"
+                err.append({'class': 151, 'subclass': 362138330, 'text': mapcss.tr('Invalid voltage value for this country (Pakistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("PA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("PA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Panama"
+                # throwError:tr("Invalid voltage value for this country (Panama)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 152, 'subclass': 1661047835, 'text': mapcss.tr('Invalid voltage value for this country (Panama)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|66000|132000)$/][inside("PG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|66000|132000)$/][inside("PG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35859f0b, '^(11000|66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35859f0b, '^(11000|66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Papua_New_Guinea"
+                # throwError:tr("Invalid voltage value for this country (Papua New Guinea)")
+                # suggestAlternative:"11000/66000/132000"
+                err.append({'class': 153, 'subclass': 1863700589, 'text': mapcss.tr('Invalid voltage value for this country (Papua New Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(12000|34500|66000|69000|132000|138000|220000|500000)$/][inside("PY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(12000|34500|66000|69000|132000|138000|220000|500000)$/][inside("PY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34dfedad, '^(12000|34500|66000|69000|132000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34dfedad, '^(12000|34500|66000|69000|132000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Paraguay"
+                # throwError:tr("Invalid voltage value for this country (Paraguay)")
+                # suggestAlternative:"12000/34500/66000/69000/132000/138000/220000/500000"
+                err.append({'class': 154, 'subclass': 1355313272, 'text': mapcss.tr('Invalid voltage value for this country (Paraguay)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$/][inside("CN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$/][inside("CN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ed1a9a, '^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ed1a9a, '^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/China"
+                # throwError:tr("Invalid voltage value for this country (People's Republic of China)")
+                # suggestAlternative:"10500/11000/22000/23000/25000/27000/27500/33000/35000/50000/63000/66000/100000/110000/132000/160000/220000/230000/275000/320000/330000/400000/500000/544000/660000/750000/800000/1000000/1100000/1150000/2200001/2200002/22000011"
+                err.append({'class': 155, 'subclass': 164611252, 'text': mapcss.tr('Invalid voltage value for this country (People\'s Republic of China)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|33000|60000|66000|138000|220000|230000|500000)$/][inside("PE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(30000|33000|60000|66000|138000|220000|230000|500000)$/][inside("PE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_333c4ef6, '^(30000|33000|60000|66000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_333c4ef6, '^(30000|33000|60000|66000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Peru"
+                # throwError:tr("Invalid voltage value for this country (Peru)")
+                # suggestAlternative:"30000/33000/60000/66000/138000/220000/230000/500000"
+                err.append({'class': 156, 'subclass': 325939259, 'text': mapcss.tr('Invalid voltage value for this country (Peru)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$/][inside("PH")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$/][inside("PH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_447ac42a, '^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_447ac42a, '^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Philippines"
+                # throwError:tr("Invalid voltage value for this country (Philippines)")
+                # suggestAlternative:"13200/13800/20000/23000/30000/34500/60000/69000/70000/115000/138000/220000/230000/345000/350000/500000"
+                err.append({'class': 157, 'subclass': 443438914, 'text': mapcss.tr('Invalid voltage value for this country (Philippines)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$/][inside("PL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$/][inside("PL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4148662f, '^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4148662f, '^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Poland"
+                # throwError:tr("Invalid voltage value for this country (Poland)")
+                # suggestAlternative:"11000/15000/20000/21000/22000/25000/27000/30000/100000/110000/200000/220000/400000/450000"
+                err.append({'class': 158, 'subclass': 883578895, 'text': mapcss.tr('Invalid voltage value for this country (Poland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$/][inside("PT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$/][inside("PT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_08bfac39, '^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_08bfac39, '^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Portugal"
+                # throwError:tr("Invalid voltage value for this country (Portugal)")
+                # suggestAlternative:"11000/15000/18000/20000/25000/30000/50000/60000/130000/150000/220000/400000"
+                err.append({'class': 159, 'subclass': 269912561, 'text': mapcss.tr('Invalid voltage value for this country (Portugal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(21000|66000|110000|132000|220000|400000)$/][inside("QA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(21000|66000|110000|132000|220000|400000)$/][inside("QA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_356889db, '^(21000|66000|110000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'QA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_356889db, '^(21000|66000|110000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'QA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Qatar"
+                # throwError:tr("Invalid voltage value for this country (Qatar)")
+                # suggestAlternative:"21000/66000/110000/132000/220000/400000"
+                err.append({'class': 160, 'subclass': 867644688, 'text': mapcss.tr('Invalid voltage value for this country (Qatar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("CG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("CG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Republic_of_the_Congo"
+                # throwError:tr("Invalid voltage value for this country (Republic of the Congo)")
+                # suggestAlternative:"110000/220000"
+                err.append({'class': 161, 'subclass': 829007104, 'text': mapcss.tr('Invalid voltage value for this country (Republic of the Congo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|38000|55000|110000|220000|380000|400000)$/][inside("RO")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|25000|38000|55000|110000|220000|380000|400000)$/][inside("RO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6be5b2f4, '^(20000|25000|38000|55000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6be5b2f4, '^(20000|25000|38000|55000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Romania"
+                # throwError:tr("Invalid voltage value for this country (Romania)")
+                # suggestAlternative:"20000/25000/38000/55000/110000/220000/380000/400000"
+                err.append({'class': 162, 'subclass': 2043848278, 'text': mapcss.tr('Invalid voltage value for this country (Romania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$/][inside("RU")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$/][inside("RU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ff1797a, '^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ff1797a, '^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Russia"
+                # throwError:tr("Invalid voltage value for this country (Russia)")
+                # suggestAlternative:"10500/15000/16000/20000/30000/35000/60000/66000/100000/110000/138000/150000/154000/220000/330000/350000/400000/500000/750000/800000/1100000"
+                err.append({'class': 163, 'subclass': 646214500, 'text': mapcss.tr('Invalid voltage value for this country (Russia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("RW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("RW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Rwanda"
+                # throwError:tr("Invalid voltage value for this country (Rwanda)")
+                # suggestAlternative:"70000/110000/220000"
+                err.append({'class': 164, 'subclass': 1619719956, 'text': mapcss.tr('Invalid voltage value for this country (Rwanda)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("SM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("SM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/San_Marino"
+                # throwError:tr("Invalid voltage value for this country (San Marino)")
+                # suggestAlternative:"132000"
+                err.append({'class': 165, 'subclass': 338700708, 'text': mapcss.tr('Invalid voltage value for this country (San Marino)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(25000|33000|110000|115000|132000|230000|380000|400000)$/][inside("SA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(25000|33000|110000|115000|132000|230000|380000|400000)$/][inside("SA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_313e83ad, '^(25000|33000|110000|115000|132000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_313e83ad, '^(25000|33000|110000|115000|132000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Saudi_Arabia"
+                # throwError:tr("Invalid voltage value for this country (Saudi Arabia)")
+                # suggestAlternative:"25000/33000/110000/115000/132000/230000/380000/400000"
+                err.append({'class': 166, 'subclass': 1238570246, 'text': mapcss.tr('Invalid voltage value for this country (Saudi Arabia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("SN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("SN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Senegal"
+                # throwError:tr("Invalid voltage value for this country (Senegal)")
+                # suggestAlternative:"90000/225000"
+                err.append({'class': 167, 'subclass': 1315753992, 'text': mapcss.tr('Invalid voltage value for this country (Senegal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|30000|35000|110000|220000|380000|400000)$/][inside("RS")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|25000|30000|35000|110000|220000|380000|400000)$/][inside("RS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_494f7be8, '^(20000|25000|30000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_494f7be8, '^(20000|25000|30000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Serbia"
+                # throwError:tr("Invalid voltage value for this country (Serbia)")
+                # suggestAlternative:"20000/25000/30000/35000/110000/220000/380000/400000"
+                err.append({'class': 168, 'subclass': 597101799, 'text': mapcss.tr('Invalid voltage value for this country (Serbia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|225000)$/][inside("SL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(161000|225000)$/][inside("SL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec31fe0, '^(161000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec31fe0, '^(161000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sierra_Leone"
+                # throwError:tr("Invalid voltage value for this country (Sierra Leone)")
+                # suggestAlternative:"161000/225000"
+                err.append({'class': 169, 'subclass': 459869721, 'text': mapcss.tr('Invalid voltage value for this country (Sierra Leone)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(230000)$/][inside("SG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(230000)$/][inside("SG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_19e5679c, '^(230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_19e5679c, '^(230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Singapore"
+                # throwError:tr("Invalid voltage value for this country (Singapore)")
+                # suggestAlternative:"230000"
+                err.append({'class': 170, 'subclass': 165582531, 'text': mapcss.tr('Invalid voltage value for this country (Singapore)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|110000|220000|400000)$/][inside("SK")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22000|110000|220000|400000)$/][inside("SK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5a39ab8e, '^(22000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5a39ab8e, '^(22000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Slovakia"
+                # throwError:tr("Invalid voltage value for this country (Slovakia)")
+                # suggestAlternative:"22000/110000/220000/400000"
+                err.append({'class': 171, 'subclass': 311372145, 'text': mapcss.tr('Invalid voltage value for this country (Slovakia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|35000|100000|110000|220000|400000)$/][inside("SI")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|20000|35000|100000|110000|220000|400000)$/][inside("SI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_78f8f400, '^(15000|20000|35000|100000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_78f8f400, '^(15000|20000|35000|100000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Slovenia"
+                # throwError:tr("Invalid voltage value for this country (Slovenia)")
+                # suggestAlternative:"15000/20000/35000/100000/110000/220000/400000"
+                err.append({'class': 172, 'subclass': 2005629847, 'text': mapcss.tr('Invalid voltage value for this country (Slovenia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$/][inside("ZA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$/][inside("ZA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35ea191f, '^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35ea191f, '^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Africa"
+                # throwError:tr("Invalid voltage value for this country (South Africa)")
+                # suggestAlternative:"11000/20000/22000/33000/44000/66000/88000/110000/132000/220000/275000/380000/400000/533000/765000"
+                err.append({'class': 173, 'subclass': 119928875, 'text': mapcss.tr('Invalid voltage value for this country (South Africa)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$/][inside("KR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$/][inside("KR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_43d80261, '^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_43d80261, '^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Korea"
+                # throwError:tr("Invalid voltage value for this country (South Korea)")
+                # suggestAlternative:"15000/22900/145000/150000/154000/180000/250000/345000/354000/380000/765000"
+                err.append({'class': 174, 'subclass': 1828861992, 'text': mapcss.tr('Invalid voltage value for this country (South Korea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("SS")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("SS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Sudan"
+                # throwError:tr("Invalid voltage value for this country (South Sudan)")
+                # suggestAlternative:"220000"
+                err.append({'class': 175, 'subclass': 1271280855, 'text': mapcss.tr('Invalid voltage value for this country (South Sudan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$/][inside("ES")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$/][inside("ES")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0d635fe6, '^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ES')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0d635fe6, '^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ES')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Spain"
+                # throwError:tr("Invalid voltage value for this country (Spain)")
+                # suggestAlternative:"12000/13000/13200/15000/17000/20000/22000/24000/25000/30000/33000/35000/45000/50000/55000/60000/65000/66000/66600/100000/110000/120000/130000/132000/138000/150000/200000/220000/225000/240000/250000/320000/400000"
+                err.append({'class': 176, 'subclass': 20128858, 'text': mapcss.tr('Invalid voltage value for this country (Spain)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("LK")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("LK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sri_Lanka"
+                # throwError:tr("Invalid voltage value for this country (Sri Lanka)")
+                # suggestAlternative:"11000/33000/132000/220000"
+                err.append({'class': 177, 'subclass': 1808712158, 'text': mapcss.tr('Invalid voltage value for this country (Sri Lanka)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("PS")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("PS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/State_of_Palestine"
+                # throwError:tr("Invalid voltage value for this country (State of Palestine)")
+                # suggestAlternative:"161000"
+                err.append({'class': 178, 'subclass': 1737101747, 'text': mapcss.tr('Invalid voltage value for this country (State of Palestine)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|110000|220000|500000)$/][inside("SD")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|110000|220000|500000)$/][inside("SD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ea677e3, '^(66000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ea677e3, '^(66000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sudan"
+                # throwError:tr("Invalid voltage value for this country (Sudan)")
+                # suggestAlternative:"66000/110000/220000/500000"
+                err.append({'class': 179, 'subclass': 820201008, 'text': mapcss.tr('Invalid voltage value for this country (Sudan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("SR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("SR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Suriname"
+                # throwError:tr("Invalid voltage value for this country (Suriname)")
+                # suggestAlternative:"161000"
+                err.append({'class': 180, 'subclass': 548730987, 'text': mapcss.tr('Invalid voltage value for this country (Suriname)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$/][inside("SE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$/][inside("SE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_168afd57, '^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_168afd57, '^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sweden"
+                # throwError:tr("Invalid voltage value for this country (Sweden)")
+                # suggestAlternative:"11000/12000/15000/20000/22000/24000/30000/36000/40000/45000/50000/52000/55000/60000/66000/70000/72500/77000/80000/110000/130000/132000/138000/145000/150000/160000/170000/220000/230000/236000/285000/300000/400000/412000/420000/450000/500000"
+                err.append({'class': 181, 'subclass': 1981434574, 'text': mapcss.tr('Invalid voltage value for this country (Sweden)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$/][inside("CH")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$/][inside("CH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3c9d3cca, '^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3c9d3cca, '^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Switzerland"
+                # throwError:tr("Invalid voltage value for this country (Switzerland)")
+                # suggestAlternative:"11000/13000/15000/15500/16000/17000/18000/20000/21000/22000/23000/25000/50000/60000/63000/65000/66000/110000/125000/130000/132000/138000/145000/150000/220000/222000/225000/380000/400000"
+                err.append({'class': 182, 'subclass': 1395673404, 'text': mapcss.tr('Invalid voltage value for this country (Switzerland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(23000|66000|154000|161000|220000|230000|380000|400000)$/][inside("SY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(23000|66000|154000|161000|220000|230000|380000|400000)$/][inside("SY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_79cf4090, '^(23000|66000|154000|161000|220000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_79cf4090, '^(23000|66000|154000|161000|220000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Syria"
+                # throwError:tr("Invalid voltage value for this country (Syria)")
+                # suggestAlternative:"23000/66000/154000/161000/220000/230000/380000/400000"
+                err.append({'class': 183, 'subclass': 1590477629, 'text': mapcss.tr('Invalid voltage value for this country (Syria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|161000|345000|690000)$/][inside("TW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(69000|161000|345000|690000)$/][inside("TW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17aa7472, '^(69000|161000|345000|690000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17aa7472, '^(69000|161000|345000|690000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Taiwan"
+                # throwError:tr("Invalid voltage value for this country (Taiwan)")
+                # suggestAlternative:"69000/161000/345000/690000"
+                err.append({'class': 184, 'subclass': 964174634, 'text': mapcss.tr('Invalid voltage value for this country (Taiwan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|138000|220000|500000)$/][inside("TJ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|110000|138000|220000|500000)$/][inside("TJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3de199b9, '^(35000|110000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3de199b9, '^(35000|110000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tajikistan"
+                # throwError:tr("Invalid voltage value for this country (Tajikistan)")
+                # suggestAlternative:"35000/110000/138000/220000/500000"
+                err.append({'class': 185, 'subclass': 1073092647, 'text': mapcss.tr('Invalid voltage value for this country (Tajikistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|220000|222000|400000)$/][inside("TZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|220000|222000|400000)$/][inside("TZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f98a74d, '^(11000|33000|66000|132000|220000|222000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f98a74d, '^(11000|33000|66000|132000|220000|222000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tanzania"
+                # throwError:tr("Invalid voltage value for this country (Tanzania)")
+                # suggestAlternative:"11000/33000/66000/132000/220000/222000/400000"
+                err.append({'class': 186, 'subclass': 1645606820, 'text': mapcss.tr('Invalid voltage value for this country (Tanzania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|50000|69000|115000|132000|230000|300000|500000)$/][inside("TH")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22000|50000|69000|115000|132000|230000|300000|500000)$/][inside("TH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae50e2c, '^(22000|50000|69000|115000|132000|230000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae50e2c, '^(22000|50000|69000|115000|132000|230000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Thailand"
+                # throwError:tr("Invalid voltage value for this country (Thailand)")
+                # suggestAlternative:"22000/50000/69000/115000/132000/230000/300000/500000"
+                err.append({'class': 187, 'subclass': 1687185169, 'text': mapcss.tr('Invalid voltage value for this country (Thailand)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("BS")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("BS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/The_Bahamas"
+                # throwError:tr("Invalid voltage value for this country (The Bahamas)")
+                # suggestAlternative:"132000"
+                err.append({'class': 188, 'subclass': 584949651, 'text': mapcss.tr('Invalid voltage value for this country (The Bahamas)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/The_Gambia"
+                # throwError:tr("Invalid voltage value for this country (The Gambia)")
+                # suggestAlternative:"225000"
+                err.append({'class': 189, 'subclass': 441852858, 'text': mapcss.tr('Invalid voltage value for this country (The Gambia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(150000)$/][inside("TL")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(150000)$/][inside("TL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25ec0862, '^(150000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25ec0862, '^(150000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Timor-Leste"
+                # throwError:tr("Invalid voltage value for this country (Timor-Leste)")
+                # suggestAlternative:"150000"
+                err.append({'class': 190, 'subclass': 922035571, 'text': mapcss.tr('Invalid voltage value for this country (Timor-Leste)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("TG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("TG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Togo"
+                # throwError:tr("Invalid voltage value for this country (Togo)")
+                # suggestAlternative:"161000/330000"
+                err.append({'class': 191, 'subclass': 1821174585, 'text': mapcss.tr('Invalid voltage value for this country (Togo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("TT")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("TT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Trinidad_and_Tobago"
+                # throwError:tr("Invalid voltage value for this country (Trinidad and Tobago)")
+                # suggestAlternative:"66000/132000/220000"
+                err.append({'class': 192, 'subclass': 1883347853, 'text': mapcss.tr('Invalid voltage value for this country (Trinidad and Tobago)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$/][inside("TN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$/][inside("TN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2cc8f87e, '^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2cc8f87e, '^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tunisia"
+                # throwError:tr("Invalid voltage value for this country (Tunisia)")
+                # suggestAlternative:"15000/22500/30000/33000/90000/150000/220000/225000/400000"
+                err.append({'class': 193, 'subclass': 337836676, 'text': mapcss.tr('Invalid voltage value for this country (Tunisia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$/][inside("TR")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$/][inside("TR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a0db6a9, '^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a0db6a9, '^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Turkey"
+                # throwError:tr("Invalid voltage value for this country (Turkey)")
+                # suggestAlternative:"20000/25000/31500/34000/34500/35000/36000/66000/150000/154000/170000/220000/345005/380000/400000/1000000"
+                err.append({'class': 194, 'subclass': 522807230, 'text': mapcss.tr('Invalid voltage value for this country (Turkey)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000|230000|500000)$/][inside("TM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(110000|220000|230000|500000)$/][inside("TM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0425562b, '^(110000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0425562b, '^(110000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Turkmenistan"
+                # throwError:tr("Invalid voltage value for this country (Turkmenistan)")
+                # suggestAlternative:"110000/220000/230000/500000"
+                err.append({'class': 195, 'subclass': 1969078473, 'text': mapcss.tr('Invalid voltage value for this country (Turkmenistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|33000|66000|132000|220000|400000)$/][inside("UG")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|15000|33000|66000|132000|220000|400000)$/][inside("UG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_56b8f45f, '^(11000|15000|33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_56b8f45f, '^(11000|15000|33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uganda"
+                # throwError:tr("Invalid voltage value for this country (Uganda)")
+                # suggestAlternative:"11000/15000/33000/66000/132000/220000/400000"
+                err.append({'class': 196, 'subclass': 1496515740, 'text': mapcss.tr('Invalid voltage value for this country (Uganda)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$/][inside("UA")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$/][inside("UA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_789fa698, '^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_789fa698, '^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ukraine"
+                # throwError:tr("Invalid voltage value for this country (Ukraine)")
+                # suggestAlternative:"15000/35000/110000/150000/154000/220000/330000/400000/500000/750000/800000"
+                err.append({'class': 197, 'subclass': 598128027, 'text': mapcss.tr('Invalid voltage value for this country (Ukraine)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|132000|220000|400000)$/][inside("AE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|132000|220000|400000)$/][inside("AE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_403ae00b, '^(33000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_403ae00b, '^(33000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/United_Arab_Emirates"
+                # throwError:tr("Invalid voltage value for this country (United Arab Emirates)")
+                # suggestAlternative:"33000/132000/220000/400000"
+                err.append({'class': 198, 'subclass': 696294142, 'text': mapcss.tr('Invalid voltage value for this country (United Arab Emirates)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$/][inside("GB")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$/][inside("GB")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0757e9d5, '^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GB')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0757e9d5, '^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GB')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Great_Britain"
+                # throwError:tr("Invalid voltage value for this country (United Kingdom)")
+                # suggestAlternative:"11000/12300/13800/15000/16000/20000/22000/24000/25000/27000/32000/33000/33300/35000/36000/66000/90000/110000/132000/145000/150000/170000/200000/220000/250000/254000/270000/275000/320000/400000/450000/515000/525000/600000"
+                err.append({'class': 199, 'subclass': 89496729, 'text': mapcss.tr('Invalid voltage value for this country (United Kingdom)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$/][inside("US")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$/][inside("US")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_32e2ea6c, '^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'US')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_32e2ea6c, '^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'US')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/United_States"
+                # throwError:tr("Invalid voltage value for this country (United States)")
+                # suggestAlternative:"11000/11500/12000/12370/12400/12470/12500/13000/13200/13800/13860/14000/14400/14750/15000/16000/17500/18000/19920/19935/20000/20800/21000/21800/22000/23000/23900/24000/24900/24940/25000/26000/26400/27000/27600/32000/33000/34000/34500/34599/35000/35400/37500/38000/40000/41600/43000/43800/44000/46000/49000/50000/55000/57000/57100/60000/66000/69000/70000/71000/87000/88000/92000/100000/110000/111500/115000/120000/125000/130000/132000/138000/150000/160000/161000/200000/220000/230000/235000/250000/260000/276000/287000/320000/345000/400000/450000/460000/500000/690002/765000/1100000/1150003/1333000/1380000"
+                err.append({'class': 200, 'subclass': 897496581, 'text': mapcss.tr('Invalid voltage value for this country (United States)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|31500|60000|63000|132000|150000|230000|500000)$/][inside("UY")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(30000|31500|60000|63000|132000|150000|230000|500000)$/][inside("UY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e41b29d, '^(30000|31500|60000|63000|132000|150000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e41b29d, '^(30000|31500|60000|63000|132000|150000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uruguay"
+                # throwError:tr("Invalid voltage value for this country (Uruguay)")
+                # suggestAlternative:"30000/31500/60000/63000/132000/150000/230000/500000"
+                err.append({'class': 201, 'subclass': 1885514091, 'text': mapcss.tr('Invalid voltage value for this country (Uruguay)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|75000|110000|220000|350000|380000|500000)$/][inside("UZ")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(35000|75000|110000|220000|350000|380000|500000)$/][inside("UZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7edd7211, '^(35000|75000|110000|220000|350000|380000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7edd7211, '^(35000|75000|110000|220000|350000|380000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uzbekistan"
+                # throwError:tr("Invalid voltage value for this country (Uzbekistan)")
+                # suggestAlternative:"35000/75000/110000/220000/350000/380000/500000"
+                err.append({'class': 202, 'subclass': 2074479605, 'text': mapcss.tr('Invalid voltage value for this country (Uzbekistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$/][inside("VE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$/][inside("VE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1cb10787, '^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1cb10787, '^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Venezuela"
+                # throwError:tr("Invalid voltage value for this country (Venezuela)")
+                # suggestAlternative:"13800/24000/30000/69000/115000/138000/230000/400000/765000"
+                err.append({'class': 203, 'subclass': 1032924847, 'text': mapcss.tr('Invalid voltage value for this country (Venezuela)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|50000|110000|115000|220000|230000|500000)$/][inside("VN")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(22000|50000|110000|115000|220000|230000|500000)$/][inside("VN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_21b86ee6, '^(22000|50000|110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_21b86ee6, '^(22000|50000|110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Vietnam"
+                # throwError:tr("Invalid voltage value for this country (Vietnam)")
+                # suggestAlternative:"22000/50000/110000/115000/220000/230000/500000"
+                err.append({'class': 204, 'subclass': 470514553, 'text': mapcss.tr('Invalid voltage value for this country (Vietnam)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("YE")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("YE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'YE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'YE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Yemen"
+                # throwError:tr("Invalid voltage value for this country (Yemen)")
+                # suggestAlternative:"132000/400000"
+                err.append({'class': 205, 'subclass': 1523755329, 'text': mapcss.tr('Invalid voltage value for this country (Yemen)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|88000|132000|220000|330000)$/][inside("ZM")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|88000|132000|220000|330000)$/][inside("ZM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_703e20a3, '^(11000|33000|66000|88000|132000|220000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_703e20a3, '^(11000|33000|66000|88000|132000|220000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Zambia"
+                # throwError:tr("Invalid voltage value for this country (Zambia)")
+                # suggestAlternative:"11000/33000/66000/88000/132000/220000/330000"
+                err.append({'class': 206, 'subclass': 811195269, 'text': mapcss.tr('Invalid voltage value for this country (Zambia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|110000|132000|220000|330000|400000)$/][inside("ZW")]
+        # way[power=~/line|minor_line|cable/][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|110000|132000|220000|330000|400000)$/][inside("ZW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65c9364b, '^(33000|66000|88000|110000|132000|220000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_74005c1f), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65c9364b, '^(33000|66000|88000|110000|132000|220000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Zimbabwe"
+                # throwError:tr("Invalid voltage value for this country (Zimbabwe)")
+                # suggestAlternative:"33000/66000/88000/110000/132000/220000/330000/400000"
+                err.append({'class': 207, 'subclass': 1641561189, 'text': mapcss.tr('Invalid voltage value for this country (Zimbabwe)')})
+
+        return err
+
+    def relation(self, data, tags, members):
+        capture_tags = {}
+        keys = tags.keys()
+        err = []
+
+
+        # *[power][power!~/^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$/]
+        if ('power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 1, self.re_6b88cc68, '^(cable|catenary_mast|circuit|compensator|connection|converter|generator|heliostat|insulator|inverter|line|line_section|minor_line|plant|pole|portal|substation|switch|switchgear|terminal|tower|transformer)$'), mapcss._tag_capture(capture_tags, 1, tags, 'power'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The power=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:power"
+                # throwError:tr("Unsuitable value for power=* tag")
+                # assertMatch:"relation power=cable_distribution_cabinet"
+                # assertMatch:"relation power=circuits"
+                # assertMatch:"relation power=route"
+                err.append({'class': 1, 'subclass': 36378028, 'text': mapcss.tr('Unsuitable value for power=* tag')})
+
+        # relation[type=power][!power]
+        if ('type' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'type') == mapcss._value_capture(capture_tags, 0, 'power')) and (not mapcss._tag_capture(capture_tags, 1, tags, 'power')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check whether it is a line section or a complete circuit, and add the power tag accordingly.")
+                # -osmoseDetail:tr("There are only two possible types of power relation. The power tag must be added to specify which type is involved here.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Relation:power"
+                # throwError:tr("Is it a power circuit or a power line section? Add the power=* tag accordingly.")
+                # assertNoMatch:"relation type=power power=circuit"
+                # assertMatch:"relation type=power"
+                err.append({'class': 208, 'subclass': 213213626, 'text': mapcss.tr('Is it a power circuit or a power line section? Add the power=* tag accordingly.')})
+
+        # relation[power=circuit][topology][topology!~/^(linear|branched)$/]
+        if ('power' in keys and 'topology' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'circuit')) and (mapcss._tag_capture(capture_tags, 1, tags, 'topology')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_754b6662, '^(linear|branched)$'), mapcss._tag_capture(capture_tags, 2, tags, 'topology'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the circuit topology and specify a value between `{0}` and `{1}`.","linear","branched")
+                # -osmoseDetail:tr("The topology tag can only take two values on the power circuit context. This is probably a typo or an error.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:topology"
+                # throwError:tr("power=circuit relations should have a topology tag with value linear or branched")
+                # assertMatch:"relation type=power power=circuit topology=branch"
+                # assertNoMatch:"relation type=power power=circuit topology=branched"
+                # assertNoMatch:"relation type=power power=circuit"
+                err.append({'class': 209, 'subclass': 1474691630, 'text': mapcss.tr('power=circuit relations should have a topology tag with value linear or branched')})
+
+        # relation[power=circuit][wires]
+        if ('power' in keys and 'wires' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'circuit')) and (mapcss._tag_capture(capture_tags, 1, tags, 'wires')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Bundles arrangement only regard power segments. A given circuit can go through several line segments with different bundles. Use wires only on power segments.")
+                # -osmoseFix:tr("Remove the tag from the circuit relation and add it to its members instead")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:wires#A_physical_property"
+                # throwWarning:tr("wires tag should be on the power line and not on the circuit relation")
+                # fixRemove:"wires"
+                # assertMatch:"relation type=power power=circuit wires=4"
+                # assertNoMatch:"relation type=power power=circuit"
+                err.append({'class': 210, 'subclass': 698560024, 'text': mapcss.tr('wires tag should be on the power line and not on the circuit relation'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'wires'])
+                }})
+
+        # *[power=generator][generator:source][generator:source!~/^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$/]
+        if ('generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_0cf641e0, '^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$'), mapcss._tag_capture(capture_tags, 2, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The generator:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:source"
+                # throwError:tr("Unsuitable value for generator:source=* tag")
+                err.append({'class': 3, 'subclass': 600492584, 'text': mapcss.tr('Unsuitable value for generator:source=* tag')})
+
+        # *[power=generator][generator:source=nuclear][generator:method][generator:method!~/^(fission|fusion)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'nuclear')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_642c98f5, '^(fission|fusion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Nuclear generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for nuclear generator")
+                # suggestAlternative:"fission or fusion"
+                # fixRemove:"generator:method"
+                err.append({'class': 4, 'subclass': 1513616022, 'text': mapcss.tr('Unsuitable method for nuclear generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/fission|fusion/][generator:source][generator:source!=nuclear]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_21537747), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'nuclear', 'nuclear')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1445012384, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=wind][generator:method][generator:method!=wind_turbine]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'wind')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'wind_turbine', 'wind_turbine')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Remove the `{0}` tag or change it to `{1}`.","generator:method","wind_turbine")
+                # -osmoseDetail:tr("Wind generators can only use turbines to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for wind generator")
+                # fixRemove:"generator:method"
+                err.append({'class': 6, 'subclass': 1104182574, 'text': mapcss.tr('Unsuitable method for wind generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=wind_turbine][generator:source][generator:source!=wind]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'wind_turbine')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'wind', 'wind')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1021686777, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=hydro][generator:method][generator:method!~/^(water-storage|water-pumped-storage|run-of-the-river)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'hydro')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2c04ecfb, '^(water-storage|water-pumped-storage|run-of-the-river)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Hydro generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for hydro generator")
+                # suggestAlternative:"water-storage, run-of-the-river or water-pumped-storage"
+                # fixRemove:"generator:method"
+                err.append({'class': 7, 'subclass': 1379042787, 'text': mapcss.tr('Unsuitable method for hydro generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(water-storage|water-pumped-storage|run-of-the-river)$/][generator:source][generator:source!=hydro]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_2c04ecfb), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'hydro', 'hydro')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1830475878, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=tidal][generator:method][generator:method!~/^(barrage|stream)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'tidal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_583b6258, '^(barrage|stream)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Tidal generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for tidal generator")
+                # suggestAlternative:"barrage or stream"
+                # fixRemove:"generator:method"
+                err.append({'class': 8, 'subclass': 503240008, 'text': mapcss.tr('Unsuitable method for tidal generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(barrage|stream)$/][generator:source][generator:source!=tidal]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_583b6258), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'tidal', 'tidal')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 976314568, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=solar][generator:method][generator:method!~/^(thermal|photovoltaic)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'solar')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_26c08bf9, '^(thermal|photovoltaic)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Solar generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for solar generator")
+                # suggestAlternative:"thermal or photovoltaic"
+                # fixRemove:"generator:method"
+                err.append({'class': 9, 'subclass': 1095645684, 'text': mapcss.tr('Unsuitable method for solar generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=~/^(thermal|photovoltaic)$/][generator:source][generator:source!=solar]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_26c08bf9), mapcss._tag_capture(capture_tags, 1, tags, 'generator:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:source') != mapcss._value_const_capture(capture_tags, 3, 'solar', 'solar')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1457983121, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:source=coal][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'coal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Coal generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for coal generator")
+                err.append({'class': 10, 'subclass': 727067352, 'text': mapcss.tr('Unsuitable method for coal generator')})
+
+        # *[power=generator][generator:source=gas][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'gas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Gas generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for gas generator")
+                err.append({'class': 11, 'subclass': 1587058630, 'text': mapcss.tr('Unsuitable method for gas generator')})
+
+        # *[power=generator][generator:source=biomass][generator:method][generator:method!~/^(combustion|gasification|anaerobic_digestion)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biomass')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_009ee9c4, '^(combustion|gasification|anaerobic_digestion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biomass generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biomass generator")
+                # suggestAlternative:"combustion, anaerobic_digestion or gasification"
+                # fixRemove:"generator:method"
+                err.append({'class': 12, 'subclass': 1563205211, 'text': mapcss.tr('Unsuitable method for biomass generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:source=biofuel][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biofuel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biofuel generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biofuel generator")
+                err.append({'class': 13, 'subclass': 2056310355, 'text': mapcss.tr('Unsuitable method for biofuel generator')})
+
+        # *[power=generator][generator:source=biogas][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'biogas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biogas generator can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for biogas generator")
+                err.append({'class': 14, 'subclass': 1353854094, 'text': mapcss.tr('Unsuitable method for biogas generator')})
+
+        # *[power=generator][generator:source=oil][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'oil')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Oil generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for oil generator")
+                err.append({'class': 15, 'subclass': 2059171544, 'text': mapcss.tr('Unsuitable method for oil generator')})
+
+        # *[power=generator][generator:source=diesel][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'diesel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Diesel generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for diesel generator")
+                err.append({'class': 16, 'subclass': 87750196, 'text': mapcss.tr('Unsuitable method for diesel generator')})
+
+        # *[power=generator][generator:source=gasoline][generator:method][generator:method!=combustion]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'gasoline')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'generator:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Gasoline generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for gasoline generator")
+                err.append({'class': 17, 'subclass': 1418218249, 'text': mapcss.tr('Unsuitable method for gasoline generator')})
+
+        # *[power=generator][generator:source=waste][generator:method][generator:method!~/^(combustion|gasification)$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:source') == mapcss._value_capture(capture_tags, 1, 'waste')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_05a6cbca, '^(combustion|gasification)$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","generator:method")
+                # -osmoseDetail:tr("Waste generator can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Unsuitable method for waste generator")
+                # suggestAlternative:"combustion or gasification"
+                # fixRemove:"generator:method"
+                err.append({'class': 18, 'subclass': 600470569, 'text': mapcss.tr('Unsuitable method for waste generator'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'generator:method'])
+                }})
+
+        # *[power=generator][generator:method=combustion][generator:source][generator:source!~/^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'combustion')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5b4d6241, '^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 1335984003, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=generator][generator:method=gasification][generator:source][generator:source!~/^(waste|biomass)(;(waste|biomass))*$/]
+        if ('generator:method' in keys and 'generator:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'generator')) and (mapcss._tag_capture(capture_tags, 1, tags, 'generator:method') == mapcss._value_capture(capture_tags, 1, 'gasification')) and (mapcss._tag_capture(capture_tags, 2, tags, 'generator:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5d252d75, '^(waste|biomass)(;(waste|biomass))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'generator:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","generator:method","generator:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:generator:method"
+                # throwError:tr("Incompatibility between method and source on a power generator")
+                err.append({'class': 5, 'subclass': 313390332, 'text': mapcss.tr('Incompatibility between method and source on a power generator')})
+
+        # *[power=plant][plant:source][plant:source!~/^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$/]
+        if ('plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_0cf641e0, '^(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery)(;(nuclear|wind|hydro|tidal|wave|geothermal|solar|coal|gas|biomass|biofuel|biogas|oil|diesel|gasoline|waste|battery))*$'), mapcss._tag_capture(capture_tags, 2, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values on the wiki and correct the tag for this object.")
+                # -osmoseDetail:tr("The plant:source=* tag can only have certain well-defined values. This is probably a typo or an deprecated way of tagging.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:source"
+                # throwError:tr("Unsuitable value for plant:source=* tag")
+                err.append({'class': 19, 'subclass': 966751128, 'text': mapcss.tr('Unsuitable value for plant:source=* tag')})
+
+        # *[power=plant][plant:source=nuclear][plant:method][plant:method!~/^(fission|fusion)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'nuclear')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_642c98f5, '^(fission|fusion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Nuclear power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for nuclear power plant")
+                # suggestAlternative:"fission or fusion"
+                # fixRemove:"plant:method"
+                err.append({'class': 20, 'subclass': 56152287, 'text': mapcss.tr('Unsuitable method for nuclear power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(fission|fusion)$/][plant:source][plant:source!=nuclear]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_642c98f5), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'nuclear', 'nuclear')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 120690153, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=wind][plant:method][plant:method!=wind_turbine]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'wind')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'wind_turbine', 'wind_turbine')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Wind power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for wind power plant")
+                # fixRemove:"plant:method"
+                err.append({'class': 22, 'subclass': 515061741, 'text': mapcss.tr('Unsuitable method for wind power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=wind_turbine][plant:source][plant:source!=wind]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'wind_turbine')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'wind', 'wind')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 443176990, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=hydro][plant:method][plant:method!~/^(water-storage|water-pumped-storage|run-of-the-river)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'hydro')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2c04ecfb, '^(water-storage|water-pumped-storage|run-of-the-river)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Hydro power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for hydro power plant")
+                # suggestAlternative:"water-storage, run-of-the-river or water-pumped-storage"
+                # fixRemove:"plant:method"
+                err.append({'class': 23, 'subclass': 1020856194, 'text': mapcss.tr('Unsuitable method for hydro power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(water-storage|water-pumped-storage|run-of-the-river)$/][plant:source][plant:source!=hydro]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_2c04ecfb), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'hydro', 'hydro')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 1372509170, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=tidal][plant:method][plant:method!~/^(barrage|stream)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'tidal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_583b6258, '^(barrage|stream)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Tidal power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for tidal power plant")
+                # suggestAlternative:"barrage or stream"
+                # fixRemove:"plant:method"
+                err.append({'class': 24, 'subclass': 75438578, 'text': mapcss.tr('Unsuitable method for tidal power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(barrage|stream)$/][plant:source][plant:source!=tidal]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_583b6258), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'tidal', 'tidal')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 934978595, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=solar][plant:method][plant:method!~/^(thermal|photovoltaic)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'solar')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_26c08bf9, '^(thermal|photovoltaic)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Solar power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for solar power plant")
+                # suggestAlternative:"thermal or photovoltaic"
+                # fixRemove:"plant:method"
+                err.append({'class': 25, 'subclass': 1799335667, 'text': mapcss.tr('Unsuitable method for solar power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=~/^(thermal|photovoltaic)$/][plant:source][plant:source!=solar]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 1, self.re_26c08bf9), mapcss._tag_capture(capture_tags, 1, tags, 'plant:method'))) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:source') != mapcss._value_const_capture(capture_tags, 3, 'solar', 'solar')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 1085835351, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:source=coal][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'coal')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Coal power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for coal power plant")
+                err.append({'class': 26, 'subclass': 746471181, 'text': mapcss.tr('Unsuitable method for coal power plant')})
+
+        # *[power=plant][plant:source=gas][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'gas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Gas power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for gas power plant")
+                err.append({'class': 27, 'subclass': 827336490, 'text': mapcss.tr('Unsuitable method for gas power plant')})
+
+        # *[power=plant][plant:source=biomass][plant:method][plant:method!~/^(combustion|gasification|anaerobic_digestion)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biomass')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_009ee9c4, '^(combustion|gasification|anaerobic_digestion)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biomass power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biomass power plant")
+                # suggestAlternative:"combustion, anaerobic_digestion or gasification"
+                # fixRemove:"plant:method"
+                err.append({'class': 28, 'subclass': 2076402923, 'text': mapcss.tr('Unsuitable method for biomass power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:source=biofuel][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biofuel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biofuel power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biofuel power plant")
+                err.append({'class': 29, 'subclass': 1882895060, 'text': mapcss.tr('Unsuitable method for biofuel power plant')})
+
+        # *[power=plant][plant:source=biogas][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'biogas')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseDetail:tr("Biogas power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for biogas power plant")
+                err.append({'class': 30, 'subclass': 887792794, 'text': mapcss.tr('Unsuitable method for biogas power plant')})
+
+        # *[power=plant][plant:source=oil][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'oil')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Oil power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for oil power plant")
+                err.append({'class': 31, 'subclass': 1678290892, 'text': mapcss.tr('Unsuitable method for oil power plant')})
+
+        # *[power=plant][plant:source=diesel][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'diesel')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Diesel power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for diesel power plant")
+                err.append({'class': 32, 'subclass': 75543302, 'text': mapcss.tr('Unsuitable method for diesel power plant')})
+
+        # *[power=plant][plant:source=gasoline][plant:method][plant:method!=combustion]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'gasoline')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (mapcss._tag_capture(capture_tags, 3, tags, 'plant:method') != mapcss._value_const_capture(capture_tags, 3, 'combustion', 'combustion')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Gasoline power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for gasoline power plant")
+                err.append({'class': 33, 'subclass': 599334301, 'text': mapcss.tr('Unsuitable method for gasoline power plant')})
+
+        # *[power=plant][plant:source=waste][plant:method][plant:method!~/^(combustion|gasification)$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:source') == mapcss._value_capture(capture_tags, 1, 'waste')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:method')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_05a6cbca, '^(combustion|gasification)$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:method'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this source on the wiki and correct the `{0}` tag.","plant:method")
+                # -osmoseDetail:tr("Waste power plants can only use certain well-defined methods to generate energy.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Unsuitable method for waste power plant")
+                # suggestAlternative:"combustion or gasification"
+                # fixRemove:"plant:method"
+                err.append({'class': 34, 'subclass': 489417432, 'text': mapcss.tr('Unsuitable method for waste power plant'), 'allow_fix_override': True, 'fix': {
+                    '-': ([
+                    'plant:method'])
+                }})
+
+        # *[power=plant][plant:method=combustion][plant:source][plant:source!~/^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'combustion')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5b4d6241, '^(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal)(;(waste|gasoline|diesel|oil|biogas|biofuel|biomass|gas|coal))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 46745407, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=plant][plant:method=gasification][plant:source][plant:source!~/^(waste|biomass)(;(waste|biomass))*$/]
+        if ('plant:method' in keys and 'plant:source' in keys and 'power' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'plant')) and (mapcss._tag_capture(capture_tags, 1, tags, 'plant:method') == mapcss._value_capture(capture_tags, 1, 'gasification')) and (mapcss._tag_capture(capture_tags, 2, tags, 'plant:source')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5d252d75, '^(waste|biomass)(;(waste|biomass))*$'), mapcss._tag_capture(capture_tags, 3, tags, 'plant:source'))))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the wiki page and change the `{0}` tag or the `{1}` tag accordingly.","plant:method","plant:source")
+                # -osmoseDetail:tr("It is not possible to use the specified method to generate energy from this source.")
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Key:plant:method"
+                # throwError:tr("Incompatibility between method and source on a power plant")
+                err.append({'class': 21, 'subclass': 1329720574, 'text': mapcss.tr('Incompatibility between method and source on a power plant')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|132000|220000|500000)$/][inside("AF")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|132000|220000|500000)$/][inside("AF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7b35047a, '^(110000|132000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AF')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7b35047a, '^(110000|132000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Afghanistan"
+                # throwError:tr("Invalid voltage value for this country (Afghanistan)")
+                # suggestAlternative:"110000/132000/220000/500000"
+                err.append({'class': 35, 'subclass': 877416610, 'text': mapcss.tr('Invalid voltage value for this country (Afghanistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|35000|110000|150000|220000|400000)$/][inside("AL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(30000|35000|110000|150000|220000|400000)$/][inside("AL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a188683, '^(30000|35000|110000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a188683, '^(30000|35000|110000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Albania"
+                # throwError:tr("Invalid voltage value for this country (Albania)")
+                # suggestAlternative:"30000/35000/110000/150000/220000/400000"
+                err.append({'class': 36, 'subclass': 847169907, 'text': mapcss.tr('Invalid voltage value for this country (Albania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|60000|66000|90000|150000|220000|225000|400000)$/][inside("DZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(30000|60000|66000|90000|150000|220000|225000|400000)$/][inside("DZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_580cbc71, '^(30000|60000|66000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_580cbc71, '^(30000|60000|66000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Algeria"
+                # throwError:tr("Invalid voltage value for this country (Algeria)")
+                # suggestAlternative:"30000/60000/66000/90000/150000/220000/225000/400000"
+                err.append({'class': 37, 'subclass': 1061795938, 'text': mapcss.tr('Invalid voltage value for this country (Algeria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|150000|225000)$/][inside("AD")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|150000|225000)$/][inside("AD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7bbd0e42, '^(110000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7bbd0e42, '^(110000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Andorra"
+                # throwError:tr("Invalid voltage value for this country (Andorra)")
+                # suggestAlternative:"110000/150000/225000"
+                err.append({'class': 38, 'subclass': 413825130, 'text': mapcss.tr('Invalid voltage value for this country (Andorra)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(60000|66000|110000|132000|150000|220000|400000)$/][inside("AO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(60000|66000|110000|132000|150000|220000|400000)$/][inside("AO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a11341, '^(60000|66000|110000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a11341, '^(60000|66000|110000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Angola"
+                # throwError:tr("Invalid voltage value for this country (Angola)")
+                # suggestAlternative:"60000/66000/110000/132000/150000/220000/400000"
+                err.append({'class': 39, 'subclass': 1491057401, 'text': mapcss.tr('Invalid voltage value for this country (Angola)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$/][inside("AR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$/][inside("AR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7889b2ce, '^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7889b2ce, '^(13200|25000|32000|33000|35000|66000|132000|220000|330000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Argentina"
+                # throwError:tr("Invalid voltage value for this country (Argentina)")
+                # suggestAlternative:"13200/25000/32000/33000/35000/66000/132000/220000/330000/345000/500000"
+                err.append({'class': 40, 'subclass': 1538178973, 'text': mapcss.tr('Invalid voltage value for this country (Argentina)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$/][inside("AM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$/][inside("AM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1f435557, '^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1f435557, '^(35000|36000|100000|110000|220000|230000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Armenia"
+                # throwError:tr("Invalid voltage value for this country (Armenia)")
+                # suggestAlternative:"35000/36000/100000/110000/220000/230000/330000/400000/500000"
+                err.append({'class': 41, 'subclass': 1328898356, 'text': mapcss.tr('Invalid voltage value for this country (Armenia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$/][inside("AU")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$/][inside("AU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_110dc891, '^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_110dc891, '^(10500|11000|12700|19000|19100|22000|33000|35000|44000|50000|66000|80000|110000|132000|150000|220000|275000|330000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Australia"
+                # throwError:tr("Invalid voltage value for this country (Australia)")
+                # suggestAlternative:"10500/11000/12700/19000/19100/22000/33000/35000/44000/50000/66000/80000/110000/132000/150000/220000/275000/330000/400000/500000"
+                err.append({'class': 42, 'subclass': 1851517051, 'text': mapcss.tr('Invalid voltage value for this country (Australia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$/][inside("AT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$/][inside("AT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c208d10, '^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c208d10, '^(10500|13800|15000|16000|17500|20000|25000|30000|55000|60000|110000|132000|150000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Austria"
+                # throwError:tr("Invalid voltage value for this country (Austria)")
+                # suggestAlternative:"10500/13800/15000/16000/17500/20000/25000/30000/55000/60000/110000/132000/150000/220000/380000/400000"
+                err.append({'class': 43, 'subclass': 1246339482, 'text': mapcss.tr('Invalid voltage value for this country (Austria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|132000|154000|220000|330000|500000)$/][inside("AZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|110000|132000|154000|220000|330000|500000)$/][inside("AZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4366c21c, '^(35000|110000|132000|154000|220000|330000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4366c21c, '^(35000|110000|132000|154000|220000|330000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Azerbaijan"
+                # throwError:tr("Invalid voltage value for this country (Azerbaijan)")
+                # suggestAlternative:"35000/110000/132000/154000/220000/330000/500000"
+                err.append({'class': 44, 'subclass': 47081834, 'text': mapcss.tr('Invalid voltage value for this country (Azerbaijan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000|230000|400000)$/][inside("BH")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(220000|230000|400000)$/][inside("BH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_247a7ae8, '^(220000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_247a7ae8, '^(220000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bahrain"
+                # throwError:tr("Invalid voltage value for this country (Bahrain)")
+                # suggestAlternative:"220000/230000/400000"
+                err.append({'class': 45, 'subclass': 393003268, 'text': mapcss.tr('Invalid voltage value for this country (Bahrain)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(23000|33000|132000|230000|400000)$/][inside("BD")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(23000|33000|132000|230000|400000)$/][inside("BD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0bb23efd, '^(23000|33000|132000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0bb23efd, '^(23000|33000|132000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bangladesh"
+                # throwError:tr("Invalid voltage value for this country (Bangladesh)")
+                # suggestAlternative:"23000/33000/132000/230000/400000"
+                err.append({'class': 46, 'subclass': 1841817985, 'text': mapcss.tr('Invalid voltage value for this country (Bangladesh)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|40000|100000|110000|220000|330000|750000)$/][inside("BY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|40000|100000|110000|220000|330000|750000)$/][inside("BY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_309280d5, '^(35000|40000|100000|110000|220000|330000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_309280d5, '^(35000|40000|100000|110000|220000|330000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belarus"
+                # throwError:tr("Invalid voltage value for this country (Belarus)")
+                # suggestAlternative:"35000/40000/100000/110000/220000/330000/750000"
+                err.append({'class': 47, 'subclass': 1035573152, 'text': mapcss.tr('Invalid voltage value for this country (Belarus)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$/][inside("BE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$/][inside("BE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec02c4f, '^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec02c4f, '^(11000|11500|15000|30000|33000|36000|50000|63000|70000|110000|150000|220000|225000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belgium"
+                # throwError:tr("Invalid voltage value for this country (Belgium)")
+                # suggestAlternative:"11000/11500/15000/30000/33000/36000/50000/63000/70000/110000/150000/220000/225000/320000/380000/400000"
+                err.append({'class': 48, 'subclass': 1497012492, 'text': mapcss.tr('Invalid voltage value for this country (Belgium)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|34500|69000|115000)$/][inside("BZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22000|34500|69000|115000)$/][inside("BZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_74a6316e, '^(22000|34500|69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_74a6316e, '^(22000|34500|69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Belize"
+                # throwError:tr("Invalid voltage value for this country (Belize)")
+                # suggestAlternative:"22000/34500/69000/115000"
+                err.append({'class': 49, 'subclass': 871340873, 'text': mapcss.tr('Invalid voltage value for this country (Belize)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("BJ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("BJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Benin"
+                # throwError:tr("Invalid voltage value for this country (Benin)")
+                # suggestAlternative:"161000/330000"
+                err.append({'class': 50, 'subclass': 1396854010, 'text': mapcss.tr('Invalid voltage value for this country (Benin)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bhutan"
+                # throwError:tr("Invalid voltage value for this country (Bhutan)")
+                # suggestAlternative:"66000/132000/220000/400000"
+                err.append({'class': 51, 'subclass': 254618304, 'text': mapcss.tr('Invalid voltage value for this country (Bhutan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|220000|500000)$/][inside("BO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(115000|220000|500000)$/][inside("BO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7c0499f4, '^(115000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7c0499f4, '^(115000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bolivia"
+                # throwError:tr("Invalid voltage value for this country (Bolivia)")
+                # suggestAlternative:"115000/220000/500000"
+                err.append({'class': 52, 'subclass': 1925962756, 'text': mapcss.tr('Invalid voltage value for this country (Bolivia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000)$/][inside("BA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000)$/][inside("BA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_38c1c717, '^(35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_38c1c717, '^(35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bosnia_and_Herzegovina"
+                # throwError:tr("Invalid voltage value for this country (Bosnia and Herzegovina)")
+                # suggestAlternative:"35000/110000/220000/400000"
+                err.append({'class': 53, 'subclass': 332895728, 'text': mapcss.tr('Invalid voltage value for this country (Bosnia and Herzegovina)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000)$/][inside("BW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e660e01, '^(66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Botswana"
+                # throwError:tr("Invalid voltage value for this country (Botswana)")
+                # suggestAlternative:"66000/132000/220000/400000"
+                err.append({'class': 54, 'subclass': 978037435, 'text': mapcss.tr('Invalid voltage value for this country (Botswana)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$/][inside("BR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$/][inside("BR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2450a903, '^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2450a903, '^(13800|23100|34500|66000|69000|88000|110000|132000|138000|230000|345000|440000|500000|525000|600000|765000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Brazil"
+                # throwError:tr("Invalid voltage value for this country (Brazil)")
+                # suggestAlternative:"13800/23100/34500/66000/69000/88000/110000/132000/138000/230000/345000/440000/500000/525000/600000/765000/800000"
+                err.append({'class': 55, 'subclass': 2087918271, 'text': mapcss.tr('Invalid voltage value for this country (Brazil)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|275000)$/][inside("BN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|275000)$/][inside("BN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b2d49c4, '^(66000|132000|275000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b2d49c4, '^(66000|132000|275000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Brunei"
+                # throwError:tr("Invalid voltage value for this country (Brunei)")
+                # suggestAlternative:"66000/132000/275000"
+                err.append({'class': 56, 'subclass': 441417061, 'text': mapcss.tr('Invalid voltage value for this country (Brunei)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|35000|110000|220000|400000)$/][inside("BG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|35000|110000|220000|400000)$/][inside("BG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6d4931b2, '^(20000|22000|25000|35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6d4931b2, '^(20000|22000|25000|35000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Bulgaria"
+                # throwError:tr("Invalid voltage value for this country (Bulgaria)")
+                # suggestAlternative:"20000/22000/25000/35000/110000/220000/400000"
+                err.append({'class': 57, 'subclass': 573228860, 'text': mapcss.tr('Invalid voltage value for this country (Bulgaria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|132000|225000)$/][inside("BF")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(90000|132000|225000)$/][inside("BF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34230a2b, '^(90000|132000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BF')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34230a2b, '^(90000|132000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Burkina_Faso"
+                # throwError:tr("Invalid voltage value for this country (Burkina Faso)")
+                # suggestAlternative:"90000/132000/225000"
+                err.append({'class': 58, 'subclass': 1070461392, 'text': mapcss.tr('Invalid voltage value for this country (Burkina Faso)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("BI")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("BI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Burundi"
+                # throwError:tr("Invalid voltage value for this country (Burundi)")
+                # suggestAlternative:"70000/110000/220000"
+                err.append({'class': 59, 'subclass': 100426986, 'text': mapcss.tr('Invalid voltage value for this country (Burundi)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("KH")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("KH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cambodia"
+                # throwError:tr("Invalid voltage value for this country (Cambodia)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 60, 'subclass': 335416431, 'text': mapcss.tr('Invalid voltage value for this country (Cambodia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|90000|110000|220000|225000)$/][inside("CM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(30000|90000|110000|220000|225000)$/][inside("CM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae4d0fa, '^(30000|90000|110000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae4d0fa, '^(30000|90000|110000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cameroon"
+                # throwError:tr("Invalid voltage value for this country (Cameroon)")
+                # suggestAlternative:"30000/90000/110000/220000/225000"
+                err.append({'class': 61, 'subclass': 218653159, 'text': mapcss.tr('Invalid voltage value for this country (Cameroon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$/][inside("CA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$/][inside("CA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f6e14a, '^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f6e14a, '^(11500|12000|12470|12500|13000|13200|13800|14000|14400|16000|17500|23000|24940|25000|26400|27600|28000|34000|34500|35000|42000|44000|46000|49000|60000|63000|66000|69000|72000|110000|115000|120000|132000|138000|144000|150000|161000|200000|220000|230000|240000|260000|280000|287000|315000|345000|350000|360000|450000|500000|735000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Canada"
+                # throwError:tr("Invalid voltage value for this country (Canada)")
+                # suggestAlternative:"11500/12000/12470/12500/13000/13200/13800/14000/14400/16000/17500/23000/24940/25000/26400/27600/28000/34000/34500/35000/42000/44000/46000/49000/60000/63000/66000/69000/72000/110000/115000/120000/132000/138000/144000/150000/161000/200000/220000/230000/240000/260000/280000/287000/315000/345000/350000/360000/450000/500000/735000/765000"
+                err.append({'class': 62, 'subclass': 245330943, 'text': mapcss.tr('Invalid voltage value for this country (Canada)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|60000)$/][inside("CV")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|60000)$/][inside("CV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1e0c1227, '^(20000|60000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1e0c1227, '^(20000|60000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cape_Verde"
+                # throwError:tr("Invalid voltage value for this country (Cape Verde)")
+                # suggestAlternative:"20000/60000"
+                err.append({'class': 63, 'subclass': 586982879, 'text': mapcss.tr('Invalid voltage value for this country (Cape Verde)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000)$/][inside("CF")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000)$/][inside("CF")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_753efcad, '^(110000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CF')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_753efcad, '^(110000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CF')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Central_African_Republic"
+                # throwError:tr("Invalid voltage value for this country (Central African Republic)")
+                # suggestAlternative:"110000"
+                err.append({'class': 64, 'subclass': 1674238063, 'text': mapcss.tr('Invalid voltage value for this country (Central African Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|66000|90000)$/][inside("TD")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|66000|90000)$/][inside("TD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_713f7fd5, '^(20000|66000|90000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_713f7fd5, '^(20000|66000|90000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Chad"
+                # throwError:tr("Invalid voltage value for this country (Chad)")
+                # suggestAlternative:"20000/66000/90000"
+                err.append({'class': 65, 'subclass': 763362394, 'text': mapcss.tr('Invalid voltage value for this country (Chad)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$/][inside("CL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$/][inside("CL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_66509c6a, '^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_66509c6a, '^(13800|15000|23000|33000|34500|66000|69000|100000|110000|154000|220000|345000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Chile"
+                # throwError:tr("Invalid voltage value for this country (Chile)")
+                # suggestAlternative:"13800/15000/23000/33000/34500/66000/69000/100000/110000/154000/220000/345000/500000"
+                err.append({'class': 66, 'subclass': 532916660, 'text': mapcss.tr('Invalid voltage value for this country (Chile)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$/][inside("CO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$/][inside("CO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0999cd78, '^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0999cd78, '^(15000|25000|34500|66000|110000|115000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Colombia"
+                # throwError:tr("Invalid voltage value for this country (Colombia)")
+                # suggestAlternative:"15000/25000/34500/66000/110000/115000/138000/220000/230000/500000"
+                err.append({'class': 67, 'subclass': 1839840410, 'text': mapcss.tr('Invalid voltage value for this country (Colombia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(138000|230000)$/][inside("CR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(138000|230000)$/][inside("CR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5f0cae6b, '^(138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5f0cae6b, '^(138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Costa_Rica"
+                # throwError:tr("Invalid voltage value for this country (Costa Rica)")
+                # suggestAlternative:"138000/230000"
+                err.append({'class': 68, 'subclass': 754734875, 'text': mapcss.tr('Invalid voltage value for this country (Costa Rica)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|35000|110000|220000|400000|500000)$/][inside("HR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|25000|35000|110000|220000|400000|500000)$/][inside("HR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_33f4b70a, '^(20000|25000|35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_33f4b70a, '^(20000|25000|35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Croatia"
+                # throwError:tr("Invalid voltage value for this country (Croatia)")
+                # suggestAlternative:"20000/25000/35000/110000/220000/400000/500000"
+                err.append({'class': 69, 'subclass': 397296757, 'text': mapcss.tr('Invalid voltage value for this country (Croatia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|110000|220000)$/][inside("CU")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|110000|220000)$/][inside("CU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_71a6f4de, '^(11000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_71a6f4de, '^(11000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cuba"
+                # throwError:tr("Invalid voltage value for this country (Cuba)")
+                # suggestAlternative:"11000/110000/220000"
+                err.append({'class': 70, 'subclass': 1181623055, 'text': mapcss.tr('Invalid voltage value for this country (Cuba)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("CY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("CY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Cyprus"
+                # throwError:tr("Invalid voltage value for this country (Cyprus)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 71, 'subclass': 1293399858, 'text': mapcss.tr('Invalid voltage value for this country (Cyprus)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|33000|35000|110000|220000|380000|400000)$/][inside("CZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22000|33000|35000|110000|220000|380000|400000)$/][inside("CZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59f73886, '^(22000|33000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59f73886, '^(22000|33000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Czech_Republic"
+                # throwError:tr("Invalid voltage value for this country (Czech Republic)")
+                # suggestAlternative:"22000/33000/35000/110000/220000/380000/400000"
+                err.append({'class': 72, 'subclass': 169103204, 'text': mapcss.tr('Invalid voltage value for this country (Czech Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$/][inside("CD")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$/][inside("CD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f1f164, '^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_39f1f164, '^(11000|30000|33000|50000|70000|110000|120000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Democratic_Republic_of_the_Congo"
+                # throwError:tr("Invalid voltage value for this country (Democratic Republic of the Congo)")
+                # suggestAlternative:"11000/30000/33000/50000/70000/110000/120000/132000/220000/400000/500000"
+                err.append({'class': 73, 'subclass': 1896719814, 'text': mapcss.tr('Invalid voltage value for this country (Democratic Republic of the Congo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|230000)$/][inside("DJ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(63000|230000)$/][inside("DJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73467271, '^(63000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73467271, '^(63000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Djibouti"
+                # throwError:tr("Invalid voltage value for this country (Djibouti)")
+                # suggestAlternative:"63000/230000"
+                err.append({'class': 74, 'subclass': 154397822, 'text': mapcss.tr('Invalid voltage value for this country (Djibouti)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000|345000)$/][inside("DO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000|345000)$/][inside("DO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a215554, '^(69000|138000|230000|345000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a215554, '^(69000|138000|230000|345000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Dominican_Republic"
+                # throwError:tr("Invalid voltage value for this country (Dominican Republic)")
+                # suggestAlternative:"69000/138000/230000/345000"
+                err.append({'class': 75, 'subclass': 229107659, 'text': mapcss.tr('Invalid voltage value for this country (Dominican Republic)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$/][inside("EC")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$/][inside("EC")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4a39b920, '^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EC')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4a39b920, '^(11000|22000|23000|34500|46000|48000|69000|138000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EC')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ecuador"
+                # throwError:tr("Invalid voltage value for this country (Ecuador)")
+                # suggestAlternative:"11000/22000/23000/34500/46000/48000/69000/138000/230000/500000"
+                err.append({'class': 76, 'subclass': 1517687933, 'text': mapcss.tr('Invalid voltage value for this country (Ecuador)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000|500000)$/][inside("EG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000|400000|500000)$/][inside("EG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1c0df27c, '^(66000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1c0df27c, '^(66000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Egypt"
+                # throwError:tr("Invalid voltage value for this country (Egypt)")
+                # suggestAlternative:"66000/132000/220000/400000/500000"
+                err.append({'class': 77, 'subclass': 249862726, 'text': mapcss.tr('Invalid voltage value for this country (Egypt)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("SV")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("SV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/El_Salvador"
+                # throwError:tr("Invalid voltage value for this country (El Salvador)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 78, 'subclass': 1909980641, 'text': mapcss.tr('Invalid voltage value for this country (El Salvador)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("GQ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("GQ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GQ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GQ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Equatorial_Guinea"
+                # throwError:tr("Invalid voltage value for this country (Equatorial Guinea)")
+                # suggestAlternative:"110000/220000"
+                err.append({'class': 79, 'subclass': 866543529, 'text': mapcss.tr('Invalid voltage value for this country (Equatorial Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("ER")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("ER")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ER')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ER')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Eritrea"
+                # throwError:tr("Invalid voltage value for this country (Eritrea)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 80, 'subclass': 1572704003, 'text': mapcss.tr('Invalid voltage value for this country (Eritrea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|24000|35000|110000|150000|330000|450000)$/][inside("EE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|20000|24000|35000|110000|150000|330000|450000)$/][inside("EE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_375460ae, '^(15000|20000|24000|35000|110000|150000|330000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_375460ae, '^(15000|20000|24000|35000|110000|150000|330000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'EE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Estonia"
+                # throwError:tr("Invalid voltage value for this country (Estonia)")
+                # suggestAlternative:"15000/20000/24000/35000/110000/150000/330000/450000"
+                err.append({'class': 81, 'subclass': 712022399, 'text': mapcss.tr('Invalid voltage value for this country (Estonia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|400000)$/][inside("SZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|400000)$/][inside("SZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c6c0f8c, '^(66000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4c6c0f8c, '^(66000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Eswatini"
+                # throwError:tr("Invalid voltage value for this country (Eswatini)")
+                # suggestAlternative:"66000/132000/400000"
+                err.append({'class': 82, 'subclass': 236012636, 'text': mapcss.tr('Invalid voltage value for this country (Eswatini)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(25000|45000|66000|132000|220000|230000|400000|500000)$/][inside("ET")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(25000|45000|66000|132000|220000|230000|400000|500000)$/][inside("ET")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ccf0b67, '^(25000|45000|66000|132000|220000|230000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ET')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ccf0b67, '^(25000|45000|66000|132000|220000|230000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ET')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ethiopia"
+                # throwError:tr("Invalid voltage value for this country (Ethiopia)")
+                # suggestAlternative:"25000/45000/66000/132000/220000/230000/400000/500000"
+                err.append({'class': 83, 'subclass': 655974385, 'text': mapcss.tr('Invalid voltage value for this country (Ethiopia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800)$/][inside("FM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13800)$/][inside("FM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f7e025c, '^(13800)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f7e025c, '^(13800)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Federated_States_of_Micronesia"
+                # throwError:tr("Invalid voltage value for this country (Federated States of Micronesia)")
+                # suggestAlternative:"13800"
+                err.append({'class': 84, 'subclass': 327713653, 'text': mapcss.tr('Invalid voltage value for this country (Federated States of Micronesia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|110000|132000)$/][inside("FJ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|110000|132000)$/][inside("FJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69eb6042, '^(11000|33000|110000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69eb6042, '^(11000|33000|110000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Fiji"
+                # throwError:tr("Invalid voltage value for this country (Fiji)")
+                # suggestAlternative:"11000/33000/110000/132000"
+                err.append({'class': 85, 'subclass': 1029079535, 'text': mapcss.tr('Invalid voltage value for this country (Fiji)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$/][inside("FI")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$/][inside("FI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_68c12a97, '^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_68c12a97, '^(20000|22000|25000|45000|80000|100000|110000|150000|220000|400000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Finland"
+                # throwError:tr("Invalid voltage value for this country (Finland)")
+                # suggestAlternative:"20000/22000/25000/45000/80000/100000/110000/150000/220000/400000/450000/500000"
+                err.append({'class': 86, 'subclass': 2077286989, 'text': mapcss.tr('Invalid voltage value for this country (Finland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$/][inside("FR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$/][inside("FR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_48a46ecb, '^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_48a46ecb, '^(10300|10500|13000|15000|15500|16000|17000|17200|17500|20000|25000|30000|33000|42000|45000|50000|52000|63000|66000|90000|110000|150000|200000|220000|225000|270000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'FR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/France"
+                # throwError:tr("Invalid voltage value for this country (France)")
+                # suggestAlternative:"10300/10500/13000/15000/15500/16000/17000/17200/17500/20000/25000/30000/33000/42000/45000/50000/52000/63000/66000/90000/110000/150000/200000/220000/225000/270000/320000/380000/400000/500000"
+                err.append({'class': 87, 'subclass': 1699859778, 'text': mapcss.tr('Invalid voltage value for this country (France)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|90000|115000|225000)$/][inside("GA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(63000|90000|115000|225000)$/][inside("GA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e6454d8, '^(63000|90000|115000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e6454d8, '^(63000|90000|115000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Gabon"
+                # throwError:tr("Invalid voltage value for this country (Gabon)")
+                # suggestAlternative:"63000/90000/115000/225000"
+                err.append({'class': 88, 'subclass': 1880048328, 'text': mapcss.tr('Invalid voltage value for this country (Gabon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$/][inside("GE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$/][inside("GE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_03e3112c, '^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_03e3112c, '^(35000|110000|154000|220000|330000|350000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Georgia"
+                # throwError:tr("Invalid voltage value for this country (Georgia)")
+                # suggestAlternative:"35000/110000/154000/220000/330000/350000/380000/400000/500000"
+                err.append({'class': 89, 'subclass': 553346185, 'text': mapcss.tr('Invalid voltage value for this country (Georgia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$/][inside("DE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$/][inside("DE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_28f9c3db, '^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_28f9c3db, '^(10500|11000|15000|16000|20000|21000|22000|25000|27000|30000|33000|35000|50000|55000|60000|63000|65000|110000|132000|150000|155000|200000|220000|225000|250000|300000|320000|362000|380000|400000|450000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Germany"
+                # throwError:tr("Invalid voltage value for this country (Germany)")
+                # suggestAlternative:"10500/11000/15000/16000/20000/21000/22000/25000/27000/30000/33000/35000/50000/55000/60000/63000/65000/110000/132000/150000/155000/200000/220000/225000/250000/300000/320000/362000/380000/400000/450000/525000/600000"
+                err.append({'class': 90, 'subclass': 327437283, 'text': mapcss.tr('Invalid voltage value for this country (Germany)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|161000|225000|330000)$/][inside("GH")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|161000|225000|330000)$/][inside("GH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_351dc689, '^(11000|161000|225000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_351dc689, '^(11000|161000|225000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ghana"
+                # throwError:tr("Invalid voltage value for this country (Ghana)")
+                # suggestAlternative:"11000/161000/225000/330000"
+                err.append({'class': 91, 'subclass': 906657852, 'text': mapcss.tr('Invalid voltage value for this country (Ghana)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|22000|66000|150000|400000|500000)$/][inside("GR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|20000|22000|66000|150000|400000|500000)$/][inside("GR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73a2a316, '^(15000|20000|22000|66000|150000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_73a2a316, '^(15000|20000|22000|66000|150000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Greece"
+                # throwError:tr("Invalid voltage value for this country (Greece)")
+                # suggestAlternative:"15000/20000/22000/66000/150000/400000/500000"
+                err.append({'class': 92, 'subclass': 1127847993, 'text': mapcss.tr('Invalid voltage value for this country (Greece)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|115000|132000|138000|230000|400000)$/][inside("GT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|115000|132000|138000|230000|400000)$/][inside("GT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_53561357, '^(69000|115000|132000|138000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_53561357, '^(69000|115000|132000|138000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guatemala"
+                # throwError:tr("Invalid voltage value for this country (Guatemala)")
+                # suggestAlternative:"69000/115000/132000/138000/230000/400000"
+                err.append({'class': 93, 'subclass': 646430031, 'text': mapcss.tr('Invalid voltage value for this country (Guatemala)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|110000|225000)$/][inside("GN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(30000|110000|225000)$/][inside("GN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_445dce10, '^(30000|110000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_445dce10, '^(30000|110000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guinea"
+                # throwError:tr("Invalid voltage value for this country (Guinea)")
+                # suggestAlternative:"30000/110000/225000"
+                err.append({'class': 94, 'subclass': 408095816, 'text': mapcss.tr('Invalid voltage value for this country (Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Guinea-Bissau"
+                # throwError:tr("Invalid voltage value for this country (Guinea-Bissau)")
+                # suggestAlternative:"225000"
+                err.append({'class': 95, 'subclass': 1397199785, 'text': mapcss.tr('Invalid voltage value for this country (Guinea-Bissau)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|115000)$/][inside("HT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|115000)$/][inside("HT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_528c9009, '^(69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_528c9009, '^(69000|115000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Haiti"
+                # throwError:tr("Invalid voltage value for this country (Haiti)")
+                # suggestAlternative:"69000/115000"
+                err.append({'class': 96, 'subclass': 1768710173, 'text': mapcss.tr('Invalid voltage value for this country (Haiti)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("HN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("HN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Honduras"
+                # throwError:tr("Invalid voltage value for this country (Honduras)")
+                # suggestAlternative:"69000/138000/230000"
+                err.append({'class': 97, 'subclass': 2104804978, 'text': mapcss.tr('Invalid voltage value for this country (Honduras)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$/][inside("HU")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$/][inside("HU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_643751fc, '^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_643751fc, '^(11000|18000|20000|22000|25000|35000|110000|132000|220000|400000|750000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'HU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Hungary"
+                # throwError:tr("Invalid voltage value for this country (Hungary)")
+                # suggestAlternative:"11000/18000/20000/22000/25000/35000/110000/132000/220000/400000/750000"
+                err.append({'class': 98, 'subclass': 939148892, 'text': mapcss.tr('Invalid voltage value for this country (Hungary)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("IS")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("IS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iceland"
+                # throwError:tr("Invalid voltage value for this country (Iceland)")
+                # suggestAlternative:"66000/132000/220000"
+                err.append({'class': 99, 'subclass': 1080491309, 'text': mapcss.tr('Invalid voltage value for this country (Iceland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$/][inside("IN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$/][inside("IN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1810335f, '^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1810335f, '^(11000|13200|22000|25000|31000|33000|66000|100000|110000|132000|200000|220000|220001|230000|320000|400000|500000|660000|765000|800000|1200000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/India"
+                # throwError:tr("Invalid voltage value for this country (India)")
+                # suggestAlternative:"11000/13200/22000/25000/31000/33000/66000/100000/110000/132000/200000/220000/220001/230000/320000/400000/500000/660000/765000/800000/1200000"
+                err.append({'class': 100, 'subclass': 1410466715, 'text': mapcss.tr('Invalid voltage value for this country (India)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|70000|150000|230000|275000|500000)$/][inside("ID")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|70000|150000|230000|275000|500000)$/][inside("ID")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44f7c665, '^(20000|70000|150000|230000|275000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ID')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44f7c665, '^(20000|70000|150000|230000|275000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ID')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Indonesia"
+                # throwError:tr("Invalid voltage value for this country (Indonesia)")
+                # suggestAlternative:"20000/70000/150000/230000/275000/500000"
+                err.append({'class': 101, 'subclass': 1037442085, 'text': mapcss.tr('Invalid voltage value for this country (Indonesia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$/][inside("IR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$/][inside("IR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15aa6eb6, '^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15aa6eb6, '^(15000|20000|25000|63000|110000|132000|154000|220000|230000|330000|380000|400000|2300000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iran"
+                # throwError:tr("Invalid voltage value for this country (Iran)")
+                # suggestAlternative:"15000/20000/25000/63000/110000/132000/154000/220000/230000/330000/380000/400000/2300000"
+                err.append({'class': 102, 'subclass': 854564059, 'text': mapcss.tr('Invalid voltage value for this country (Iran)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|23000|25000|33000|66000|132000|154000|400000)$/][inside("IQ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|23000|25000|33000|66000|132000|154000|400000)$/][inside("IQ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3007231b, '^(11000|23000|25000|33000|66000|132000|154000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IQ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3007231b, '^(11000|23000|25000|33000|66000|132000|154000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IQ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Iraq"
+                # throwError:tr("Invalid voltage value for this country (Iraq)")
+                # suggestAlternative:"11000/23000/25000/33000/66000/132000/154000/400000"
+                err.append({'class': 103, 'subclass': 424684809, 'text': mapcss.tr('Invalid voltage value for this country (Iraq)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$/][inside("IE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$/][inside("IE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1031dc3f, '^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1031dc3f, '^(10500|19000|20000|22000|33000|38000|110000|200000|220000|275000|320000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ireland"
+                # throwError:tr("Invalid voltage value for this country (Ireland)")
+                # suggestAlternative:"10500/19000/20000/22000/33000/38000/110000/200000/220000/275000/320000/380000/400000"
+                err.append({'class': 104, 'subclass': 226797239, 'text': mapcss.tr('Invalid voltage value for this country (Ireland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|161000|400000)$/][inside("IL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(115000|161000|400000)$/][inside("IL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15d3b209, '^(115000|161000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_15d3b209, '^(115000|161000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Israel"
+                # throwError:tr("Invalid voltage value for this country (Israel)")
+                # suggestAlternative:"115000/161000/400000"
+                err.append({'class': 105, 'subclass': 1664313610, 'text': mapcss.tr('Invalid voltage value for this country (Israel)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$/][inside("IT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$/][inside("IT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3aa87d11, '^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3aa87d11, '^(15000|20000|25000|30000|45000|50000|55000|60000|63000|66000|68000|70000|110000|120000|130000|132000|135000|137000|138000|150000|200000|220000|225000|320000|380000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'IT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Italy"
+                # throwError:tr("Invalid voltage value for this country (Italy)")
+                # suggestAlternative:"15000/20000/25000/30000/45000/50000/55000/60000/63000/66000/68000/70000/110000/120000/130000/132000/135000/137000/138000/150000/200000/220000/225000/320000/380000/400000/500000"
+                err.append({'class': 106, 'subclass': 107649039, 'text': mapcss.tr('Invalid voltage value for this country (Italy)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|90000|225000|400000)$/][inside("CI")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|90000|225000|400000)$/][inside("CI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_455fa519, '^(15000|90000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_455fa519, '^(15000|90000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ivory_Coast"
+                # throwError:tr("Invalid voltage value for this country (Ivory Coast)")
+                # suggestAlternative:"15000/90000/225000/400000"
+                err.append({'class': 107, 'subclass': 1835089670, 'text': mapcss.tr('Invalid voltage value for this country (Ivory Coast)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000)$/][inside("JM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|138000)$/][inside("JM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44d511b4, '^(69000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_44d511b4, '^(69000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Jamaica"
+                # throwError:tr("Invalid voltage value for this country (Jamaica)")
+                # suggestAlternative:"69000/138000"
+                err.append({'class': 108, 'subclass': 905995494, 'text': mapcss.tr('Invalid voltage value for this country (Jamaica)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$/][inside("JP")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$/][inside("JP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3907ef06, '^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JP')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3907ef06, '^(11000|15400|20000|22000|25000|30000|33000|44000|60000|66000|77000|100000|110000|132000|154000|187000|200000|220000|250000|275000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Japan"
+                # throwError:tr("Invalid voltage value for this country (Japan)")
+                # suggestAlternative:"11000/15400/20000/22000/25000/30000/33000/44000/60000/66000/77000/100000/110000/132000/154000/187000/200000/220000/250000/275000/500000/660000"
+                err.append({'class': 109, 'subclass': 1893401177, 'text': mapcss.tr('Invalid voltage value for this country (Japan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("JO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("JO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'JO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Jordan"
+                # throwError:tr("Invalid voltage value for this country (Jordan)")
+                # suggestAlternative:"132000/400000"
+                err.append({'class': 110, 'subclass': 1115683468, 'text': mapcss.tr('Invalid voltage value for this country (Jordan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|35000|110000|220000|500000)$/][inside("KZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22000|35000|110000|220000|500000)$/][inside("KZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0c11f7a6, '^(22000|35000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0c11f7a6, '^(22000|35000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kazakhstan"
+                # throwError:tr("Invalid voltage value for this country (Kazakhstan)")
+                # suggestAlternative:"22000/35000/110000/220000/500000"
+                err.append({'class': 111, 'subclass': 920704827, 'text': mapcss.tr('Invalid voltage value for this country (Kazakhstan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|132000|220000|400000|500000)$/][inside("KE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|15000|132000|220000|400000|500000)$/][inside("KE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_13fd4c40, '^(11000|15000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_13fd4c40, '^(11000|15000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kenya"
+                # throwError:tr("Invalid voltage value for this country (Kenya)")
+                # suggestAlternative:"11000/15000/132000/220000/400000/500000"
+                err.append({'class': 112, 'subclass': 147319352, 'text': mapcss.tr('Invalid voltage value for this country (Kenya)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(50000|60000|132000|150000|220000|400000)$/][inside("DK")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(50000|60000|132000|150000|220000|400000)$/][inside("DK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40d39fce, '^(50000|60000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40d39fce, '^(50000|60000|132000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'DK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Denmark"
+                # throwError:tr("Invalid voltage value for this country (Kingdom of Denmark)")
+                # suggestAlternative:"50000/60000/132000/150000/220000/400000"
+                err.append({'class': 113, 'subclass': 1570688250, 'text': mapcss.tr('Invalid voltage value for this country (Kingdom of Denmark)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$/][inside("NL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$/][inside("NL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1b67d214, '^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1b67d214, '^(13000|20000|22000|23000|24000|25000|30000|33000|34000|50000|66000|110000|150000|220000|320000|380000|450000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Netherlands"
+                # throwError:tr("Invalid voltage value for this country (Kingdom of the Netherlands)")
+                # suggestAlternative:"13000/20000/22000/23000/24000/25000/30000/33000/34000/50000/66000/110000/150000/220000/320000/380000/450000/600000"
+                err.append({'class': 114, 'subclass': 720799047, 'text': mapcss.tr('Invalid voltage value for this country (Kingdom of the Netherlands)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|275000|400000)$/][inside("KW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|275000|400000)$/][inside("KW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_601cbfba, '^(33000|66000|132000|275000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_601cbfba, '^(33000|66000|132000|275000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kuwait"
+                # throwError:tr("Invalid voltage value for this country (Kuwait)")
+                # suggestAlternative:"33000/66000/132000/275000/400000"
+                err.append({'class': 115, 'subclass': 2111286150, 'text': mapcss.tr('Invalid voltage value for this country (Kuwait)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10000|110000|220000|500000)$/][inside("KG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10000|110000|220000|500000)$/][inside("KG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6aae528c, '^(10000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6aae528c, '^(10000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Kyrgyzstan"
+                # throwError:tr("Invalid voltage value for this country (Kyrgyzstan)")
+                # suggestAlternative:"10000/110000/220000/500000"
+                err.append({'class': 116, 'subclass': 1713439182, 'text': mapcss.tr('Invalid voltage value for this country (Kyrgyzstan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|115000|220000|230000|500000)$/][inside("LA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|115000|220000|230000|500000)$/][inside("LA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ecf8ac, '^(110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ecf8ac, '^(110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Laos"
+                # throwError:tr("Invalid voltage value for this country (Laos)")
+                # suggestAlternative:"110000/115000/220000/230000/500000"
+                err.append({'class': 117, 'subclass': 674452230, 'text': mapcss.tr('Invalid voltage value for this country (Laos)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|110000|330000)$/][inside("LV")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|110000|330000)$/][inside("LV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bb1cd2e, '^(20000|110000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bb1cd2e, '^(20000|110000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Latvia"
+                # throwError:tr("Invalid voltage value for this country (Latvia)")
+                # suggestAlternative:"20000/110000/330000"
+                err.append({'class': 118, 'subclass': 1112400592, 'text': mapcss.tr('Invalid voltage value for this country (Latvia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|150000|220000|400000)$/][inside("LB")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|66000|150000|220000|400000)$/][inside("LB")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_043624d0, '^(33000|66000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LB')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_043624d0, '^(33000|66000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LB')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lebanon"
+                # throwError:tr("Invalid voltage value for this country (Lebanon)")
+                # suggestAlternative:"33000/66000/150000/220000/400000"
+                err.append({'class': 119, 'subclass': 838330814, 'text': mapcss.tr('Invalid voltage value for this country (Lebanon)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|132000)$/][inside("LS")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|132000)$/][inside("LS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7d50c8e9, '^(33000|66000|88000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7d50c8e9, '^(33000|66000|88000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lesotho"
+                # throwError:tr("Invalid voltage value for this country (Lesotho)")
+                # suggestAlternative:"33000/66000/88000/132000"
+                err.append({'class': 120, 'subclass': 509691142, 'text': mapcss.tr('Invalid voltage value for this country (Lesotho)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|225000)$/][inside("LR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|225000)$/][inside("LR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7581d073, '^(66000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7581d073, '^(66000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Liberia"
+                # throwError:tr("Invalid voltage value for this country (Liberia)")
+                # suggestAlternative:"66000/225000"
+                err.append({'class': 121, 'subclass': 2133094653, 'text': mapcss.tr('Invalid voltage value for this country (Liberia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$/][inside("LY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$/][inside("LY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0f195ae1, '^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0f195ae1, '^(22500|25000|30000|66000|69000|132000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Libya"
+                # throwError:tr("Invalid voltage value for this country (Libya)")
+                # suggestAlternative:"22500/25000/30000/66000/69000/132000/220000/400000/500000"
+                err.append({'class': 122, 'subclass': 1166847360, 'text': mapcss.tr('Invalid voltage value for this country (Libya)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("LI")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("LI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Liechtenstein"
+                # throwError:tr("Invalid voltage value for this country (Liechtenstein)")
+                # suggestAlternative:"220000"
+                err.append({'class': 123, 'subclass': 884687161, 'text': mapcss.tr('Invalid voltage value for this country (Liechtenstein)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|300000|330000|400000)$/][inside("LT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|300000|330000|400000)$/][inside("LT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_122154ab, '^(15000|35000|110000|300000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_122154ab, '^(15000|35000|110000|300000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Lithuania"
+                # throwError:tr("Invalid voltage value for this country (Lithuania)")
+                # suggestAlternative:"15000/35000/110000/300000/330000/400000"
+                err.append({'class': 124, 'subclass': 1106748526, 'text': mapcss.tr('Invalid voltage value for this country (Lithuania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|65000|150000|220000|225000)$/][inside("LU")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(63000|65000|150000|220000|225000)$/][inside("LU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24462be0, '^(63000|65000|150000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24462be0, '^(63000|65000|150000|220000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Luxembourg"
+                # throwError:tr("Invalid voltage value for this country (Luxembourg)")
+                # suggestAlternative:"63000/65000/150000/220000/225000"
+                err.append({'class': 125, 'subclass': 1503286025, 'text': mapcss.tr('Invalid voltage value for this country (Luxembourg)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|138000)$/][inside("MG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(63000|138000)$/][inside("MG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17045a03, '^(63000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17045a03, '^(63000|138000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Madagascar"
+                # throwError:tr("Invalid voltage value for this country (Madagascar)")
+                # suggestAlternative:"63000/138000"
+                err.append({'class': 126, 'subclass': 1465941615, 'text': mapcss.tr('Invalid voltage value for this country (Madagascar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|400000)$/][inside("MW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|400000)$/][inside("MW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bd2d0e5, '^(11000|33000|66000|110000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2bd2d0e5, '^(11000|33000|66000|110000|132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malawi"
+                # throwError:tr("Invalid voltage value for this country (Malawi)")
+                # suggestAlternative:"11000/33000/66000/110000/132000/400000"
+                err.append({'class': 127, 'subclass': 1585068181, 'text': mapcss.tr('Invalid voltage value for this country (Malawi)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|275000|300000|500000)$/][inside("MY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|275000|300000|500000)$/][inside("MY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a91a01, '^(11000|33000|66000|132000|275000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_20a91a01, '^(11000|33000|66000|132000|275000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malaysia"
+                # throwError:tr("Invalid voltage value for this country (Malaysia)")
+                # suggestAlternative:"11000/33000/66000/132000/275000/300000/500000"
+                err.append({'class': 128, 'subclass': 1395246503, 'text': mapcss.tr('Invalid voltage value for this country (Malaysia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("MV")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("MV")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MV')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MV')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Maldives"
+                # throwError:tr("Invalid voltage value for this country (Maldives)")
+                # suggestAlternative:"132000"
+                err.append({'class': 129, 'subclass': 404911113, 'text': mapcss.tr('Invalid voltage value for this country (Maldives)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(63000|150000|225000)$/][inside("ML")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(63000|150000|225000)$/][inside("ML")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2fe82f3c, '^(63000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ML')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2fe82f3c, '^(63000|150000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ML')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mali"
+                # throwError:tr("Invalid voltage value for this country (Mali)")
+                # suggestAlternative:"63000/150000/225000"
+                err.append({'class': 130, 'subclass': 1284527120, 'text': mapcss.tr('Invalid voltage value for this country (Mali)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("MT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("MT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Malta"
+                # throwError:tr("Invalid voltage value for this country (Malta)")
+                # suggestAlternative:"11000/33000/132000/220000"
+                err.append({'class': 131, 'subclass': 2103484090, 'text': mapcss.tr('Invalid voltage value for this country (Malta)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("MR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("MR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mauritania"
+                # throwError:tr("Invalid voltage value for this country (Mauritania)")
+                # suggestAlternative:"90000/225000"
+                err.append({'class': 132, 'subclass': 301098384, 'text': mapcss.tr('Invalid voltage value for this country (Mauritania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000)$/][inside("MU")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000)$/][inside("MU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1639cf1a, '^(66000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1639cf1a, '^(66000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mauritius"
+                # throwError:tr("Invalid voltage value for this country (Mauritius)")
+                # suggestAlternative:"66000"
+                err.append({'class': 133, 'subclass': 1292093329, 'text': mapcss.tr('Invalid voltage value for this country (Mauritius)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$/][inside("MX")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$/][inside("MX")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3f88f86c, '^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MX')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3f88f86c, '^(13800|15000|25000|34500|65000|69000|85000|113000|115000|138000|161000|230000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MX')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mexico"
+                # throwError:tr("Invalid voltage value for this country (Mexico)")
+                # suggestAlternative:"13800/15000/25000/34500/65000/69000/85000/113000/115000/138000/161000/230000/400000"
+                err.append({'class': 134, 'subclass': 890779687, 'text': mapcss.tr('Invalid voltage value for this country (Mexico)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|35000|110000|330000|400000)$/][inside("MD")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|35000|110000|330000|400000)$/][inside("MD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b02dceb, '^(33000|35000|110000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3b02dceb, '^(33000|35000|110000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Moldova"
+                # throwError:tr("Invalid voltage value for this country (Moldova)")
+                # suggestAlternative:"33000/35000/110000/330000/400000"
+                err.append({'class': 135, 'subclass': 831191348, 'text': mapcss.tr('Invalid voltage value for this country (Moldova)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22000|35000|110000|220000)$/][inside("MN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|22000|35000|110000|220000)$/][inside("MN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6dafd830, '^(15000|22000|35000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6dafd830, '^(15000|22000|35000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mongolia"
+                # throwError:tr("Invalid voltage value for this country (Mongolia)")
+                # suggestAlternative:"15000/22000/35000/110000/220000"
+                err.append({'class': 136, 'subclass': 1432786597, 'text': mapcss.tr('Invalid voltage value for this country (Mongolia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000|500000)$/][inside("ME")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|110000|220000|400000|500000)$/][inside("ME")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4343e75a, '^(35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ME')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4343e75a, '^(35000|110000|220000|400000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ME')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Montenegro"
+                # throwError:tr("Invalid voltage value for this country (Montenegro)")
+                # suggestAlternative:"35000/110000/220000/400000/500000"
+                err.append({'class': 137, 'subclass': 800309675, 'text': mapcss.tr('Invalid voltage value for this country (Montenegro)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$/][inside("MA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$/][inside("MA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f6339dc, '^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2f6339dc, '^(20000|22000|22500|30000|33000|60000|110000|132000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Morocco"
+                # throwError:tr("Invalid voltage value for this country (Morocco)")
+                # suggestAlternative:"20000/22000/22500/30000/33000/60000/110000/132000/150000/220000/225000/400000"
+                err.append({'class': 138, 'subclass': 204417551, 'text': mapcss.tr('Invalid voltage value for this country (Morocco)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|110000|132000|220000|275000|330000|400000|533000)$/][inside("MZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|110000|132000|220000|275000|330000|400000|533000)$/][inside("MZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_263b6b3e, '^(66000|110000|132000|220000|275000|330000|400000|533000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_263b6b3e, '^(66000|110000|132000|220000|275000|330000|400000|533000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Mozambique"
+                # throwError:tr("Invalid voltage value for this country (Mozambique)")
+                # suggestAlternative:"66000/110000/132000/220000/275000/330000/400000/533000"
+                err.append({'class': 139, 'subclass': 2043994725, 'text': mapcss.tr('Invalid voltage value for this country (Mozambique)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|20000|33000|66000|110000|132000|230000|500000)$/][inside("MM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|20000|33000|66000|110000|132000|230000|500000)$/][inside("MM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40006e82, '^(11000|20000|33000|66000|110000|132000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_40006e82, '^(11000|20000|33000|66000|110000|132000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Myanmar"
+                # throwError:tr("Invalid voltage value for this country (Myanmar)")
+                # suggestAlternative:"11000/20000/33000/66000/110000/132000/230000/500000"
+                err.append({'class': 140, 'subclass': 1698874028, 'text': mapcss.tr('Invalid voltage value for this country (Myanmar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$/][inside("NA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$/][inside("NA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_364ced34, '^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_364ced34, '^(11000|19000|22000|33000|66000|132000|220000|330000|350000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Namibia"
+                # throwError:tr("Invalid voltage value for this country (Namibia)")
+                # suggestAlternative:"11000/19000/22000/33000/66000/132000/220000/330000/350000/400000"
+                err.append({'class': 141, 'subclass': 16124263, 'text': mapcss.tr('Invalid voltage value for this country (Namibia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|220000|400000)$/][inside("NP")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|66000|132000|220000|400000)$/][inside("NP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4690e9a7, '^(33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NP')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4690e9a7, '^(33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nepal"
+                # throwError:tr("Invalid voltage value for this country (Nepal)")
+                # suggestAlternative:"33000/66000/132000/220000/400000"
+                err.append({'class': 142, 'subclass': 1755521035, 'text': mapcss.tr('Invalid voltage value for this country (Nepal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(50000|66000|110000|220000)$/][inside("NZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(50000|66000|110000|220000)$/][inside("NZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_50389fcc, '^(50000|66000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_50389fcc, '^(50000|66000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/New_Zealand"
+                # throwError:tr("Invalid voltage value for this country (New Zealand)")
+                # suggestAlternative:"50000/66000/110000/220000"
+                err.append({'class': 143, 'subclass': 1449530890, 'text': mapcss.tr('Invalid voltage value for this country (New Zealand)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("NI")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|138000|230000)$/][inside("NI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_074fdc09, '^(69000|138000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nicaragua"
+                # throwError:tr("Invalid voltage value for this country (Nicaragua)")
+                # suggestAlternative:"69000/138000/230000"
+                err.append({'class': 144, 'subclass': 503597624, 'text': mapcss.tr('Invalid voltage value for this country (Nicaragua)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("NE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000)$/][inside("NE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_69390aec, '^(66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Niger"
+                # throwError:tr("Invalid voltage value for this country (Niger)")
+                # suggestAlternative:"66000/132000"
+                err.append({'class': 145, 'subclass': 1682785163, 'text': mapcss.tr('Invalid voltage value for this country (Niger)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|330000)$/][inside("NG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|330000)$/][inside("NG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2687a5ba, '^(11000|33000|132000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2687a5ba, '^(11000|33000|132000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Nigeria"
+                # throwError:tr("Invalid voltage value for this country (Nigeria)")
+                # suggestAlternative:"11000/33000/132000/330000"
+                err.append({'class': 146, 'subclass': 856307285, 'text': mapcss.tr('Invalid voltage value for this country (Nigeria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|66000|110000|154000|220000)$/][inside("KP")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|66000|110000|154000|220000)$/][inside("KP")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_526934a1, '^(11000|66000|110000|154000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KP')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_526934a1, '^(11000|66000|110000|154000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KP')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/North_Korea"
+                # throwError:tr("Invalid voltage value for this country (North Korea)")
+                # suggestAlternative:"11000/66000/110000/154000/220000"
+                err.append({'class': 147, 'subclass': 738942591, 'text': mapcss.tr('Invalid voltage value for this country (North Korea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000|400000)$/][inside("MK")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|220000|400000)$/][inside("MK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24f5f1cd, '^(110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_24f5f1cd, '^(110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'MK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/North_Macedonia"
+                # throwError:tr("Invalid voltage value for this country (North Macedonia)")
+                # suggestAlternative:"110000/220000/400000"
+                err.append({'class': 148, 'subclass': 1824730880, 'text': mapcss.tr('Invalid voltage value for this country (North Macedonia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$/][inside("NO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$/][inside("NO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2dccca10, '^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2dccca10, '^(11000|12000|13000|15000|16000|17000|20000|22000|24000|25000|33000|45000|47000|50000|55000|60000|66000|80000|90000|100000|110000|132000|150000|220000|250000|300000|350000|400000|420000|450000|500000|515000|525000|825000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'NO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Norway"
+                # throwError:tr("Invalid voltage value for this country (Norway)")
+                # suggestAlternative:"11000/12000/13000/15000/16000/17000/20000/22000/24000/25000/33000/45000/47000/50000/55000/60000/66000/80000/90000/100000/110000/132000/150000/220000/250000/300000/350000/400000/420000/450000/500000/515000/525000/825000"
+                err.append({'class': 149, 'subclass': 481781591, 'text': mapcss.tr('Invalid voltage value for this country (Norway)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|220000|400000)$/][inside("OM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(132000|220000|400000)$/][inside("OM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4e6ba896, '^(132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'OM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4e6ba896, '^(132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'OM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Oman"
+                # throwError:tr("Invalid voltage value for this country (Oman)")
+                # suggestAlternative:"132000/220000/400000"
+                err.append({'class': 150, 'subclass': 1281493370, 'text': mapcss.tr('Invalid voltage value for this country (Oman)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$/][inside("PK")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$/][inside("PK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6e8113e9, '^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6e8113e9, '^(11000|33000|66000|110000|132000|220000|230000|500000|660000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Pakistan"
+                # throwError:tr("Invalid voltage value for this country (Pakistan)")
+                # suggestAlternative:"11000/33000/66000/110000/132000/220000/230000/500000/660000"
+                err.append({'class': 151, 'subclass': 1408221100, 'text': mapcss.tr('Invalid voltage value for this country (Pakistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("PA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(115000|230000)$/][inside("PA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_59057c52, '^(115000|230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Panama"
+                # throwError:tr("Invalid voltage value for this country (Panama)")
+                # suggestAlternative:"115000/230000"
+                err.append({'class': 152, 'subclass': 121889700, 'text': mapcss.tr('Invalid voltage value for this country (Panama)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|66000|132000)$/][inside("PG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|66000|132000)$/][inside("PG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35859f0b, '^(11000|66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35859f0b, '^(11000|66000|132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Papua_New_Guinea"
+                # throwError:tr("Invalid voltage value for this country (Papua New Guinea)")
+                # suggestAlternative:"11000/66000/132000"
+                err.append({'class': 153, 'subclass': 657514557, 'text': mapcss.tr('Invalid voltage value for this country (Papua New Guinea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(12000|34500|66000|69000|132000|138000|220000|500000)$/][inside("PY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(12000|34500|66000|69000|132000|138000|220000|500000)$/][inside("PY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34dfedad, '^(12000|34500|66000|69000|132000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_34dfedad, '^(12000|34500|66000|69000|132000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Paraguay"
+                # throwError:tr("Invalid voltage value for this country (Paraguay)")
+                # suggestAlternative:"12000/34500/66000/69000/132000/138000/220000/500000"
+                err.append({'class': 154, 'subclass': 497106873, 'text': mapcss.tr('Invalid voltage value for this country (Paraguay)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$/][inside("CN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$/][inside("CN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ed1a9a, '^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65ed1a9a, '^(10500|11000|22000|23000|25000|27000|27500|33000|35000|50000|63000|66000|100000|110000|132000|160000|220000|230000|275000|320000|330000|400000|500000|544000|660000|750000|800000|1000000|1100000|1150000|2200001|2200002|22000011)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/China"
+                # throwError:tr("Invalid voltage value for this country (People's Republic of China)")
+                # suggestAlternative:"10500/11000/22000/23000/25000/27000/27500/33000/35000/50000/63000/66000/100000/110000/132000/160000/220000/230000/275000/320000/330000/400000/500000/544000/660000/750000/800000/1000000/1100000/1150000/2200001/2200002/22000011"
+                err.append({'class': 155, 'subclass': 1666959935, 'text': mapcss.tr('Invalid voltage value for this country (People\'s Republic of China)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|33000|60000|66000|138000|220000|230000|500000)$/][inside("PE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(30000|33000|60000|66000|138000|220000|230000|500000)$/][inside("PE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_333c4ef6, '^(30000|33000|60000|66000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_333c4ef6, '^(30000|33000|60000|66000|138000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Peru"
+                # throwError:tr("Invalid voltage value for this country (Peru)")
+                # suggestAlternative:"30000/33000/60000/66000/138000/220000/230000/500000"
+                err.append({'class': 156, 'subclass': 1528723359, 'text': mapcss.tr('Invalid voltage value for this country (Peru)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$/][inside("PH")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$/][inside("PH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_447ac42a, '^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_447ac42a, '^(13200|13800|20000|23000|30000|34500|60000|69000|70000|115000|138000|220000|230000|345000|350000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Philippines"
+                # throwError:tr("Invalid voltage value for this country (Philippines)")
+                # suggestAlternative:"13200/13800/20000/23000/30000/34500/60000/69000/70000/115000/138000/220000/230000/345000/350000/500000"
+                err.append({'class': 157, 'subclass': 1838893571, 'text': mapcss.tr('Invalid voltage value for this country (Philippines)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$/][inside("PL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$/][inside("PL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4148662f, '^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4148662f, '^(11000|15000|20000|21000|22000|25000|27000|30000|100000|110000|200000|220000|400000|450000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Poland"
+                # throwError:tr("Invalid voltage value for this country (Poland)")
+                # suggestAlternative:"11000/15000/20000/21000/22000/25000/27000/30000/100000/110000/200000/220000/400000/450000"
+                err.append({'class': 158, 'subclass': 436630100, 'text': mapcss.tr('Invalid voltage value for this country (Poland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$/][inside("PT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$/][inside("PT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_08bfac39, '^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_08bfac39, '^(11000|15000|18000|20000|25000|30000|50000|60000|130000|150000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Portugal"
+                # throwError:tr("Invalid voltage value for this country (Portugal)")
+                # suggestAlternative:"11000/15000/18000/20000/25000/30000/50000/60000/130000/150000/220000/400000"
+                err.append({'class': 159, 'subclass': 309204733, 'text': mapcss.tr('Invalid voltage value for this country (Portugal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(21000|66000|110000|132000|220000|400000)$/][inside("QA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(21000|66000|110000|132000|220000|400000)$/][inside("QA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_356889db, '^(21000|66000|110000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'QA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_356889db, '^(21000|66000|110000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'QA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Qatar"
+                # throwError:tr("Invalid voltage value for this country (Qatar)")
+                # suggestAlternative:"21000/66000/110000/132000/220000/400000"
+                err.append({'class': 160, 'subclass': 574579891, 'text': mapcss.tr('Invalid voltage value for this country (Qatar)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("CG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|220000)$/][inside("CG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5079f988, '^(110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Republic_of_the_Congo"
+                # throwError:tr("Invalid voltage value for this country (Republic of the Congo)")
+                # suggestAlternative:"110000/220000"
+                err.append({'class': 161, 'subclass': 1791350038, 'text': mapcss.tr('Invalid voltage value for this country (Republic of the Congo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|38000|55000|110000|220000|380000|400000)$/][inside("RO")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|25000|38000|55000|110000|220000|380000|400000)$/][inside("RO")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6be5b2f4, '^(20000|25000|38000|55000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RO')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6be5b2f4, '^(20000|25000|38000|55000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RO')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Romania"
+                # throwError:tr("Invalid voltage value for this country (Romania)")
+                # suggestAlternative:"20000/25000/38000/55000/110000/220000/380000/400000"
+                err.append({'class': 162, 'subclass': 446129295, 'text': mapcss.tr('Invalid voltage value for this country (Romania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$/][inside("RU")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$/][inside("RU")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ff1797a, '^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RU')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ff1797a, '^(10500|15000|16000|20000|30000|35000|60000|66000|100000|110000|138000|150000|154000|220000|330000|350000|400000|500000|750000|800000|1100000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RU')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Russia"
+                # throwError:tr("Invalid voltage value for this country (Russia)")
+                # suggestAlternative:"10500/15000/16000/20000/30000/35000/60000/66000/100000/110000/138000/150000/154000/220000/330000/350000/400000/500000/750000/800000/1100000"
+                err.append({'class': 163, 'subclass': 374517757, 'text': mapcss.tr('Invalid voltage value for this country (Russia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("RW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(70000|110000|220000)$/][inside("RW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2e7e4902, '^(70000|110000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Rwanda"
+                # throwError:tr("Invalid voltage value for this country (Rwanda)")
+                # suggestAlternative:"70000/110000/220000"
+                err.append({'class': 164, 'subclass': 322781269, 'text': mapcss.tr('Invalid voltage value for this country (Rwanda)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("SM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("SM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/San_Marino"
+                # throwError:tr("Invalid voltage value for this country (San Marino)")
+                # suggestAlternative:"132000"
+                err.append({'class': 165, 'subclass': 1274171573, 'text': mapcss.tr('Invalid voltage value for this country (San Marino)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(25000|33000|110000|115000|132000|230000|380000|400000)$/][inside("SA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(25000|33000|110000|115000|132000|230000|380000|400000)$/][inside("SA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_313e83ad, '^(25000|33000|110000|115000|132000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_313e83ad, '^(25000|33000|110000|115000|132000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Saudi_Arabia"
+                # throwError:tr("Invalid voltage value for this country (Saudi Arabia)")
+                # suggestAlternative:"25000/33000/110000/115000/132000/230000/380000/400000"
+                err.append({'class': 166, 'subclass': 1776608943, 'text': mapcss.tr('Invalid voltage value for this country (Saudi Arabia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("SN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(90000|225000)$/][inside("SN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25cd10b5, '^(90000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Senegal"
+                # throwError:tr("Invalid voltage value for this country (Senegal)")
+                # suggestAlternative:"90000/225000"
+                err.append({'class': 167, 'subclass': 1820537098, 'text': mapcss.tr('Invalid voltage value for this country (Senegal)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|30000|35000|110000|220000|380000|400000)$/][inside("RS")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|25000|30000|35000|110000|220000|380000|400000)$/][inside("RS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_494f7be8, '^(20000|25000|30000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_494f7be8, '^(20000|25000|30000|35000|110000|220000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'RS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Serbia"
+                # throwError:tr("Invalid voltage value for this country (Serbia)")
+                # suggestAlternative:"20000/25000/30000/35000/110000/220000/380000/400000"
+                err.append({'class': 168, 'subclass': 437527139, 'text': mapcss.tr('Invalid voltage value for this country (Serbia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|225000)$/][inside("SL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(161000|225000)$/][inside("SL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec31fe0, '^(161000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5ec31fe0, '^(161000|225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sierra_Leone"
+                # throwError:tr("Invalid voltage value for this country (Sierra Leone)")
+                # suggestAlternative:"161000/225000"
+                err.append({'class': 169, 'subclass': 993801338, 'text': mapcss.tr('Invalid voltage value for this country (Sierra Leone)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(230000)$/][inside("SG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(230000)$/][inside("SG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_19e5679c, '^(230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_19e5679c, '^(230000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Singapore"
+                # throwError:tr("Invalid voltage value for this country (Singapore)")
+                # suggestAlternative:"230000"
+                err.append({'class': 170, 'subclass': 2072701816, 'text': mapcss.tr('Invalid voltage value for this country (Singapore)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|110000|220000|400000)$/][inside("SK")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22000|110000|220000|400000)$/][inside("SK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5a39ab8e, '^(22000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5a39ab8e, '^(22000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Slovakia"
+                # throwError:tr("Invalid voltage value for this country (Slovakia)")
+                # suggestAlternative:"22000/110000/220000/400000"
+                err.append({'class': 171, 'subclass': 260630324, 'text': mapcss.tr('Invalid voltage value for this country (Slovakia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|20000|35000|100000|110000|220000|400000)$/][inside("SI")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|20000|35000|100000|110000|220000|400000)$/][inside("SI")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_78f8f400, '^(15000|20000|35000|100000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SI')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_78f8f400, '^(15000|20000|35000|100000|110000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SI')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Slovenia"
+                # throwError:tr("Invalid voltage value for this country (Slovenia)")
+                # suggestAlternative:"15000/20000/35000/100000/110000/220000/400000"
+                err.append({'class': 172, 'subclass': 2090583145, 'text': mapcss.tr('Invalid voltage value for this country (Slovenia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$/][inside("ZA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$/][inside("ZA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35ea191f, '^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_35ea191f, '^(11000|20000|22000|33000|44000|66000|88000|110000|132000|220000|275000|380000|400000|533000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Africa"
+                # throwError:tr("Invalid voltage value for this country (South Africa)")
+                # suggestAlternative:"11000/20000/22000/33000/44000/66000/88000/110000/132000/220000/275000/380000/400000/533000/765000"
+                err.append({'class': 173, 'subclass': 2015942802, 'text': mapcss.tr('Invalid voltage value for this country (South Africa)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$/][inside("KR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$/][inside("KR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_43d80261, '^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_43d80261, '^(15000|22900|145000|150000|154000|180000|250000|345000|354000|380000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'KR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Korea"
+                # throwError:tr("Invalid voltage value for this country (South Korea)")
+                # suggestAlternative:"15000/22900/145000/150000/154000/180000/250000/345000/354000/380000/765000"
+                err.append({'class': 174, 'subclass': 783999454, 'text': mapcss.tr('Invalid voltage value for this country (South Korea)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("SS")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(220000)$/][inside("SS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f949189, '^(220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/South_Sudan"
+                # throwError:tr("Invalid voltage value for this country (South Sudan)")
+                # suggestAlternative:"220000"
+                err.append({'class': 175, 'subclass': 56001471, 'text': mapcss.tr('Invalid voltage value for this country (South Sudan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$/][inside("ES")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$/][inside("ES")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0d635fe6, '^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ES')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0d635fe6, '^(12000|13000|13200|15000|17000|20000|22000|24000|25000|30000|33000|35000|45000|50000|55000|60000|65000|66000|66600|100000|110000|120000|130000|132000|138000|150000|200000|220000|225000|240000|250000|320000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ES')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Spain"
+                # throwError:tr("Invalid voltage value for this country (Spain)")
+                # suggestAlternative:"12000/13000/13200/15000/17000/20000/22000/24000/25000/30000/33000/35000/45000/50000/55000/60000/65000/66000/66600/100000/110000/120000/130000/132000/138000/150000/200000/220000/225000/240000/250000/320000/400000"
+                err.append({'class': 176, 'subclass': 826643044, 'text': mapcss.tr('Invalid voltage value for this country (Spain)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("LK")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|132000|220000)$/][inside("LK")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LK')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_64f34b83, '^(11000|33000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'LK')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sri_Lanka"
+                # throwError:tr("Invalid voltage value for this country (Sri Lanka)")
+                # suggestAlternative:"11000/33000/132000/220000"
+                err.append({'class': 177, 'subclass': 2050045628, 'text': mapcss.tr('Invalid voltage value for this country (Sri Lanka)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("PS")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("PS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'PS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/State_of_Palestine"
+                # throwError:tr("Invalid voltage value for this country (State of Palestine)")
+                # suggestAlternative:"161000"
+                err.append({'class': 178, 'subclass': 53045129, 'text': mapcss.tr('Invalid voltage value for this country (State of Palestine)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|110000|220000|500000)$/][inside("SD")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|110000|220000|500000)$/][inside("SD")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ea677e3, '^(66000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SD')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2ea677e3, '^(66000|110000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SD')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sudan"
+                # throwError:tr("Invalid voltage value for this country (Sudan)")
+                # suggestAlternative:"66000/110000/220000/500000"
+                err.append({'class': 179, 'subclass': 220365438, 'text': mapcss.tr('Invalid voltage value for this country (Sudan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("SR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(161000)$/][inside("SR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2150c255, '^(161000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Suriname"
+                # throwError:tr("Invalid voltage value for this country (Suriname)")
+                # suggestAlternative:"161000"
+                err.append({'class': 180, 'subclass': 1042837606, 'text': mapcss.tr('Invalid voltage value for this country (Suriname)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$/][inside("SE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$/][inside("SE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_168afd57, '^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_168afd57, '^(11000|12000|15000|20000|22000|24000|30000|36000|40000|45000|50000|52000|55000|60000|66000|70000|72500|77000|80000|110000|130000|132000|138000|145000|150000|160000|170000|220000|230000|236000|285000|300000|400000|412000|420000|450000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Sweden"
+                # throwError:tr("Invalid voltage value for this country (Sweden)")
+                # suggestAlternative:"11000/12000/15000/20000/22000/24000/30000/36000/40000/45000/50000/52000/55000/60000/66000/70000/72500/77000/80000/110000/130000/132000/138000/145000/150000/160000/170000/220000/230000/236000/285000/300000/400000/412000/420000/450000/500000"
+                err.append({'class': 181, 'subclass': 1051877026, 'text': mapcss.tr('Invalid voltage value for this country (Sweden)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$/][inside("CH")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$/][inside("CH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3c9d3cca, '^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3c9d3cca, '^(11000|13000|15000|15500|16000|17000|18000|20000|21000|22000|23000|25000|50000|60000|63000|65000|66000|110000|125000|130000|132000|138000|145000|150000|220000|222000|225000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'CH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Switzerland"
+                # throwError:tr("Invalid voltage value for this country (Switzerland)")
+                # suggestAlternative:"11000/13000/15000/15500/16000/17000/18000/20000/21000/22000/23000/25000/50000/60000/63000/65000/66000/110000/125000/130000/132000/138000/145000/150000/220000/222000/225000/380000/400000"
+                err.append({'class': 182, 'subclass': 767649845, 'text': mapcss.tr('Invalid voltage value for this country (Switzerland)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(23000|66000|154000|161000|220000|230000|380000|400000)$/][inside("SY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(23000|66000|154000|161000|220000|230000|380000|400000)$/][inside("SY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_79cf4090, '^(23000|66000|154000|161000|220000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_79cf4090, '^(23000|66000|154000|161000|220000|230000|380000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'SY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Syria"
+                # throwError:tr("Invalid voltage value for this country (Syria)")
+                # suggestAlternative:"23000/66000/154000/161000/220000/230000/380000/400000"
+                err.append({'class': 183, 'subclass': 1440424536, 'text': mapcss.tr('Invalid voltage value for this country (Syria)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(69000|161000|345000|690000)$/][inside("TW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(69000|161000|345000|690000)$/][inside("TW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17aa7472, '^(69000|161000|345000|690000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_17aa7472, '^(69000|161000|345000|690000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Taiwan"
+                # throwError:tr("Invalid voltage value for this country (Taiwan)")
+                # suggestAlternative:"69000/161000/345000/690000"
+                err.append({'class': 184, 'subclass': 243171127, 'text': mapcss.tr('Invalid voltage value for this country (Taiwan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|110000|138000|220000|500000)$/][inside("TJ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|110000|138000|220000|500000)$/][inside("TJ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3de199b9, '^(35000|110000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TJ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3de199b9, '^(35000|110000|138000|220000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TJ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tajikistan"
+                # throwError:tr("Invalid voltage value for this country (Tajikistan)")
+                # suggestAlternative:"35000/110000/138000/220000/500000"
+                err.append({'class': 185, 'subclass': 938808856, 'text': mapcss.tr('Invalid voltage value for this country (Tajikistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|220000|222000|400000)$/][inside("TZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|132000|220000|222000|400000)$/][inside("TZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f98a74d, '^(11000|33000|66000|132000|220000|222000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7f98a74d, '^(11000|33000|66000|132000|220000|222000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tanzania"
+                # throwError:tr("Invalid voltage value for this country (Tanzania)")
+                # suggestAlternative:"11000/33000/66000/132000/220000/222000/400000"
+                err.append({'class': 186, 'subclass': 2065250684, 'text': mapcss.tr('Invalid voltage value for this country (Tanzania)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|50000|69000|115000|132000|230000|300000|500000)$/][inside("TH")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22000|50000|69000|115000|132000|230000|300000|500000)$/][inside("TH")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae50e2c, '^(22000|50000|69000|115000|132000|230000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TH')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6ae50e2c, '^(22000|50000|69000|115000|132000|230000|300000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TH')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Thailand"
+                # throwError:tr("Invalid voltage value for this country (Thailand)")
+                # suggestAlternative:"22000/50000/69000/115000/132000/230000/300000/500000"
+                err.append({'class': 187, 'subclass': 566315290, 'text': mapcss.tr('Invalid voltage value for this country (Thailand)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("BS")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(132000)$/][inside("BS")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BS')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_187ae8d5, '^(132000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'BS')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/The_Bahamas"
+                # throwError:tr("Invalid voltage value for this country (The Bahamas)")
+                # suggestAlternative:"132000"
+                err.append({'class': 188, 'subclass': 970706437, 'text': mapcss.tr('Invalid voltage value for this country (The Bahamas)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(225000)$/][inside("GM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0e11dbdf, '^(225000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/The_Gambia"
+                # throwError:tr("Invalid voltage value for this country (The Gambia)")
+                # suggestAlternative:"225000"
+                err.append({'class': 189, 'subclass': 2084070855, 'text': mapcss.tr('Invalid voltage value for this country (The Gambia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(150000)$/][inside("TL")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(150000)$/][inside("TL")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25ec0862, '^(150000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TL')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_25ec0862, '^(150000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TL')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Timor-Leste"
+                # throwError:tr("Invalid voltage value for this country (Timor-Leste)")
+                # suggestAlternative:"150000"
+                err.append({'class': 190, 'subclass': 1045350866, 'text': mapcss.tr('Invalid voltage value for this country (Timor-Leste)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("TG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(161000|330000)$/][inside("TG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_6a0cb1be, '^(161000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Togo"
+                # throwError:tr("Invalid voltage value for this country (Togo)")
+                # suggestAlternative:"161000/330000"
+                err.append({'class': 191, 'subclass': 1750059086, 'text': mapcss.tr('Invalid voltage value for this country (Togo)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("TT")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(66000|132000|220000)$/][inside("TT")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TT')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0a039a95, '^(66000|132000|220000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TT')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Trinidad_and_Tobago"
+                # throwError:tr("Invalid voltage value for this country (Trinidad and Tobago)")
+                # suggestAlternative:"66000/132000/220000"
+                err.append({'class': 192, 'subclass': 11695706, 'text': mapcss.tr('Invalid voltage value for this country (Trinidad and Tobago)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$/][inside("TN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$/][inside("TN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2cc8f87e, '^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2cc8f87e, '^(15000|22500|30000|33000|90000|150000|220000|225000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Tunisia"
+                # throwError:tr("Invalid voltage value for this country (Tunisia)")
+                # suggestAlternative:"15000/22500/30000/33000/90000/150000/220000/225000/400000"
+                err.append({'class': 193, 'subclass': 958241695, 'text': mapcss.tr('Invalid voltage value for this country (Tunisia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$/][inside("TR")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$/][inside("TR")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a0db6a9, '^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TR')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7a0db6a9, '^(20000|25000|31500|34000|34500|35000|36000|66000|150000|154000|170000|220000|345005|380000|400000|1000000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TR')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Turkey"
+                # throwError:tr("Invalid voltage value for this country (Turkey)")
+                # suggestAlternative:"20000/25000/31500/34000/34500/35000/36000/66000/150000/154000/170000/220000/345005/380000/400000/1000000"
+                err.append({'class': 194, 'subclass': 736906439, 'text': mapcss.tr('Invalid voltage value for this country (Turkey)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(110000|220000|230000|500000)$/][inside("TM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(110000|220000|230000|500000)$/][inside("TM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0425562b, '^(110000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0425562b, '^(110000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'TM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Turkmenistan"
+                # throwError:tr("Invalid voltage value for this country (Turkmenistan)")
+                # suggestAlternative:"110000/220000/230000/500000"
+                err.append({'class': 195, 'subclass': 1207799330, 'text': mapcss.tr('Invalid voltage value for this country (Turkmenistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|15000|33000|66000|132000|220000|400000)$/][inside("UG")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|15000|33000|66000|132000|220000|400000)$/][inside("UG")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_56b8f45f, '^(11000|15000|33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UG')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_56b8f45f, '^(11000|15000|33000|66000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UG')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uganda"
+                # throwError:tr("Invalid voltage value for this country (Uganda)")
+                # suggestAlternative:"11000/15000/33000/66000/132000/220000/400000"
+                err.append({'class': 196, 'subclass': 1043357878, 'text': mapcss.tr('Invalid voltage value for this country (Uganda)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$/][inside("UA")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$/][inside("UA")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_789fa698, '^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UA')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_789fa698, '^(15000|35000|110000|150000|154000|220000|330000|400000|500000|750000|800000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UA')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Ukraine"
+                # throwError:tr("Invalid voltage value for this country (Ukraine)")
+                # suggestAlternative:"15000/35000/110000/150000/154000/220000/330000/400000/500000/750000/800000"
+                err.append({'class': 197, 'subclass': 48695058, 'text': mapcss.tr('Invalid voltage value for this country (Ukraine)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|132000|220000|400000)$/][inside("AE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|132000|220000|400000)$/][inside("AE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_403ae00b, '^(33000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_403ae00b, '^(33000|132000|220000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'AE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/United_Arab_Emirates"
+                # throwError:tr("Invalid voltage value for this country (United Arab Emirates)")
+                # suggestAlternative:"33000/132000/220000/400000"
+                err.append({'class': 198, 'subclass': 471988649, 'text': mapcss.tr('Invalid voltage value for this country (United Arab Emirates)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$/][inside("GB")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$/][inside("GB")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0757e9d5, '^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GB')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_0757e9d5, '^(11000|12300|13800|15000|16000|20000|22000|24000|25000|27000|32000|33000|33300|35000|36000|66000|90000|110000|132000|145000|150000|170000|200000|220000|250000|254000|270000|275000|320000|400000|450000|515000|525000|600000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'GB')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Great_Britain"
+                # throwError:tr("Invalid voltage value for this country (United Kingdom)")
+                # suggestAlternative:"11000/12300/13800/15000/16000/20000/22000/24000/25000/27000/32000/33000/33300/35000/36000/66000/90000/110000/132000/145000/150000/170000/200000/220000/250000/254000/270000/275000/320000/400000/450000/515000/525000/600000"
+                err.append({'class': 199, 'subclass': 1784608368, 'text': mapcss.tr('Invalid voltage value for this country (United Kingdom)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$/][inside("US")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$/][inside("US")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_32e2ea6c, '^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'US')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_32e2ea6c, '^(11000|11500|12000|12370|12400|12470|12500|13000|13200|13800|13860|14000|14400|14750|15000|16000|17500|18000|19920|19935|20000|20800|21000|21800|22000|23000|23900|24000|24900|24940|25000|26000|26400|27000|27600|32000|33000|34000|34500|34599|35000|35400|37500|38000|40000|41600|43000|43800|44000|46000|49000|50000|55000|57000|57100|60000|66000|69000|70000|71000|87000|88000|92000|100000|110000|111500|115000|120000|125000|130000|132000|138000|150000|160000|161000|200000|220000|230000|235000|250000|260000|276000|287000|320000|345000|400000|450000|460000|500000|690002|765000|1100000|1150003|1333000|1380000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'US')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/United_States"
+                # throwError:tr("Invalid voltage value for this country (United States)")
+                # suggestAlternative:"11000/11500/12000/12370/12400/12470/12500/13000/13200/13800/13860/14000/14400/14750/15000/16000/17500/18000/19920/19935/20000/20800/21000/21800/22000/23000/23900/24000/24900/24940/25000/26000/26400/27000/27600/32000/33000/34000/34500/34599/35000/35400/37500/38000/40000/41600/43000/43800/44000/46000/49000/50000/55000/57000/57100/60000/66000/69000/70000/71000/87000/88000/92000/100000/110000/111500/115000/120000/125000/130000/132000/138000/150000/160000/161000/200000/220000/230000/235000/250000/260000/276000/287000/320000/345000/400000/450000/460000/500000/690002/765000/1100000/1150003/1333000/1380000"
+                err.append({'class': 200, 'subclass': 1574553599, 'text': mapcss.tr('Invalid voltage value for this country (United States)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(30000|31500|60000|63000|132000|150000|230000|500000)$/][inside("UY")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(30000|31500|60000|63000|132000|150000|230000|500000)$/][inside("UY")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e41b29d, '^(30000|31500|60000|63000|132000|150000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UY')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_5e41b29d, '^(30000|31500|60000|63000|132000|150000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UY')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uruguay"
+                # throwError:tr("Invalid voltage value for this country (Uruguay)")
+                # suggestAlternative:"30000/31500/60000/63000/132000/150000/230000/500000"
+                err.append({'class': 201, 'subclass': 703313495, 'text': mapcss.tr('Invalid voltage value for this country (Uruguay)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(35000|75000|110000|220000|350000|380000|500000)$/][inside("UZ")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(35000|75000|110000|220000|350000|380000|500000)$/][inside("UZ")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7edd7211, '^(35000|75000|110000|220000|350000|380000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UZ')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_7edd7211, '^(35000|75000|110000|220000|350000|380000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'UZ')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Uzbekistan"
+                # throwError:tr("Invalid voltage value for this country (Uzbekistan)")
+                # suggestAlternative:"35000/75000/110000/220000/350000/380000/500000"
+                err.append({'class': 202, 'subclass': 2104055668, 'text': mapcss.tr('Invalid voltage value for this country (Uzbekistan)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$/][inside("VE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$/][inside("VE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1cb10787, '^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_1cb10787, '^(13800|24000|30000|69000|115000|138000|230000|400000|765000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Venezuela"
+                # throwError:tr("Invalid voltage value for this country (Venezuela)")
+                # suggestAlternative:"13800/24000/30000/69000/115000/138000/230000/400000/765000"
+                err.append({'class': 203, 'subclass': 2007044896, 'text': mapcss.tr('Invalid voltage value for this country (Venezuela)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(22000|50000|110000|115000|220000|230000|500000)$/][inside("VN")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(22000|50000|110000|115000|220000|230000|500000)$/][inside("VN")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_21b86ee6, '^(22000|50000|110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VN')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_21b86ee6, '^(22000|50000|110000|115000|220000|230000|500000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'VN')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Vietnam"
+                # throwError:tr("Invalid voltage value for this country (Vietnam)")
+                # suggestAlternative:"22000/50000/110000/115000/220000/230000/500000"
+                err.append({'class': 204, 'subclass': 93891595, 'text': mapcss.tr('Invalid voltage value for this country (Vietnam)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("YE")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(132000|400000)$/][inside("YE")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'YE')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_4698125a, '^(132000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'YE')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Yemen"
+                # throwError:tr("Invalid voltage value for this country (Yemen)")
+                # suggestAlternative:"132000/400000"
+                err.append({'class': 205, 'subclass': 1989748749, 'text': mapcss.tr('Invalid voltage value for this country (Yemen)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|88000|132000|220000|330000)$/][inside("ZM")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(11000|33000|66000|88000|132000|220000|330000)$/][inside("ZM")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_703e20a3, '^(11000|33000|66000|88000|132000|220000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZM')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_703e20a3, '^(11000|33000|66000|88000|132000|220000|330000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZM')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Zambia"
+                # throwError:tr("Invalid voltage value for this country (Zambia)")
+                # suggestAlternative:"11000/33000/66000/88000/132000/220000/330000"
+                err.append({'class': 206, 'subclass': 1827162406, 'text': mapcss.tr('Invalid voltage value for this country (Zambia)')})
+
+        # *[power=substation][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|110000|132000|220000|330000|400000)$/][inside("ZW")]
+        # relation[power=~/line_section|circuit/][voltage][voltage!~/;/][voltage!~/^(33000|66000|88000|110000|132000|220000|330000|400000)$/][inside("ZW")]
+        if ('power' in keys and 'voltage' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'power') == mapcss._value_capture(capture_tags, 0, 'substation')) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65c9364b, '^(33000|66000|88000|110000|132000|220000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZW')))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss.regexp_test(mapcss._value_capture(capture_tags, 0, self.re_262476e6), mapcss._tag_capture(capture_tags, 0, tags, 'power'))) and (mapcss._tag_capture(capture_tags, 1, tags, 'voltage')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 2, self.re_4399527a, ';'), mapcss._tag_capture(capture_tags, 2, tags, 'voltage'))) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_65c9364b, '^(33000|66000|88000|110000|132000|220000|330000|400000)$'), mapcss._tag_capture(capture_tags, 3, tags, 'voltage'))) and (mapcss.inside(self.father.config.options, 'ZW')))
+                except mapcss.RuleAbort: pass
+            if match:
+                # -osmoseFix:tr("Check the list of possible values for this country on the wiki and correct the `0` tag.","voltage")
+                # -osmoseDetail:tr("Each country has its own voltage set used for electricity transmission.")
+                # -osmoseExample:tr("For example, in Jordan, only 132 kV and 400 kV voltages are used.")
+                # -osmoseTrap:"If the voltage in OSM is correct but is showing as an error here, check the wiki page and make the necessary corrections. Then create [an issue on GitHub](https://github.com/open-energy-transition/validate-my-grid/issues) to update this check."
+                # -osmoseResource:"https://wiki.openstreetmap.org/wiki/Power_networks/Zimbabwe"
+                # throwError:tr("Invalid voltage value for this country (Zimbabwe)")
+                # suggestAlternative:"33000/66000/88000/110000/132000/220000/330000/400000"
+                err.append({'class': 207, 'subclass': 793904123, 'text': mapcss.tr('Invalid voltage value for this country (Zimbabwe)')})
+
+        return err
+
+
+from plugins.PluginMapCSS import TestPluginMapcss
+
+
+class Test(TestPluginMapcss):
+    def test(self):
+        n = Josm_powerQA(None)
+        class _config:
+            options = {"country": None, "language": None}
+        class father:
+            config = _config()
+        n.father = father()
+        n.init(None)
+        data = {'id': 0, 'lat': 0, 'lon': 0}
+
+        self.check_not_err(n.node(data, {'power': 'transformer', 'transformer': 'main'}), expected={'class': 2, 'subclass': 1524257444})
+        self.check_err(n.node(data, {'power': 'transformer', 'transformer': 'railway'}), expected={'class': 2, 'subclass': 1524257444})
+        self.check_not_err(n.node(data, {'power': 'transformer'}), expected={'class': 2, 'subclass': 1524257444})
+        self.check_err(n.node(data, {'generator:source': 'geothermals', 'power': 'generator'}), expected={'class': 3, 'subclass': 600492584})
+        self.check_not_err(n.node(data, {'generator:source': 'oil;gas', 'power': 'generator'}), expected={'class': 3, 'subclass': 600492584})
+        self.check_err(n.node(data, {'generator:source': 'photovoltaic', 'power': 'generator'}), expected={'class': 3, 'subclass': 600492584})
+        self.check_not_err(n.node(data, {'generator:source': 'solar', 'power': 'generator'}), expected={'class': 3, 'subclass': 600492584})
+        self.check_not_err(n.node(data, {'power': 'generator'}), expected={'class': 3, 'subclass': 600492584})
+        self.check_not_err(n.node(data, {'generator:method': 'fission', 'generator:source': 'nuclear', 'power': 'generator'}), expected={'class': 4, 'subclass': 1513616022})
+        self.check_err(n.node(data, {'generator:method': 'nuclear', 'generator:source': 'nuclear', 'power': 'generator'}), expected={'class': 4, 'subclass': 1513616022})
+        self.check_not_err(n.node(data, {'generator:method': 'fission', 'generator:source': 'nuclear', 'power': 'generator'}), expected={'class': 5, 'subclass': 1445012384})
+        self.check_err(n.node(data, {'generator:method': 'fusion', 'generator:source': 'solar', 'power': 'generator'}), expected={'class': 5, 'subclass': 1445012384})
+        self.check_err(n.node(data, {'generator:method': 'wind', 'generator:source': 'wind', 'power': 'generator'}), expected={'class': 6, 'subclass': 1104182574})
+        self.check_not_err(n.node(data, {'generator:method': 'wind_turbine', 'generator:source': 'wind', 'power': 'generator'}), expected={'class': 6, 'subclass': 1104182574})
+        self.check_not_err(n.node(data, {'generator:source': 'wind', 'power': 'generator'}), expected={'class': 6, 'subclass': 1104182574})
+        self.check_err(n.node(data, {'generator:method': 'wind_turbine', 'generator:source': 'turbine', 'power': 'generator'}), expected={'class': 5, 'subclass': 1021686777})
+        self.check_not_err(n.node(data, {'generator:method': 'wind_turbine', 'generator:source': 'wind', 'power': 'generator'}), expected={'class': 5, 'subclass': 1021686777})
+        self.check_err(n.node(data, {'generator:method': 'pump', 'generator:source': 'hydro', 'power': 'generator'}), expected={'class': 7, 'subclass': 1379042787})
+        self.check_not_err(n.node(data, {'generator:method': 'water-storage', 'generator:source': 'hydro', 'power': 'generator'}), expected={'class': 7, 'subclass': 1379042787})
+        self.check_not_err(n.node(data, {'generator:method': 'water-storage', 'generator:source': 'hydro', 'power': 'generator'}), expected={'class': 5, 'subclass': 1830475878})
+        self.check_err(n.node(data, {'generator:method': 'water-pumped-storage', 'generator:source': 'water', 'power': 'generator'}), expected={'class': 5, 'subclass': 1830475878})
+        self.check_not_err(n.node(data, {'generator:method': 'barrage', 'generator:source': 'tidal', 'power': 'generator'}), expected={'class': 8, 'subclass': 503240008})
+        self.check_err(n.node(data, {'generator:method': 'dam', 'generator:source': 'tidal', 'power': 'generator'}), expected={'class': 8, 'subclass': 503240008})
+        self.check_err(n.node(data, {'generator:method': 'stream', 'generator:source': 'solar', 'power': 'generator'}), expected={'class': 5, 'subclass': 976314568})
+        self.check_not_err(n.node(data, {'generator:method': 'barrage', 'generator:source': 'tidal', 'power': 'generator'}), expected={'class': 5, 'subclass': 976314568})
+        self.check_err(n.node(data, {'generator:method': 'solar', 'generator:source': 'solar', 'power': 'generator'}), expected={'class': 9, 'subclass': 1095645684})
+        self.check_not_err(n.node(data, {'generator:method': 'thermal', 'generator:source': 'solar', 'power': 'generator'}), expected={'class': 9, 'subclass': 1095645684})
+        self.check_err(n.node(data, {'generator:method': 'photovoltaic', 'generator:source': 'photovoltaic', 'power': 'generator'}), expected={'class': 5, 'subclass': 1457983121})
+        self.check_not_err(n.node(data, {'generator:method': 'thermal', 'generator:source': 'solar', 'power': 'generator'}), expected={'class': 5, 'subclass': 1457983121})
+        self.check_err(n.node(data, {'generator:method': 'burning', 'generator:source': 'coal', 'power': 'generator'}), expected={'class': 10, 'subclass': 727067352})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'coal', 'power': 'generator'}), expected={'class': 10, 'subclass': 727067352})
+        self.check_not_err(n.node(data, {'generator:source': 'coal', 'power': 'generator'}), expected={'class': 10, 'subclass': 727067352})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'gas', 'power': 'generator'}), expected={'class': 11, 'subclass': 1587058630})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'gas', 'power': 'generator'}), expected={'class': 11, 'subclass': 1587058630})
+        self.check_not_err(n.node(data, {'generator:source': 'gas', 'power': 'generator'}), expected={'class': 11, 'subclass': 1587058630})
+        self.check_not_err(n.node(data, {'generator:method': 'anaerobic_digestion', 'generator:source': 'biomass', 'power': 'generator'}), expected={'class': 12, 'subclass': 1563205211})
+        self.check_err(n.node(data, {'generator:method': 'burn', 'generator:source': 'biomass', 'power': 'generator'}), expected={'class': 12, 'subclass': 1563205211})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'biofuel', 'power': 'generator'}), expected={'class': 13, 'subclass': 2056310355})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'biofuel', 'power': 'generator'}), expected={'class': 13, 'subclass': 2056310355})
+        self.check_not_err(n.node(data, {'generator:source': 'biofuel', 'power': 'generator'}), expected={'class': 13, 'subclass': 2056310355})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'biogas', 'power': 'generator'}), expected={'class': 14, 'subclass': 1353854094})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'biogas', 'power': 'generator'}), expected={'class': 14, 'subclass': 1353854094})
+        self.check_not_err(n.node(data, {'generator:source': 'biogas', 'power': 'generator'}), expected={'class': 14, 'subclass': 1353854094})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'oil', 'power': 'generator'}), expected={'class': 15, 'subclass': 2059171544})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'oil', 'power': 'generator'}), expected={'class': 15, 'subclass': 2059171544})
+        self.check_not_err(n.node(data, {'generator:source': 'oil', 'power': 'generator'}), expected={'class': 15, 'subclass': 2059171544})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'diesel', 'power': 'generator'}), expected={'class': 16, 'subclass': 87750196})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'diesel', 'power': 'generator'}), expected={'class': 16, 'subclass': 87750196})
+        self.check_not_err(n.node(data, {'generator:source': 'diesel', 'power': 'generator'}), expected={'class': 16, 'subclass': 87750196})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'gasoline', 'power': 'generator'}), expected={'class': 17, 'subclass': 1418218249})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'gasoline', 'power': 'generator'}), expected={'class': 17, 'subclass': 1418218249})
+        self.check_not_err(n.node(data, {'generator:source': 'gasoline', 'power': 'generator'}), expected={'class': 17, 'subclass': 1418218249})
+        self.check_err(n.node(data, {'generator:method': 'burning', 'generator:source': 'waste', 'power': 'generator'}), expected={'class': 18, 'subclass': 600470569})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'waste', 'power': 'generator'}), expected={'class': 18, 'subclass': 600470569})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'biomass', 'power': 'generator'}), expected={'class': 5, 'subclass': 1335984003})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'gas;oil', 'power': 'generator'}), expected={'class': 5, 'subclass': 1335984003})
+        self.check_not_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'gas;oil;waste', 'power': 'generator'}), expected={'class': 5, 'subclass': 1335984003})
+        self.check_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'waste;solar', 'power': 'generator'}), expected={'class': 5, 'subclass': 1335984003})
+        self.check_err(n.node(data, {'generator:method': 'combustion', 'generator:source': 'wave', 'power': 'generator'}), expected={'class': 5, 'subclass': 1335984003})
+        self.check_not_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'biomass', 'power': 'generator'}), expected={'class': 5, 'subclass': 313390332})
+        self.check_not_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'biomass;waste', 'power': 'generator'}), expected={'class': 5, 'subclass': 313390332})
+        self.check_err(n.node(data, {'generator:method': 'gasification', 'generator:source': 'coal', 'power': 'generator'}), expected={'class': 5, 'subclass': 313390332})
+        self.check_not_err(n.node(data, {'plant:source': 'gas;oil', 'power': 'plant'}), expected={'class': 19, 'subclass': 966751128})
+        self.check_err(n.node(data, {'plant:source': 'photovoltaic', 'power': 'plant'}), expected={'class': 19, 'subclass': 966751128})
+        self.check_not_err(n.node(data, {'plant:source': 'solar', 'power': 'plant'}), expected={'class': 19, 'subclass': 966751128})
+        self.check_not_err(n.node(data, {'power': 'plant'}), expected={'class': 19, 'subclass': 966751128})
+        self.check_not_err(n.node(data, {'plant:method': 'fission', 'plant:source': 'nuclear', 'power': 'plant'}), expected={'class': 20, 'subclass': 56152287})
+        self.check_err(n.node(data, {'plant:method': 'nuclear', 'plant:source': 'nuclear', 'power': 'plant'}), expected={'class': 20, 'subclass': 56152287})
+        self.check_not_err(n.node(data, {'plant:method': 'fission', 'plant:source': 'nuclear', 'power': 'plant'}), expected={'class': 21, 'subclass': 120690153})
+        self.check_err(n.node(data, {'plant:method': 'fusion', 'plant:source': 'solar', 'power': 'plant'}), expected={'class': 21, 'subclass': 120690153})
+        self.check_err(n.node(data, {'plant:method': 'wind', 'plant:source': 'wind', 'power': 'plant'}), expected={'class': 22, 'subclass': 515061741})
+        self.check_not_err(n.node(data, {'plant:method': 'wind_turbine', 'plant:source': 'wind', 'power': 'plant'}), expected={'class': 22, 'subclass': 515061741})
+        self.check_not_err(n.node(data, {'plant:source': 'wind', 'power': 'plant'}), expected={'class': 22, 'subclass': 515061741})
+        self.check_err(n.node(data, {'plant:method': 'wind_turbine', 'plant:source': 'eolien', 'power': 'plant'}), expected={'class': 21, 'subclass': 443176990})
+        self.check_not_err(n.node(data, {'plant:method': 'wind_turbine', 'plant:source': 'wind', 'power': 'plant'}), expected={'class': 21, 'subclass': 443176990})
+        self.check_err(n.node(data, {'plant:method': 'pump', 'plant:source': 'hydro', 'power': 'plant'}), expected={'class': 23, 'subclass': 1020856194})
+        self.check_not_err(n.node(data, {'plant:method': 'water-storage', 'plant:source': 'hydro', 'power': 'plant'}), expected={'class': 23, 'subclass': 1020856194})
+        self.check_not_err(n.node(data, {'plant:method': 'water-storage', 'plant:source': 'hydro', 'power': 'plant'}), expected={'class': 21, 'subclass': 1372509170})
+        self.check_err(n.node(data, {'plant:method': 'water-pumped-storage', 'plant:source': 'water', 'power': 'plant'}), expected={'class': 21, 'subclass': 1372509170})
+        self.check_not_err(n.node(data, {'plant:method': 'barrage', 'plant:source': 'tidal', 'power': 'plant'}), expected={'class': 24, 'subclass': 75438578})
+        self.check_err(n.node(data, {'plant:method': 'dam', 'plant:source': 'tidal', 'power': 'plant'}), expected={'class': 24, 'subclass': 75438578})
+        self.check_err(n.node(data, {'plant:method': 'stream', 'plant:source': 'solar', 'power': 'plant'}), expected={'class': 21, 'subclass': 934978595})
+        self.check_not_err(n.node(data, {'plant:method': 'barrage', 'plant:source': 'tidal', 'power': 'plant'}), expected={'class': 21, 'subclass': 934978595})
+        self.check_err(n.node(data, {'plant:method': 'solar', 'plant:source': 'solar', 'power': 'plant'}), expected={'class': 25, 'subclass': 1799335667})
+        self.check_not_err(n.node(data, {'plant:method': 'thermal', 'plant:source': 'solar', 'power': 'plant'}), expected={'class': 25, 'subclass': 1799335667})
+        self.check_err(n.node(data, {'plant:method': 'photovoltaic', 'plant:source': 'photovoltaic', 'power': 'plant'}), expected={'class': 21, 'subclass': 1085835351})
+        self.check_not_err(n.node(data, {'plant:method': 'thermal', 'plant:source': 'solar', 'power': 'plant'}), expected={'class': 21, 'subclass': 1085835351})
+        self.check_err(n.node(data, {'plant:method': 'burning', 'plant:source': 'coal', 'power': 'plant'}), expected={'class': 26, 'subclass': 746471181})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'coal', 'power': 'plant'}), expected={'class': 26, 'subclass': 746471181})
+        self.check_not_err(n.node(data, {'plant:source': 'coal', 'power': 'plant'}), expected={'class': 26, 'subclass': 746471181})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'gas', 'power': 'plant'}), expected={'class': 27, 'subclass': 827336490})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'gas', 'power': 'plant'}), expected={'class': 27, 'subclass': 827336490})
+        self.check_not_err(n.node(data, {'plant:source': 'gas', 'power': 'plant'}), expected={'class': 27, 'subclass': 827336490})
+        self.check_not_err(n.node(data, {'plant:method': 'anaerobic_digestion', 'plant:source': 'biomass', 'power': 'plant'}), expected={'class': 28, 'subclass': 2076402923})
+        self.check_err(n.node(data, {'plant:method': 'burn', 'plant:source': 'biomass', 'power': 'plant'}), expected={'class': 28, 'subclass': 2076402923})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'biofuel', 'power': 'plant'}), expected={'class': 29, 'subclass': 1882895060})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'biofuel', 'power': 'plant'}), expected={'class': 29, 'subclass': 1882895060})
+        self.check_not_err(n.node(data, {'plant:source': 'biofuel', 'power': 'plant'}), expected={'class': 29, 'subclass': 1882895060})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'biogas', 'power': 'plant'}), expected={'class': 30, 'subclass': 887792794})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'biogas', 'power': 'plant'}), expected={'class': 30, 'subclass': 887792794})
+        self.check_not_err(n.node(data, {'plant:source': 'biogas', 'power': 'plant'}), expected={'class': 30, 'subclass': 887792794})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'oil', 'power': 'plant'}), expected={'class': 31, 'subclass': 1678290892})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'oil', 'power': 'plant'}), expected={'class': 31, 'subclass': 1678290892})
+        self.check_not_err(n.node(data, {'plant:source': 'oil', 'power': 'plant'}), expected={'class': 31, 'subclass': 1678290892})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'diesel', 'power': 'plant'}), expected={'class': 32, 'subclass': 75543302})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'diesel', 'power': 'plant'}), expected={'class': 32, 'subclass': 75543302})
+        self.check_not_err(n.node(data, {'plant:source': 'diesel', 'power': 'plant'}), expected={'class': 32, 'subclass': 75543302})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'gasoline', 'power': 'plant'}), expected={'class': 33, 'subclass': 599334301})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'gasoline', 'power': 'plant'}), expected={'class': 33, 'subclass': 599334301})
+        self.check_not_err(n.node(data, {'plant:source': 'gasoline', 'power': 'plant'}), expected={'class': 33, 'subclass': 599334301})
+        self.check_err(n.node(data, {'plant:method': 'burning', 'plant:source': 'waste', 'power': 'plant'}), expected={'class': 34, 'subclass': 489417432})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'waste', 'power': 'plant'}), expected={'class': 34, 'subclass': 489417432})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'biomass', 'power': 'plant'}), expected={'class': 21, 'subclass': 46745407})
+        self.check_not_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'biomass;waste', 'power': 'plant'}), expected={'class': 21, 'subclass': 46745407})
+        self.check_err(n.node(data, {'plant:method': 'combustion', 'plant:source': 'wave', 'power': 'plant'}), expected={'class': 21, 'subclass': 46745407})
+        self.check_not_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'biomass', 'power': 'plant'}), expected={'class': 21, 'subclass': 1329720574})
+        self.check_not_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'biomass;waste', 'power': 'plant'}), expected={'class': 21, 'subclass': 1329720574})
+        self.check_err(n.node(data, {'plant:method': 'gasification', 'plant:source': 'coal', 'power': 'plant'}), expected={'class': 21, 'subclass': 1329720574})
+        self.check_not_err(n.way(data, {'power': 'cable'}, [0]), expected={'class': 1, 'subclass': 36378028})
+        self.check_err(n.relation(data, {'power': 'cable_distribution_cabinet'}, []), expected={'class': 1, 'subclass': 36378028})
+        self.check_err(n.relation(data, {'power': 'circuits'}, []), expected={'class': 1, 'subclass': 36378028})
+        self.check_err(n.relation(data, {'power': 'route'}, []), expected={'class': 1, 'subclass': 36378028})
+        self.check_not_err(n.relation(data, {'power': 'circuit', 'type': 'power'}, []), expected={'class': 208, 'subclass': 213213626})
+        self.check_err(n.relation(data, {'type': 'power'}, []), expected={'class': 208, 'subclass': 213213626})
+        self.check_err(n.relation(data, {'power': 'circuit', 'topology': 'branch', 'type': 'power'}, []), expected={'class': 209, 'subclass': 1474691630})
+        self.check_not_err(n.relation(data, {'power': 'circuit', 'topology': 'branched', 'type': 'power'}, []), expected={'class': 209, 'subclass': 1474691630})
+        self.check_not_err(n.relation(data, {'power': 'circuit', 'type': 'power'}, []), expected={'class': 209, 'subclass': 1474691630})
+        self.check_err(n.relation(data, {'power': 'circuit', 'type': 'power', 'wires': '4'}, []), expected={'class': 210, 'subclass': 698560024})
+        self.check_not_err(n.relation(data, {'power': 'circuit', 'type': 'power'}, []), expected={'class': 210, 'subclass': 698560024})
\ No newline at end of file
diff --git a/plugins/Structural.py b/plugins/Structural.py
new file mode 100644
index 000000000..5e1c979a6
--- /dev/null
+++ b/plugins/Structural.py
@@ -0,0 +1,167 @@
+#-*- coding: utf-8 -*-
+import modules.mapcss_lib as mapcss
+import regex as re # noqa
+
+from plugins.Plugin import with_options # noqa
+from plugins.PluginMapCSS import PluginMapCSS
+
+
+class Structural(PluginMapCSS):
+    # ------------------------------- IMPORTANT -------------------------------
+    # This file is generated automatically and should not be modified directly.
+    # Instead, modify the source mapcss file and regenerate this Python script.
+    # -------------------------------------------------------------------------
+
+
+
+    def init(self, logger):
+        super().init(logger)
+        tags = capture_tags = {} # noqa
+        self.errors[4] = self.def_class(item = 1170, level = 1, tags = mapcss.list_('geom', 'fix:imagery', 'fix:chair'), title = mapcss.tr('Should be polygon, part of multipolygon or not having area tag'), detail = mapcss.tr('A way has a tag that suggests it is an area, but the way is not closed.'), fix = mapcss.tr('Make sure the first and last node of the way are connected, such that it forms a closed way. If the way is not an area, add `area=no` or correct the tags.'), trap = mapcss.tr('Use a multipolygon relation instead of a way if a closed way cannot be formed to represent the area. In this case, remove the area-related tags from the way.'), example = {"en": ''})
+
+        self.re_2d687399 = re.compile(r'^(barefoot|bathing_place|slipway|track)$')
+        self.re_342e1a01 = re.compile(r'^(yes|designated|permissive)$')
+        self.re_3977796a = re.compile(r'^(bench|bicycle_parking|hitching_post|ticket_validator|weighbridge)$')
+        self.re_3ad8d56a = re.compile(r'^(bare_rock|bay|beach|fell|glacier|grassland|heath|hot_spring|moor|mud|rock|sand|scree|scrub|shingle|sinkhole|stone|water|wetland|wood)$')
+        self.re_3dd10aca = re.compile(r'^(obstacle_course|road|trench)$')
+        self.re_50f04966 = re.compile(r'^(artwork|attraction|yes)$')
+        self.re_7d3259ea = re.compile(r'^(boatyard|dock|fuel|riverbank)$')
+
+
+    def way(self, data, tags, nds):
+        capture_tags = {}
+        keys = tags.keys()
+        err = []
+
+
+        # way[amenity]!:closed[!area][amenity!~/^(bench|bicycle_parking|hitching_post|ticket_validator|weighbridge)$/]
+        # way[area]!:closed[area!=no]
+        # way[area:highway]!:closed
+        # way[building:part]!:closed[!area]
+        # way[building]!:closed
+        # way[club]!:closed[!area]
+        # way[craft]!:closed[!area]
+        # way[emergency]!:closed[!area][emergency!~/^(yes|designated|permissive)$/][!highway]
+        # way[healthcare]!:closed[!area]
+        # way[landcover]!:closed
+        # way[landuse]!:closed
+        # way[leisure]!:closed[!area][leisure!~/^(barefoot|bathing_place|slipway|track)$/]
+        # way[military]!:closed[!area][military!~/^(obstacle_course|road|trench)$/][!highway]
+        # way[natural]!:closed[!area][natural=~/^(bare_rock|bay|beach|fell|glacier|grassland|heath|hot_spring|moor|mud|rock|sand|scree|scrub|shingle|sinkhole|stone|water|wetland|wood)$/][bay!=fjord]
+        # way[office]!:closed[!area]
+        # way[place]!:closed
+        # way[shop]!:closed[!area]
+        # way[tourism]!:closed[!area][tourism!~/^(artwork|attraction|yes)$/]
+        # way[waterway]!:closed[!area][waterway=~/^(boatyard|dock|fuel|riverbank)$/]
+        if ('amenity' in keys) or ('area' in keys) or ('area:highway' in keys) or ('building' in keys) or ('building:part' in keys) or ('club' in keys) or ('craft' in keys) or ('emergency' in keys) or ('healthcare' in keys) or ('landcover' in keys) or ('landuse' in keys) or ('leisure' in keys) or ('military' in keys) or ('natural' in keys) or ('office' in keys) or ('place' in keys) or ('shop' in keys) or ('tourism' in keys) or ('waterway' in keys):
+            match = False
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'amenity')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3977796a, '^(bench|bicycle_parking|hitching_post|ticket_validator|weighbridge)$'), mapcss._tag_capture(capture_tags, 3, tags, 'amenity'))) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'area')) and (mapcss._tag_capture(capture_tags, 2, tags, 'area') != mapcss._value_const_capture(capture_tags, 2, 'no', 'no')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'area:highway')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'building:part')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'building')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'club')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'craft')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'emergency')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_342e1a01, '^(yes|designated|permissive)$'), mapcss._tag_capture(capture_tags, 3, tags, 'emergency'))) and (not mapcss._tag_capture(capture_tags, 4, tags, 'highway')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'healthcare')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'landcover')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'landuse')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'leisure')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_2d687399, '^(barefoot|bathing_place|slipway|track)$'), mapcss._tag_capture(capture_tags, 3, tags, 'leisure'))) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'military')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_3dd10aca, '^(obstacle_course|road|trench)$'), mapcss._tag_capture(capture_tags, 3, tags, 'military'))) and (not mapcss._tag_capture(capture_tags, 4, tags, 'highway')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'natural')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 3, self.re_3ad8d56a), mapcss._tag_capture(capture_tags, 3, tags, 'natural'))) and (mapcss._tag_capture(capture_tags, 4, tags, 'bay') != mapcss._value_const_capture(capture_tags, 4, 'fjord', 'fjord')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'office')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'place')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'shop')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'tourism')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (not mapcss.regexp_test(mapcss._value_const_capture(capture_tags, 3, self.re_50f04966, '^(artwork|attraction|yes)$'), mapcss._tag_capture(capture_tags, 3, tags, 'tourism'))) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if not match:
+                capture_tags = {}
+                try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'waterway')) and (not mapcss._tag_capture(capture_tags, 2, tags, 'area')) and (mapcss.regexp_test(mapcss._value_capture(capture_tags, 3, self.re_7d3259ea), mapcss._tag_capture(capture_tags, 3, tags, 'waterway'))) and (nds[0] != nds[-1]))
+                except mapcss.RuleAbort: pass
+            if match:
+                # group:tr("Should be polygon, part of multipolygon or not having area tag")
+                # -osmoseTags:list("geom","fix:imagery","fix:chair")
+                # -osmoseDetail:tr("A way has a tag that suggests it is an area, but the way is not closed.")
+                # -osmoseFix:tr("Make sure the first and last node of the way are connected, such that it forms a closed way. If the way is not an area, add `area=no` or correct the tags.")
+                # -osmoseTrap:tr("Use a multipolygon relation instead of a way if a closed way cannot be formed to represent the area. In this case, remove the area-related tags from the way.")
+                # -osmoseExample:""
+                # -osmoseItemClassLevel:"1170/4/1"
+                # throwError:tr("Unclosed way with {0}","{0.tag}")
+                # assertNoMatch:"way emergency=designated"
+                # assertNoMatch:"way oneway=no"
+                # assertNoMatch:"way tourism=xyz area=no"
+                err.append({'class': 4, 'subclass': 0, 'text': mapcss.tr('Unclosed way with {0}', mapcss._tag_uncapture(capture_tags, '{0.tag}'))})
+
+        return err
+
+
+from plugins.PluginMapCSS import TestPluginMapcss
+
+
+class Test(TestPluginMapcss):
+    def test(self):
+        n = Structural(None)
+        class _config:
+            options = {"country": None, "language": None}
+        class father:
+            config = _config()
+        n.father = father()
+        n.init(None)
+        data = {'id': 0, 'lat': 0, 'lon': 0}
+
+        self.check_not_err(n.way(data, {'emergency': 'designated'}, [0]), expected={'class': 4, 'subclass': 0})
+        self.check_not_err(n.way(data, {'oneway': 'no'}, [0]), expected={'class': 4, 'subclass': 0})
+        self.check_not_err(n.way(data, {'area': 'no', 'tourism': 'xyz'}, [0]), expected={'class': 4, 'subclass': 0})
diff --git a/plugins/Structural.validator.mapcss b/plugins/Structural.validator.mapcss
new file mode 100644
index 000000000..b38c2d0ce
--- /dev/null
+++ b/plugins/Structural.validator.mapcss
@@ -0,0 +1,59 @@
+/*#########################################################################
+##                                                                       ##
+## Copyrights Osmose project                                             ##
+##                                                                       ##
+## This program is free software: you can redistribute it and/or modify  ##
+## it under the terms of the GNU General Public License as published by  ##
+## the Free Software Foundation, either version 3 of the License, or     ##
+## (at your option) any later version.                                   ##
+##                                                                       ##
+## This program is distributed in the hope that it will be useful,       ##
+## but WITHOUT ANY WARRANTY; without even the implied warranty of        ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         ##
+## GNU General Public License for more details.                          ##
+##                                                                       ##
+## You should have received a copy of the GNU General Public License     ##
+## along with this program.  If not, see . ##
+##                                                                       ##
+#########################################################################*/
+
+meta {
+    title: "Osmose-QA – geometry validation rules";
+    description: "Validates geometric mistakes";
+    author: "Osmose";
+    min-josm-version: 14481;
+}
+
+way[amenity      ]!:closed[!area][amenity!~/^(bench|bicycle_parking|hitching_post|ticket_validator|weighbridge)$/],
+way[area         ]!:closed[area!=no],
+way[area:highway ]!:closed,
+way[building:part]!:closed[!area],
+way[building     ]!:closed,
+way[club         ]!:closed[!area],
+way[craft        ]!:closed[!area],
+way[emergency    ]!:closed[!area][emergency!~/^(yes|designated|permissive)$/][!highway],
+way[healthcare   ]!:closed[!area],
+way[landcover    ]!:closed,
+way[landuse      ]!:closed,
+way[leisure      ]!:closed[!area][leisure!~/^(barefoot|bathing_place|slipway|track)$/],
+way[military     ]!:closed[!area][military!~/^(obstacle_course|road|trench)$/][!highway],
+way[natural      ]!:closed[!area][natural=~/^(bare_rock|bay|beach|fell|glacier|grassland|heath|hot_spring|moor|mud|rock|sand|scree|scrub|shingle|sinkhole|stone|water|wetland|wood)$/][bay!=fjord],
+way[office       ]!:closed[!area],
+way[place        ]!:closed,
+way[shop         ]!:closed[!area],
+way[tourism      ]!:closed[!area][tourism!~/^(artwork|attraction|yes)$/],
+way[waterway     ]!:closed[!area][waterway=~/^(boatyard|dock|fuel|riverbank)$/] {
+  throwError: tr("Unclosed way with {0}", "{0.tag}");
+  group: tr("Should be polygon, part of multipolygon or not having area tag");
+
+  assertNoMatch: "way tourism=xyz area=no";
+  assertNoMatch: "way emergency=designated";
+  assertNoMatch: "way oneway=no";
+
+  -osmoseItemClassLevel: "1170/4/1";
+  -osmoseTags: list("geom", "fix:imagery", "fix:chair");
+  -osmoseDetail: tr("A way has a tag that suggests it is an area, but the way is not closed.");
+  -osmoseFix: tr("Make sure the first and last node of the way are connected, such that it forms a closed way. If the way is not an area, add `area=no` or correct the tags.");
+  -osmoseTrap: tr("Use a multipolygon relation instead of a way if a closed way cannot be formed to represent the area. In this case, remove the area-related tags from the way.");
+  -osmoseExample: "";
+}
diff --git a/plugins/Structural_UnclosedArea.py b/plugins/disabled/Structural_UnclosedArea.py
similarity index 100%
rename from plugins/Structural_UnclosedArea.py
rename to plugins/disabled/Structural_UnclosedArea.py
diff --git a/po/fr.po b/po/fr.po
index 89d35a30d..369b886ad 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -63,8 +63,8 @@ msgstr ""
 "Project-Id-Version: Osmose\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2014-04-28 19:47+0200\n"
-"PO-Revision-Date: 2025-07-15 03:38+0000\n"
-"Last-Translator: Florian Stosse \n"
+"PO-Revision-Date: 2025-08-30 03:01+0000\n"
+"Last-Translator: Corentin Noël \n"
 "Language-Team: French \n"
 "Language: fr\n"
@@ -73,7 +73,7 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
 "1000000 == 0 ? 1 : 2;\n"
-"X-Generator: Weblate 5.13-dev\n"
+"X-Generator: Weblate 5.13.1-dev\n"
 
 #: ../analysers/analyser_merge_college_FR.py:31
 msgid "College not integrated"
@@ -3918,6 +3918,8 @@ msgid ""
 "Chemist shops (\"parapharmacie\" in French) do not fall into this\n"
 "classification. They do not have a specific tag for the moment."
 msgstr ""
+"Les parapharmacies ne rentrent pas dans cette catégorie.\n"
+"Elles n'ont pas d'attribut spécifique pour le moment."
 
 #: ../plugins/Highway_Parking_Lane.py:39
 msgid ""
diff --git a/po/sv.po b/po/sv.po
index df95402cd..a3f9ab91d 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2014-04-28 19:47+0200\n"
-"PO-Revision-Date: 2025-08-24 14:51+0000\n"
+"PO-Revision-Date: 2025-08-30 03:01+0000\n"
 "Last-Translator: Jacob \n"
 "Language-Team: Swedish \n"
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 5.13\n"
+"X-Generator: Weblate 5.13.1-dev\n"
 
 #: ../analysers/analyser_merge_college_FR.py:31
 msgid "College not integrated"
@@ -5128,43 +5128,55 @@ msgid ""
 "a\n"
 "role."
 msgstr ""
+"Ett objekt utan definierande taggar (inga andra taggar än `source`, "
+"`created_by`, `area` eller `name`) och inte heller del av en relation med en "
+"given roll."
 
 #: ../plugins/Name_PoorlyWrittenWayType.py:49
 msgid "Badly written way name"
-msgstr ""
+msgstr "Felformaterat gatunamn"
 
 #: ../plugins/Name_PoorlyWrittenWayType.py:51
 msgid ""
 "An abbreviation is present (e.g. Rd instead of Road) or the first letter of "
 "the name is lower case."
 msgstr ""
+"En förkortning hittades (ex. 'Norrv.' istället för 'Norrvägen') eller så är "
+"första bokstaven inte versal."
 
 #: ../plugins/Name_PoorlyWrittenWayType.py:53
 msgid ""
 "Write the name without any abbreviations and make sure the first letter is "
 "upper case."
 msgstr ""
+"Skriv ut gatunamnet utan några förkortningar och se till att första "
+"bokstaven är en versal."
 
 #: ../analysers/analyser_osmosis_indoor.py:193 ../plugins/indoor.py:23
 #: ../plugins/indoor.py:120 ../plugins/indoor.py:206
 msgid "This indoor room should have a door"
-msgstr ""
+msgstr "Det här rummet inomhus borde ha en dörr"
 
 #: ../analysers/analyser_osmosis_indoor.py:195
 msgid ""
 "Find out where the entrances of the room are and add them (with a `door=*` "
 "tag) so we can actually enter this indoor room."
 msgstr ""
+"Ta reda på var ingångarna till rummet är och lägg till dem (med taggen "
+"`door=*`) så kartan kan visa hur en faktiskt tar sig in i rummet."
 
 #: ../analysers/analyser_osmosis_indoor.py:197
 msgid "This indoor feature is not reachable"
-msgstr ""
+msgstr "Det här inomhusobjektet går inte att nå"
 
 #: ../analysers/analyser_osmosis_indoor.py:199
 msgid ""
 "Each indoor feature should be connected to another indoor feature or to some "
 "footpath so people can actually go to them."
 msgstr ""
+"Alla företeelser, faciliteter etc inomhus bör vara anslutna till andra "
+"inomhusobjekt eller till en gångväg eller liknande, så att människor vet hur "
+"de ska ta sig fram till dem."
 
 #: ../analysers/analyser_osmosis_powerline.py:689
 msgid ""
@@ -5172,25 +5184,29 @@ msgid ""
 "Add a transformer using `power=transformer` (standalone transformers) or "
 "`power=pole + transformer=*` (pole mounted transformers)."
 msgstr ""
+"Kontrollera att spänningen faktiskt är olika.\n"
+"I så fall, lägg till en transformator med `power=transformer` (fristående "
+"transformatorstation) eller `power=pole` + `transformer=*` (transformator "
+"monterad på ledningsstolpe)."
 
 #: ../plugins/indoor.py:20 ../plugins/indoor.py:54 ../plugins/indoor.py:111
 msgid "This indoor feature should be a closed and valid polygon"
-msgstr ""
+msgstr "Det här inomhusobjektet borde vara en sluten och giltig polygon"
 
 #: ../plugins/indoor.py:21 ../plugins/indoor.py:135
 msgid "This indoor feature should have a level"
-msgstr ""
+msgstr "Det här inomhusobjektet borde ha ett angivet våningsplan `level`"
 
 #: ../plugins/indoor.py:22 ../plugins/indoor.py:157
 msgid "This indoor shop should probably be inside a room"
-msgstr ""
+msgstr "Denna inomhusbutik borde troligen vara inuti ett rum"
 
 #: ../analysers/analyser_osmosis_tag_typo.py:162
 #: ../analysers/analyser_osmosis_tag_typo.py:171
 #: ../analysers/analyser_osmosis_tag_typo.py:180
 #, python-brace-format
 msgid "`{0}` is more common than `{1}`, is `{1}` a typo?"
-msgstr ""
+msgstr "`{0}` är mycket vanligare än `{1}`, är `{1}` ett stavfel?"
 
 #: ../plugins/Colour.py:21
 msgid "Bad colour name"
@@ -5199,7 +5215,7 @@ msgstr "Dåligt färgnamn"
 #: ../plugins/Colour.py:233 ../plugins/Colour.py:466 ../plugins/Colour.py:671
 #, python-brace-format
 msgid "Unknown or invalid colour in tag ''{0}''"
-msgstr ""
+msgstr "Okänd eller ogiltig färg i taggen \"{0}\""
 
 #: ../plugins/TagFix_DuplicateValue.py:40
 msgid ""
@@ -5208,11 +5224,14 @@ msgid ""
 "Ensure the interpretation of the tag does not change when you delete one "
 "item."
 msgstr ""
+"I vissa fall kan samtliga värden behövas.\n"
+"\n"
+"Se till att tolkningen av taggen inte förändras när du tar bort ett värde."
 
 #: ../plugins/TagFix_DuplicateValue.py:169
 #, python-brace-format
 msgid "Similar values {v1} and {v2} in {key}={val}"
-msgstr ""
+msgstr "Liknande värden {v1} och {v2}, i {key}={val}"
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:175
 msgid "Inconsistent `motor_vehicle` values."
@@ -5220,7 +5239,7 @@ msgstr "Inkonsekventa värden för `motor_vehicle`."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:179
 msgid "Inconsistent access values between barrier and highway."
-msgstr ""
+msgstr "Inkonsekventa `access`-värden mellan väghinder och själva vägen."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:181
 #: ../analysers/analyser_osmosis_highway_area_access.py:202
@@ -5228,35 +5247,42 @@ msgid ""
 "Sometimes a barrier can exist on an (otherwise uninterrupted) highway to "
 "prevent vehicles from using it for purposes other than destination traffic."
 msgstr ""
+"Ibland kan ett väghinder finnas på en (annars obehindrad) väg för att "
+"förhindra fordon att använda vägen för tex. genomfart eller andra obehöriga "
+"syften."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:183
 msgid "Copy the appropriate access tag to the barrier node."
-msgstr ""
+msgstr "Kopiera lämplig tillträdestagg över till noden för väghindret."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:225
 #: ../analysers/analyser_osmosis_highway_area_access.py:230
 #, python-brace-format
 msgid "Inconsistent {0} access: '{1}' on highway, not set on barrier"
 msgstr ""
+"Inkonsekvent tillträde för {0} : vägen angiven som '{1}', ingenting angivet "
+"på väghindret"
 
 #: ../plugins/notprefix.py:20 ../plugins/notprefix.py:75
 #: ../plugins/notprefix.py:132 ../plugins/notprefix.py:187
 #, python-brace-format
 msgid "`{0}` together with `{1}` and equal values"
-msgstr ""
+msgstr "`{0}` tillsammans med `{1}` och likvärdiga värden"
 
 #: ../analysers/analyser_osmosis_relation_cyclic.py:74
 msgid "Cyclic relation"
-msgstr ""
+msgstr "Cyklisk relation"
 
 #: ../analysers/analyser_osmosis_relation_cyclic.py:76
 msgid ""
 "A relation whose members (eventually) refer back to itself is rarely correct."
 msgstr ""
+"En relation vars medlemmar (förr eller senare) hänvisar tillbaka till sig "
+"själv, är sällan korrekt."
 
 #: ../analysers/analyser_osmosis_building_in_polygon.py:69
 msgid "Building on agricultural land"
-msgstr ""
+msgstr "Byggnad på jordbruksmark"
 
 #: ../analysers/analyser_osmosis_building_in_polygon.py:71
 msgid ""
@@ -5264,6 +5290,9 @@ msgid ""
 "on the farmyard,\n"
 "not on the farmland where the crops grow."
 msgstr ""
+"Byggnader inom lantbruk (boningshus, ladugård, stall, maskinhall etc...) "
+"ligger vanligen inom ett särskilt gårdsområde, inte på själva "
+"jordbruksmarken där odling, bete mm bedrivs."
 
 #: ../analysers/analyser_osmosis_building_in_polygon.py:74
 msgid ""
@@ -5276,6 +5305,14 @@ msgid ""
 "For areas dedicated to greenhouse horticulture, use "
 "`landuse=greenhouse_horticulture`."
 msgstr ""
+"Ändra eller dela upp landanvändningen, så att lantbruksbyggnader och "
+"tillhörande gårdsområde/gårdsplan ligger inom ett område med "
+"`landuse=farmyard`, och att bara själva jordbruksmarken anges som "
+"`landuse=farmland` (eller en mer specifik typ av odlingsmark, så som "
+"`landuse=vineyard` eller `landuse=orchard`).\n"
+"\n"
+"För områden specialiserade på växthusodling, använd "
+"`landuse=greenhouse_horticulture`."
 
 #: ../analysers/analyser_osmosis_building_in_polygon.py:88
 #, python-brace-format
@@ -5288,15 +5325,19 @@ msgid ""
 "Sometimes very small areas of this type may exist. In this case, please mark "
 "this issue as a false positive."
 msgstr ""
+"\n"
+"Ibland kan väldigt små områden av den här typen finnas och vara befogat. Om "
+"det är fallet här, markera felet som en falsk positiv."
 
 #: ../analysers/analyser_osmosis_polygon_small.py:72
 msgid "Natural area very small"
-msgstr ""
+msgstr "Naturområde väldigt litet"
 
 #: ../analysers/analyser_osmosis_polygon_small.py:74
 msgid ""
 "A natural object of this type is typically larger than the current object."
 msgstr ""
+"En naturlig företeelse av den här typen är normalt större än detta objektet."
 
 #: ../analysers/analyser_osmosis_polygon_small.py:76
 #: ../analysers/analyser_osmosis_polygon_small.py:83
@@ -5304,6 +5345,8 @@ msgid ""
 "A single tree should be tagged as `natural=tree` rather than "
 "`landuse=forest` or `natural=wood`."
 msgstr ""
+"Ett enskilt träd bör taggas som `natural=tree`, snarare än som "
+"`landuse=forest` eller `natural=wood`."
 
 #: ../analysers/analyser_osmosis_polygon_small.py:79
 #: ../analysers/analyser_osmosis_polygon_small.py:97
@@ -5315,6 +5358,7 @@ msgstr "Landanvändning väldigt liten"
 #: ../analysers/analyser_osmosis_polygon_small.py:99
 msgid "Landuses of this type are typically larger than the current object."
 msgstr ""
+"Landanvändning av den här typen är normalt större än det aktuella objektet."
 
 #: ../analysers/analyser_osmosis_polygon_small.py:86
 msgid "Small farm"
@@ -5330,6 +5374,13 @@ msgid ""
 "- `{0}`\n"
 "- etcetera."
 msgstr ""
+"Lantbruksmark som används för bete, ladugårdar, växthus etc. bör inte taggas "
+"som`landuse=farmland`.\n"
+"Taggen `landuse=farmland` är menad för åkermark/odlingsmark, där grödor "
+"odlas.\n"
+"Annan landanvändning skulle kunna taggas med:\n"
+"- `{0}`\n"
+"- och så vidare."
 
 #: ../analysers/analyser_osmosis_polygon_small.py:101
 #, python-brace-format
@@ -5342,7 +5393,7 @@ msgstr ""
 #: ../analysers/analyser_osmosis_polygon_small.py:136
 #, python-brace-format
 msgid "{0} with an area of {1} m2"
-msgstr ""
+msgstr "{0} med en yta på {1} m2"
 
 #: ../plugins/Highway_Parking_Lane.py:42 ../plugins/Highway_Parking_Lane.py:49
 #: ../plugins/Highway_Parking_Lane.py:53 ../plugins/Highway_Parking_Lane.py:60
@@ -5352,15 +5403,19 @@ msgid ""
 "Consider switching to the new [street parking tagging scheme](\"https://wiki."
 "openstreetmap.org/wiki/Street_parking)."
 msgstr ""
+"Överväg att byta till det nya [taggnings-schemat för gatuparkering](\"https"
+"://wiki.openstreetmap.org/wiki/Street_parking)."
 
 #: ../plugins/Highway_Parking_Lane.py:91
 msgid "Bad parking:[side]"
-msgstr ""
+msgstr "Felaktig parking:[side]"
 
 #: ../plugins/Highway_Parking_Lane.py:93
 msgid ""
 "The side was not recognized, expected was either `left`, `right` or `both`."
 msgstr ""
+"Angiven sida känns inte igen, förväntade värden är `left`, `right` eller "
+"`both`."
 
 #: ../plugins/Highway_Parking_Lane.py:95
 msgid "Use `parking:left`, `parking:right` or `parking:both`."
@@ -5373,16 +5428,21 @@ msgid ""
 "you should use `parking:both:maxstay=2 hours`, and not `parking:maxstay=2 "
 "hours`."
 msgstr ""
+"För att ange att det inte går att parkera på gatan mer än 2 timmar (för båda "
+"sidor), använd `parking:both:maxstay=2 hours`, och inte `parking:maxstay=2 "
+"hours`."
 
 #: ../plugins/Highway_Parking_Lane.py:101
 msgid "parking:[side]:* without parking:[side] value"
-msgstr ""
+msgstr "parking:[side]:* utan parking:[side]"
 
 #: ../plugins/Highway_Parking_Lane.py:103
 msgid ""
 "A parking tag adding details, such as `parking:[side]:fee`, is present "
 "without primary `parking:[side]` key."
 msgstr ""
+"En parkeringstagg med fler detaljer, t.ex. `parking:[side]:fee`, finns utan "
+"att den primära taggen `parking:[side]` har angivits."
 
 #: ../plugins/Highway_Parking_Lane.py:107
 msgid ""
@@ -5392,6 +5452,10 @@ msgid ""
 "However, `parking:both` already covers both sides of a street, so the latter "
 "are redundant."
 msgstr ""
+"Taggen `parking:both` (möjligen med suffix, som `:maxstay`) används "
+"tillsammans med `parking:left`och/eller `parking:right` (med samma suffix).\n"
+"Dock så täcker `parking:both` redan båda sidor av gatan, så taggar för "
+"specifika sidor är överflödiga."
 
 #: ../plugins/Highway_Parking_Lane.py:111
 msgid "Bad value for parking:[side]=*"
@@ -5426,6 +5490,8 @@ msgstr ""
 #: ../plugins/TagWatchFrViPofm.py:71
 msgid "Simple and frequent errors, can be updated by anyone on the wiki."
 msgstr ""
+"Enkla och ofta förekommande fel kan läggas till och uppdateras av vem som "
+"helst på wikin."
 
 #: ../plugins/TagFix_MultipleTag2.py:25 ../plugins/TagFix_MultipleTag2.py:60
 #: ../plugins/TagFix_MultipleTag2.py:294 ../plugins/TagFix_MultipleTag2.py:604
@@ -5434,6 +5500,8 @@ msgid ""
 "{0} together with {1}, usually {1} is located underneath the {2}. Tag the "
 "{3} as a separate object."
 msgstr ""
+"{0} tillsammans med {1}, vanligtvis är {1} lokaliserad under {2}. Tagga {3} "
+"som ett separat objekt."
 
 #: ../plugins/indoor.py:24 ../plugins/indoor.py:67 ../plugins/indoor.py:172
 #: ../plugins/indoor.py:218
@@ -5457,13 +5525,15 @@ msgstr ""
 #: ../plugins/Colour.py:387 ../plugins/Colour.py:537 ../plugins/Colour.py:603
 #, python-brace-format
 msgid "{0} colour code should start with '#' followed by 3 or 6 hex digits"
-msgstr ""
+msgstr "{0} färgkod borde starta med '#' följt av 3 eller 6 hexadecimal-tecken"
 
 #: ../plugins/TagFix_MultipleTag2.py:34
 msgid ""
 "Missing `maxheight=*` or `maxheight:physical=*` for a tunnel or a way under "
 "a bridge."
 msgstr ""
+"En tunnel eller väg under bro saknar `maxheight=*` eller "
+"`maxheight:physical=*`."
 
 #: ../plugins/TagFix_MultipleTag2.py:36
 msgid "suspicious tag combination"
@@ -5476,13 +5546,15 @@ msgstr ""
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:185
 msgid "Barrier blocking major highway"
-msgstr ""
+msgstr "Hinder blockerar större väg"
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:187
 msgid ""
 "A barrier is blocking a major highway. Typically, major highways (`tertiary` "
 "and above) are meant for passing traffic."
 msgstr ""
+"Ett väghinder blockerar en större väg. Vanligtvis är större vägar (`tertiary`"
+" och uppåt) avsedda för obehindrad trafik."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:189
 msgid ""
@@ -5493,6 +5565,12 @@ msgid ""
 "If there is a barrier, check if it has the appropriate (conditional) access "
 "keys."
 msgstr ""
+"Kontrollera om det faktiskt finns ett hinder på den större vägen (och inte "
+"t.ex. på enbart en anslutande mindre väg).\n"
+"Om det inte finns ett hinder, ta bort det, eller flytta hindret till den "
+"lämpliga anslutande vägen.\n"
+"Om det faktiskt är ett hinder på den större vägen, se till att det har "
+"korrekta (villkorliga) tillträdestaggar."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:196
 msgid "Barrier blocking highway"
@@ -5505,6 +5583,10 @@ msgid ""
 "In the current situation, traffic coming from any direction has to go "
 "through the barrier, to reach any of the destination ways."
 msgstr ""
+"Ett hinder blockerar själva korsningen mellan flera vägar. Antagligen är "
+"hindret menat att bara vara på en av vägarna. I nuvarande läge måste trafik "
+"från samtliga vägar in i korsningen passera hindret oavsett vilken väg ut ur "
+"korsningen trafiken ska ta."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:204
 msgid ""
@@ -5515,6 +5597,12 @@ msgid ""
 "If there is a barrier, check if it has the appropriate (conditional) access "
 "keys."
 msgstr ""
+"Kontrollera om det faktiskt finns ett väghinder i själva korsningen (och "
+"inte t.ex. på enbart en anslutande väg).\n"
+"Om det inte finns ett hinder, ta bort det, eller flytta hindret till den "
+"lämpliga anslutande vägen.\n"
+"Om det faktiskt är ett hinder i korsningen, se till att det har lämpliga "
+"(villkorliga) tillträdestaggar."
 
 #: ../analysers/analyser_osmosis_highway_area_access.py:192
 msgid ""
@@ -5542,7 +5630,7 @@ msgstr ""
 
 #: ../analysers/analyser_osmosis_parking_highway.py:120
 msgid "Inconsistent access of parking"
-msgstr ""
+msgstr "Motstridiga tillträden för parkering"
 
 #: ../analysers/analyser_osmosis_parking_highway.py:121
 msgid ""
@@ -5551,21 +5639,27 @@ msgid ""
 "As a result, this public parking space can only be reached via limited-"
 "access roads."
 msgstr ""
+"`access`-taggen för parkeringen stämmer inte med `access`-taggen för vägarna "
+"till eller inom parkeringen.\n"
+"Därmed kan denna allmänna parkering bara nås via vägar med begränsande "
+"restriktioner."
 
 #: ../analysers/analyser_osmosis_parking_highway.py:123
 msgid ""
 "Check which access restrictions are correct and apply them accordingly to "
 "the highways and the parking."
 msgstr ""
+"Undersök vilka tillträdesrestriktioner som är korrekta, och tillämpa dem "
+"likvärdigt på vägen och parkeringen."
 
 #: ../analysers/analyser_osmosis_parking_highway.py:124
 msgid "A parking may be partially publicly accessible and partially private."
-msgstr ""
+msgstr "En parkering kan vara delvis allmänt tillgänglig och delvis privat."
 
 #: ../analysers/analyser_osmosis_parking_highway.py:137
 #, python-brace-format
 msgid "highway: `access={0}` - parking: `access={1}`"
-msgstr ""
+msgstr "väg: `access={0}` - parkering: `access={1}`"
 
 #: ../analysers/analyser_osmosis_polygon_intersects.py:229
 #, python-brace-format
@@ -5582,22 +5676,27 @@ msgid ""
 "`tunnel=*` or\n"
 "`bridge=*` where appropriate, together with `layer=*` if needed."
 msgstr ""
+"Om sträckan för transportering (t.ex. en väg) har exvis. en skog på endera "
+"sidan av vägen, klipp bort vägens form från skogspolygonen.\n"
+"Däremot, om sträckan för transportering är en tunnel eller en bro, lägg till "
+"`tunnel=*` eller `bridge=*` där det är lämpligt, tillsammans med `layer=*` "
+"om det behövs."
 
 #: ../analysers/analyser_osmosis_polygon_intersects.py:208
 msgid "Bad intersection with major highway"
-msgstr ""
+msgstr "Felaktig överlappning med större väg"
 
 #: ../analysers/analyser_osmosis_polygon_intersects.py:212
 msgid "Bad intersection with railway"
-msgstr ""
+msgstr "Felaktig överlappning med järnväg"
 
 #: ../analysers/analyser_osmosis_polygon_intersects.py:216
 msgid "Bad intersection with aeroway"
-msgstr ""
+msgstr "Felaktig överlappning med landningsbana"
 
 #: ../analysers/analyser_osmosis_highway_vs_building.py:475
 msgid "Commercial object or office and highway too close"
-msgstr ""
+msgstr "Kommersiellt objekt eller kontor för nära väg"
 
 #: ../analysers/analyser_osmosis_polygon_intersects.py:193
 msgid ""
@@ -5605,6 +5704,8 @@ msgid ""
 "a\n"
 "land coverage that would pose an obstacle for this transportation mode."
 msgstr ""
+"En väg menad för transport (som en bilväg eller järnväg) överlappar med ett "
+"marktäcke som skulle utgöra ett hinder för det aktuella transportslaget."
 
 #: ../analysers/analyser_osmosis_polygon_intersects.py:196
 msgid ""
@@ -5615,6 +5716,11 @@ msgid ""
 "`natural=water`,\n"
 "without bridge or tunnel."
 msgstr ""
+"En stor betydande väg har vanligtvis inga träd som växer på eller väldigt "
+"nära den, så en överlappning mellan `landuse=forest` och `highway=trunk` är "
+"inte trolig.\n"
+"Samma säk gäller för t.ex. en järnväg över ett område med `natural=water`, "
+"utan en bro eller tunnel."
 
 #: ../plugins/Colour.py:21
 msgid ""
@@ -5622,12 +5728,18 @@ msgid ""
 "spelled in lowercase letters and without dashes. Multiple colours can be "
 "separated by a semicolon."
 msgstr ""
+"Namn på färger bör vara en av de som anges i CSS-specifikationen, och "
+"skrivas med små bokstäver och utan bindestreck. Flera färger kan skrivas "
+"separerade med semikolon."
 
 #: ../plugins/TagFix_Tree_Lang_fr.py:70
 msgid ""
 "To characterize the trees `natural=tree`, there are two main tags:\n"
 "`genus` and `species`."
 msgstr ""
+"För att specificera typ av träd `natural=tree`, finns det två huvudsakliga "
+"taggar:\n"
+"`genus` och `species`."
 
 #: ../analysers/analyser_merge_bridge_ES.py:31
 msgid "Bridge not integrated"
@@ -5647,11 +5759,13 @@ msgstr ""
 
 #: ../analysers/analyser_osmosis_polygon_small.py:105
 msgid "Leisure very small"
-msgstr ""
+msgstr "`leisure`-objekt väldigt litet"
 
 #: ../analysers/analyser_osmosis_polygon_small.py:107
 msgid "Leisures of this type are typically larger than the current object."
 msgstr ""
+"Fritidsobjekt (`leisure=*`) av den här typen är normalt större än det "
+"aktuella objektet."
 
 #: ../analysers/analyser_osmosis_polygon_small.py:109
 #, python-brace-format
@@ -5664,23 +5778,25 @@ msgstr ""
 
 #: ../plugins/ConditionalRestrictions.py:71
 msgid "Repeated condition in conditional restriction"
-msgstr ""
+msgstr "Upprepat villkor i en villkorlig restriktion"
 
 #: ../plugins/ConditionalRestrictions.py:72
 msgid ""
 "Two different values are set to apply under the same condition or a "
 "condition is repeated. The first value is overruled by the second value."
 msgstr ""
+"Två olika värden är angivna för samma typ av villkor, eller samma villkor "
+"upprepas. Det första värdet åsidosätts av det andra värdet."
 
 #: ../plugins/ConditionalRestrictions.py:175
 #, python-brace-format
 msgid "Repeated condition `{0}` in `{1}`"
-msgstr ""
+msgstr "Upprepat villkor `{0}` i `{1}`"
 
 #: ../plugins/ConditionalRestrictions.py:194
 #, python-brace-format
 msgid "Repeated condition `{0}` in `{1}` (in tag `{2}`)"
-msgstr ""
+msgstr "Upprepat villkor `{0}` i `{1}` (i taggen `{2}`)"
 
 #: ../analysers/analyser_osmosis_highway_long_crossing.py:64
 msgid "Long crossing"
@@ -5688,7 +5804,7 @@ msgstr "Långt övergångsställe"
 
 #: ../analysers/analyser_osmosis_highway_long_crossing.py:66
 msgid "The crossing way is much longer than usual."
-msgstr ""
+msgstr "Sträckan för övergången/passagen är mycket längre än normalt."
 
 #: ../analysers/analyser_osmosis_highway_long_crossing.py:68
 msgid ""
@@ -5696,21 +5812,27 @@ msgid ""
 "Remove crossing-related tags (such as `*=crossing`, `ford=*`) from the "
 "fragment that isn't a crossing."
 msgstr ""
+"Dela sträckan vid de punkter där övergången/passagen inte längre går över "
+"korsande väg eller vattendrag.\n"
+"Från de segment som inte utgör själva övergången; ta bort de taggar som "
+"relaterar till övergångsställe/passage (som ex. `*=crossing`, `ford=*`)."
 
 #: ../analysers/analyser_osmosis_highway_long_crossing.py:73
 #, python-brace-format
 msgid "Highway or waterway crossing of {0}m"
-msgstr ""
+msgstr "Övergång på {0}m över väg eller vattendrag"
 
 #: ../analysers/analyser_osmosis_way_angle.py:90
 msgid "Suspicious angle in way"
-msgstr "Misstänkt vinkel på väg"
+msgstr "Misstänkt vinkel på järnväg"
 
 #: ../analysers/analyser_osmosis_way_angle.py:92
 msgid ""
 "Sharp angles on a railway are suspicious. Maybe a node was accidentally "
 "dragged?"
 msgstr ""
+"Skarpa vinklar på en järnväg/spårväg är misstänkt då det blir för snäva "
+"kurvor. Kanske har en nod flyttats av misstag?"
 
 #: ../analysers/analyser_osmosis_way_angle.py:96
 #: ../analysers/analyser_osmosis_way_approximate.py:174
@@ -5718,11 +5840,13 @@ msgid ""
 "On service ways, train stations and train workshops this could be a false "
 "positive."
 msgstr ""
+"Vid tågstationer, vagnhallar, servicespår och liknande kan detta vara en "
+"falsk positiv."
 
 #: ../analysers/analyser_osmosis_way_angle.py:103
 #, python-brace-format
 msgid "railway={0} with suspicious angle {1}°"
-msgstr ""
+msgstr "railway={0} med misstänkt vinkel {1}°"
 
 #: ../plugins/ConditionalRestrictions.py:73
 msgid ""
@@ -5771,6 +5895,12 @@ msgid ""
 "Warning: information sources can be contradictory in time or with spatial "
 "offset."
 msgstr ""
+"Ett objekt kanske saknar en tagg, exvis. `tunnel=*`, `bridge=*`, `covered=*` "
+"eller `ford=*`.\n"
+"Om en väg eller järnväg korsar en byggnad, kolla om taggen `layer=*` kan "
+"vara relevant. \n"
+"OBS: olika informationskällor kan vara motstridiga över tid eller vara "
+"förskjuta geografiskt."
 
 #: ../plugins/Administrative_INSEE_Name.py:48
 msgid ""
@@ -5791,17 +5921,19 @@ msgid ""
 "You can not simultaneously set a tag and the variants with\n"
 "`forward`, `backward` or `both_ways` suffixes."
 msgstr ""
+"En kan kan inte ange en tagg samtidigt som samma tagg med `forward`, "
+"`backward` eller `both_ways` suffix."
 
 #: ../plugins/TagFix_MultipleTag2.py:141 ../plugins/TagFix_MultipleTag2.py:480
 #: ../plugins/TagFix_MultipleTag2.py:682
 #, python-brace-format
 msgid "Conflict between tags: `{0}` and `{1}`"
-msgstr ""
+msgstr "Konflikt mellan taggar: `{0}` och `{1}`"
 
 #: ../plugins/TagFix_MultipleTag2.py:160
 #, python-brace-format
 msgid "Conflict between tags: `{1}` must be used without `{0}`"
-msgstr ""
+msgstr "Konflikt mellan taggar: `{1}` måste användas utan `{0}`"
 
 #: ../plugins/TagFix_MultipleTag2.py:179 ../plugins/TagFix_MultipleTag2.py:496
 #: ../plugins/TagFix_MultipleTag2.py:698
@@ -5810,6 +5942,8 @@ msgid ""
 "{0} together with {1}. A picnic site rarely consists of only one single "
 "picnic table"
 msgstr ""
+"{0} tillsammans med {1}. En ordnad picnicplats (`picnic_site`) består sällan "
+"av endast ett picnicbord"
 
 #: ../plugins/TagFix_MultipleTag2.py:512
 #, python-brace-format
@@ -5900,6 +6034,8 @@ msgid ""
 "The relation contains the same member (with the same role) more than once. "
 "This is not expected for this type of relations."
 msgstr ""
+"Relationen innehåller samma medlem, i samma roll, mer än en gång. Det är "
+"inte förväntat för denna typ av relation."
 
 #: ../analysers/analyser_osmosis_relation_duplicate_member.py:66
 msgid "Remove the duplicate members until only unique members remain."
@@ -5917,16 +6053,24 @@ msgid ""
 "If you are sure that the route should follow this way, consider adding `{0}"
 "=yes`."
 msgstr ""
+"Kontrollera om leden/rutten faktiskt ska nyttja den här vägen.\n"
+"Om inte, flytta rutten så att den följer den designerade sträckningen. Detta "
+"kan innebära att flytta rutten till en separat karterad parallell väg.\n"
+"\n"
+"Om du är säker på att rutten ska följa den här vägen, överväg att lägga till "
+"`{0}=yes` på vägen."
 
 #: ../plugins/ConditionalRestrictions.py:80
 msgid "Equal conditional and unconditional tag value"
-msgstr ""
+msgstr "Likvärdigt villkorat och ovillkorat tagg-värde"
 
 #: ../plugins/ConditionalRestrictions.py:81
 msgid ""
 "The conditional tag has the same value as the same tag without the "
 "conditional restriction."
 msgstr ""
+"Den villkorade taggen har samma värde som samma tagg utan villkorade "
+"restriktioner."
 
 #: ../plugins/ConditionalRestrictions.py:82
 msgid ""
@@ -5934,26 +6078,31 @@ msgid ""
 "conditional`.\n"
 "Otherwise, remove the tag without `:conditional`."
 msgstr ""
+"Kontrollera om värdet är det som alltid gäller oavsett förhållanden. Om så "
+"är fallet, ta bort taggen med `:conditional`.\n"
+"Om inte, ta bort taggen utan `:conditional`."
 
 #: ../plugins/ConditionalRestrictions.py:84
 msgid ""
 "`bicycle=yes` together with `bicycle:conditional = yes @ (12:00-24:00)` "
 "means the same as just `bicycle=yes`."
 msgstr ""
+"`bicycle=yes` tillsammans med `bicycle:conditional = yes @ (12:00-24:00)` "
+"betyder samma sak som bara `bicycle=yes`."
 
 #: ../plugins/ConditionalRestrictions.py:224
 #, python-brace-format
 msgid "Tag `{0}` has the same value as `{1}`, without restrictions"
-msgstr ""
+msgstr "Taggen `{0}` har samma värde som `{1}`, utan restriktioner"
 
 #: ../plugins/Highway_Lanes.py:258 ../plugins/Highway_Lanes.py:265
 #, python-brace-format
 msgid "{0}={1} is not a positive integer"
-msgstr ""
+msgstr "{0}={1} är inte ett positivt heltal"
 
 #: ../plugins/Structural_Multipolygon.py:39
 msgid "Missing outer way with role `outer` for multipolygon"
-msgstr ""
+msgstr "Saknas sträcka med rollen `outer` att utgöra yttre ring i multipolygon"
 
 #: ../plugins/Structural_Multipolygon.py:43
 msgid ""
@@ -5961,12 +6110,17 @@ msgid ""
 "outer ways are also possible as long as they form one or more closed rings.\n"
 "The previous outer way may have been deleted, check the history."
 msgstr ""
+"Hitta sträckan som utgör yttre ring, och lägg till den i relationen med roll "
+"`outer`. Flera sträckor kan gemensamt utgöra yttre ring så länge som de "
+"bildar en eller flera slutna ringar.\n"
+"En redan angiven yttre ring kan ha blivit borttagen från relationen, kolla "
+"historiken."
 
 #: ../plugins/TagFix_MultipleTag2.py:32 ../plugins/TagFix_MultipleTag2.py:216
 #: ../plugins/TagFix_MultipleTag2.py:545 ../plugins/TagFix_MultipleTag2.py:731
 #, python-brace-format
 msgid "{0} with {1}, likely this is a single pitch instead"
-msgstr ""
+msgstr "{0} med {1}, troligen är detta en enskild ställplats/tältplats istället"
 
 #: ../plugins/TagFix_MultipleTag2.py:32
 msgid ""
@@ -5974,17 +6128,20 @@ msgid ""
 "common for a single pitch (`tourism=camp_pitch`) within a camping site. "
 "Possibly the two were interchanged?"
 msgstr ""
+"Campingplatsen (`tourism=camp_site`) har ett namn med siffror. Nummer är "
+"mycket vanligare som referens till en enskild tältplats/ställplats "
+"(`tourism=camp_pitch`) inom en campingplats. Möjligen har de två förväxlats?"
 
 #: ../plugins/TagFix_MultipleTag2.py:35 ../plugins/TagFix_MultipleTag2.py:193
 #: ../plugins/TagFix_MultipleTag2.py:524 ../plugins/TagFix_MultipleTag2.py:710
 #, python-brace-format
 msgid "Fence with {0} tag, also add {1}"
-msgstr ""
+msgstr "Stängsel med {0} tagg, lägg också till {1}"
 
 #: ../plugins/TagFix_Opening_Hours.py:69
 #, python-brace-format
 msgid "The `{0}` value is invalid and could not be parsed"
-msgstr ""
+msgstr "Värdet `{0}` är ogiltigt och kunde inte tolkas"
 
 #: ../analysers/analyser_merge_forest_compartment_FR.py:33
 msgid "Forest compartment not integrated"