grid_codes = {
    0: "VDE-AR-N-4105 (Germany)",
    1: "NB/T 32004 (China)",
    2: "UTE C 15-712-1(A) (France)",
    3: "UTE C 15-712-1(B) (France)",
    4: "UTE C 15-712-1(C) (France)",
    5: "VDE 0126-1-1-BU (Bulgaria)",
    6: "VDE 0126-1-1-GR(A) (Greece)",
    7: "VDE 0126-1-1-GR(B) (Greece)",
    8: "BDEW-MV (Germany)",
    9: "G59-England (UK)",
    10: "G59-Scotland (UK)",
    11: "G83-England (UK)",
    12: "G83-Scotland (UK)",
    13: "CEI0-21 (Italy)",
    14: "EN50438-CZ (Czech Republic)",
    15: "RD1699/661 (Spain)",
    16: "RD1699/661-MV480 (Spain)",
    17: "EN50438-NL (Netherlands)",
    18: "C10/11 (Belgium)",
    19: "AS4777 (Australia)",
    20: "IEC61727 (General)",
    21: "Custom (50 Hz) (Custom)",
    22: "Custom (60 Hz) (Custom)",
    23: "CEI0-16 (Italy)",
    24: "CHINA-MV480 (China)",
    25: "CHINA-MV (China)",
    26: "TAI-PEA (Thailand)",
    27: "TAI-MEA (Thailand)",
    28: "BDEW-MV480 (Germany)",
    29: "Custom MV480 (50 Hz) (Custom)",
    30: "Custom MV480 (60 Hz) (Custom)",
    31: "G59-England-MV480 (UK)",
    32: "IEC61727-MV480 (General)",
    33: "UTE C 15-712-1-MV480 (France)",
    34: "TAI-PEA-MV480 (Thailand)",
    35: "TAI-MEA-MV480 (Thailand)",
    36: "EN50438-DK-MV480 (Denmark)",
    37: "Japan Standard (50 Hz) (Japan)",
    38: "Japan Standard (60 Hz) (Japan)",
    39: "EN50438-TR-MV480 (Turkey)",
    40: "EN50438-TR (Turkey)",
    41: "C11/C10-MV480 (Belgium)",
    42: "Philippines (Philippines)",
    43: "Philippines-MV480 (Philippines)",
    44: "AS4777-MV480 (Australia)",
    45: "NRS-097-2-1 (South Africa)",
    46: "NRS-097-2-1-MV480 (South Africa)",
    47: "KOREA (South Korea)",
    48: "IEEE 1547-MV480 (USA)",
    49: "IEC61727-60Hz (General)",
    50: "IEC61727-60Hz-MV480 (General)",
    51: "CHINA_MV500 (China)",
    52: "ANRE (Romania)",
    53: "ANRE-MV480 (Romania)",
    54: "ELECTRIC RULE NO.21-MV480 (California, USA)",
    55: "HECO-MV480 (Hawaii, USA)",
    56: "PRC_024_Eastern-MV480 (Eastern USA)",
    57: "PRC_024_Western-MV480 (Western USA)",
    58: "PRC_024_Quebec-MV480 (Quebec, Canada)",
    59: "PRC_024_ERCOT-MV480 (Texas, USA)",
    60: "PO12.3-MV480 (Spain)",
    61: "EN50438_IE-MV480 (Ireland)",
    62: "EN50438_IE (Ireland)",
    63: "IEEE 1547a-MV480 (USA)",
    64: "Japan Standard (MV420-50 Hz) (Japan)",
    65: "Japan Standard (MV420-60 Hz) (Japan)",
    66: "Japan Standard (MV440-50 Hz) (Japan)",
    67: "Japan Standard (MV440-60 Hz) (Japan)",
    68: "IEC61727-50Hz-MV500 (General)",
    70: "CEI0-16-MV480 (Italy)",
    71: "PO12.3 (Spain)",
    72: "Japan Standard (MV400-50 Hz) (Japan)",
    73: "Japan Standard (MV400-60 Hz) (Japan)",
    74: "CEI0-21-MV480 (Italy)",
    75: "KOREA-MV480 (South Korea)",
    76: "Egypt ETEC (Egypt)",
    77: "Egypt ETEC-MV480 (Egypt)",
    78: "CHINA_MV800 (China)",
    79: "IEEE 1547-MV600 (USA)",
    80: "ELECTRIC RULE NO.21-MV600 (California, USA)",
    81: "HECO-MV600 (Hawaii, USA)",
    82: "PRC_024_Eastern-MV600 (Eastern USA)",
    83: "PRC_024_Western-MV600 (Western USA)",
    84: "PRC_024_Quebec-MV600 (Quebec, Canada)",
    85: "PRC_024_ERCOT-MV600 (Texas, USA)",
    86: "IEEE 1547a-MV600 (USA)",
    87: "EN50549-LV (Ireland)",
    88: "EN50549-MV480 (Ireland)",
    89: "Jordan-Transmission (Jordan)",
    90: "Jordan-Transmission-MV480 (Jordan)",
    91: "NAMIBIA (Namibia)",
    92: "ABNT NBR 16149 (Brazil)",
    93: "ABNT NBR 16149-MV480 (Brazil)",
    94: "SA_RPPs (South Africa)",
    95: "SA_RPPs-MV480 (South Africa)",
    96: "INDIA (India)",
    97: "INDIA-MV500 (India)",
    98: "ZAMBIA (Zambia)",
    99: "ZAMBIA-MV480 (Zambia)",
    100: "Chile (Chile)",
    101: "Chile-MV480 (Chile)",
    102: "CHINA-MV500-STD (China)",
    103: "CHINA-MV480-STD (China)",
    104: "Mexico-MV480 (Mexico)",
    105: "Malaysian (Malaysia)",
    106: "Malaysian-MV480 (Malaysia)",
    107: "KENYA_ETHIOPIA (East Africa)",
    108: "KENYA_ETHIOPIA-MV480 (East Africa)",
    109: "G59-England-MV800 (UK)",
    110: "NIGERIA (Nigeria)",
    111: "NIGERIA-MV480 (Nigeria)",
    112: "DUBAI (Dubai)",
    113: "DUBAI-MV480 (Dubai)",
    114: "Northern Ireland (Northern Ireland)",
    115: "Northern Ireland-MV480 (Northern Ireland)",
    116: "Cameroon (Cameroon)",
    117: "Cameroon-MV480 (Cameroon)",
    118: "Jordan-Distribution (Jordan)",
    119: "Jordan-Distribution-MV480 (Jordan)",
    120: "Custom MV600-50 Hz (Custom)",
    121: "AS4777-MV800 (Australia)",
    122: "INDIA-MV800 (India)",
    123: "IEC61727-MV800 (General)",
    124: "BDEW-MV800 (Germany)",
    125: "ABNT NBR 16149-MV800 (Brazil)",
    126: "UTE C 15-712-1-MV800 (France)",
    127: "Chile-MV800 (Chile)",
    128: "Mexico-MV800 (Mexico)",
    129: "EN50438-TR-MV800 (Turkey)",
    130: "TAI-PEA-MV800 (Thailand)",
    131: "Philippines-MV800 (Philippines)",
    132: "Malaysian-MV800 (Malaysia)",
    133: "NRS-097-2-1-MV800 (South Africa)",
    134: "SA_RPPs-MV800 (South Africa)",
    135: "Jordan-Transmission-MV800 (Jordan)",
    136: "Jordan-Distribution-MV800 (Jordan)",
    137: "Egypt ETEC-MV800 (Egypt)",
    138: "DUBAI-MV800 (Dubai)",
    139: "SAUDI-MV800 (Saudi Arabia)",
    140: "EN50438_IE-MV800 (Ireland)",
    141: "EN50549-MV800 (Ireland)",
    142: "Northern Ireland-MV800 (Northern Ireland)",
    143: "CEI0-21-MV800 (Italy)",
    144: "IEC 61727-MV800-60Hz (General)",
    145: "NAMIBIA_MV480 (Namibia)",
    146: "Japan (LV202-50 Hz) (Japan)",
    147: "Japan (LV202-60 Hz) (Japan)",
    148: "Pakistan-MV800 (Pakistan)",
    149: "BRASIL-ANEEL-MV800 (Brazil)",
    150: "Israel-MV800 (Israel)",
    151: "CEI0-16-MV800 (Italy)",
    152: "ZAMBIA-MV800 (Zambia)",
    153: "KENYA_ETHIOPIA-MV800 (East Africa)",
    154: "NAMIBIA_MV800 (Namibia)",
    155: "Cameroon-MV800 (Cameroon)",
    156: "NIGERIA-MV800 (Nigeria)",
    157: "ABUDHABI-MV800 (Abu Dhabi)",
    158: "LEBANON (Lebanon)",
    159: "LEBANON-MV480 (Lebanon)",
    160: "LEBANON-MV800 (Lebanon)",
    161: "ARGENTINA-MV800 (Argentina)",
    162: "ARGENTINA-MV500 (Argentina)",
    163: "Jordan-Transmission-HV (Jordan)",
    164: "Jordan-Transmission-HV480 (Jordan)",
    165: "Jordan-Transmission-HV800 (Jordan)",
    166: "TUNISIA (Tunisia)",
    167: "TUNISIA-MV480 (Tunisia)",
    168: "TUNISIA-MV800 (Tunisia)",
    169: "JAMAICA-MV800 (Jamaica)",
    170: "AUSTRALIA-NER (Australia)",
    171: "AUSTRALIA-NER-MV480 (Australia)",
    172: "AUSTRALIA-NER-MV800 (Australia)",
    173: "SAUDI (Saudi Arabia)",
    174: "SAUDI-MV480 (Saudi Arabia)",
    175: "Ghana-MV480 (Ghana)",
    176: "Israel (Israel)",
    177: "Israel-MV480 (Israel)",
    178: "Chile-PMGD (Chile)",
    179: "Chile-PMGD-MV480 (Chile)",
    180: "VDE-AR-N4120-HV (Germany)",
    181: "VDE-AR-N4120-HV480 (Germany)",
    182: "VDE-AR-N4120-HV800 (Germany)",
    183: "IEEE 1547-MV800 (USA)",
    184: "Nicaragua-MV800 (Nicaragua)",
    185: "IEEE 1547a-MV800 (USA)",
    186: "ELECTRIC RULE NO.21-MV800 (California, USA)",
    187: "HECO-MV800 (Hawaii, USA)",
    188: "PRC_024_Eastern-MV800 (Eastern USA)",
    189: "PRC_024_Western-MV800 (Western USA)",
    190: "PRC_024_Quebec-MV800 (Quebec, Canada)",
    191: "PRC_024_ERCOT-MV800 (Texas, USA)",
    192: "Custom-MV800-50Hz (Custom)",
    193: "RD1699/661-MV800 (Spain)",
    194: "PO12.3-MV800 (Spain)",
    195: "Mexico-MV600 (Mexico)",
    196: "Vietnam-MV800 (Vietnam)",
    197: "CHINA-LV220/380 (China)",
    198: "SVG-LV (Dedicated)",
    199: "Vietnam (Vietnam)",
    200: "Vietnam-MV480 (Vietnam)",
    201: "Chile-PMGD-MV800 (Chile)",
    202: "Ghana-MV800 (Ghana)",
    203: "TAIPOWER (Taiwan)",
    204: "TAIPOWER-MV480 (Taiwan)",
    205: "TAIPOWER-MV800 (Taiwan)",
    206: "IEEE 1547-LV208 (USA)",
    207: "IEEE 1547-LV240 (USA)",
    208: "IEEE 1547a-LV208 (USA)",
    209: "IEEE 1547a-LV240 (USA)",
    210: "ELECTRIC RULE NO.21-LV208 (USA)",
    211: "ELECTRIC RULE NO.21-LV240 (USA)",
    212: "HECO-O+M+H-LV208 (USA)",
    213: "HECO-O+M+H-LV240 (USA)",
    214: "PRC_024_Eastern-LV208 (USA)",
    215: "PRC_024_Eastern-LV240 (USA)",
    216: "PRC_024_Western-LV208 (USA)",
    217: "PRC_024_Western-LV240 (USA)",
    218: "PRC_024_ERCOT-LV208 (USA)",
    219: "PRC_024_ERCOT-LV240 (USA)",
    220: "PRC_024_Quebec-LV208 (USA)",
    221: "PRC_024_Quebec-LV240 (USA)",
    222: "ARGENTINA-MV480 (Argentina)",
    223: "Oman (Oman)",
    224: "Oman-MV480 (Oman)",
    225: "Oman-MV800 (Oman)",
    226: "Kuwait (Kuwait)",
    227: "Kuwait-MV480 (Kuwait)",
    228: "Kuwait-MV800 (Kuwait)",
    229: "Bangladesh (Bangladesh)",
    230: "Bangladesh-MV480 (Bangladesh)",
    231: "Bangladesh-MV800 (Bangladesh)",
    232: "Chile-Net_Billing (Chile)",
    233: "EN50438-NL-MV480 (Netherlands)",
    234: "Bahrain (Bahrain)",
    235: "Bahrain-MV480 (Bahrain)",
    236: "Bahrain-MV800 (Bahrain)",
    238: "Japan-MV550-50Hz (Japan)",
    239: "Japan-MV550-60Hz (Japan)",
    241: "ARGENTINA (Argentina)",
    242: "KAZAKHSTAN-MV800 (Kazakhstan)",
    243: "Mauritius (Mauritius)",
    244: "Mauritius-MV480 (Mauritius)",
    245: "Mauritius-MV800 (Mauritius)",
    246: "Oman-PDO-MV800 (Oman)",
    247: "EN50438-SE (Sweden)",
    248: "TAI-MEA-MV800 (Thailand)",
    249: "Pakistan (Pakistan)",
    250: "Pakistan-MV480 (Pakistan)",
    251: "PORTUGAL-MV800 (Portugal)",
    252: "HECO-L+M-LV208 (USA)",
    253: "HECO-L+M-LV240 (USA)",
    254: "C10/11-MV800 (Belgium)",
    255: "Austria (Austria)",
    256: "Austria-MV480 (Austria)",
    257: "G98 (UK)",
    258: "G99-TYPEA-LV (UK)",
    259: "G99-TYPEB-LV (UK)",
    260: "G99-TYPEB-HV (UK)",
    261: "G99-TYPEB-HV-MV480 (UK)",
    262: "G99-TYPEB-HV-MV800 (UK)",
    263: "G99-TYPEC-HV-MV800 (UK)",
    264: "G99-TYPED-MV800 (UK)",
    265: "G99-TYPEA-HV (UK)",
    266: "CEA-MV800 (India)",
    267: "EN50549-MV400 (Europe)",
    268: "VDE-AR-N4110 (Germany)",
    269: "VDE-AR-N4110-MV480 (Germany)",
    270: "VDE-AR-N4110-MV800 (Germany)",
    271: "Panama-MV800 (Panama)",
    272: "North Macedonia-MV800 (North Macedonia)",
    273: "NTS (Spain)",
    274: "NTS-MV480 (Spain)",
    275: "NTS-MV800 (Spain)",
}