cimoxide-model 0.5.1

The IEC 61970/61968 Common Information Model as profiled by ENTSO-E CGMES: generated Rust structs, a streaming RDF/XML decoder, and conversion to RDF/XML and JSON
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
// Generated by cimgen — do not edit by hand.
#![allow(clippy::all, dead_code)]

use crate::base::{AttrDef, AttrKind, ClassDef, EnumDef, EnumValueDef, Schema};

/// Every class of the `cgmes` family. The index of a row is its class id.
pub static CLASSES: &[ClassDef] = &[
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ACDCConverter",
        qualified: "ACDCConverter",
        super_class: Some(37),
        concrete: false,
        origins: &["EQ", "DY", "SSH", "SV"],
        comment: "A unit with valves for three phases, together with unit control equipment, essential protective and switching devices, DC storage capacitors, phase reactors and auxiliaries, if any, used for conversion.",
        attrs: &[
            AttrDef { id: "ACDCConverter.DCTerminals", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACDCConverterDCTerminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A DC converter have DC converter terminals. A converter has two DC converter terminals." },
            AttrDef { id: "ACDCConverter.PccTerminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Point of common coupling terminal for this converter DC side. It is typically the terminal on the power transformer (or switch) closest to the AC network." },
            AttrDef { id: "ACDCConverter.baseS", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Base apparent power of the converter pole. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.idc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Converter DC current, also called Id. It is converter’s state variable, result from power flow." },
            AttrDef { id: "ACDCConverter.idleLoss", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Active power loss in pole at no power transfer. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.maxP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum active power limit. The value is overwritten by values of VsCapabilityCurve, if present." },
            AttrDef { id: "ACDCConverter.maxUdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The maximum voltage on the DC side at which the converter should operate. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.minP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum active power limit. The value is overwritten by values of VsCapabilityCurve, if present." },
            AttrDef { id: "ACDCConverter.minUdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The minimum voltage on the DC side at which the converter should operate. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.numberOfValves", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "Number of valves in the converter. Used in loss calculations." },
            AttrDef { id: "ACDCConverter.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Active power at the point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution in the case a simplified power flow model is used." },
            AttrDef { id: "ACDCConverter.poleLossP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The active power loss at a DC Pole = idleLoss + switchingLoss*|Idc| + resitiveLoss*Idc^2. For lossless operation Pdc=Pac. For rectifier operation with losses Pdc=Pac-lossP. For inverter operation with losses Pdc=Pac+lossP. It is converter’s state variable used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power at the point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution in the case a simplified power flow model is used." },
            AttrDef { id: "ACDCConverter.ratedUdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Rated converter DC voltage, also called UdN. The attribute shall be a positive value. It is converter’s configuration data used in power flow. For instance a bipolar HVDC link with value 200 kV has a 400kV difference between the dc lines." },
            AttrDef { id: "ACDCConverter.resistiveLoss", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "It is converter’s configuration data used in power flow. Refer to poleLossP. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.switchingLoss", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePowerPerCurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Switching losses, relative to the base apparent power 'baseS'. Refer to poleLossP. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.targetPpcc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Real power injection target in AC grid, at point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node." },
            AttrDef { id: "ACDCConverter.targetUdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Target value for DC voltage magnitude. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Line-to-line converter voltage, the voltage at the AC side of the valve. It is converter’s state variable, result from power flow. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.udc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Converter voltage at the DC side, also called Ud. It is converter’s state variable, result from power flow. The attribute shall be a positive value." },
            AttrDef { id: "ACDCConverter.valveU0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Valve threshold voltage, also called Uvalve. Forward voltage drop when the valve is conducting. Used in loss calculations, i.e. the switchLoss depend on numberOfValves * valveU0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ACDCConverterDCTerminal",
        qualified: "ACDCConverterDCTerminal",
        super_class: Some(56),
        concrete: true,
        origins: &["EQ", "SSH", "TP"],
        comment: "A DC electrical connection point at the AC/DC converter. The AC/DC converter is electrically connected also to the AC side. The AC connection is inherited from the AC conducting equipment in the same way as any other AC equipment. The AC/DC converter DC terminal is separate from generic DC terminal to restrict the connection with the AC side to AC/DC converter and so that no other DC conducting equipment can be connected to the AC side.",
        attrs: &[
            AttrDef { id: "ACDCConverterDCTerminal.DCConductingEquipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACDCConverter", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A DC converter terminal belong to an DC converter." },
            AttrDef { id: "ACDCConverterDCTerminal.polarity", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "DCPolarityKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Represents the normal network polarity condition. Depending on the converter configuration the value shall be set as follows: - For a monopole with two converter terminals use DCPolarityKind “positive” and “negative”. - For a bi-pole or symmetric monopole with three converter terminals use DCPolarityKind “positive”, “middle” and “negative”." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ACDCTerminal",
        qualified: "ACDCTerminal",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ", "DY", "EQBD", "OP", "SC", "SSH", "SV", "TP"],
        comment: "An electrical connection point (AC or DC) to a piece of conducting equipment. Terminals are connected at physical connection points called connectivity nodes.",
        attrs: &[
            AttrDef { id: "ACDCTerminal.BusNameMarker", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "BusNameMarker", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The bus name marker used to name the bus (topological node)." },
            AttrDef { id: "ACDCTerminal.Measurements", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Measurement", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "Measurements associated with this terminal defining where the measurement is placed in the network topology. It may be used, for instance, to capture the sensor position, such as a voltage transformer (PT) at a busbar or a current transformer (CT) at the bar between a breaker and an isolator." },
            AttrDef { id: "ACDCTerminal.OperationalLimitSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OperationalLimitSet", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The operational limit sets at the terminal." },
            AttrDef { id: "ACDCTerminal.connected", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "The connected status is related to a bus-branch model and the topological node to terminal relation. True implies the terminal is connected to the related topological node and false implies it is not. In a bus-branch model, the connected status is used to tell if equipment is disconnected without having to change the connectivity described by the topological node to terminal relation. A valid case is that conducting equipment can be connected in one end and open in the other. In particular for an AC line segment, where the reactive line charging can be significant, this is a relevant case." },
            AttrDef { id: "ACDCTerminal.sequenceNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The orientation of the terminal connections for a multiple terminal conducting equipment. The sequence numbering starts with 1 and additional terminals should follow in increasing order. The first terminal is the 'starting point' for a two terminal branch." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ACLineSegment",
        qualified: "ACLineSegment",
        super_class: Some(38),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A wire or combination of wires, with consistent electrical characteristics, building a single electrical system, used to carry alternating current between points in the power system. For symmetrical, transposed three phase lines, it is sufficient to use attributes of the line segment, which describe impedances and admittances for the entire length of the segment. Additionally impedances can be computed by using length and associated per length impedances. The BaseVoltage at the two ends of ACLineSegments in a Line shall have the same BaseVoltage.nominalVoltage. However, boundary lines may have slightly different BaseVoltage.nominalVoltages and variation is allowed. Larger voltage difference in general requires use of an equivalent branch.",
        attrs: &[
            AttrDef { id: "ACLineSegment.Clamp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Clamp", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The clamps connected to the line segment." },
            AttrDef { id: "ACLineSegment.Cut", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Cut", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Cuts applied to the line segment." },
            AttrDef { id: "ACLineSegment.b0ch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence shunt (charging) susceptance, uniformly distributed, of the entire line section." },
            AttrDef { id: "ACLineSegment.bch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. This value represents the full charging over the full length of the line." },
            AttrDef { id: "ACLineSegment.g0ch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence shunt (charging) conductance, uniformly distributed, of the entire line section." },
            AttrDef { id: "ACLineSegment.gch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt (charging) conductance, uniformly distributed, of the entire line section." },
            AttrDef { id: "ACLineSegment.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence series resistance of the entire line section." },
            AttrDef { id: "ACLineSegment.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series resistance of the entire line section." },
            AttrDef { id: "ACLineSegment.shortCircuitEndTemperature", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Maximum permitted temperature at the end of SC for the calculation of minimum short-circuit currents. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ACLineSegment.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence series reactance of the entire line section." },
            AttrDef { id: "ACLineSegment.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series reactance of the entire line section." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Accumulator",
        qualified: "Accumulator",
        super_class: Some(233),
        concrete: true,
        origins: &["OP"],
        comment: "Accumulator represents an accumulated (counted) Measurement, e.g. an energy value.",
        attrs: &[
            AttrDef { id: "Accumulator.AccumulatorValues", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AccumulatorValue", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The values connected to this measurement." },
            AttrDef { id: "Accumulator.LimitSets", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AccumulatorLimitSet", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "A measurement may have zero or more limit ranges defined for it." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AccumulatorLimit",
        qualified: "AccumulatorLimit",
        super_class: Some(216),
        concrete: true,
        origins: &["OP"],
        comment: "Limit values for Accumulator measurements.",
        attrs: &[
            AttrDef { id: "AccumulatorLimit.LimitSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AccumulatorLimitSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The set of limits." },
            AttrDef { id: "AccumulatorLimit.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["OP"], comment: "The value to supervise against. The value is positive." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AccumulatorLimitSet",
        qualified: "AccumulatorLimitSet",
        super_class: Some(218),
        concrete: true,
        origins: &["OP"],
        comment: "An AccumulatorLimitSet specifies a set of Limits that are associated with an Accumulator measurement.",
        attrs: &[
            AttrDef { id: "AccumulatorLimitSet.Limits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AccumulatorLimit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The limit values used for supervision of Measurements." },
            AttrDef { id: "AccumulatorLimitSet.Measurements", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Accumulator", is_list: true, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The Measurements using the LimitSet." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AccumulatorReset",
        qualified: "AccumulatorReset",
        super_class: Some(45),
        concrete: true,
        origins: &["OP"],
        comment: "This command resets the counter value to zero.",
        attrs: &[
            AttrDef { id: "AccumulatorReset.AccumulatorValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AccumulatorValue", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The accumulator value that is reset by the command." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AccumulatorValue",
        qualified: "AccumulatorValue",
        super_class: Some(234),
        concrete: true,
        origins: &["OP"],
        comment: "AccumulatorValue represents an accumulated (counted) MeasurementValue.",
        attrs: &[
            AttrDef { id: "AccumulatorValue.Accumulator", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Accumulator", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "Measurement to which this value is connected." },
            AttrDef { id: "AccumulatorValue.AccumulatorReset", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AccumulatorReset", is_list: false, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The command that resets the accumulator value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ActivePowerLimit",
        qualified: "ActivePowerLimit",
        super_class: Some(248),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Limit on active power flow.",
        attrs: &[
            AttrDef { id: "ActivePowerLimit.normalValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The normal value of active power limit. The attribute shall be a positive value or zero." },
            AttrDef { id: "ActivePowerLimit.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Value of active power limit. The attribute shall be a positive value or zero." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Analog",
        qualified: "Analog",
        super_class: Some(233),
        concrete: true,
        origins: &["OP"],
        comment: "Analog represents an analog Measurement.",
        attrs: &[
            AttrDef { id: "Analog.AnalogValues", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AnalogValue", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The values connected to this measurement." },
            AttrDef { id: "Analog.LimitSets", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AnalogLimitSet", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "A measurement may have zero or more limit ranges defined for it." },
            AttrDef { id: "Analog.positiveFlowIn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "If true then this measurement is an active power, reactive power or current with the convention that a positive value measured at the Terminal means power is flowing into the related PowerSystemResource." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AnalogControl",
        qualified: "AnalogControl",
        super_class: Some(45),
        concrete: false,
        origins: &["OP"],
        comment: "An analog control used for supervisory control.",
        attrs: &[
            AttrDef { id: "AnalogControl.AnalogValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AnalogValue", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The MeasurementValue that is controlled." },
            AttrDef { id: "AnalogControl.maxValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["OP"], comment: "Normal value range maximum for any of the Control.value. Used for scaling, e.g. in bar graphs." },
            AttrDef { id: "AnalogControl.minValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["OP"], comment: "Normal value range minimum for any of the Control.value. Used for scaling, e.g. in bar graphs." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AnalogLimit",
        qualified: "AnalogLimit",
        super_class: Some(216),
        concrete: true,
        origins: &["OP"],
        comment: "Limit values for Analog measurements.",
        attrs: &[
            AttrDef { id: "AnalogLimit.LimitSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AnalogLimitSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The set of limits." },
            AttrDef { id: "AnalogLimit.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["OP"], comment: "The value to supervise against." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AnalogLimitSet",
        qualified: "AnalogLimitSet",
        super_class: Some(218),
        concrete: true,
        origins: &["OP"],
        comment: "An AnalogLimitSet specifies a set of Limits that are associated with an Analog measurement.",
        attrs: &[
            AttrDef { id: "AnalogLimitSet.Limits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AnalogLimit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The limit values used for supervision of Measurements." },
            AttrDef { id: "AnalogLimitSet.Measurements", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Analog", is_list: true, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The Measurements using the LimitSet." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AnalogValue",
        qualified: "AnalogValue",
        super_class: Some(234),
        concrete: true,
        origins: &["OP"],
        comment: "AnalogValue represents an analog MeasurementValue.",
        attrs: &[
            AttrDef { id: "AnalogValue.Analog", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Analog", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "Measurement to which this value is connected." },
            AttrDef { id: "AnalogValue.AnalogControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AnalogControl", is_list: false, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The Control variable associated with the MeasurementValue." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ApparentPowerLimit",
        qualified: "ApparentPowerLimit",
        super_class: Some(248),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Apparent power limit.",
        attrs: &[
            AttrDef { id: "ApparentPowerLimit.normalValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The normal apparent power limit. The attribute shall be a positive value or zero." },
            AttrDef { id: "ApparentPowerLimit.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "The apparent power limit. The attribute shall be a positive value or zero." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AsynchronousMachine",
        qualified: "AsynchronousMachine",
        super_class: Some(320),
        concrete: true,
        origins: &["EQ", "DY", "SC", "SSH"],
        comment: "A rotating machine whose shaft rotates asynchronously with the electrical field. Also known as an induction machine with no external connection to the rotor windings, e.g. squirrel-cage induction machine.",
        attrs: &[
            AttrDef { id: "AsynchronousMachine.AsynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AsynchronousMachineDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Asynchronous machine dynamics model used to describe dynamic behaviour of this asynchronous machine." },
            AttrDef { id: "AsynchronousMachine.asynchronousMachineType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "AsynchronousMachineKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Indicates the type of Asynchronous Machine (motor or generator)." },
            AttrDef { id: "AsynchronousMachine.converterFedDrive", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "Indicates whether the machine is a converter fed drive. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "AsynchronousMachine.efficiency", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Efficiency of the asynchronous machine at nominal operation as a percentage. Indicator for converter drive motors. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "AsynchronousMachine.iaIrRatio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Ratio of locked-rotor current to the rated current of the motor (Ia/Ir). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "AsynchronousMachine.nominalFrequency", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Nameplate data indicates if the machine is 50 Hz or 60 Hz." },
            AttrDef { id: "AsynchronousMachine.nominalSpeed", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "RotationSpeed", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Nameplate data. Depends on the slip and number of pole pairs." },
            AttrDef { id: "AsynchronousMachine.polePairNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["SC"], comment: "Number of pole pairs of stator. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "AsynchronousMachine.ratedMechanicalPower", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Rated mechanical power (Pr in IEC 60909-0). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "AsynchronousMachine.reversible", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "Indicates for converter drive motors if the power can be reversible. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "AsynchronousMachine.rxLockedRotorRatio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Locked rotor ratio (R/X). Used for short circuit data exchange according to IEC 60909." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AsynchronousMachineDynamics",
        qualified: "AsynchronousMachineDynamics",
        super_class: Some(321),
        concrete: false,
        origins: &["DY"],
        comment: "Asynchronous machine whose behaviour is described by reference to a standard model expressed in either time constant reactance form or equivalent circuit form or by definition of a user-defined model. Parameter details: Asynchronous machine parameters such as Xl, Xs, etc. are actually used as inductances in the model, but are commonly referred to as reactances since, at nominal frequency, the PU values are the same. However, some references use the symbol L instead of X.",
        attrs: &[
            AttrDef { id: "AsynchronousMachineDynamics.AsynchronousMachine", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AsynchronousMachine", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Asynchronous machine to which this asynchronous machine dynamics model applies." },
            AttrDef { id: "AsynchronousMachineDynamics.MechanicalLoadDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MechanicalLoadDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Mechanical load model associated with this asynchronous machine model." },
            AttrDef { id: "AsynchronousMachineDynamics.TurbineGovernorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TurbineGovernorDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Turbine-governor model associated with this asynchronous machine model." },
            AttrDef { id: "AsynchronousMachineDynamics.WindTurbineType1or2Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType1or2Dynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 1 or type 2 model associated with this asynchronous machine model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AsynchronousMachineEquivalentCircuit",
        qualified: "AsynchronousMachineEquivalentCircuit",
        super_class: Some(17),
        concrete: true,
        origins: &["DY"],
        comment: "The electrical equations of all variations of the asynchronous model are based on the AsynchronousEquivalentCircuit diagram for the direct- and quadrature- axes, with two equivalent rotor windings in each axis. Equations for conversion between equivalent circuit and time constant reactance forms: Xs = Xm + Xl X' = Xl + Xm x Xlr1 / (Xm + Xlr1) X'' = Xl + Xm x Xlr1 x Xlr2 / (Xm x Xlr1 + Xm x Xlr2 + Xlr1 x Xlr2) T'o = (Xm + Xlr1) / (omega0 x Rr1) T''o = (Xm x Xlr1 + Xm x Xlr2 + Xlr1 x Xlr2) / (omega0 x Rr2 x (Xm + Xlr1) Same equations using CIM attributes from AsynchronousMachineTimeConstantReactance class on left of '=' and AsynchronousMachineEquivalentCircuit class on right (except as noted): xs = xm + RotatingMachineDynamics.statorLeakageReactance xp = RotatingMachineDynamics.statorLeakageReactance + xm x xlr1 / (xm + xlr1) xpp = RotatingMachineDynamics.statorLeakageReactance + xm x xlr1 x xlr2 / (xm x xlr1 + xm x xlr2 + xlr1 x xlr2) tpo = (xm + xlr1) / (2 x pi x nominal frequency x rr1) tppo = (xm x xlr1 + xm x xlr2 + xlr1 x xlr2) / (2 x pi x nominal frequency x rr2 x (xm + xlr1).",
        attrs: &[
            AttrDef { id: "AsynchronousMachineEquivalentCircuit.rr1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damper 1 winding resistance." },
            AttrDef { id: "AsynchronousMachineEquivalentCircuit.rr2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damper 2 winding resistance." },
            AttrDef { id: "AsynchronousMachineEquivalentCircuit.xlr1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damper 1 winding leakage reactance." },
            AttrDef { id: "AsynchronousMachineEquivalentCircuit.xlr2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damper 2 winding leakage reactance." },
            AttrDef { id: "AsynchronousMachineEquivalentCircuit.xm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Magnetizing reactance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AsynchronousMachineTimeConstantReactance",
        qualified: "AsynchronousMachineTimeConstantReactance",
        super_class: Some(17),
        concrete: true,
        origins: &["DY"],
        comment: "Parameter details: If X'' = X', a single cage (one equivalent rotor winding per axis) is modelled. The “p” in the attribute names is a substitution for a “prime” in the usual parameter notation, e.g. tpo refers to T'o. The parameters used for models expressed in time constant reactance form include: - RotatingMachine.ratedS (MVAbase); - RotatingMachineDynamics.damping (D); - RotatingMachineDynamics.inertia (H); - RotatingMachineDynamics.saturationFactor (S1); - RotatingMachineDynamics.saturationFactor120 (S12); - RotatingMachineDynamics.statorLeakageReactance (Xl); - RotatingMachineDynamics.statorResistance (Rs); - .xs (Xs); - .xp (X'); - .xpp (X''); - .tpo (T'o); - .tppo (T''o).",
        attrs: &[
            AttrDef { id: "AsynchronousMachineTimeConstantReactance.tpo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transient rotor time constant (T'o) (> AsynchronousMachineTimeConstantReactance.tppo). Typical value = 5." },
            AttrDef { id: "AsynchronousMachineTimeConstantReactance.tppo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Subtransient rotor time constant (T''o) (> 0). Typical value = 0,03." },
            AttrDef { id: "AsynchronousMachineTimeConstantReactance.xp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transient reactance (unsaturated) (X') (>= AsynchronousMachineTimeConstantReactance.xpp). Typical value = 0,5." },
            AttrDef { id: "AsynchronousMachineTimeConstantReactance.xpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Subtransient reactance (unsaturated) (X'') (> RotatingMachineDynamics.statorLeakageReactance). Typical value = 0,2." },
            AttrDef { id: "AsynchronousMachineTimeConstantReactance.xs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Synchronous reactance (Xs) (>= AsynchronousMachineTimeConstantReactance.xp). Typical value = 1,8." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AsynchronousMachineUserDefined",
        qualified: "AsynchronousMachineUserDefined",
        super_class: Some(17),
        concrete: true,
        origins: &["DY"],
        comment: "Asynchronous machine whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "AsynchronousMachineUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "AsynchronousMachineUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AuxiliaryEquipment",
        qualified: "AuxiliaryEquipment",
        super_class: Some(98),
        concrete: false,
        origins: &["EQ"],
        comment: "AuxiliaryEquipment describe equipment that is not performing any primary functions but support for the equipment performing the primary function. AuxiliaryEquipment is attached to primary equipment via an association with Terminal.",
        attrs: &[
            AttrDef { id: "AuxiliaryEquipment.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The Terminal at the equipment where the AuxiliaryEquipment is attached." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "BaseVoltage",
        qualified: "BaseVoltage",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "EQBD", "TP"],
        comment: "Defines a system base voltage which is referenced.",
        attrs: &[
            AttrDef { id: "BaseVoltage.ConductingEquipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConductingEquipment", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "All conducting equipment with this base voltage. Use only when there is no voltage level container used and only one base voltage applies. For example, not used for transformers." },
            AttrDef { id: "BaseVoltage.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The topological nodes at the base voltage." },
            AttrDef { id: "BaseVoltage.TransformerEnds", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TransformerEnd", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Transformer ends at the base voltage. This is essential for PU calculation." },
            AttrDef { id: "BaseVoltage.VoltageLevel", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageLevel", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The voltage levels having this base voltage." },
            AttrDef { id: "BaseVoltage.nominalVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ", "EQBD"], comment: "The power system resource's base voltage. Shall be a positive value and not zero." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "BasicIntervalSchedule",
        qualified: "BasicIntervalSchedule",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ"],
        comment: "Schedule of values at points in time.",
        attrs: &[
            AttrDef { id: "BasicIntervalSchedule.startTime", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["EQ"], comment: "The time for the first time point. The value can be a time of day, not a specific date." },
            AttrDef { id: "BasicIntervalSchedule.value1Unit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Value1 units of measure." },
            AttrDef { id: "BasicIntervalSchedule.value2Unit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Value2 units of measure." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "BatteryUnit",
        qualified: "BatteryUnit",
        super_class: Some(280),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "An electrochemical energy storage device.",
        attrs: &[
            AttrDef { id: "BatteryUnit.batteryState", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "BatteryStateKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "The current state of the battery (charging, full, etc.)." },
            AttrDef { id: "BatteryUnit.ratedE", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "RealEnergy", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Full energy storage capacity of the battery. The attribute shall be a positive value." },
            AttrDef { id: "BatteryUnit.storedE", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "RealEnergy", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Amount of energy currently stored. The attribute shall be a positive value or zero and lower than BatteryUnit.ratedE." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Bay",
        qualified: "Bay",
        super_class: Some(99),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "A collection of power system resources (within a given substation) including conducting equipment, protection relays, measurements, and telemetry. A bay typically represents a physical grouping related to modularization of equipment.",
        attrs: &[
            AttrDef { id: "Bay.VoltageLevel", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageLevel", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The voltage level containing this bay." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100-European#",
        local: "BoundaryPoint",
        qualified: "BoundaryPoint",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "Designates a connection point at which one or more model authority sets shall connect to. The location of the connection point as well as other properties are agreed between organisations responsible for the interconnection, hence all attributes of the class represent this agreement. It is primarily used in a boundary model authority set which can contain one or many BoundaryPoint-s among other Equipment-s and their connections.",
        attrs: &[
            AttrDef { id: "BoundaryPoint.ConnectivityNode", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "ConnectivityNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The connectivity node that is designated as a boundary point." },
            AttrDef { id: "BoundaryPoint.fromEndIsoCode", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD"], comment: "The ISO code of the region which the 'From' side of the Boundary point belongs to or it is connected to. The ISO code is a two-character country code as defined by ISO 3166 (http://www.iso.org/iso/country_codes). The length of the string is 2 characters maximum." },
            AttrDef { id: "BoundaryPoint.fromEndName", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD"], comment: "A human readable name with length of the string 64 characters maximum. It covers the following two cases: -if the Boundary point is placed on a tie-line, it is the name (IdentifiedObject.name) of the substation at which the 'From' side of the tie-line is connected to. -if the Boundary point is placed in a substation, it is the name (IdentifiedObject.name) of the element (e.g. PowerTransformer, ACLineSegment, Switch, etc.) at which the 'From' side of the Boundary point is connected to." },
            AttrDef { id: "BoundaryPoint.fromEndNameTso", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD"], comment: "Identifies the name of the transmission system operator, distribution system operator or other entity at which the 'From' side of the interconnection is connected to. The length of the string is 64 characters maximum." },
            AttrDef { id: "BoundaryPoint.isDirectCurrent", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ", "EQBD"], comment: "If true, this boundary point is a point of common coupling (PCC) of a direct current (DC) interconnection, otherwise the interconnection is AC (default)." },
            AttrDef { id: "BoundaryPoint.isExcludedFromAreaInterchange", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ", "EQBD"], comment: "If true, this boundary point is on the interconnection that is excluded from control area interchange calculation and consequently has no related tie flows. Otherwise, the interconnection is included in control area interchange and a TieFlow is required at all sides of the boundary point (default)." },
            AttrDef { id: "BoundaryPoint.toEndIsoCode", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD"], comment: "The ISO code of the region which the 'To' side of the Boundary point belongs to or is connected to. The ISO code is a two-character country code as defined by ISO 3166 (http://www.iso.org/iso/country_codes). The length of the string is 2 characters maximum." },
            AttrDef { id: "BoundaryPoint.toEndName", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD"], comment: "A human readable name with length of the string 64 characters maximum. It covers the following two cases: -if the Boundary point is placed on a tie-line, it is the name (IdentifiedObject.name) of the substation at which the 'To' side of the tie-line is connected to. -if the Boundary point is placed in a substation, it is the name (IdentifiedObject.name) of the element (e.g. PowerTransformer, ACLineSegment, Switch, etc.) at which the 'To' side of the Boundary point is connected to." },
            AttrDef { id: "BoundaryPoint.toEndNameTso", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD"], comment: "Identifies the name of the transmission system operator, distribution system operator or other entity at which the 'To' side of the interconnection is connected to. The length of the string is 64 characters maximum." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Breaker",
        qualified: "Breaker",
        super_class: Some(288),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A mechanical switching device capable of making, carrying, and breaking currents under normal circuit conditions and also making, carrying for a specified time, and breaking currents under specified abnormal circuit conditions e.g. those of short circuit.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "BusNameMarker",
        qualified: "BusNameMarker",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "Used to apply user standard names to TopologicalNodes. Associated with one or more terminals that are normally connected with the bus name. The associated terminals are normally connected by non-retained switches. For a ring bus station configuration, all BusbarSection terminals in the ring are typically associated. For a breaker and a half scheme, both BusbarSections would normally be associated. For a ring bus, all BusbarSections would normally be associated. For a 'straight' busbar configuration, normally only the main terminal at the BusbarSection would be associated.",
        attrs: &[
            AttrDef { id: "BusNameMarker.ReportingGroup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ReportingGroup", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The reporting group to which this bus name marker belongs." },
            AttrDef { id: "BusNameMarker.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACDCTerminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The terminals associated with this bus name marker." },
            AttrDef { id: "BusNameMarker.priority", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "Priority of bus name marker for use as topology bus name. Use 0 for do not care. Use 1 for highest priority. Use 2 as priority is less than 1 and so on." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "BusbarSection",
        qualified: "BusbarSection",
        super_class: Some(44),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A conductor, or group of conductors, with negligible impedance, that serve to connect other conducting equipment within a single substation. Voltage measurements are typically obtained from voltage transformers that are connected to busbar sections. A bus bar section may have many physical terminals but for analysis is modelled with exactly one logical terminal.",
        attrs: &[
            AttrDef { id: "BusbarSection.ipMax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Maximum allowable peak short-circuit current of busbar (Ipmax in IEC 60909-0). Mechanical limit of the busbar in the substation itself. Used for short circuit data exchange according to IEC 60909." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CAESPlant",
        qualified: "CAESPlant",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ"],
        comment: "Compressed air energy storage plant.",
        attrs: &[
            AttrDef { id: "CAESPlant.ThermalGeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ThermalGeneratingUnit", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may be a member of a compressed air energy storage plant." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CSCDynamics",
        qualified: "CSCDynamics",
        super_class: Some(208),
        concrete: false,
        origins: &["DY"],
        comment: "CSC function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "CSCDynamics.CSConverter", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CsConverter", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Current source converter to which current source converter dynamics model applies." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CSCUserDefined",
        qualified: "CSCUserDefined",
        super_class: Some(31),
        concrete: true,
        origins: &["DY"],
        comment: "Current source converter (CSC) function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "CSCUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "CSCUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Clamp",
        qualified: "Clamp",
        super_class: Some(37),
        concrete: true,
        origins: &["EQ"],
        comment: "A Clamp is a galvanic connection at a line segment where other equipment is connected. A Clamp does not cut the line segment. A Clamp is ConductingEquipment and has one Terminal with an associated ConnectivityNode. Any other ConductingEquipment can be connected to the Clamp ConnectivityNode.",
        attrs: &[
            AttrDef { id: "Clamp.ACLineSegment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACLineSegment", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The line segment to which the clamp is connected." },
            AttrDef { id: "Clamp.lengthFromTerminal1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The length to the place where the clamp is located starting from side one of the line segment, i.e. the line segment terminal with sequence number equal to 1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CogenerationPlant",
        qualified: "CogenerationPlant",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ"],
        comment: "A set of thermal generating units for the production of electrical energy and process steam (usually from the output of the steam turbines). The steam sendout is typically used for industrial purposes or for municipal heating and cooling.",
        attrs: &[
            AttrDef { id: "CogenerationPlant.ThermalGeneratingUnits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ThermalGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may be a member of a cogeneration plant." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CombinedCyclePlant",
        qualified: "CombinedCyclePlant",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ"],
        comment: "A set of combustion turbines and steam turbines where the exhaust heat from the combustion turbines is recovered to make steam for the steam turbines, resulting in greater overall plant efficiency.",
        attrs: &[
            AttrDef { id: "CombinedCyclePlant.ThermalGeneratingUnits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ThermalGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may be a member of a combined cycle plant." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Command",
        qualified: "Command",
        super_class: Some(45),
        concrete: true,
        origins: &["OP"],
        comment: "A Command is a discrete control used for supervisory control.",
        attrs: &[
            AttrDef { id: "Command.DiscreteValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiscreteValue", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The MeasurementValue that is controlled." },
            AttrDef { id: "Command.ValueAliasSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ValueAliasSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The ValueAliasSet used for translation of a Control value to a name." },
            AttrDef { id: "Command.normalValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["OP"], comment: "Normal value for Control.value e.g. used for percentage scaling." },
            AttrDef { id: "Command.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["OP"], comment: "The value representing the actuator output." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ConductingEquipment",
        qualified: "ConductingEquipment",
        super_class: Some(98),
        concrete: false,
        origins: &["EQ", "DY", "EQBD", "SC", "SSH", "SV"],
        comment: "The parts of the AC power system that are designed to carry current or that are conductively connected through terminals.",
        attrs: &[
            AttrDef { id: "ConductingEquipment.BaseVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "BaseVoltage", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Base voltage of this conducting equipment. Use only when there is no voltage level container used and only one base voltage applies. For example, not used for transformers." },
            AttrDef { id: "ConductingEquipment.SvStatus", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvStatus", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The status state variable associated with this conducting equipment." },
            AttrDef { id: "ConductingEquipment.Terminals", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "DY", "EQBD"], comment: "Conducting equipment have terminals that may be connected to other conducting equipment terminals via connectivity nodes or topological nodes." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Conductor",
        qualified: "Conductor",
        super_class: Some(37),
        concrete: false,
        origins: &["EQ", "SC"],
        comment: "Combination of conducting material with consistent electrical characteristics, building a single electrical system, used to carry current between points in the power system.",
        attrs: &[
            AttrDef { id: "Conductor.length", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Segment length for calculating line section capabilities." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ConformLoad",
        qualified: "ConformLoad",
        super_class: Some(95),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "ConformLoad represent loads that follow a daily load change pattern where the pattern can be used to scale the load with a system load.",
        attrs: &[
            AttrDef { id: "ConformLoad.LoadGroup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConformLoadGroup", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Group of this ConformLoad." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ConformLoadGroup",
        qualified: "ConformLoadGroup",
        super_class: Some(227),
        concrete: true,
        origins: &["EQ"],
        comment: "A group of loads conforming to an allocation pattern.",
        attrs: &[
            AttrDef { id: "ConformLoadGroup.ConformLoadSchedules", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConformLoadSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The ConformLoadSchedules in the ConformLoadGroup." },
            AttrDef { id: "ConformLoadGroup.EnergyConsumers", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConformLoad", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Conform loads assigned to this ConformLoadGroup." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ConformLoadSchedule",
        qualified: "ConformLoadSchedule",
        super_class: Some(325),
        concrete: true,
        origins: &["EQ"],
        comment: "A curve of load versus time (X-axis) showing the active power values (Y1-axis) and reactive power (Y2-axis) for each unit of the period covered. This curve represents a typical pattern of load over the time period for a given day type and season.",
        attrs: &[
            AttrDef { id: "ConformLoadSchedule.ConformLoadGroup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConformLoadGroup", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The ConformLoadGroup where the ConformLoadSchedule belongs." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ConnectivityNode",
        qualified: "ConnectivityNode",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "EQBD", "TP"],
        comment: "Connectivity nodes are points where terminals of AC conducting equipment are connected together with zero impedance.",
        attrs: &[
            AttrDef { id: "ConnectivityNode.BoundaryPoint", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "BoundaryPoint", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The boundary point associated with the connectivity node." },
            AttrDef { id: "ConnectivityNode.ConnectivityNodeContainer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConnectivityNodeContainer", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "Container of this connectivity node." },
            AttrDef { id: "ConnectivityNode.Terminals", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "Terminals interconnected with zero impedance at a this connectivity node." },
            AttrDef { id: "ConnectivityNode.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The topological node to which this connectivity node is assigned. May depend on the current state of switches in the network." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ConnectivityNodeContainer",
        qualified: "ConnectivityNodeContainer",
        super_class: Some(282),
        concrete: false,
        origins: &["EQ", "EQBD", "TP"],
        comment: "A base class for all objects that may contain connectivity nodes or topological nodes.",
        attrs: &[
            AttrDef { id: "ConnectivityNodeContainer.ConnectivityNodes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConnectivityNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "Connectivity nodes which belong to this connectivity node container." },
            AttrDef { id: "ConnectivityNodeContainer.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The topological nodes which belong to this connectivity node container." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Connector",
        qualified: "Connector",
        super_class: Some(37),
        concrete: false,
        origins: &["EQ", "EQBD", "SC"],
        comment: "A conductor, or group of conductors, with negligible impedance, that serve to connect other conducting equipment within a single substation and are modelled with a single logical terminal.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Control",
        qualified: "Control",
        super_class: Some(212),
        concrete: false,
        origins: &["OP"],
        comment: "Control is used for supervisory/device control. It represents control outputs that are used to change the state in a process, e.g. close or open breaker, a set point value or a raise lower command.",
        attrs: &[
            AttrDef { id: "Control.PowerSystemResource", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerSystemResource", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "Regulating device governed by this control output." },
            AttrDef { id: "Control.controlType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["OP"], comment: "Specifies the type of Control. For example, this specifies if the Control represents BreakerOpen, BreakerClose, GeneratorVoltageSetPoint, GeneratorRaise, GeneratorLower, etc." },
            AttrDef { id: "Control.operationInProgress", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Indicates that a client is currently sending control commands that has not completed." },
            AttrDef { id: "Control.timeStamp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["OP"], comment: "The last time a control output was sent." },
            AttrDef { id: "Control.unitMultiplier", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitMultiplier", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "The unit multiplier of the controlled quantity." },
            AttrDef { id: "Control.unitSymbol", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "The unit of measure of the controlled quantity." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ControlArea",
        qualified: "ControlArea",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A control area is a grouping of generating units and/or loads and a cutset of tie lines (as terminals) which may be used for a variety of purposes including automatic generation control, power flow solution area interchange control specification, and input to load forecasting. All generation and load within the area defined by the terminals on the border are considered in the area interchange control. Note that any number of overlapping control area specifications can be superimposed on the physical model. The following general principles apply to ControlArea: 1. The control area orientation for net interchange is positive for an import, negative for an export. 2. The control area net interchange is determined by summing flows in Terminals. The Terminals are identified by creating a set of TieFlow objects associated with a ControlArea object. Each TieFlow object identifies one Terminal. 3. In a single network model, a tie between two control areas must be modelled in both control area specifications, such that the two representations of the tie flow sum to zero. 4. The normal orientation of Terminal flow is positive for flow into the conducting equipment that owns the Terminal. (i.e. flow from a bus into a device is positive.) However, the orientation of each flow in the control area specification must align with the control area convention, i.e. import is positive. If the orientation of the Terminal flow referenced by a TieFlow is positive into the control area, then this is confirmed by setting TieFlow.positiveFlowIn flag TRUE. If not, the orientation must be reversed by setting the TieFlow.positiveFlowIn flag FALSE.",
        attrs: &[
            AttrDef { id: "ControlArea.ControlAreaGeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ControlAreaGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The generating unit specifications for the control area." },
            AttrDef { id: "ControlArea.EnergyArea", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EnergyArea", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The energy area that is forecast from this control area specification." },
            AttrDef { id: "ControlArea.TieFlow", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TieFlow", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The tie flows associated with the control area." },
            AttrDef { id: "ControlArea.netInterchange", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "The specified positive net interchange into the control area, i.e. positive sign means flow into the area." },
            AttrDef { id: "ControlArea.pTolerance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Active power net interchange tolerance. The attribute shall be a positive value or zero." },
            AttrDef { id: "ControlArea.type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ControlAreaTypeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The primary type of control area definition used to determine if this is used for automatic generation control, for planning interchange control, or other purposes. A control area specified with primary type of automatic generation control could still be forecast and used as an interchange area in power flow analysis." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ControlAreaGeneratingUnit",
        qualified: "ControlAreaGeneratingUnit",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "A control area generating unit. This class is needed so that alternate control area definitions may include the same generating unit. It should be noted that only one instance within a control area should reference a specific generating unit.",
        attrs: &[
            AttrDef { id: "ControlAreaGeneratingUnit.ControlArea", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ControlArea", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The parent control area for the generating unit specifications." },
            AttrDef { id: "ControlAreaGeneratingUnit.GeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GeneratingUnit", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The generating unit specified for this control area. Note that a control area should include a GeneratingUnit only once." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CoordinateSystem",
        qualified: "CoordinateSystem",
        super_class: Some(213),
        concrete: true,
        origins: &["GL"],
        comment: "Coordinate reference system.",
        attrs: &[
            AttrDef { id: "CoordinateSystem.Locations", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Location", is_list: true, used: false, xsd: "", value_ns: "", origins: &["GL"], comment: "All locations described with position points in this coordinate system." },
            AttrDef { id: "CoordinateSystem.crsUrn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "A Uniform Resource Name (URN) for the coordinate reference system (crs) used to define 'Location.PositionPoints'. An example would be the European Petroleum Survey Group (EPSG) code for a coordinate reference system, defined in URN under the Open Geospatial Consortium (OGC) namespace as: urn:ogc:def:crs:EPSG::XXXX, where XXXX is an EPSG code (a full list of codes can be found at the EPSG Registry web site http://www.epsg-registry.org/). To define the coordinate system as being WGS84 (latitude, longitude) using an EPSG OGC, this attribute would be urn:ogc:def:crs:EPSG::4236. A profile should limit this code to a set of allowed URNs agreed to by all sending and receiving parties." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CrossCompoundTurbineGovernorDynamics",
        qualified: "CrossCompoundTurbineGovernorDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Turbine-governor cross-compound function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "CrossCompoundTurbineGovernorDynamics.HighPressureSynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "High-pressure synchronous machine with which this cross-compound turbine governor is associated." },
            AttrDef { id: "CrossCompoundTurbineGovernorDynamics.LowPressureSynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Low-pressure synchronous machine with which this cross-compound turbine governor is associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CsConverter",
        qualified: "CsConverter",
        super_class: Some(0),
        concrete: true,
        origins: &["EQ", "DY", "SSH", "SV"],
        comment: "DC side of the current source converter (CSC). The firing angle controls the dc voltage at the converter, both for rectifier and inverter. The difference between the dc voltages of the rectifier and inverter determines the dc current. The extinction angle is used to limit the dc voltage at the inverter, if needed, and is not used in active power control. The firing angle, transformer tap position and number of connected filters are the primary means to control a current source dc line. Higher level controls are built on top, e.g. dc voltage, dc current and active power. From a steady state perspective it is sufficient to specify the wanted active power transfer (ACDCConverter.targetPpcc) and the control functions will set the dc voltage, dc current, firing angle, transformer tap position and number of connected filters to meet this. Therefore attributes targetAlpha and targetGamma are not applicable in this case. The reactive power consumed by the converter is a function of the firing angle, transformer tap position and number of connected filter, which can be approximated with half of the active power. The losses is a function of the dc voltage and dc current. The attributes minAlpha and maxAlpha define the range of firing angles for rectifier operation between which no discrete tap changer action takes place. The range is typically 10-18 degrees. The attributes minGamma and maxGamma define the range of extinction angles for inverter operation between which no discrete tap changer action takes place. The range is typically 17-20 degrees.",
        attrs: &[
            AttrDef { id: "CsConverter.CSCDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CSCDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Current source converter dynamics model used to describe dynamic behaviour of this converter." },
            AttrDef { id: "CsConverter.alpha", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Firing angle that determines the dc voltage at the converter dc terminal. Typical value between 10 degrees and 18 degrees for a rectifier. It is converter’s state variable, result from power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.gamma", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Extinction angle. It is used to limit the dc voltage at the inverter if needed. Typical value between 17 degrees and 20 degrees for an inverter. It is converter’s state variable, result from power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.maxAlpha", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum firing angle. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.maxGamma", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum extinction angle. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.maxIdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The maximum direct current (Id) on the DC side at which the converter should operate. It is converter’s configuration data use in power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.minAlpha", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum firing angle. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.minGamma", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum extinction angle. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.minIdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The minimum direct current (Id) on the DC side at which the converter should operate. It is converter’s configuration data used in power flow. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.operatingMode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "CsOperatingModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Indicates whether the DC pole is operating as an inverter or as a rectifier. It is converter’s control variable used in power flow." },
            AttrDef { id: "CsConverter.pPccControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "CsPpccControlKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Kind of active power control." },
            AttrDef { id: "CsConverter.ratedIdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Rated converter DC current, also called IdN. The attribute shall be a positive value. It is converter’s configuration data used in power flow." },
            AttrDef { id: "CsConverter.targetAlpha", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Target firing angle. It is converter’s control variable used in power flow. It is only applicable for rectifier if continuous tap changer control is used. Allowed values are within the range minAlpha<=targetAlpha<=maxAlpha. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.targetGamma", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Target extinction angle. It is converter’s control variable used in power flow. It is only applicable for inverter if continuous tap changer control is used. Allowed values are within the range minGamma<=targetGamma<=maxGamma. The attribute shall be a positive value." },
            AttrDef { id: "CsConverter.targetIdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "DC current target value. It is converter’s control variable used in power flow. The attribute shall be a positive value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CurrentLimit",
        qualified: "CurrentLimit",
        super_class: Some(248),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Operational limit on current.",
        attrs: &[
            AttrDef { id: "CurrentLimit.normalValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The normal value for limit on current flow. The attribute shall be a positive value or zero." },
            AttrDef { id: "CurrentLimit.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Limit on current flow. The attribute shall be a positive value or zero." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CurrentTransformer",
        qualified: "CurrentTransformer",
        super_class: Some(326),
        concrete: true,
        origins: &["EQ"],
        comment: "Instrument transformer used to measure electrical qualities of the circuit that is being protected and/or monitored. Typically used as current transducer for the purpose of metering or protection. A typical secondary current rating would be 5A.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Curve",
        qualified: "Curve",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ"],
        comment: "A multi-purpose curve or functional relationship between an independent variable (X-axis) and dependent (Y-axis) variables.",
        attrs: &[
            AttrDef { id: "Curve.CurveDatas", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CurveData", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The point data values that define this curve." },
            AttrDef { id: "Curve.curveStyle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "CurveStyle", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The style or shape of the curve." },
            AttrDef { id: "Curve.xUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The X-axis units of measure." },
            AttrDef { id: "Curve.y1Unit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The Y1-axis units of measure." },
            AttrDef { id: "Curve.y2Unit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The Y2-axis units of measure." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CurveData",
        qualified: "CurveData",
        super_class: None,
        concrete: true,
        origins: &["EQ"],
        comment: "Multi-purpose data points for defining a curve. The use of this generic class is discouraged if a more specific class can be used to specify the X and Y axis values along with their specific data types.",
        attrs: &[
            AttrDef { id: "CurveData.Curve", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Curve", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The curve of this curve data point." },
            AttrDef { id: "CurveData.xvalue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The data value of the X-axis variable, depending on the X-axis units." },
            AttrDef { id: "CurveData.y1value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The data value of the first Y-axis variable, depending on the Y-axis units." },
            AttrDef { id: "CurveData.y2value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The data value of the second Y-axis variable (if present), depending on the Y-axis units." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Cut",
        qualified: "Cut",
        super_class: Some(353),
        concrete: true,
        origins: &["EQ"],
        comment: "A cut separates a line segment into two parts. The cut appears as a switch inserted between these two parts and connects them together. As the cut is normally open there is no galvanic connection between the two line segment parts. But it is possible to close the cut to get galvanic connection. The cut terminals are oriented towards the line segment terminals with the same sequence number. Hence the cut terminal with sequence number equal to 1 is oriented to the line segment's terminal with sequence number equal to 1. The cut terminals also act as connection points for jumpers and other equipment, e.g. a mobile generator. To enable this, connectivity nodes are placed at the cut terminals. Once the connectivity nodes are in place any conducting equipment can be connected at them.",
        attrs: &[
            AttrDef { id: "Cut.ACLineSegment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACLineSegment", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The line segment to which the cut is applied." },
            AttrDef { id: "Cut.lengthFromTerminal1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The length to the place where the cut is located starting from side one of the cut line segment, i.e. the line segment Terminal with sequenceNumber equal to 1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCBaseTerminal",
        qualified: "DCBaseTerminal",
        super_class: Some(2),
        concrete: false,
        origins: &["EQ", "SSH", "TP"],
        comment: "An electrical connection point at a piece of DC conducting equipment. DC terminals are connected at one physical DC node that may have multiple DC terminals connected. A DC node is similar to an AC connectivity node. The model requires that DC connections are distinct from AC connections.",
        attrs: &[
            AttrDef { id: "DCBaseTerminal.DCNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The DC connectivity node to which this DC base terminal connects with zero impedance." },
            AttrDef { id: "DCBaseTerminal.DCTopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCTopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "See association end Terminal.TopologicalNode." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCBreaker",
        qualified: "DCBreaker",
        super_class: Some(70),
        concrete: true,
        origins: &["EQ"],
        comment: "A breaker within a DC system.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCBusbar",
        qualified: "DCBusbar",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "A busbar within a DC system.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCChopper",
        qualified: "DCChopper",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "Low resistance equipment used in the internal DC circuit to balance voltages. It has typically positive and negative pole terminals and a ground.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCConductingEquipment",
        qualified: "DCConductingEquipment",
        super_class: Some(98),
        concrete: false,
        origins: &["EQ"],
        comment: "The parts of the DC power system that are designed to carry current or that are conductively connected through DC terminals.",
        attrs: &[
            AttrDef { id: "DCConductingEquipment.DCTerminals", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCTerminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A DC conducting equipment has DC terminals." },
            AttrDef { id: "DCConductingEquipment.ratedUdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Rated DC device voltage. The attribute shall be a positive value. It is configuration data used in power flow." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCConverterUnit",
        qualified: "DCConverterUnit",
        super_class: Some(63),
        concrete: true,
        origins: &["EQ"],
        comment: "Indivisible operative unit comprising all equipment between the point of common coupling on the AC side and the point of common coupling - DC side, essentially one or more converters, together with one or more converter transformers, converter control equipment, essential protective and switching devices and auxiliaries, if any, used for conversion.",
        attrs: &[
            AttrDef { id: "DCConverterUnit.Substation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Substation", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The containing substation of the DC converter unit." },
            AttrDef { id: "DCConverterUnit.operationMode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "DCConverterOperatingModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The operating mode of an HVDC bipole (bipolar, monopolar metallic return, etc)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCDisconnector",
        qualified: "DCDisconnector",
        super_class: Some(70),
        concrete: true,
        origins: &["EQ"],
        comment: "A disconnector within a DC system.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCEquipmentContainer",
        qualified: "DCEquipmentContainer",
        super_class: Some(99),
        concrete: false,
        origins: &["EQ", "TP"],
        comment: "A modelling construct to provide a root class for containment of DC as well as AC equipment. The class differ from the EquipmentContaner for AC in that it may also contain DCNode-s. Hence it can contain both AC and DC equipment.",
        attrs: &[
            AttrDef { id: "DCEquipmentContainer.DCNodes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The DC nodes contained in the DC equipment container." },
            AttrDef { id: "DCEquipmentContainer.DCTopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCTopologicalNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The topological nodes which belong to this connectivity node container." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCGround",
        qualified: "DCGround",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "A ground within a DC system.",
        attrs: &[
            AttrDef { id: "DCGround.inductance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Inductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Inductance to ground." },
            AttrDef { id: "DCGround.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Resistance to ground." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCLine",
        qualified: "DCLine",
        super_class: Some(63),
        concrete: true,
        origins: &["EQ"],
        comment: "Overhead lines and/or cables connecting two or more HVDC substations.",
        attrs: &[
            AttrDef { id: "DCLine.Region", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SubGeographicalRegion", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The SubGeographicalRegion containing the DC line." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCLineSegment",
        qualified: "DCLineSegment",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "A wire or combination of wires not insulated from one another, with consistent electrical characteristics, used to carry direct current between points in the DC region of the power system.",
        attrs: &[
            AttrDef { id: "DCLineSegment.capacitance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Capacitance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Capacitance of the DC line segment. Significant for cables only." },
            AttrDef { id: "DCLineSegment.inductance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Inductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Inductance of the DC line segment. Negligible compared with DCSeriesDevice used for smoothing." },
            AttrDef { id: "DCLineSegment.length", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Segment length for calculating line section capabilities." },
            AttrDef { id: "DCLineSegment.resistance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Resistance of the DC line segment." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCNode",
        qualified: "DCNode",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "TP"],
        comment: "DC nodes are points where terminals of DC conducting equipment are connected together with zero impedance.",
        attrs: &[
            AttrDef { id: "DCNode.DCEquipmentContainer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCEquipmentContainer", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The DC container for the DC nodes." },
            AttrDef { id: "DCNode.DCTerminals", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCBaseTerminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "DC base terminals interconnected with zero impedance at a this DC connectivity node." },
            AttrDef { id: "DCNode.DCTopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCTopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The DC topological node to which this DC connectivity node is assigned. May depend on the current state of switches in the network." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCSeriesDevice",
        qualified: "DCSeriesDevice",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "A series device within the DC system, typically a reactor used for filtering or smoothing. Needed for transient and short circuit studies.",
        attrs: &[
            AttrDef { id: "DCSeriesDevice.inductance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Inductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Inductance of the device." },
            AttrDef { id: "DCSeriesDevice.resistance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Resistance of the DC device." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCShunt",
        qualified: "DCShunt",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "A shunt device within the DC system, typically used for filtering. Needed for transient and short circuit studies.",
        attrs: &[
            AttrDef { id: "DCShunt.capacitance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Capacitance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Capacitance of the DC shunt." },
            AttrDef { id: "DCShunt.resistance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Resistance of the DC device." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCSwitch",
        qualified: "DCSwitch",
        super_class: Some(60),
        concrete: true,
        origins: &["EQ"],
        comment: "A switch within the DC system.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCTerminal",
        qualified: "DCTerminal",
        super_class: Some(56),
        concrete: true,
        origins: &["EQ", "SSH", "TP"],
        comment: "An electrical connection point to generic DC conducting equipment.",
        attrs: &[
            AttrDef { id: "DCTerminal.DCConductingEquipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCConductingEquipment", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "An DC terminal belong to a DC conducting equipment." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCTopologicalIsland",
        qualified: "DCTopologicalIsland",
        super_class: Some(213),
        concrete: true,
        origins: &["SV"],
        comment: "An electrically connected subset of the network. DC topological islands can change as the current network state changes, e.g. due to: - disconnect switches or breakers changing state in a SCADA/EMS. - manual creation, change or deletion of topological nodes in a planning tool. Only energised TopologicalNode-s shall be part of the topological island.",
        attrs: &[
            AttrDef { id: "DCTopologicalIsland.DCTopologicalNodes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCTopologicalNode", is_list: true, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The DC topological nodes in a DC topological island." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCTopologicalNode",
        qualified: "DCTopologicalNode",
        super_class: Some(213),
        concrete: true,
        origins: &["TP", "SV"],
        comment: "DC bus.",
        attrs: &[
            AttrDef { id: "DCTopologicalNode.DCEquipmentContainer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCEquipmentContainer", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The connectivity node container to which the topological node belongs." },
            AttrDef { id: "DCTopologicalNode.DCNodes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The DC connectivity nodes combined together to form this DC topological node. May depend on the current state of switches in the network." },
            AttrDef { id: "DCTopologicalNode.DCTerminals", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCBaseTerminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "See association end TopologicalNode.Terminal." },
            AttrDef { id: "DCTopologicalNode.DCTopologicalIsland", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCTopologicalIsland", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "A DC topological node belongs to a DC topological island." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DayType",
        qualified: "DayType",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "Group of similar days. For example it could be used to represent weekdays, weekend, or holidays.",
        attrs: &[
            AttrDef { id: "DayType.SeasonDayTypeSchedules", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SeasonDayTypeSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Schedules that use this DayType." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Diagram",
        qualified: "Diagram",
        super_class: Some(213),
        concrete: true,
        origins: &["DL"],
        comment: "The diagram being exchanged. The coordinate system is a standard Cartesian coordinate system and the orientation attribute defines the orientation. The initial view related attributes can be used to specify an initial view with the x,y coordinates of the diagonal points.",
        attrs: &[
            AttrDef { id: "Diagram.DiagramElements", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObject", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "A diagram is made up of multiple diagram objects." },
            AttrDef { id: "Diagram.DiagramStyle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramStyle", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "A Diagram may have a DiagramStyle." },
            AttrDef { id: "Diagram.orientation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "OrientationKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DL"], comment: "Coordinate system orientation of the diagram. A positive orientation gives standard “right-hand” orientation, with negative orientation indicating a “left-hand” orientation. For 2D diagrams, a positive orientation will result in X values increasing from left to right and Y values increasing from bottom to top. A negative orientation gives the “left-hand” orientation (favoured by computer graphics displays) with X values increasing from left to right and Y values increasing from top to bottom." },
            AttrDef { id: "Diagram.x1InitialView", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "X coordinate of the first corner of the initial view." },
            AttrDef { id: "Diagram.x2InitialView", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "X coordinate of the second corner of the initial view." },
            AttrDef { id: "Diagram.y1InitialView", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "Y coordinate of the first corner of the initial view." },
            AttrDef { id: "Diagram.y2InitialView", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "Y coordinate of the second corner of the initial view." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiagramObject",
        qualified: "DiagramObject",
        super_class: Some(213),
        concrete: true,
        origins: &["DL"],
        comment: "An object that defines one or more points in a given space. This object can be associated with anything that specializes IdentifiedObject. For single line diagrams such objects typically include such items as analog values, breakers, disconnectors, power transformers, and transmission lines.",
        attrs: &[
            AttrDef { id: "DiagramObject.Diagram", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Diagram", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "A diagram object is part of a diagram." },
            AttrDef { id: "DiagramObject.DiagramObjectPoints", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObjectPoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "A diagram object can have 0 or more points to reflect its layout position, routing (for polylines) or boundary (for polygons)." },
            AttrDef { id: "DiagramObject.DiagramObjectStyle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObjectStyle", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "A diagram object has a style associated that provides a reference for the style used in the originating system." },
            AttrDef { id: "DiagramObject.IdentifiedObject", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "IdentifiedObject", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "The domain object to which this diagram object is associated." },
            AttrDef { id: "DiagramObject.VisibilityLayers", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VisibilityLayer", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "A diagram object can be part of multiple visibility layers." },
            AttrDef { id: "DiagramObject.drawingOrder", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DL"], comment: "The drawing order of this element. The higher the number, the later the element is drawn in sequence. This is used to ensure that elements that overlap are rendered in the correct order." },
            AttrDef { id: "DiagramObject.isPolygon", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DL"], comment: "Defines whether or not the diagram objects points define the boundaries of a polygon or the routing of a polyline. If this value is true then a receiving application should consider the first and last points to be connected." },
            AttrDef { id: "DiagramObject.offsetX", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "The offset in the X direction. This is used for defining the offset from centre for rendering an icon (the default is that a single point specifies the centre of the icon). The offset is in per-unit with 0 indicating there is no offset from the horizontal centre of the icon. -0.5 indicates it is offset by 50% to the left and 0.5 indicates an offset of 50% to the right." },
            AttrDef { id: "DiagramObject.offsetY", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "The offset in the Y direction. This is used for defining the offset from centre for rendering an icon (the default is that a single point specifies the centre of the icon). The offset is in per-unit with 0 indicating there is no offset from the vertical centre of the icon. The offset direction is dependent on the orientation of the diagram, with -0.5 and 0.5 indicating an offset of +/- 50% on the vertical axis." },
            AttrDef { id: "DiagramObject.rotation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "Sets the angle of rotation of the diagram object. Zero degrees is pointing to the top of the diagram. Rotation is clockwise. DiagramObject.rotation=0 has the following meaning: The connection point of an element which has one terminal is pointing to the top side of the diagram. The connection point 'From side' of an element which has more than one terminal is pointing to the top side of the diagram. DiagramObject.rotation=90 has the following meaning: The connection point of an element which has one terminal is pointing to the right hand side of the diagram. The connection point 'From side' of an element which has more than one terminal is pointing to the right hand side of the diagram." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiagramObjectGluePoint",
        qualified: "DiagramObjectGluePoint",
        super_class: None,
        concrete: true,
        origins: &["DL"],
        comment: "This is used for grouping diagram object points from different diagram objects that are considered to be glued together in a diagram even if they are not at the exact same coordinates.",
        attrs: &[
            AttrDef { id: "DiagramObjectGluePoint.DiagramObjectPoints", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObjectPoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "A diagram object glue point is associated with 2 or more object points that are considered to be 'glued' together." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiagramObjectPoint",
        qualified: "DiagramObjectPoint",
        super_class: None,
        concrete: true,
        origins: &["DL"],
        comment: "A point in a given space defined by 3 coordinates and associated to a diagram object. The coordinates may be positive or negative as the origin does not have to be in the corner of a diagram.",
        attrs: &[
            AttrDef { id: "DiagramObjectPoint.DiagramObject", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObject", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "The diagram object with which the points are associated." },
            AttrDef { id: "DiagramObjectPoint.DiagramObjectGluePoint", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObjectGluePoint", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "The 'glue' point to which this point is associated." },
            AttrDef { id: "DiagramObjectPoint.sequenceNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DL"], comment: "The sequence position of the point, used for defining the order of points for diagram objects acting as a polyline or polygon with more than one point. The attribute shall be a positive value." },
            AttrDef { id: "DiagramObjectPoint.xPosition", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "The X coordinate of this point." },
            AttrDef { id: "DiagramObjectPoint.yPosition", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "The Y coordinate of this point." },
            AttrDef { id: "DiagramObjectPoint.zPosition", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DL"], comment: "The Z coordinate of this point." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiagramObjectStyle",
        qualified: "DiagramObjectStyle",
        super_class: Some(213),
        concrete: true,
        origins: &["DL"],
        comment: "A reference to a style used by the originating system for a diagram object. A diagram object style describes information such as line thickness, shape such as circle or rectangle etc, and colour.",
        attrs: &[
            AttrDef { id: "DiagramObjectStyle.StyledObjects", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObject", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "A style can be assigned to multiple diagram objects." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiagramStyle",
        qualified: "DiagramStyle",
        super_class: Some(213),
        concrete: true,
        origins: &["DL"],
        comment: "The diagram style refers to a style used by the originating system for a diagram. A diagram style describes information such as schematic, geographic, etc.",
        attrs: &[
            AttrDef { id: "DiagramStyle.Diagram", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Diagram", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "A DiagramStyle can be used by many Diagrams." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/61970-552/DifferenceModel/1#",
        local: "DifferenceModel",
        qualified: "DifferenceModel",
        super_class: Some(240),
        concrete: true,
        origins: &["FH"],
        comment: "It represents the difference model header. The content is described by the Model class, the association role forwardDifferences and association role reverseDifferences. Both association roles may have one set of Statements.",
        attrs: &[
            AttrDef { id: "DifferenceModel.forwardDifferences", ns: "http://iec.ch/TC57/61970-552/DifferenceModel/1#", kind: AttrKind::Association, range: "Statements", is_list: true, used: true, xsd: "", value_ns: "", origins: &["FH"], comment: "A property of the difference model whose value is a collection of statements (i.e., resources of type rdf:Statement) representing the forward difference statements." },
            AttrDef { id: "DifferenceModel.preconditions", ns: "http://iec.ch/TC57/61970-552/DifferenceModel/1#", kind: AttrKind::Association, range: "Statements", is_list: true, used: true, xsd: "", value_ns: "", origins: &["FH"], comment: "A property of the difference model whose value is the collection of precondition statements." },
            AttrDef { id: "DifferenceModel.reverseDifferences", ns: "http://iec.ch/TC57/61970-552/DifferenceModel/1#", kind: AttrKind::Association, range: "Statements", is_list: true, used: true, xsd: "", value_ns: "", origins: &["FH"], comment: "A property of the difference model whose value is the collection of reverse difference statements." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiscExcContIEEEDEC1A",
        qualified: "DiscExcContIEEEDEC1A",
        super_class: Some(87),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE type DEC1A discontinuous excitation control model that boosts generator excitation to a level higher than that demanded by the voltage regulator and stabilizer immediately following a system fault. Reference: IEEE 421.5-2005, 12.2.",
        attrs: &[
            AttrDef { id: "DiscExcContIEEEDEC1A.esc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed change reference (ESC). Typical value = 0,0015." },
            AttrDef { id: "DiscExcContIEEEDEC1A.kan", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Discontinuous controller gain (KAN). Typical value = 400." },
            AttrDef { id: "DiscExcContIEEEDEC1A.ketl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Terminal voltage limiter gain (KETL). Typical value = 47." },
            AttrDef { id: "DiscExcContIEEEDEC1A.tan", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Discontinuous controller time constant (TAN) (>= 0). Typical value = 0,08." },
            AttrDef { id: "DiscExcContIEEEDEC1A.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (TD) (>= 0). Typical value = 0,03." },
            AttrDef { id: "DiscExcContIEEEDEC1A.tl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (TL1) (>= 0). Typical value = 0,025." },
            AttrDef { id: "DiscExcContIEEEDEC1A.tl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (TL2) (>= 0). Typical value = 1,25." },
            AttrDef { id: "DiscExcContIEEEDEC1A.tw5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "DEC washout time constant (TW5) (>= 0). Typical value = 5." },
            AttrDef { id: "DiscExcContIEEEDEC1A.val", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator voltage reference (VAL). Typical value = 5,5." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vanmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter for Van (VANMAX)." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vomax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VOMAX) (> DiscExcContIEEEDEC1A.vomin). Typical value = 0,3." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vomin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VOMIN) (< DiscExcContIEEEDEC1A.vomax). Typical value = 0,1." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vsmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VSMAX)(> DiscExcContIEEEDEC1A.vsmin). Typical value = 0,2." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vsmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VSMIN) (< DiscExcContIEEEDEC1A.vsmax). Typical value = -0,066." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vtc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Terminal voltage level reference (VTC). Typical value = 0,95." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vtlmt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage reference (VTLMT). Typical value = 1,1." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vtm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage limits (VTM). Typical value = 1,13." },
            AttrDef { id: "DiscExcContIEEEDEC1A.vtn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage limits (VTN). Typical value = 1,12." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiscExcContIEEEDEC2A",
        qualified: "DiscExcContIEEEDEC2A",
        super_class: Some(87),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE type DEC2A model for discontinuous excitation control. This system provides transient excitation boosting via an open-loop control as initiated by a trigger signal generated remotely. Reference: IEEE 421.5-2005 12.3.",
        attrs: &[
            AttrDef { id: "DiscExcContIEEEDEC2A.td1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Discontinuous controller time constant (TD1) (>= 0)." },
            AttrDef { id: "DiscExcContIEEEDEC2A.td2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Discontinuous controller washout time constant (TD2) (>= 0)." },
            AttrDef { id: "DiscExcContIEEEDEC2A.vdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VDMAX) (> DiscExcContIEEEDEC2A.vdmin)." },
            AttrDef { id: "DiscExcContIEEEDEC2A.vdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VDMIN) (< DiscExcContIEEEDEC2A.vdmax)." },
            AttrDef { id: "DiscExcContIEEEDEC2A.vk", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Discontinuous controller input reference (VK)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiscExcContIEEEDEC3A",
        qualified: "DiscExcContIEEEDEC3A",
        super_class: Some(87),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE type DEC3A model. In some systems, the stabilizer output is disconnected from the regulator immediately following a severe fault to prevent the stabilizer from competing with action of voltage regulator during the first swing. Reference: IEEE 421.5-2005 12.4.",
        attrs: &[
            AttrDef { id: "DiscExcContIEEEDEC3A.tdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reset time delay (TDR) (>= 0)." },
            AttrDef { id: "DiscExcContIEEEDEC3A.vtmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Terminal undervoltage comparison level (VTMIN)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DisconnectingCircuitBreaker",
        qualified: "DisconnectingCircuitBreaker",
        super_class: Some(27),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A circuit breaking device including disconnecting function, eliminating the need for separate disconnectors.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Disconnector",
        qualified: "Disconnector",
        super_class: Some(353),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A manually operated or motor operated mechanical switching device used for changing the connections in a circuit, or for isolating a circuit or equipment from a source of power. It is required to open or close circuits when negligible current is broken or made.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiscontinuousExcitationControlDynamics",
        qualified: "DiscontinuousExcitationControlDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Discontinuous excitation control function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "DiscontinuousExcitationControlDynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this discontinuous excitation control model is associated." },
            AttrDef { id: "DiscontinuousExcitationControlDynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by this discontinuous excitation control system model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiscontinuousExcitationControlUserDefined",
        qualified: "DiscontinuousExcitationControlUserDefined",
        super_class: Some(87),
        concrete: true,
        origins: &["DY"],
        comment: "Discontinuous excitation control function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "DiscontinuousExcitationControlUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "DiscontinuousExcitationControlUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Discrete",
        qualified: "Discrete",
        super_class: Some(233),
        concrete: true,
        origins: &["OP"],
        comment: "Discrete represents a discrete Measurement, i.e. a Measurement representing discrete values, e.g. a Breaker position.",
        attrs: &[
            AttrDef { id: "Discrete.DiscreteValues", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiscreteValue", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The values connected to this measurement." },
            AttrDef { id: "Discrete.ValueAliasSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ValueAliasSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The ValueAliasSet used for translation of a MeasurementValue.value to a name." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DiscreteValue",
        qualified: "DiscreteValue",
        super_class: Some(234),
        concrete: true,
        origins: &["OP"],
        comment: "DiscreteValue represents a discrete MeasurementValue.",
        attrs: &[
            AttrDef { id: "DiscreteValue.Command", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Command", is_list: false, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The Control variable associated with the MeasurementValue." },
            AttrDef { id: "DiscreteValue.Discrete", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Discrete", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "Measurement to which this value is connected." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DynamicsFunctionBlock",
        qualified: "DynamicsFunctionBlock",
        super_class: Some(213),
        concrete: false,
        origins: &["DY"],
        comment: "Abstract parent class for all Dynamics function blocks.",
        attrs: &[
            AttrDef { id: "DynamicsFunctionBlock.enabled", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Function block used indicator. true = use of function block is enabled false = use of function block is disabled." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EarthFaultCompensator",
        qualified: "EarthFaultCompensator",
        super_class: Some(37),
        concrete: false,
        origins: &["EQ", "SC"],
        comment: "A conducting equipment used to represent a connection to ground which is typically used to compensate earth faults. An earth fault compensator device modelled with a single terminal implies a second terminal solidly connected to ground. If two terminals are modelled, the ground is not assumed and normal connection rules apply.",
        attrs: &[
            AttrDef { id: "EarthFaultCompensator.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Nominal resistance of device." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EnergyArea",
        qualified: "EnergyArea",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ"],
        comment: "Describes an area having energy production or consumption. Specializations are intended to support the load allocation function as typically required in energy management systems or planning studies to allocate hypothesized load levels to individual load points for power flow analysis. Often the energy area can be linked to both measured and forecast load levels.",
        attrs: &[
            AttrDef { id: "EnergyArea.ControlArea", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ControlArea", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The control area specification that is used for the load forecast." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EnergyConnection",
        qualified: "EnergyConnection",
        super_class: Some(37),
        concrete: false,
        origins: &["EQ", "DY", "SC", "SSH"],
        comment: "A connection of energy generation or consumption on the power system model.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EnergyConsumer",
        qualified: "EnergyConsumer",
        super_class: Some(94),
        concrete: true,
        origins: &["EQ", "DY", "SSH"],
        comment: "Generic user of energy - a point of consumption on the power system model. EnergyConsumer.pfixed, .qfixed, .pfixedPct and .qfixedPct have meaning only if there is no LoadResponseCharacteristic associated with EnergyConsumer or if LoadResponseCharacteristic.exponentModel is set to False.",
        attrs: &[
            AttrDef { id: "EnergyConsumer.LoadDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Load dynamics model used to describe dynamic behaviour of this energy consumer." },
            AttrDef { id: "EnergyConsumer.LoadResponse", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadResponseCharacteristic", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The load response characteristic of this load. If missing, this load is assumed to be constant power." },
            AttrDef { id: "EnergyConsumer.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Active power of the load. Load sign convention is used, i.e. positive sign means flow out from a node. For voltage dependent loads the value is at rated voltage. Starting value for a steady state solution." },
            AttrDef { id: "EnergyConsumer.pfixed", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Active power of the load that is a fixed quantity and does not vary as load group value varies. Load sign convention is used, i.e. positive sign means flow out from a node." },
            AttrDef { id: "EnergyConsumer.pfixedPct", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Fixed active power as a percentage of load group fixed active power. Used to represent the time-varying components. Load sign convention is used, i.e. positive sign means flow out from a node." },
            AttrDef { id: "EnergyConsumer.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power of the load. Load sign convention is used, i.e. positive sign means flow out from a node. For voltage dependent loads the value is at rated voltage. Starting value for a steady state solution." },
            AttrDef { id: "EnergyConsumer.qfixed", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Reactive power of the load that is a fixed quantity and does not vary as load group value varies. Load sign convention is used, i.e. positive sign means flow out from a node." },
            AttrDef { id: "EnergyConsumer.qfixedPct", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Fixed reactive power as a percentage of load group fixed reactive power. Used to represent the time-varying components. Load sign convention is used, i.e. positive sign means flow out from a node." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EnergySchedulingType",
        qualified: "EnergySchedulingType",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "Used to define the type of generation for scheduling purposes.",
        attrs: &[
            AttrDef { id: "EnergySchedulingType.EnergySource", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EnergySource", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Energy Source of a particular Energy Scheduling Type." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EnergySource",
        qualified: "EnergySource",
        super_class: Some(94),
        concrete: true,
        origins: &["EQ", "SC", "SSH"],
        comment: "A generic equivalent for an energy supplier on a transmission or distribution voltage level.",
        attrs: &[
            AttrDef { id: "EnergySource.EnergySchedulingType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EnergySchedulingType", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Energy Scheduling Type of an Energy Source." },
            AttrDef { id: "EnergySource.activePower", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "High voltage source active injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions." },
            AttrDef { id: "EnergySource.nominalVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Phase-to-phase nominal voltage." },
            AttrDef { id: "EnergySource.pMax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "This is the maximum active power that can be produced by the source. Load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment." },
            AttrDef { id: "EnergySource.pMin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "This is the minimum active power that can be produced by the source. Load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment." },
            AttrDef { id: "EnergySource.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence Thevenin resistance." },
            AttrDef { id: "EnergySource.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence Thevenin resistance." },
            AttrDef { id: "EnergySource.reactivePower", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "High voltage source reactive injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions." },
            AttrDef { id: "EnergySource.rn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence Thevenin resistance." },
            AttrDef { id: "EnergySource.voltageAngle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleRadians", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Phase angle of a-phase open circuit used when voltage characteristics need to be imposed at the node associated with the terminal of the energy source, such as when voltages and angles from the transmission level are used as input to the distribution network. The attribute shall be a positive value or zero." },
            AttrDef { id: "EnergySource.voltageMagnitude", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Phase-to-phase open circuit voltage magnitude used when voltage characteristics need to be imposed at the node associated with the terminal of the energy source, such as when voltages and angles from the transmission level are used as input to the distribution network. The attribute shall be a positive value or zero." },
            AttrDef { id: "EnergySource.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence Thevenin reactance." },
            AttrDef { id: "EnergySource.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence Thevenin reactance." },
            AttrDef { id: "EnergySource.xn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence Thevenin reactance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Equipment",
        qualified: "Equipment",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ", "DY", "EQBD", "SC", "SSH"],
        comment: "The parts of a power system that are physical devices, electronic or mechanical.",
        attrs: &[
            AttrDef { id: "Equipment.EquipmentContainer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EquipmentContainer", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "Container of this equipment." },
            AttrDef { id: "Equipment.OperationalLimitSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OperationalLimitSet", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The operational limit sets associated with this equipment." },
            AttrDef { id: "Equipment.aggregate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "The aggregate flag provides an alternative way of representing an aggregated (equivalent) element. It is applicable in cases when the dedicated classes for equivalent equipment do not have all of the attributes necessary to represent the required level of detail. In case the flag is set to “true” the single instance of equipment represents multiple pieces of equipment that have been modelled together as an aggregate equivalent obtained by a network reduction procedure. Examples would be power transformers or synchronous machines operating in parallel modelled as a single aggregate power transformer or aggregate synchronous machine. The attribute is not used for EquivalentBranch, EquivalentShunt and EquivalentInjection." },
            AttrDef { id: "Equipment.inService", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "Specifies the availability of the equipment. True means the equipment is available for topology processing, which determines if the equipment is energized or not. False means that the equipment is treated by network applications as if it is not in the model." },
            AttrDef { id: "Equipment.normallyInService", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Specifies the availability of the equipment under normal operating conditions. True means the equipment is available for topology processing, which determines if the equipment is energized or not. False means that the equipment is treated by network applications as if it is not in the model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EquipmentContainer",
        qualified: "EquipmentContainer",
        super_class: Some(43),
        concrete: false,
        origins: &["EQ", "EQBD"],
        comment: "A modelling construct to provide a root class for containing equipment.",
        attrs: &[
            AttrDef { id: "EquipmentContainer.Equipments", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Equipment", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "Contained equipment." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EquivalentBranch",
        qualified: "EquivalentBranch",
        super_class: Some(101),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "The class represents equivalent branches. In cases where a transformer phase shift is modelled and the EquivalentBranch is spanning the same nodes, the impedance quantities for the EquivalentBranch shall consider the needed phase shift.",
        attrs: &[
            AttrDef { id: "EquivalentBranch.negativeR12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence series resistance from terminal sequence 1 to terminal sequence 2. Used for short circuit data exchange according to IEC 60909. EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.negativeR21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence series resistance from terminal sequence 2 to terminal sequence 1. Used for short circuit data exchange according to IEC 60909. EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.negativeX12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence series reactance from terminal sequence 1 to terminal sequence 2. Used for short circuit data exchange according to IEC 60909. Usage : EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.negativeX21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence series reactance from terminal sequence 2 to terminal sequence 1. Used for short circuit data exchange according to IEC 60909. Usage: EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.positiveR12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence series resistance from terminal sequence 1 to terminal sequence 2 . Used for short circuit data exchange according to IEC 60909. EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.positiveR21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence series resistance from terminal sequence 2 to terminal sequence 1. Used for short circuit data exchange according to IEC 60909. EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.positiveX12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence series reactance from terminal sequence 1 to terminal sequence 2. Used for short circuit data exchange according to IEC 60909. Usage : EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.positiveX21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence series reactance from terminal sequence 2 to terminal sequence 1. Used for short circuit data exchange according to IEC 60909. Usage : EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence series resistance of the reduced branch." },
            AttrDef { id: "EquivalentBranch.r21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Resistance from terminal sequence 2 to terminal sequence 1 .Used for steady state power flow. This attribute is optional and represent unbalanced network such as off-nominal phase shifter. If only EquivalentBranch.r is given, then EquivalentBranch.r21 is assumed equal to EquivalentBranch.r. Usage rule : EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence series reactance of the reduced branch." },
            AttrDef { id: "EquivalentBranch.x21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Reactance from terminal sequence 2 to terminal sequence 1. Used for steady state power flow. This attribute is optional and represents an unbalanced network such as off-nominal phase shifter. If only EquivalentBranch.x is given, then EquivalentBranch.x21 is assumed equal to EquivalentBranch.x. Usage rule: EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.zeroR12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series resistance from terminal sequence 1 to terminal sequence 2. Used for short circuit data exchange according to IEC 60909. EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.zeroR21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series resistance from terminal sequence 2 to terminal sequence 1. Used for short circuit data exchange according to IEC 60909. Usage : EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.zeroX12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series reactance from terminal sequence 1 to terminal sequence 2. Used for short circuit data exchange according to IEC 60909. Usage : EquivalentBranch is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentBranch.zeroX21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series reactance from terminal sequence 2 to terminal sequence 1. Used for short circuit data exchange according to IEC 60909. Usage : EquivalentBranch is a result of network reduction prior to the data exchange." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EquivalentEquipment",
        qualified: "EquivalentEquipment",
        super_class: Some(37),
        concrete: false,
        origins: &["EQ", "SC", "SSH"],
        comment: "The class represents equivalent objects that are the result of a network reduction. The class is the base for equivalent objects of different types.",
        attrs: &[
            AttrDef { id: "EquivalentEquipment.EquivalentNetwork", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EquivalentNetwork", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The equivalent where the reduced model belongs." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EquivalentInjection",
        qualified: "EquivalentInjection",
        super_class: Some(101),
        concrete: true,
        origins: &["EQ", "SC", "SSH"],
        comment: "This class represents equivalent injections (generation or load). Voltage regulation is allowed only at the point of connection.",
        attrs: &[
            AttrDef { id: "EquivalentInjection.ReactiveCapabilityCurve", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ReactiveCapabilityCurve", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The reactive capability curve used by this equivalent injection." },
            AttrDef { id: "EquivalentInjection.maxP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum active power of the injection." },
            AttrDef { id: "EquivalentInjection.maxQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum reactive power of the injection. Used for modelling of infeed for load flow exchange. Not used for short circuit modelling. If maxQ and minQ are not used ReactiveCapabilityCurve can be used." },
            AttrDef { id: "EquivalentInjection.minP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum active power of the injection." },
            AttrDef { id: "EquivalentInjection.minQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum reactive power of the injection. Used for modelling of infeed for load flow exchange. Not used for short circuit modelling. If maxQ and minQ are not used ReactiveCapabilityCurve can be used." },
            AttrDef { id: "EquivalentInjection.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Equivalent active power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions." },
            AttrDef { id: "EquivalentInjection.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Equivalent reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions." },
            AttrDef { id: "EquivalentInjection.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence resistance. Used to represent Extended-Ward (IEC 60909). Usage : Extended-Ward is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentInjection.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence resistance. Used to represent Extended-Ward (IEC 60909). Usage : Extended-Ward is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentInjection.r2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence resistance. Used to represent Extended-Ward (IEC 60909). Usage : Extended-Ward is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentInjection.regulationCapability", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Specifies whether or not the EquivalentInjection has the capability to regulate the local voltage. If true the EquivalentInjection can regulate. If false the EquivalentInjection cannot regulate. ReactiveCapabilityCurve can only be associated with EquivalentInjection if the flag is true." },
            AttrDef { id: "EquivalentInjection.regulationStatus", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "Specifies the regulation status of the EquivalentInjection. True is regulating. False is not regulating." },
            AttrDef { id: "EquivalentInjection.regulationTarget", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "The target voltage for voltage regulation. The attribute shall be a positive value." },
            AttrDef { id: "EquivalentInjection.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Positive sequence reactance. Used to represent Extended-Ward (IEC 60909). Usage : Extended-Ward is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentInjection.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence reactance. Used to represent Extended-Ward (IEC 60909). Usage : Extended-Ward is a result of network reduction prior to the data exchange." },
            AttrDef { id: "EquivalentInjection.x2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence reactance. Used to represent Extended-Ward (IEC 60909). Usage : Extended-Ward is a result of network reduction prior to the data exchange." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EquivalentNetwork",
        qualified: "EquivalentNetwork",
        super_class: Some(43),
        concrete: true,
        origins: &["EQ"],
        comment: "A class that groups electrical equivalents, including internal nodes, of a network that has been reduced. The ConnectivityNodes contained in the equivalent are intended to reflect internal nodes of the equivalent. The boundary Connectivity nodes where the equivalent connects outside itself are not contained by the equivalent.",
        attrs: &[
            AttrDef { id: "EquivalentNetwork.EquivalentEquipments", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EquivalentEquipment", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The associated reduced equivalents." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "EquivalentShunt",
        qualified: "EquivalentShunt",
        super_class: Some(101),
        concrete: true,
        origins: &["EQ"],
        comment: "The class represents equivalent shunts.",
        attrs: &[
            AttrDef { id: "EquivalentShunt.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt susceptance." },
            AttrDef { id: "EquivalentShunt.g", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt conductance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC1A",
        qualified: "ExcAC1A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC1A alternator-supplied rectifier excitation system with different rate feedback source.",
        attrs: &[
            AttrDef { id: "ExcAC1A.hvlvgates", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Indicates if both HV gate and LV gate are active (HVLVgates). true = gates are used false = gates are not used. Typical value = true." },
            AttrDef { id: "ExcAC1A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 400." },
            AttrDef { id: "ExcAC1A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,2." },
            AttrDef { id: "ExcAC1A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (Kd) (>= 0). Typical value = 0,38." },
            AttrDef { id: "ExcAC1A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcAC1A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (Kf) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcAC1A.kf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model (Kf1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC1A.kf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model (Kf2) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAC1A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC1A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve1, back of commutating reactance (Se[Ve1]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAC1A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve2, back of commutating reactance (Se[Ve2]) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcAC1A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcAC1A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC1A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC1A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 0,8." },
            AttrDef { id: "ExcAC1A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC1A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vamax) (> 0). Typical value = 14,5." },
            AttrDef { id: "ExcAC1A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vamin) (< 0). Typical value = -14,5." },
            AttrDef { id: "ExcAC1A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve1) (> 0). Typical value = 4,18." },
            AttrDef { id: "ExcAC1A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve2) (> 0). Typical value = 3,14." },
            AttrDef { id: "ExcAC1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (Vrmax) (> 0). Typical value = 6,03." },
            AttrDef { id: "ExcAC1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (Vrmin) (< 0). Typical value = -5,43." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC2A",
        qualified: "ExcAC2A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC2A alternator-supplied rectifier excitation system with different field current limit.",
        attrs: &[
            AttrDef { id: "ExcAC2A.hvgate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Indicates if HV gate is active (HVgate). true = gate is used false = gate is not used. Typical value = true." },
            AttrDef { id: "ExcAC2A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 400." },
            AttrDef { id: "ExcAC2A.kb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second stage regulator gain (Kb) (> 0). Exciter field current controller gain. Typical value = 25." },
            AttrDef { id: "ExcAC2A.kb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second stage regulator gain (Kb1). It is exciter field current controller gain used as alternative to Kb to represent a variant of the ExcAC2A model. Typical value = 25." },
            AttrDef { id: "ExcAC2A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,28." },
            AttrDef { id: "ExcAC2A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (Kd) (>= 0). Typical value = 0,35." },
            AttrDef { id: "ExcAC2A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcAC2A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (Kf) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcAC2A.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current feedback gain (Kh) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAC2A.kl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter gain (Kl). Typical value = 10." },
            AttrDef { id: "ExcAC2A.kl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model (Kl1). Typical value = 1." },
            AttrDef { id: "ExcAC2A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC2A.lvgate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Indicates if LV gate is active (LVgate). true = gate is used false = gate is not used. Typical value = true." },
            AttrDef { id: "ExcAC2A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve1, back of commutating reactance (Se[Ve1]) (>= 0). Typical value = 0,037." },
            AttrDef { id: "ExcAC2A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve2, back of commutating reactance (Se[Ve2]) (>= 0). Typical value = 0,012." },
            AttrDef { id: "ExcAC2A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcAC2A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC2A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC2A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 0,6." },
            AttrDef { id: "ExcAC2A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC2A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vamax) (> 0). Typical value = 8." },
            AttrDef { id: "ExcAC2A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vamin) (< 0). Typical value = -8." },
            AttrDef { id: "ExcAC2A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve1) (> 0). Typical value = 4,4." },
            AttrDef { id: "ExcAC2A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve2) (> 0). Typical value = 3,3." },
            AttrDef { id: "ExcAC2A.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (Vfemax) (>= 0). Typical value = 4,4." },
            AttrDef { id: "ExcAC2A.vlr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum exciter field current (Vlr) (> 0). Typical value = 4,4." },
            AttrDef { id: "ExcAC2A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (Vrmax) (> 0). Typical value = 105." },
            AttrDef { id: "ExcAC2A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (Vrmin) (< 0). Typical value = -95." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC3A",
        qualified: "ExcAC3A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC3A alternator-supplied rectifier excitation system with different field current limit.",
        attrs: &[
            AttrDef { id: "ExcAC3A.efdn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Value of Efd at which feedback gain changes (Efdn) (> 0). Typical value = 2,36." },
            AttrDef { id: "ExcAC3A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 45,62." },
            AttrDef { id: "ExcAC3A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,104." },
            AttrDef { id: "ExcAC3A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (Kd) (>= 0). Typical value = 0,499." },
            AttrDef { id: "ExcAC3A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcAC3A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (Kf) (>= 0). Typical value = 0,143." },
            AttrDef { id: "ExcAC3A.kf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model (Kf1). Typical value = 1." },
            AttrDef { id: "ExcAC3A.kf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model (Kf2). Typical value = 0." },
            AttrDef { id: "ExcAC3A.klv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain used in the minimum field voltage limiter loop (Klv). Typical value = 0,194." },
            AttrDef { id: "ExcAC3A.kn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (Kn) (>= 0). Typical value =0,05." },
            AttrDef { id: "ExcAC3A.kr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Constant associated with regulator and alternator field power supply (Kr) (> 0). Typical value =3,77." },
            AttrDef { id: "ExcAC3A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcAC3A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve1, back of commutating reactance (Se[Ve1]) (>= 0). Typical value = 1,143." },
            AttrDef { id: "ExcAC3A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve2, back of commutating reactance (Se[Ve2]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAC3A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,013." },
            AttrDef { id: "ExcAC3A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC3A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC3A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 1,17." },
            AttrDef { id: "ExcAC3A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC3A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vamax) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC3A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vamin) (< 0). Typical value = -0,95." },
            AttrDef { id: "ExcAC3A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve1) (> 0). Typical value = 6.24." },
            AttrDef { id: "ExcAC3A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve2) (> 0). Typical value = 4,68." },
            AttrDef { id: "ExcAC3A.vemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter voltage output (Vemin) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcAC3A.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (Vfemax) (>= 0). Typical value = 16." },
            AttrDef { id: "ExcAC3A.vlv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage used in the minimum field voltage limiter loop (Vlv). Typical value = 0,79." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC4A",
        qualified: "ExcAC4A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC4A alternator-supplied rectifier excitation system with different minimum controller output.",
        attrs: &[
            AttrDef { id: "ExcAC4A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 200." },
            AttrDef { id: "ExcAC4A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC4A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,015." },
            AttrDef { id: "ExcAC4A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcAC4A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAC4A.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (Vimax) (> 0). Typical value = 10." },
            AttrDef { id: "ExcAC4A.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (Vimin) (< 0). Typical value = -10." },
            AttrDef { id: "ExcAC4A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 5,64." },
            AttrDef { id: "ExcAC4A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = -4,53." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC5A",
        qualified: "ExcAC5A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC5A alternator-supplied rectifier excitation system with different minimum controller output.",
        attrs: &[
            AttrDef { id: "ExcAC5A.a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model (a). Typical value = 1." },
            AttrDef { id: "ExcAC5A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd1) (> 0). Typical value = 5,6." },
            AttrDef { id: "ExcAC5A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd2) (> 0). Typical value = 4,2." },
            AttrDef { id: "ExcAC5A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 400." },
            AttrDef { id: "ExcAC5A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcAC5A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (Kf) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcAC5A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcAC5A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd1 (Se[Efd1]) (>= 0). Typical value = 0,86." },
            AttrDef { id: "ExcAC5A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd2 (Se[Efd2]) (>= 0). Typical value = 0,5." },
            AttrDef { id: "ExcAC5A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcAC5A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC5A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC5A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 0,8." },
            AttrDef { id: "ExcAC5A.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf1) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC5A.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf2) (>= 0). Typical value = 0,8." },
            AttrDef { id: "ExcAC5A.tf3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf3) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC5A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 7,3." },
            AttrDef { id: "ExcAC5A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value =-7,3." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC6A",
        qualified: "ExcAC6A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC6A alternator-supplied rectifier excitation system with speed input.",
        attrs: &[
            AttrDef { id: "ExcAC6A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 536." },
            AttrDef { id: "ExcAC6A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,173." },
            AttrDef { id: "ExcAC6A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (Kd) (>= 0). Typical value = 1,91." },
            AttrDef { id: "ExcAC6A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1,6." },
            AttrDef { id: "ExcAC6A.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter gain (Kh) (>= 0). Typical value = 92." },
            AttrDef { id: "ExcAC6A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcAC6A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve1, back of commutating reactance (Se[Ve1]) (>= 0). Typical value = 0,214." },
            AttrDef { id: "ExcAC6A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve2, back of commutating reactance (Se[Ve2]) (>= 0). Typical value = 0,044." },
            AttrDef { id: "ExcAC6A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (>= 0). Typical value = 0,086." },
            AttrDef { id: "ExcAC6A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 9." },
            AttrDef { id: "ExcAC6A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcAC6A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC6A.th", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter time constant (Th) (> 0). Typical value = 0,08." },
            AttrDef { id: "ExcAC6A.tj", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter time constant (Tj) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcAC6A.tk", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tk) (>= 0). Typical value = 0,18." },
            AttrDef { id: "ExcAC6A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vamax) (> 0). Typical value = 75." },
            AttrDef { id: "ExcAC6A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vamin) (< 0). Typical value = -75." },
            AttrDef { id: "ExcAC6A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve1) (> 0). Typical value = 7,4." },
            AttrDef { id: "ExcAC6A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve2) (> 0). Typical value = 5,55." },
            AttrDef { id: "ExcAC6A.vfelim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (Vfelim) (> 0). Typical value = 19." },
            AttrDef { id: "ExcAC6A.vhmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field current limiter signal reference (Vhmax) (> 0). Typical value = 75." },
            AttrDef { id: "ExcAC6A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 44." },
            AttrDef { id: "ExcAC6A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = -36." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAC8B",
        qualified: "ExcAC8B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE AC8B alternator-supplied rectifier excitation system with speed input and input limiter.",
        attrs: &[
            AttrDef { id: "ExcAC8B.inlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Input limiter indicator. true = input limiter Vimax and Vimin is considered false = input limiter Vimax and Vimin is not considered. Typical value = true." },
            AttrDef { id: "ExcAC8B.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 1." },
            AttrDef { id: "ExcAC8B.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,55." },
            AttrDef { id: "ExcAC8B.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (Kd) (>= 0). Typical value = 1,1." },
            AttrDef { id: "ExcAC8B.kdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator derivative gain (Kdr) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcAC8B.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcAC8B.kir", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (Kir) (>= 0). Typical value = 5." },
            AttrDef { id: "ExcAC8B.kpr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (Kpr) (> 0 if ExcAC8B.kir = 0). Typical value = 80." },
            AttrDef { id: "ExcAC8B.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcAC8B.pidlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "PID limiter indicator. true = input limiter Vpidmax and Vpidmin is considered false = input limiter Vpidmax and Vpidmin is not considered. Typical value = true." },
            AttrDef { id: "ExcAC8B.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve1, back of commutating reactance (Se[Ve1]) (>= 0). Typical value = 0,3." },
            AttrDef { id: "ExcAC8B.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve2, back of commutating reactance (Se[Ve2]) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcAC8B.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAC8B.tdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (Tdr) (> 0 if ExcAC8B.kdr > 0). Typical value = 0,1." },
            AttrDef { id: "ExcAC8B.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 1,2." },
            AttrDef { id: "ExcAC8B.telim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector for the limiter on the block (1/sTe). See diagram for meaning of true and false. Typical value = false." },
            AttrDef { id: "ExcAC8B.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve1) (> 0). Typical value = 6,5." },
            AttrDef { id: "ExcAC8B.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve2) (> 0). Typical value = 9." },
            AttrDef { id: "ExcAC8B.vemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter voltage output (Vemin) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcAC8B.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (Vfemax). Typical value = 6." },
            AttrDef { id: "ExcAC8B.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal maximum (Vimax) (> ExcAC8B.vimin). Typical value = 35." },
            AttrDef { id: "ExcAC8B.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal minimum (Vimin) (< ExcAC8B.vimax). Typical value = -10." },
            AttrDef { id: "ExcAC8B.vpidmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PID maximum controller output (Vpidmax) (> ExcAC8B.vpidmin). Typical value = 35." },
            AttrDef { id: "ExcAC8B.vpidmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PID minimum controller output (Vpidmin) (< ExcAC8B.vpidmax). Typical value = -10." },
            AttrDef { id: "ExcAC8B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 35." },
            AttrDef { id: "ExcAC8B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = 0." },
            AttrDef { id: "ExcAC8B.vtmult", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Multiply by generator's terminal voltage indicator. true =the limits Vrmax and Vrmin are multiplied by the generator’s terminal voltage to represent a thyristor power stage fed from the generator terminals false = limits are not multiplied by generator's terminal voltage. Typical value = false." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcANS",
        qualified: "ExcANS",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Italian excitation system. It represents static field voltage or excitation current feedback excitation system.",
        attrs: &[
            AttrDef { id: "ExcANS.blint", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Governor control flag (BLINT). 0 = lead-lag regulator 1 = proportional integral regulator. Typical value = 0." },
            AttrDef { id: "ExcANS.ifmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter current (IFMN). Typical value = -5,2." },
            AttrDef { id: "ExcANS.ifmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum exciter current (IFMX). Typical value = 6,5." },
            AttrDef { id: "ExcANS.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter gain (K2). Typical value = 20." },
            AttrDef { id: "ExcANS.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR gain (K3). Typical value = 1000." },
            AttrDef { id: "ExcANS.kce", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ceiling factor (KCE). Typical value = 1." },
            AttrDef { id: "ExcANS.krvecc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Feedback enabling (KRVECC). 0 = open loop control 1 = closed loop control. Typical value = 1." },
            AttrDef { id: "ExcANS.kvfif", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Rate feedback signal flag (KVFIF). 0 = output voltage of the exciter 1 = exciter field current. Typical value = 0." },
            AttrDef { id: "ExcANS.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T1) (>= 0). Typical value = 20." },
            AttrDef { id: "ExcANS.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T2) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcANS.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T3) (>= 0). Typical value = 1,6." },
            AttrDef { id: "ExcANS.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant (TB) (>= 0). Typical value = 0,04." },
            AttrDef { id: "ExcANS.vrmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum AVR output (VRMN). Typical value = -5,2." },
            AttrDef { id: "ExcANS.vrmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum AVR output (VRMX). Typical value = 6,5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAVR1",
        qualified: "ExcAVR1",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Italian excitation system corresponding to IEEE (1968) type 1 model. It represents an exciter dynamo and electromechanical regulator.",
        attrs: &[
            AttrDef { id: "ExcAVR1.e1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 1 (E1). Typical value = 4.18." },
            AttrDef { id: "ExcAVR1.e2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 2 (E2). Typical value = 3,14." },
            AttrDef { id: "ExcAVR1.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR gain (KA). Typical value = 500." },
            AttrDef { id: "ExcAVR1.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback gain (KF). Typical value = 0,12." },
            AttrDef { id: "ExcAVR1.se1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E1 (S[E1]). Typical value = 0,1." },
            AttrDef { id: "ExcAVR1.se2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E2 (S[E2]). Typical value = 0,03." },
            AttrDef { id: "ExcAVR1.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (TA) (>= 0). Typical value = 0,2." },
            AttrDef { id: "ExcAVR1.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAVR1.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant (TE) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAVR1.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback time constant (TF) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAVR1.vrmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum AVR output (VRMN). Typical value = -6." },
            AttrDef { id: "ExcAVR1.vrmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum AVR output (VRMX). Typical value = 7." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAVR2",
        qualified: "ExcAVR2",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Italian excitation system corresponding to IEEE (1968) type 2 model. It represents an alternator and rotating diodes and electromechanic voltage regulators.",
        attrs: &[
            AttrDef { id: "ExcAVR2.e1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 1 (E1). Typical value = 4,18." },
            AttrDef { id: "ExcAVR2.e2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 2 (E2). Typical value = 3,14." },
            AttrDef { id: "ExcAVR2.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR gain (KA). Typical value = 500." },
            AttrDef { id: "ExcAVR2.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback gain (KF). Typical value = 0,12." },
            AttrDef { id: "ExcAVR2.se1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E1 (S[E1]). Typical value = 0.1." },
            AttrDef { id: "ExcAVR2.se2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E2 (S[E2]). Typical value = 0,03." },
            AttrDef { id: "ExcAVR2.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (TA) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcAVR2.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAVR2.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant (TE) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAVR2.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback time constant (TF1) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAVR2.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback time constant (TF2) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAVR2.vrmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum AVR output (VRMN). Typical value = -6." },
            AttrDef { id: "ExcAVR2.vrmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum AVR output (VRMX). Typical value = 7." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAVR3",
        qualified: "ExcAVR3",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Italian excitation system. It represents an exciter dynamo and electric regulator.",
        attrs: &[
            AttrDef { id: "ExcAVR3.e1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 1 (E1). Typical value = 4,18." },
            AttrDef { id: "ExcAVR3.e2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 2 (E2). Typical value = 3,14." },
            AttrDef { id: "ExcAVR3.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR gain (KA). Typical value = 100." },
            AttrDef { id: "ExcAVR3.se1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E1 (S[E1]). Typical value = 0,1." },
            AttrDef { id: "ExcAVR3.se2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E2 (S[E2]). Typical value = 0,03." },
            AttrDef { id: "ExcAVR3.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T1) (>= 0). Typical value = 20." },
            AttrDef { id: "ExcAVR3.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T2) (>= 0). Typical value = 1,6." },
            AttrDef { id: "ExcAVR3.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T3) (>= 0). Typical value = 0,66." },
            AttrDef { id: "ExcAVR3.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T4) (>= 0). Typical value = 0,07." },
            AttrDef { id: "ExcAVR3.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant (TE) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcAVR3.vrmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum AVR output (VRMN). Typical value = -7,5." },
            AttrDef { id: "ExcAVR3.vrmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum AVR output (VRMX). Typical value = 7,5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAVR4",
        qualified: "ExcAVR4",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Italian excitation system. It represents a static exciter and electric voltage regulator.",
        attrs: &[
            AttrDef { id: "ExcAVR4.imul", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "AVR output voltage dependency selector (IMUL). true = selector is connected false = selector is not connected. Typical value = true." },
            AttrDef { id: "ExcAVR4.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR gain (KA). Typical value = 300." },
            AttrDef { id: "ExcAVR4.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter gain (KE). Typical value = 1." },
            AttrDef { id: "ExcAVR4.kif", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter internal reactance (KIF). Typical value = 0." },
            AttrDef { id: "ExcAVR4.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T1) (>= 0). Typical value = 4,8." },
            AttrDef { id: "ExcAVR4.t1if", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter current feedback time constant (T1IF) (>= 0). Typical value = 60." },
            AttrDef { id: "ExcAVR4.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T2) (>= 0). Typical value = 1,5." },
            AttrDef { id: "ExcAVR4.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T3) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAVR4.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR time constant (T4) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAVR4.tif", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter current feedback time constant (TIF) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcAVR4.vfmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter output (VFMN). Typical value = 0." },
            AttrDef { id: "ExcAVR4.vfmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum exciter output (VFMX). Typical value = 5." },
            AttrDef { id: "ExcAVR4.vrmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum AVR output (VRMN). Typical value = 0." },
            AttrDef { id: "ExcAVR4.vrmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum AVR output (VRMX). Typical value = 5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAVR5",
        qualified: "ExcAVR5",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Manual excitation control with field circuit resistance. This model can be used as a very simple representation of manual voltage control.",
        attrs: &[
            AttrDef { id: "ExcAVR5.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Ka)." },
            AttrDef { id: "ExcAVR5.rex", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Effective output resistance (Rex). Rex represents the effective output resistance seen by the excitation system." },
            AttrDef { id: "ExcAVR5.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ta) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcAVR7",
        qualified: "ExcAVR7",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IVO excitation system.",
        attrs: &[
            AttrDef { id: "ExcAVR7.a1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead coefficient (A1). Typical value = 0,5." },
            AttrDef { id: "ExcAVR7.a2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag coefficient (A2). Typical value = 0,5." },
            AttrDef { id: "ExcAVR7.a3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead coefficient (A3). Typical value = 0,5." },
            AttrDef { id: "ExcAVR7.a4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag coefficient (A4). Typical value = 0,5." },
            AttrDef { id: "ExcAVR7.a5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead coefficient (A5). Typical value = 0,5." },
            AttrDef { id: "ExcAVR7.a6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag coefficient (A6). Typical value = 0,5." },
            AttrDef { id: "ExcAVR7.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K1). Typical value = 1." },
            AttrDef { id: "ExcAVR7.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K3). Typical value = 3." },
            AttrDef { id: "ExcAVR7.k5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K5). Typical value = 1." },
            AttrDef { id: "ExcAVR7.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (T1) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcAVR7.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T2) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAVR7.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (T3) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAVR7.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T4) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAVR7.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (T5) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAVR7.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T6) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcAVR7.vmax1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead-lag maximum limit (Vmax1) (> ExcAVR7.vmin1). Typical value = 5." },
            AttrDef { id: "ExcAVR7.vmax3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead-lag maximum limit (Vmax3) (> ExcAVR7.vmin3). Typical value = 5." },
            AttrDef { id: "ExcAVR7.vmax5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead-lag maximum limit (Vmax5) (> ExcAVR7.vmin5). Typical value = 5." },
            AttrDef { id: "ExcAVR7.vmin1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead-lag minimum limit (Vmin1) (< ExcAVR7.vmax1). Typical value = -5." },
            AttrDef { id: "ExcAVR7.vmin3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead-lag minimum limit (Vmin3) (< ExcAVR7.vmax3). Typical value = -5." },
            AttrDef { id: "ExcAVR7.vmin5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead-lag minimum limit (Vmin5) (< ExcAVR7.vmax5). Typical value = -2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcBBC",
        qualified: "ExcBBC",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Transformer fed static excitation system (static with ABB regulator). This model represents a static excitation system in which a gated thyristor bridge fed by a transformer at the main generator terminals feeds the main generator directly.",
        attrs: &[
            AttrDef { id: "ExcBBC.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum open circuit exciter voltage (Efdmax) (> ExcBBC.efdmin). Typical value = 5." },
            AttrDef { id: "ExcBBC.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum open circuit exciter voltage (Efdmin) (< ExcBBC.efdmax). Typical value = -5." },
            AttrDef { id: "ExcBBC.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady state gain (K) (not = 0). Typical value = 300." },
            AttrDef { id: "ExcBBC.switch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Supplementary signal routing selector (switch). true = Vs connected to 3rd summing point false = Vs connected to 1st summing point (see diagram). Typical value = false." },
            AttrDef { id: "ExcBBC.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller time constant (T1) (>= 0). Typical value = 6." },
            AttrDef { id: "ExcBBC.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller time constant (T2) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcBBC.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T3) (>= 0). If = 0, block is bypassed. Typical value = 0,05." },
            AttrDef { id: "ExcBBC.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T4) (>= 0). If = 0, block is bypassed. Typical value = 0,01." },
            AttrDef { id: "ExcBBC.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum control element output (Vrmax) (> ExcBBC.vrmin). Typical value = 5." },
            AttrDef { id: "ExcBBC.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum control element output (Vrmin) (< ExcBBC.vrmax). Typical value = -5." },
            AttrDef { id: "ExcBBC.xe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Effective excitation transformer reactance (Xe) (>= 0). Xe models the regulation of the transformer/rectifier unit. Typical value = 0,05." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcCZ",
        qualified: "ExcCZ",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Czech proportion/integral exciter.",
        attrs: &[
            AttrDef { id: "ExcCZ.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output maximum limit (Efdmax) (> ExcCZ.efdmin)." },
            AttrDef { id: "ExcCZ.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output minimum limit (Efdmin) (< ExcCZ.efdmax)." },
            AttrDef { id: "ExcCZ.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator gain (Ka)." },
            AttrDef { id: "ExcCZ.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke)." },
            AttrDef { id: "ExcCZ.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator proportional gain (Kp)." },
            AttrDef { id: "ExcCZ.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator time constant (Ta) (>= 0)." },
            AttrDef { id: "ExcCZ.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator integral time constant (Tc) (>= 0)." },
            AttrDef { id: "ExcCZ.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (>= 0)." },
            AttrDef { id: "ExcCZ.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator maximum limit (Vrmax) (> ExcCZ.vrmin)." },
            AttrDef { id: "ExcCZ.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator minimum limit (Vrmin) (< ExcCZ.vrmax)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcDC1A",
        qualified: "ExcDC1A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE DC1A direct current commutator exciter with speed input and without underexcitation limiters (UEL) inputs.",
        attrs: &[
            AttrDef { id: "ExcDC1A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd1) (> 0). Typical value = 3,1." },
            AttrDef { id: "ExcDC1A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd2) (> 0). Typical value = 2,3." },
            AttrDef { id: "ExcDC1A.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage exciter output limiter (Efdmax) (> ExcDC1A.efdmin). Typical value = 99." },
            AttrDef { id: "ExcDC1A.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage exciter output limiter (Efdmin) (< ExcDC1A.edfmax). Typical value = -99." },
            AttrDef { id: "ExcDC1A.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(exclim). IEEE standard is ambiguous about lower limit on exciter output. true = a lower limit of zero is applied to integrator output false = a lower limit of zero is not applied to integrator output. Typical value = true." },
            AttrDef { id: "ExcDC1A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 46." },
            AttrDef { id: "ExcDC1A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 0." },
            AttrDef { id: "ExcDC1A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (Kf) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcDC1A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcDC1A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd1 (Se[Eefd1]) (>= 0). Typical value = 0,33." },
            AttrDef { id: "ExcDC1A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd2 (Se[Eefd2]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcDC1A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,06." },
            AttrDef { id: "ExcDC1A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcDC1A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcDC1A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 0,46." },
            AttrDef { id: "ExcDC1A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (> 0). Typical value = 1." },
            AttrDef { id: "ExcDC1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> ExcDC1A.vrmin). Typical value = 1." },
            AttrDef { id: "ExcDC1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0 and < ExcDC1A.vrmax). Typical value = -0,9." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcDC2A",
        qualified: "ExcDC2A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE DC2A direct current commutator exciter with speed input, one more leg block in feedback loop and without underexcitation limiters (UEL) inputs. DC type 2 excitation system model with added speed multiplier, added lead-lag, and voltage-dependent limits.",
        attrs: &[
            AttrDef { id: "ExcDC2A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd1) (> 0). Typical value = 3,05." },
            AttrDef { id: "ExcDC2A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd2) (> 0). Typical value = 2,29." },
            AttrDef { id: "ExcDC2A.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(exclim). IEEE standard is ambiguous about lower limit on exciter output. true = a lower limit of zero is applied to integrator output false = a lower limit of zero is not applied to integrator output. Typical value = true." },
            AttrDef { id: "ExcDC2A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 300." },
            AttrDef { id: "ExcDC2A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). If Ke is entered as zero, the model calculates an effective value of Ke such that the initial condition value of Vr is zero. The zero value of Ke is not changed. If Ke is entered as non-zero, its value is used directly, without change. Typical value = 1." },
            AttrDef { id: "ExcDC2A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (Kf) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcDC2A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcDC2A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd1 (Se[Efd1]) (>= 0). Typical value = 0,279." },
            AttrDef { id: "ExcDC2A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd2 (Se[Efd2]) (>= 0). Typical value = 0,117." },
            AttrDef { id: "ExcDC2A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,01." },
            AttrDef { id: "ExcDC2A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcDC2A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcDC2A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 1,33." },
            AttrDef { id: "ExcDC2A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (> 0). Typical value = 0,675." },
            AttrDef { id: "ExcDC2A.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcDC2A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> ExcDC2A.vrmin). Typical value = 4,95." },
            AttrDef { id: "ExcDC2A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0 and < ExcDC2A.vrmax). Typical value = -4,9." },
            AttrDef { id: "ExcDC2A.vtlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(Vtlim). true = limiter at the block (Ka / [1 + sTa]) is dependent on Vt false = limiter at the block is not dependent on Vt. Typical value = true." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcDC3A",
        qualified: "ExcDC3A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE DC3A direct current commutator exciter with speed input, and deadband. DC old type 4.",
        attrs: &[
            AttrDef { id: "ExcDC3A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd1) (> 0). Typical value = 2,6." },
            AttrDef { id: "ExcDC3A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (Efd2) (> 0). Typical value = 3,45." },
            AttrDef { id: "ExcDC3A.efdlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(Efdlim). true = exciter output limiter is active false = exciter output limiter not active. Typical value = true." },
            AttrDef { id: "ExcDC3A.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage exciter output limiter (Efdmax) (> ExcDC3A.efdmin). Typical value = 99." },
            AttrDef { id: "ExcDC3A.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage exciter output limiter (Efdmin) (< ExcDC3A.efdmax). Typical value = -99." },
            AttrDef { id: "ExcDC3A.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(exclim). IEEE standard is ambiguous about lower limit on exciter output. true = a lower limit of zero is applied to integrator output false = a lower limit of zero not applied to integrator output. Typical value = true." },
            AttrDef { id: "ExcDC3A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcDC3A.kr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Deadband (Kr). Typical value = 0." },
            AttrDef { id: "ExcDC3A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcDC3A.kv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fast raise/lower contact setting (Kv) (> 0). Typical value = 0,05." },
            AttrDef { id: "ExcDC3A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd1 (Se[Efd1]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcDC3A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Efd2 (Se[Efd2]) (>= 0). Typical value = 0,35." },
            AttrDef { id: "ExcDC3A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 1,83." },
            AttrDef { id: "ExcDC3A.trh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rheostat travel time (Trh) (> 0). Typical value = 20." },
            AttrDef { id: "ExcDC3A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 5." },
            AttrDef { id: "ExcDC3A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (<= 0). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcDC3A1",
        qualified: "ExcDC3A1",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified old IEEE type 3 excitation system.",
        attrs: &[
            AttrDef { id: "ExcDC3A1.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(exclim). true = lower limit of zero is applied to integrator output false = lower limit of zero not applied to integrator output. Typical value = true." },
            AttrDef { id: "ExcDC3A1.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 300." },
            AttrDef { id: "ExcDC3A1.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcDC3A1.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (Kf) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcDC3A1.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Ki) (>= 0). Typical value = 4,83." },
            AttrDef { id: "ExcDC3A1.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Kp) (>= 0). Typical value = 4,37." },
            AttrDef { id: "ExcDC3A1.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,01." },
            AttrDef { id: "ExcDC3A1.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 1,83." },
            AttrDef { id: "ExcDC3A1.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (>= 0). Typical value = 0,675." },
            AttrDef { id: "ExcDC3A1.vb1max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Available exciter voltage limiter (Vb1max) (> 0). Typical value = 11,63." },
            AttrDef { id: "ExcDC3A1.vblim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Vb limiter indicator. true = exciter Vbmax limiter is active false = Vb1max is active. Typical value = true." },
            AttrDef { id: "ExcDC3A1.vbmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Available exciter voltage limiter (Vbmax) (> 0). Typical value = 11,63." },
            AttrDef { id: "ExcDC3A1.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> ExcDC3A1.vrmin). Typical value = 5." },
            AttrDef { id: "ExcDC3A1.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0 and < ExcDC3A1.vrmax). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcELIN1",
        qualified: "ExcELIN1",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Static PI transformer fed excitation system ELIN (VATECH) - simplified model. This model represents an all-static excitation system. A PI voltage controller establishes a desired field current set point for a proportional current controller. The integrator of the PI controller has a follow-up input to match its signal to the present field current. A power system stabilizer with power input is included in the model.",
        attrs: &[
            AttrDef { id: "ExcELIN1.dpnf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller follow up deadband (Dpnf). Typical value = 0." },
            AttrDef { id: "ExcELIN1.efmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum open circuit excitation voltage (Efmax) (> ExcELIN1.efmin). Typical value = 5." },
            AttrDef { id: "ExcELIN1.efmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum open circuit excitation voltage (Efmin) (< ExcELIN1.efmax). Typical value = -5." },
            AttrDef { id: "ExcELIN1.ks1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer gain 1 (Ks1). Typical value = 0." },
            AttrDef { id: "ExcELIN1.ks2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer gain 2 (Ks2). Typical value = 0." },
            AttrDef { id: "ExcELIN1.smax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer limit output (smax). Typical value = 0,1." },
            AttrDef { id: "ExcELIN1.tfi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current transducer time constant (Tfi) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcELIN1.tnu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller reset time constant (Tnu) (>= 0). Typical value = 2." },
            AttrDef { id: "ExcELIN1.ts1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer phase lag time constant (Ts1) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcELIN1.ts2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer filter time constant (Ts2) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcELIN1.tsw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer parameters (Tsw) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcELIN1.vpi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current controller gain (Vpi). Typical value = 12,45." },
            AttrDef { id: "ExcELIN1.vpnf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller follow up gain (Vpnf). Typical value = 2." },
            AttrDef { id: "ExcELIN1.vpu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage controller proportional gain (Vpu). Typical value = 34,5." },
            AttrDef { id: "ExcELIN1.xe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation transformer effective reactance (Xe) (>= 0). Xe represents the regulation of the transformer/rectifier unit. Typical value = 0,06." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcELIN2",
        qualified: "ExcELIN2",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Detailed excitation system ELIN (VATECH). This model represents an all-static excitation system. A PI voltage controller establishes a desired field current set point for a proportional current controller. The integrator of the PI controller has a follow-up input to match its signal to the present field current. Power system stabilizer models used in conjunction with this excitation system model: PssELIN2, PssIEEE2B, Pss2B.",
        attrs: &[
            AttrDef { id: "ExcELIN2.efdbas", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Efdbas). Typical value = 0,1." },
            AttrDef { id: "ExcELIN2.iefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Iefmax) (> ExcELIN2.iefmin). Typical value = 1." },
            AttrDef { id: "ExcELIN2.iefmax2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum open circuit excitation voltage (Iefmax2). Typical value = -5." },
            AttrDef { id: "ExcELIN2.iefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Iefmin) (< ExcELIN2.iefmax). Typical value = 1." },
            AttrDef { id: "ExcELIN2.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator input gain (K1). Typical value = 0." },
            AttrDef { id: "ExcELIN2.k1ec", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator input limit (K1ec). Typical value = 2." },
            AttrDef { id: "ExcELIN2.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K2). Typical value = 5." },
            AttrDef { id: "ExcELIN2.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K3). Typical value = 0,1." },
            AttrDef { id: "ExcELIN2.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K4). Typical value = 0." },
            AttrDef { id: "ExcELIN2.kd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage controller derivative gain (Kd1). Typical value = 34,5." },
            AttrDef { id: "ExcELIN2.ke2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Ke2). Typical value = 0,1." },
            AttrDef { id: "ExcELIN2.ketb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Ketb). Typical value = 0,06." },
            AttrDef { id: "ExcELIN2.pid1max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller follow up gain (PID1max). Typical value = 2." },
            AttrDef { id: "ExcELIN2.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve1, back of commutating reactance (Se[Ve1]) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcELIN2.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, Ve2, back of commutating reactance (Se[Ve2]) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcELIN2.tb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage controller derivative washout time constant (Tb1) (>= 0). Typical value = 12,45." },
            AttrDef { id: "ExcELIN2.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Te) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcELIN2.te2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time Constant (Te2) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcELIN2.ti1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller follow up deadband (Ti1). Typical value = 0." },
            AttrDef { id: "ExcELIN2.ti3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ti3) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcELIN2.ti4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ti4) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcELIN2.tr4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tr4) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcELIN2.upmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Upmax) (> ExcELIN2.upmin). Typical value = 3." },
            AttrDef { id: "ExcELIN2.upmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Upmin) (< ExcELIN2.upmax). Typical value = 0." },
            AttrDef { id: "ExcELIN2.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve1) (> 0). Typical value = 3." },
            AttrDef { id: "ExcELIN2.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (Ve2) (> 0). Typical value = 0." },
            AttrDef { id: "ExcELIN2.xp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation transformer effective reactance (Xp). Typical value = 1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcHU",
        qualified: "ExcHU",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Hungarian excitation system, with built-in voltage transducer.",
        attrs: &[
            AttrDef { id: "ExcHU.ae", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Major loop PI tag gain factor (Ae). Typical value = 3." },
            AttrDef { id: "ExcHU.ai", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minor loop PI tag gain factor (Ai). Typical value = 22." },
            AttrDef { id: "ExcHU.atr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR constant (Atr). Typical value = 2,19." },
            AttrDef { id: "ExcHU.emax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage control signal upper limit on AVR base (Emax) (> ExcHU.emin). Typical value = 0,996." },
            AttrDef { id: "ExcHU.emin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage control signal lower limit on AVR base (Emin) (< ExcHU.emax). Typical value = -0,866." },
            AttrDef { id: "ExcHU.imax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Major loop PI tag output signal upper limit (Imax) (> ExcHU.imin). Typical value = 2,19." },
            AttrDef { id: "ExcHU.imin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Major loop PI tag output signal lower limit (Imin) (< ExcHU.imax). Typical value = 0,1." },
            AttrDef { id: "ExcHU.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage base conversion constant (Ke). Typical value = 4,666." },
            AttrDef { id: "ExcHU.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current base conversion constant (Ki). Typical value = 0,21428." },
            AttrDef { id: "ExcHU.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Major loop PI tag integration time constant (Te) (>= 0). Typical value = 0,154." },
            AttrDef { id: "ExcHU.ti", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minor loop PI control tag integration time constant (Ti) (>= 0). Typical value = 0,01333." },
            AttrDef { id: "ExcHU.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant (Tr) (>= 0). If a voltage compensator is used in conjunction with this excitation system model, Tr should be set to 0. Typical value = 0,01." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC1A",
        qualified: "ExcIEEEAC1A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC1A model. The model represents the field-controlled alternator-rectifier excitation systems designated type AC1A. These excitation systems consist of an alternator main exciter with non-controlled rectifiers. Reference: IEEE 421.5-2005, 6.1.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC1A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 400." },
            AttrDef { id: "ExcIEEEAC1A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,2." },
            AttrDef { id: "ExcIEEEAC1A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (KD) (>= 0). Typical value = 0,38." },
            AttrDef { id: "ExcIEEEAC1A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC1A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (KF) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcIEEEAC1A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE1, back of commutating reactance (SE[VE1]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEAC1A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE2, back of commutating reactance (SE[VE2]) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcIEEEAC1A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEAC1A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC1A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC1A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,8." },
            AttrDef { id: "ExcIEEEAC1A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC1A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 14,5." },
            AttrDef { id: "ExcIEEEAC1A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -14,5." },
            AttrDef { id: "ExcIEEEAC1A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE1) (> 0). Typical value = 4,18." },
            AttrDef { id: "ExcIEEEAC1A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE2) (> 0). Typical value = 3,14." },
            AttrDef { id: "ExcIEEEAC1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (VRMAX) (> 0). Typical value = 6,03." },
            AttrDef { id: "ExcIEEEAC1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (VRMIN) (< 0). Typical value = -5,43." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC2A",
        qualified: "ExcIEEEAC2A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC2A model. The model represents a high initial response field-controlled alternator-rectifier excitation system. The alternator main exciter is used with non-controlled rectifiers. The type AC2A model is similar to that of type AC1A except for the inclusion of exciter time constant compensation and exciter field current limiting elements. Reference: IEEE 421.5-2005, 6.2.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC2A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 400." },
            AttrDef { id: "ExcIEEEAC2A.kb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second stage regulator gain (KB) (> 0). Typical value = 25." },
            AttrDef { id: "ExcIEEEAC2A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,28." },
            AttrDef { id: "ExcIEEEAC2A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (KD) (>= 0). Typical value = 0,35." },
            AttrDef { id: "ExcIEEEAC2A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC2A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (KF) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcIEEEAC2A.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current feedback gain (KH) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC2A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE1, back of commutating reactance (SE[VE1]) (>= 0). Typical value = 0,037." },
            AttrDef { id: "ExcIEEEAC2A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE2, back of commutating reactance (SE[VE2]) (>= 0). Typical value = 0,012." },
            AttrDef { id: "ExcIEEEAC2A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEAC2A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC2A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC2A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,6." },
            AttrDef { id: "ExcIEEEAC2A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC2A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 8." },
            AttrDef { id: "ExcIEEEAC2A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -8." },
            AttrDef { id: "ExcIEEEAC2A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE1) (> 0). Typical value = 4,4." },
            AttrDef { id: "ExcIEEEAC2A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE2) (> 0). Typical value = 3,3." },
            AttrDef { id: "ExcIEEEAC2A.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (VFEMAX) (> 0). Typical value = 4,4." },
            AttrDef { id: "ExcIEEEAC2A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (VRMAX) (> 0). Typical value = 105." },
            AttrDef { id: "ExcIEEEAC2A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (VRMIN) (< 0). Typical value = -95." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC3A",
        qualified: "ExcIEEEAC3A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC3A model. The model represents the field-controlled alternator-rectifier excitation systems designated type AC3A. These excitation systems include an alternator main exciter with non-controlled rectifiers. The exciter employs self-excitation, and the voltage regulator power is derived from the exciter output voltage. Therefore, this system has an additional nonlinearity, simulated by the use of a multiplier whose inputs are the voltage regulator command signal, Va, and the exciter output voltage, Efd, times KR. This model is applicable to excitation systems employing static voltage regulators. Reference: IEEE 421.5-2005, 6.3.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC3A.efdn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Value of Efd at which feedback gain changes (EFDN) (> 0). Typical value = 2,36." },
            AttrDef { id: "ExcIEEEAC3A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 45,62." },
            AttrDef { id: "ExcIEEEAC3A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,104." },
            AttrDef { id: "ExcIEEEAC3A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (KD) (>= 0). Typical value = 0,499." },
            AttrDef { id: "ExcIEEEAC3A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC3A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (KF) (>= 0). Typical value = 0,143." },
            AttrDef { id: "ExcIEEEAC3A.kn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KN) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcIEEEAC3A.kr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Constant associated with regulator and alternator field power supply (KR) (> 0). Typical value = 3,77." },
            AttrDef { id: "ExcIEEEAC3A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE1, back of commutating reactance (SE[VE1]) (>= 0). Typical value = 1,143." },
            AttrDef { id: "ExcIEEEAC3A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE2, back of commutating reactance (SE[VE2]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEAC3A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,013." },
            AttrDef { id: "ExcIEEEAC3A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC3A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC3A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 1,17." },
            AttrDef { id: "ExcIEEEAC3A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC3A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC3A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -0,95." },
            AttrDef { id: "ExcIEEEAC3A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE1) (> 0). Typical value = 6,24." },
            AttrDef { id: "ExcIEEEAC3A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE2) (> 0). Typical value = 4,68." },
            AttrDef { id: "ExcIEEEAC3A.vemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter voltage output (VEMIN) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC3A.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (VFEMAX) (>= 0). Typical value = 16." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC4A",
        qualified: "ExcIEEEAC4A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC4A model. The model represents type AC4A alternator-supplied controlled-rectifier excitation system which is quite different from the other types of AC systems. This high initial response excitation system utilizes a full thyristor bridge in the exciter output circuit. The voltage regulator controls the firing of the thyristor bridges. The exciter alternator uses an independent voltage regulator to control its output voltage to a constant value. These effects are not modelled; however, transient loading effects on the exciter alternator are included. Reference: IEEE 421.5-2005, 6.4.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC4A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 200." },
            AttrDef { id: "ExcIEEEAC4A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC4A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,015." },
            AttrDef { id: "ExcIEEEAC4A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEAC4A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC4A.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (VIMAX) (> 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEAC4A.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (VIMIN) (< 0). Typical value = -10." },
            AttrDef { id: "ExcIEEEAC4A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 5,64." },
            AttrDef { id: "ExcIEEEAC4A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -4,53." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC5A",
        qualified: "ExcIEEEAC5A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC5A model. The model represents a simplified model for brushless excitation systems. The regulator is supplied from a source, such as a permanent magnet generator, which is not affected by system disturbances. Unlike other AC models, this model uses loaded rather than open circuit exciter saturation data in the same way as it is used for the DC models. Because the model has been widely implemented by the industry, it is sometimes used to represent other types of systems when either detailed data for them are not available or simplified models are required. Reference: IEEE 421.5-2005, 6.5.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC5A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD1) (> 0). Typical value = 5,6." },
            AttrDef { id: "ExcIEEEAC5A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD2) (> 0). Typical value = 4,2." },
            AttrDef { id: "ExcIEEEAC5A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 400." },
            AttrDef { id: "ExcIEEEAC5A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC5A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (KF) (>= 0). Typical value = 0,03." },
            AttrDef { id: "ExcIEEEAC5A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD1 (SE[EFD1]) (>= 0). Typical value = 0,86." },
            AttrDef { id: "ExcIEEEAC5A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD2 (SE[EFD2]) (>= 0). Typical value = 0,5." },
            AttrDef { id: "ExcIEEEAC5A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEAC5A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,8." },
            AttrDef { id: "ExcIEEEAC5A.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF1) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC5A.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF2) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC5A.tf3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF3) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC5A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 7,3." },
            AttrDef { id: "ExcIEEEAC5A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -7,3." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC6A",
        qualified: "ExcIEEEAC6A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC6A model. The model represents field-controlled alternator-rectifier excitation systems with system-supplied electronic voltage regulators. The maximum output of the regulator, VR, is a function of terminal voltage, VT. The field current limiter included in the original model AC6A remains in the 2005 update. Reference: IEEE 421.5-2005, 6.6.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC6A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 536." },
            AttrDef { id: "ExcIEEEAC6A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,173." },
            AttrDef { id: "ExcIEEEAC6A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (KD) (>= 0). Typical value = 1,91." },
            AttrDef { id: "ExcIEEEAC6A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1,6." },
            AttrDef { id: "ExcIEEEAC6A.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter gain (KH) (>= 0). Typical value = 92." },
            AttrDef { id: "ExcIEEEAC6A.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE1, back of commutating reactance (SE[VE1]) (>= 0). Typical value = 0,214." },
            AttrDef { id: "ExcIEEEAC6A.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE2, back of commutating reactance (SE[VE2]) (>= 0). Typical value = 0,044." },
            AttrDef { id: "ExcIEEEAC6A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (>= 0). Typical value = 0,086." },
            AttrDef { id: "ExcIEEEAC6A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 9." },
            AttrDef { id: "ExcIEEEAC6A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcIEEEAC6A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC6A.th", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter time constant (TH) (> 0). Typical value = 0,08." },
            AttrDef { id: "ExcIEEEAC6A.tj", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limiter time constant (TJ) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEAC6A.tk", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TK) (>= 0). Typical value = 0,18." },
            AttrDef { id: "ExcIEEEAC6A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 75." },
            AttrDef { id: "ExcIEEEAC6A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -75." },
            AttrDef { id: "ExcIEEEAC6A.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE1) (> 0). Typical value = 7,4." },
            AttrDef { id: "ExcIEEEAC6A.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE2) (> 0). Typical value = 5,55." },
            AttrDef { id: "ExcIEEEAC6A.vfelim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (VFELIM) (> 0). Typical value = 19." },
            AttrDef { id: "ExcIEEEAC6A.vhmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field current limiter signal reference (VHMAX) (> 0). Typical value = 75." },
            AttrDef { id: "ExcIEEEAC6A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 44." },
            AttrDef { id: "ExcIEEEAC6A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -36." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC7B",
        qualified: "ExcIEEEAC7B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC7B model. The model represents excitation systems which consist of an AC alternator with either stationary or rotating rectifiers to produce the DC field requirements. It is an upgrade to earlier AC excitation systems, which replace only the controls but retain the AC alternator and diode rectifier bridge. Reference: IEEE 421.5-2005, 6.7. Note, however, that in IEEE 421.5-2005, the [1 / sTE] block is shown as [1 / (1 + sTE)], which is incorrect.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC7B.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,18." },
            AttrDef { id: "ExcIEEEAC7B.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (KD) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEAC7B.kdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator derivative gain (KDR) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC7B.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC7B.kf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KF1) (>= 0). Typical value = 0,212." },
            AttrDef { id: "ExcIEEEAC7B.kf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KF2) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC7B.kf3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KF3) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC7B.kia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (KIA) (>= 0). Typical value = 59,69." },
            AttrDef { id: "ExcIEEEAC7B.kir", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (KIR) (>= 0). Typical value = 4,24." },
            AttrDef { id: "ExcIEEEAC7B.kl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field voltage lower limit parameter (KL). Typical value = 10." },
            AttrDef { id: "ExcIEEEAC7B.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KP) (> 0). Typical value = 4,96." },
            AttrDef { id: "ExcIEEEAC7B.kpa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (KPA) (> 0 if ExcIEEEAC7B.kia = 0). Typical value = 65,36." },
            AttrDef { id: "ExcIEEEAC7B.kpr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (KPR) (> 0 if ExcIEEEAC7B.kir = 0). Typical value = 4,24." },
            AttrDef { id: "ExcIEEEAC7B.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE1, back of commutating reactance (SE[VE1]) (>= 0). Typical value = 0,44." },
            AttrDef { id: "ExcIEEEAC7B.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE2, back of commutating reactance (SE[VE2]) (>= 0). Typical value = 0,075." },
            AttrDef { id: "ExcIEEEAC7B.tdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (TDR) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC7B.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 1,1." },
            AttrDef { id: "ExcIEEEAC7B.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC7B.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC7B.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -0,95." },
            AttrDef { id: "ExcIEEEAC7B.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE1) (> 0). Typical value = 6,3." },
            AttrDef { id: "ExcIEEEAC7B.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE2) (> 0). Typical value = 3,02." },
            AttrDef { id: "ExcIEEEAC7B.vemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter voltage output (VEMIN) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC7B.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (VFEMAX). Typical value = 6,9." },
            AttrDef { id: "ExcIEEEAC7B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 5,79." },
            AttrDef { id: "ExcIEEEAC7B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -5,79." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEAC8B",
        qualified: "ExcIEEEAC8B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type AC8B model. This model represents a PID voltage regulator with either a brushless exciter or DC exciter. The AVR in this model consists of PID control, with separate constants for the proportional (KPR), integral (KIR), and derivative (KDR) gains. The representation of the brushless exciter (TE, KE, SE, KC, KD) is similar to the model type AC2A. The type AC8B model can be used to represent static voltage regulators applied to brushless excitation systems. Digitally based voltage regulators feeding DC rotating main exciters can be represented with the AC type AC8B model with the parameters KC and KD set to 0. For thyristor power stages fed from the generator terminals, the limits VRMAX and VRMIN should be a function of terminal voltage: VT x VRMAX and VT x VRMIN. Reference: IEEE 421.5-2005, 6.8.",
        attrs: &[
            AttrDef { id: "ExcIEEEAC8B.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC8B.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,55." },
            AttrDef { id: "ExcIEEEAC8B.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Demagnetizing factor, a function of exciter alternator reactances (KD) (>= 0). Typical value = 1,1." },
            AttrDef { id: "ExcIEEEAC8B.kdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator derivative gain (KDR) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEAC8B.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEAC8B.kir", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (KIR) (>= 0). Typical value = 5." },
            AttrDef { id: "ExcIEEEAC8B.kpr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (KPR) (> 0 if ExcIEEEAC8B.kir = 0). Typical value = 80." },
            AttrDef { id: "ExcIEEEAC8B.seve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE1, back of commutating reactance (SE[VE1]) (>= 0). Typical value = 0,3." },
            AttrDef { id: "ExcIEEEAC8B.seve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, VE2, back of commutating reactance (SE[VE2]) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcIEEEAC8B.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC8B.tdr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (TDR) (> 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEAC8B.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 1,2." },
            AttrDef { id: "ExcIEEEAC8B.ve1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE1) (> 0). Typical value = 6,5." },
            AttrDef { id: "ExcIEEEAC8B.ve2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter alternator output voltages back of commutating reactance at which saturation is defined (VE2) (> 0). Typical value = 9." },
            AttrDef { id: "ExcIEEEAC8B.vemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter voltage output (VEMIN) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEAC8B.vfemax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field current limit reference (VFEMAX). Typical value = 6." },
            AttrDef { id: "ExcIEEEAC8B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 35." },
            AttrDef { id: "ExcIEEEAC8B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (<= 0). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEDC1A",
        qualified: "ExcIEEEDC1A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type DC1A model. This model represents field-controlled DC commutator exciters with continuously acting voltage regulators (especially the direct-acting rheostatic, rotating amplifier, and magnetic amplifier types). Because this model has been widely implemented by the industry, it is sometimes used to represent other types of systems when detailed data for them are not available or when a simplified model is required. Reference: IEEE 421.5-2005, 5.1.",
        attrs: &[
            AttrDef { id: "ExcIEEEDC1A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD1) (> 0). Typical value = 3,1." },
            AttrDef { id: "ExcIEEEDC1A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD2) (> 0). Typical value = 2,3." },
            AttrDef { id: "ExcIEEEDC1A.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(exclim). IEEE standard is ambiguous about lower limit on exciter output. true = a lower limit of zero is applied to integrator output false = a lower limit of zero is not applied to integrator output. Typical value = true." },
            AttrDef { id: "ExcIEEEDC1A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 46." },
            AttrDef { id: "ExcIEEEDC1A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC1A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KF) (>= 0). Typical value = 0.1." },
            AttrDef { id: "ExcIEEEDC1A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD1 (SE[EFD1]) (>= 0). Typical value = 0.33." },
            AttrDef { id: "ExcIEEEDC1A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD2 (SE[EFD2]) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEDC1A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,06." },
            AttrDef { id: "ExcIEEEDC1A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC1A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC1A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,46." },
            AttrDef { id: "ExcIEEEDC1A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC1A.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "UEL input (uelin). true = input is connected to the HV gate false = input connects to the error signal. Typical value = true." },
            AttrDef { id: "ExcIEEEDC1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> ExcIEEEDC1A.vrmin). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0 and < ExcIEEEDC1A.vrmax). Typical value = -0,9." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEDC2A",
        qualified: "ExcIEEEDC2A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type DC2A model. This model represents field-controlled DC commutator exciters with continuously acting voltage regulators having supplies obtained from the generator or auxiliary bus. It differs from the type DC1A model only in the voltage regulator output limits, which are now proportional to terminal voltage VT. It is representative of solid-state replacements for various forms of older mechanical and rotating amplifier regulating equipment connected to DC commutator exciters. Reference: IEEE 421.5-2005, 5.2.",
        attrs: &[
            AttrDef { id: "ExcIEEEDC2A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD1) (> 0). Typical value = 3,05." },
            AttrDef { id: "ExcIEEEDC2A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD2) (> 0). Typical value = 2,29." },
            AttrDef { id: "ExcIEEEDC2A.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(exclim). IEEE standard is ambiguous about lower limit on exciter output. Typical value = - 999 which means that there is no limit applied." },
            AttrDef { id: "ExcIEEEDC2A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 300." },
            AttrDef { id: "ExcIEEEDC2A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC2A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KF) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEDC2A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD1 (SE[EFD1]) (>= 0). Typical value = 0,279." },
            AttrDef { id: "ExcIEEEDC2A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD2 (SE[EFD2]) (>= 0). Typical value = 0,117." },
            AttrDef { id: "ExcIEEEDC2A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,01." },
            AttrDef { id: "ExcIEEEDC2A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC2A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC2A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 1,33." },
            AttrDef { id: "ExcIEEEDC2A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (> 0). Typical value = 0,675." },
            AttrDef { id: "ExcIEEEDC2A.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "UEL input (uelin). true = input is connected to the HV gate false = input connects to the error signal. Typical value = true." },
            AttrDef { id: "ExcIEEEDC2A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX)(> ExcIEEEDC2A.vrmin). Typical value = 4,95." },
            AttrDef { id: "ExcIEEEDC2A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0 and < ExcIEEEDC2A.vrmax). Typical value = -4,9." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEDC3A",
        qualified: "ExcIEEEDC3A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type DC3A model. This model represents older systems, in particular those DC commutator exciters with non-continuously acting regulators that were commonly used before the development of the continuously acting varieties. These systems respond at basically two different rates, depending upon the magnitude of voltage error. For small errors, adjustment is made periodically with a signal to a motor-operated rheostat. Larger errors cause resistors to be quickly shorted or inserted and a strong forcing signal applied to the exciter. Continuous motion of the motor-operated rheostat occurs for these larger error signals, even though it is bypassed by contactor action. Reference: IEEE 421.5-2005, 5.3.",
        attrs: &[
            AttrDef { id: "ExcIEEEDC3A.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD1) (> 0). Typical value = 3,375." },
            AttrDef { id: "ExcIEEEDC3A.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD2) (> 0). Typical value = 3,15." },
            AttrDef { id: "ExcIEEEDC3A.exclim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(exclim). IEEE standard is ambiguous about lower limit on exciter output. true = a lower limit of zero is applied to integrator output false = a lower limit of zero is not applied to integrator output. Typical value = true." },
            AttrDef { id: "ExcIEEEDC3A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 0,05." },
            AttrDef { id: "ExcIEEEDC3A.kv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fast raise/lower contact setting (KV) (> 0). Typical value = 0,05." },
            AttrDef { id: "ExcIEEEDC3A.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD1 (SE[EFD1]) (>= 0). Typical value = 0,267." },
            AttrDef { id: "ExcIEEEDC3A.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD2 (SE[EFD2]) (>= 0). Typical value = 0,068." },
            AttrDef { id: "ExcIEEEDC3A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,5." },
            AttrDef { id: "ExcIEEEDC3A.trh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rheostat travel time (TRH) (> 0). Typical value = 20." },
            AttrDef { id: "ExcIEEEDC3A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC3A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (<= 0). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEDC4B",
        qualified: "ExcIEEEDC4B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type DC4B model. These excitation systems utilize a field-controlled DC commutator exciter with a continuously acting voltage regulator having supplies obtained from the generator or auxiliary bus. Reference: IEEE 421.5-2005, 5.4.",
        attrs: &[
            AttrDef { id: "ExcIEEEDC4B.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD1) (> 0). Typical value = 1,75." },
            AttrDef { id: "ExcIEEEDC4B.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter voltage at which exciter saturation is defined (EFD2) (> 0). Typical value = 2,33." },
            AttrDef { id: "ExcIEEEDC4B.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC4B.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator derivative gain (KD) (>= 0). Typical value = 20." },
            AttrDef { id: "ExcIEEEDC4B.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC4B.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (KF) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC4B.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator integral gain (KI) (>= 0). Typical value = 20." },
            AttrDef { id: "ExcIEEEDC4B.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator proportional gain (KP) (>= 0). Typical value = 20." },
            AttrDef { id: "ExcIEEEDC4B.oelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "OEL input (OELin). true = LV gate false = subtract from error signal. Typical value = true." },
            AttrDef { id: "ExcIEEEDC4B.seefd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD1 (SE[EFD1]) (>= 0). Typical value = 0,08." },
            AttrDef { id: "ExcIEEEDC4B.seefd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter saturation function value at the corresponding exciter voltage, EFD2 (SE[EFD2]) (>= 0). Typical value = 0,27." },
            AttrDef { id: "ExcIEEEDC4B.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,2." },
            AttrDef { id: "ExcIEEEDC4B.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator derivative filter time constant (TD) (> 0 if ExcIEEEDC4B.kd > 0). Typical value = 0,01." },
            AttrDef { id: "ExcIEEEDC4B.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,8." },
            AttrDef { id: "ExcIEEEDC4B.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEDC4B.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "UEL input (UELin). true = HV gate false = add to error signal. Typical value = true." },
            AttrDef { id: "ExcIEEEDC4B.vemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter voltage output (VEMIN) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEDC4B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> ExcIEEEDC4B.vrmin). Typical value = 2,7." },
            AttrDef { id: "ExcIEEEDC4B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (<= 0 and < ExcIEEEDC4B.vrmax). Typical value = -0,9." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST1A",
        qualified: "ExcIEEEST1A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST1A model. This model represents systems in which excitation power is supplied through a transformer from the generator terminals (or the unit’s auxiliary bus) and is regulated by a controlled rectifier. The maximum exciter voltage available from such systems is directly related to the generator terminal voltage. Reference: IEEE 421.5-2005, 7.1.",
        attrs: &[
            AttrDef { id: "ExcIEEEST1A.ilr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit reference (ILR). Typical value = 0." },
            AttrDef { id: "ExcIEEEST1A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 190." },
            AttrDef { id: "ExcIEEEST1A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,08." },
            AttrDef { id: "ExcIEEEST1A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (KF) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST1A.klr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limiter gain (KLR). Typical value = 0." },
            AttrDef { id: "ExcIEEEST1A.pssin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector of the Power System Stabilizer (PSS) input (PSSin). true = PSS input (Vs) added to error signal false = PSS input (Vs) added to voltage regulator output. Typical value = true." },
            AttrDef { id: "ExcIEEEST1A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST1A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEST1A.tb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST1A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST1A.tc1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST1A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST1A.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcIEEEST1AUELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Selector of the connection of the UEL input (UELin). Typical value = ignoreUELsignal." },
            AttrDef { id: "ExcIEEEST1A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 14,5." },
            AttrDef { id: "ExcIEEEST1A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -14,5." },
            AttrDef { id: "ExcIEEEST1A.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (VIMAX) (> 0). Typical value = 999." },
            AttrDef { id: "ExcIEEEST1A.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (VIMIN) (< 0). Typical value = -999." },
            AttrDef { id: "ExcIEEEST1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (VRMAX) (> 0). Typical value = 7,8." },
            AttrDef { id: "ExcIEEEST1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (VRMIN) (< 0). Typical value = -6,7." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST2A",
        qualified: "ExcIEEEST2A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST2A model. Some static systems use both current and voltage sources (generator terminal quantities) to comprise the power source. The regulator controls the exciter output through controlled saturation of the power transformer components. These compound-source rectifier excitation systems are designated type ST2A and are represented by ExcIEEEST2A. Reference: IEEE 421.5-2005, 7.2.",
        attrs: &[
            AttrDef { id: "ExcIEEEST2A.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field voltage (EFDMax) (>= 0). Typical value = 99." },
            AttrDef { id: "ExcIEEEST2A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). Typical value = 120." },
            AttrDef { id: "ExcIEEEST2A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 1,82." },
            AttrDef { id: "ExcIEEEST2A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (KE). Typical value = 1." },
            AttrDef { id: "ExcIEEEST2A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (KF) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcIEEEST2A.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KI) (>= 0). Typical value = 8." },
            AttrDef { id: "ExcIEEEST2A.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KP) (>= 0). Typical value = 4,88." },
            AttrDef { id: "ExcIEEEST2A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (> 0). Typical value = 0,15." },
            AttrDef { id: "ExcIEEEST2A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (TE) (> 0). Typical value = 0,5." },
            AttrDef { id: "ExcIEEEST2A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST2A.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "UEL input (UELin). true = HV gate false = add to error signal. Typical value = true." },
            AttrDef { id: "ExcIEEEST2A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (VRMAX) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST2A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (VRMIN) (<= 0). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST3A",
        qualified: "ExcIEEEST3A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST3A model. Some static systems utilize a field voltage control loop to linearize the exciter control characteristic. This also makes the output independent of supply source variations until supply limitations are reached. These systems utilize a variety of controlled-rectifier designs: full thyristor complements or hybrid bridges in either series or shunt configurations. The power source can consist of only a potential source, either fed from the machine terminals or from internal windings. Some designs can have compound power sources utilizing both machine potential and current. These power sources are represented as phasor combinations of machine terminal current and voltage and are accommodated by suitable parameters in model type ST3A which is represented by ExcIEEEST3A. Reference: IEEE 421.5-2005, 7.3.",
        attrs: &[
            AttrDef { id: "ExcIEEEST3A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (KA) (> 0). This is parameter K in the IEEE standard. Typical value = 200." },
            AttrDef { id: "ExcIEEEST3A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,2." },
            AttrDef { id: "ExcIEEEST3A.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback gain constant of the inner loop field regulator (KG) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST3A.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KI) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST3A.km", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Forward gain constant of the inner loop field regulator (KM) (> 0). Typical value = 7,93." },
            AttrDef { id: "ExcIEEEST3A.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KP) (> 0). Typical value = 6,15." },
            AttrDef { id: "ExcIEEEST3A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST3A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TB) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEST3A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TC) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST3A.thetap", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit phase angle (thetap). Typical value = 0." },
            AttrDef { id: "ExcIEEEST3A.tm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Forward time constant of inner loop field regulator (TM) (> 0). Typical value = 0,4." },
            AttrDef { id: "ExcIEEEST3A.vbmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum excitation voltage (VBMax) (> 0). Typical value = 6,9." },
            AttrDef { id: "ExcIEEEST3A.vgmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum inner loop feedback voltage (VGMax) (>= 0). Typical value = 5,8." },
            AttrDef { id: "ExcIEEEST3A.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (VIMAX) (> 0). Typical value = 0,2." },
            AttrDef { id: "ExcIEEEST3A.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (VIMIN) (< 0). Typical value = -0,2." },
            AttrDef { id: "ExcIEEEST3A.vmmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum inner loop output (VMMax) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST3A.vmmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum inner loop output (VMMin) (<= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST3A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEST3A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -10." },
            AttrDef { id: "ExcIEEEST3A.xl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactance associated with potential source (XL) (>= 0). Typical value = 0,081." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST4B",
        qualified: "ExcIEEEST4B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST4B model. This model is a variation of the type ST3A model, with a proportional plus integral (PI) regulator block replacing the lag-lead regulator characteristic that is in the ST3A model. Both potential and compound source rectifier excitation systems are modelled. The PI regulator blocks have non-windup limits that are represented. The voltage regulator of this model is typically implemented digitally. Reference: IEEE 421.5-2005, 7.4.",
        attrs: &[
            AttrDef { id: "ExcIEEEST4B.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (KC) (>= 0). Typical value = 0,113." },
            AttrDef { id: "ExcIEEEST4B.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback gain constant of the inner loop field regulator (KG) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST4B.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KI) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcIEEEST4B.kim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain output (KIM). Typical value = 0." },
            AttrDef { id: "ExcIEEEST4B.kir", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (KIR). Typical value = 10,75." },
            AttrDef { id: "ExcIEEEST4B.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (KP) (> 0). Typical value = 9,3." },
            AttrDef { id: "ExcIEEEST4B.kpm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain output (KPM). Typical value = 1." },
            AttrDef { id: "ExcIEEEST4B.kpr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (KPR). Typical value = 10,75." },
            AttrDef { id: "ExcIEEEST4B.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (TA) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEST4B.thetap", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit phase angle (thetap). Typical value = 0." },
            AttrDef { id: "ExcIEEEST4B.vbmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum excitation voltage (VBMax) (> 0). Typical value = 11,63." },
            AttrDef { id: "ExcIEEEST4B.vmmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum inner loop output (VMMax) (> ExcIEEEST4B.vmmin). Typical value = 99." },
            AttrDef { id: "ExcIEEEST4B.vmmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum inner loop output (VMMin) (< ExcIEEEST4B.vmmax). Typical value = -99." },
            AttrDef { id: "ExcIEEEST4B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST4B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -0,87." },
            AttrDef { id: "ExcIEEEST4B.xl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactance associated with potential source (XL) (>= 0). Typical value = 0,124." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST5B",
        qualified: "ExcIEEEST5B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST5B model. The type ST5B excitation system is a variation of the type ST1A model, with alternative overexcitation and underexcitation inputs and additional limits. The block diagram in the IEEE 421.5 standard has input signal Vc and does not indicate the summation point with Vref. The implementation of the ExcIEEEST5B shall consider summation point with Vref. Reference: IEEE 421.5-2005, 7.5.",
        attrs: &[
            AttrDef { id: "ExcIEEEST5B.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier regulation factor (KC) (>= 0). Typical value = 0,004." },
            AttrDef { id: "ExcIEEEST5B.kr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator gain (KR) (> 0). Typical value = 200." },
            AttrDef { id: "ExcIEEEST5B.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Firing circuit time constant (T1) (>= 0). Typical value = 0,004." },
            AttrDef { id: "ExcIEEEST5B.tb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lag time constant (TB1) (>= 0). Typical value = 6." },
            AttrDef { id: "ExcIEEEST5B.tb2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lag time constant (TB2) (>= 0). Typical value = 0,01." },
            AttrDef { id: "ExcIEEEST5B.tc1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lead time constant (TC1) (>= 0). Typical value = 0,8." },
            AttrDef { id: "ExcIEEEST5B.tc2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lead time constant (TC2) (>= 0). Typical value = 0,08." },
            AttrDef { id: "ExcIEEEST5B.tob1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL lag time constant (TOB1) (>= 0). Typical value = 2." },
            AttrDef { id: "ExcIEEEST5B.tob2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL lag time constant (TOB2) (>= 0). Typical value = 0,08." },
            AttrDef { id: "ExcIEEEST5B.toc1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL lead time constant (TOC1) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEST5B.toc2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL lead time constant (TOC2) (>= 0). Typical value = 0,08." },
            AttrDef { id: "ExcIEEEST5B.tub1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lag time constant (TUB1) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcIEEEST5B.tub2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lag time constant (TUB2) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcIEEEST5B.tuc1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lead time constant (TUC1) (>= 0). Typical value = 2." },
            AttrDef { id: "ExcIEEEST5B.tuc2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lead time constant (TUC2) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcIEEEST5B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 5." },
            AttrDef { id: "ExcIEEEST5B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -4." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST6B",
        qualified: "ExcIEEEST6B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST6B model. This model consists of a PI voltage regulator with an inner loop field voltage regulator and pre-control. The field voltage regulator implements a proportional control. The pre-control and the delay in the feedback circuit increase the dynamic response. Reference: IEEE 421.5-2005, 7.6.",
        attrs: &[
            AttrDef { id: "ExcIEEEST6B.ilr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit reference (ILR) (> 0). Typical value = 4,164." },
            AttrDef { id: "ExcIEEEST6B.kci", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit adjustment (KCI) (> 0). Typical value = 1,0577." },
            AttrDef { id: "ExcIEEEST6B.kff", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pre-control gain constant of the inner loop field regulator (KFF). Typical value = 1." },
            AttrDef { id: "ExcIEEEST6B.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback gain constant of the inner loop field regulator (KG) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST6B.kia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (KIA) (> 0). Typical value = 45,094." },
            AttrDef { id: "ExcIEEEST6B.klr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limiter gain (KLR) (> 0). Typical value = 17,33." },
            AttrDef { id: "ExcIEEEST6B.km", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Forward gain constant of the inner loop field regulator (KM). Typical value = 1." },
            AttrDef { id: "ExcIEEEST6B.kpa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (KPA) (> 0). Typical value = 18,038." },
            AttrDef { id: "ExcIEEEST6B.oelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcST6BOELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "OEL input selector (OELin). Typical value = noOELinput." },
            AttrDef { id: "ExcIEEEST6B.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback time constant of inner loop field voltage regulator (TG) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcIEEEST6B.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VAMAX) (> 0). Typical value = 4,81." },
            AttrDef { id: "ExcIEEEST6B.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VAMIN) (< 0). Typical value = -3,85." },
            AttrDef { id: "ExcIEEEST6B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 4,81." },
            AttrDef { id: "ExcIEEEST6B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -3,85." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST7B",
        qualified: "ExcIEEEST7B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type ST7B model. This model is representative of static potential-source excitation systems. In this system, the AVR consists of a PI voltage regulator. A phase lead-lag filter in series allows the introduction of a derivative function, typically used with brushless excitation systems. In that case, the regulator is of the PID type. In addition, the terminal voltage channel includes a phase lead-lag filter. The AVR includes the appropriate inputs on its reference for overexcitation limiter (OEL1), underexcitation limiter (UEL), stator current limiter (SCL), and current compensator (DROOP). All these limitations, when they work at voltage reference level, keep the PSS (VS signal from PSS) in operation. However, the UEL limitation can also be transferred to the high value (HV) gate acting on the output signal. In addition, the output signal passes through a low value (LV) gate for a ceiling overexcitation limiter (OEL2). Reference: IEEE 421.5-2005, 7.7.",
        attrs: &[
            AttrDef { id: "ExcIEEEST7B.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High-value gate feedback gain (KH) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.kia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (KIA) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.kl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low-value gate feedback gain (KL) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.kpa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (KPA) (> 0). Typical value = 40." },
            AttrDef { id: "ExcIEEEST7B.oelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcST7BOELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "OEL input selector (OELin). Typical value = noOELinput." },
            AttrDef { id: "ExcIEEEST7B.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lag time constant (TB) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lead time constant (TC) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (TF) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback time constant of inner loop field voltage regulator (TG) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcIEEEST7B.tia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback time constant (TIA) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcIEEEST7B.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcST7BUELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "UEL input selector (UELin). Typical value = noUELinput." },
            AttrDef { id: "ExcIEEEST7B.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage reference signal (VMAX) (> 0 and > ExcIEEEST7B.vmin). Typical value = 1,1." },
            AttrDef { id: "ExcIEEEST7B.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage reference signal (VMIN) (> 0 and < ExcIEEEST7B.vmax). Typical value = 0,9." },
            AttrDef { id: "ExcIEEEST7B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (VRMAX) (> 0). Typical value = 5." },
            AttrDef { id: "ExcIEEEST7B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (VRMIN) (< 0). Typical value = -4,5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcNI",
        qualified: "ExcNI",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Bus or solid fed SCR (silicon-controlled rectifier) bridge excitation system model type NI (NVE).",
        attrs: &[
            AttrDef { id: "ExcNI.busFedSelector", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Fed by selector (BusFedSelector). true = bus fed (switch is closed) false = solid fed (switch is open). Typical value = true." },
            AttrDef { id: "ExcNI.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 210." },
            AttrDef { id: "ExcNI.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gain (Kf) (> 0). Typical value 0,01." },
            AttrDef { id: "ExcNI.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "rc / rfd (R) (>= 0). 0 means exciter has negative current capability > 0 means exciter does not have negative current capability. Typical value = 5." },
            AttrDef { id: "ExcNI.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,02." },
            AttrDef { id: "ExcNI.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf1) (> 0). Typical value = 1,0." },
            AttrDef { id: "ExcNI.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf2) (> 0). Typical value = 0,1." },
            AttrDef { id: "ExcNI.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tr) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcNI.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator ouput (Vrmax) (> ExcNI.vrmin). Typical value = 5,0." },
            AttrDef { id: "ExcNI.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator ouput (Vrmin) (< ExcNI.vrmax). Typical value = -2,0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcOEX3T",
        qualified: "ExcOEX3T",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE type ST1 excitation system with semi-continuous and acting terminal voltage limiter.",
        attrs: &[
            AttrDef { id: "ExcOEX3T.e1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation parameter (E1)." },
            AttrDef { id: "ExcOEX3T.e2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation parameter (E2)." },
            AttrDef { id: "ExcOEX3T.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KA)." },
            AttrDef { id: "ExcOEX3T.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KC)." },
            AttrDef { id: "ExcOEX3T.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KD)." },
            AttrDef { id: "ExcOEX3T.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KE)." },
            AttrDef { id: "ExcOEX3T.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KF)." },
            AttrDef { id: "ExcOEX3T.see1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation parameter (SE[E1])." },
            AttrDef { id: "ExcOEX3T.see2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation parameter (SE[E2])." },
            AttrDef { id: "ExcOEX3T.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T1) (>= 0)." },
            AttrDef { id: "ExcOEX3T.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T2) (>= 0)." },
            AttrDef { id: "ExcOEX3T.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T3) (>= 0)." },
            AttrDef { id: "ExcOEX3T.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T4) (>= 0)." },
            AttrDef { id: "ExcOEX3T.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T5) (>= 0)." },
            AttrDef { id: "ExcOEX3T.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T6) (>= 0)." },
            AttrDef { id: "ExcOEX3T.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (TE) (>= 0)." },
            AttrDef { id: "ExcOEX3T.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (TF) (>= 0)." },
            AttrDef { id: "ExcOEX3T.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VRMAX) (> ExcOEX3T.vrmin)." },
            AttrDef { id: "ExcOEX3T.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (VRMIN) (< ExcOEX3T.vrmax)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcPIC",
        qualified: "ExcPIC",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Proportional/integral regulator excitation system. This model can be used to represent excitation systems with a proportional-integral (PI) voltage regulator controller.",
        attrs: &[
            AttrDef { id: "ExcPIC.e1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 1 (E1). Typical value = 0." },
            AttrDef { id: "ExcPIC.e2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 2 (E2). Typical value = 0." },
            AttrDef { id: "ExcPIC.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter maximum limit (Efdmax) (> ExcPIC.efdmin). Typical value = 8." },
            AttrDef { id: "ExcPIC.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter minimum limit (Efdmin) (< ExcPIC.efdmax). Typical value = -0,87." },
            AttrDef { id: "ExcPIC.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller gain (Ka). Typical value = 3,15." },
            AttrDef { id: "ExcPIC.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter regulation factor (Kc). Typical value = 0,08." },
            AttrDef { id: "ExcPIC.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant (Ke). Typical value = 0." },
            AttrDef { id: "ExcPIC.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback gain (Kf). Typical value = 0." },
            AttrDef { id: "ExcPIC.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current source gain (Ki). Typical value = 0." },
            AttrDef { id: "ExcPIC.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential source gain (Kp). Typical value = 6,5." },
            AttrDef { id: "ExcPIC.se1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E1 (Se1). Typical value = 0." },
            AttrDef { id: "ExcPIC.se2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E2 (Se2). Typical value = 0." },
            AttrDef { id: "ExcPIC.ta1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller time constant (Ta1) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcPIC.ta2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta2) (>= 0). Typical value = 0,01." },
            AttrDef { id: "ExcPIC.ta3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (Ta3) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcPIC.ta4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (Ta4) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcPIC.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant (Te) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcPIC.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback time constant (Tf1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcPIC.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback lag time constant (Tf2) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcPIC.vr1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI maximum limit (Vr1). Typical value = 1." },
            AttrDef { id: "ExcPIC.vr2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI minimum limit (Vr2). Typical value = -0,87." },
            AttrDef { id: "ExcPIC.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator maximum limit (Vrmax) (> ExcPIC.vrmin). Typical value = 1." },
            AttrDef { id: "ExcPIC.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator minimum limit (Vrmin) (< ExcPIC.vrmax). Typical value = -0,87." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcREXS",
        qualified: "ExcREXS",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "General purpose rotating excitation system. This model can be used to represent a wide range of excitation systems whose DC power source is an AC or DC generator. It encompasses IEEE type AC1, AC2, DC1, and DC2 excitation system models.",
        attrs: &[
            AttrDef { id: "ExcREXS.e1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 1 (E1). Typical value = 3." },
            AttrDef { id: "ExcREXS.e2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage value 2 (E2). Typical value = 4." },
            AttrDef { id: "ExcREXS.fbf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcREXSFeedbackSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Rate feedback signal flag (fbf). Typical value = fieldCurrent." },
            AttrDef { id: "ExcREXS.flimf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limit type flag (Flimf). Typical value = 0." },
            AttrDef { id: "ExcREXS.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier regulation factor (Kc). Typical value = 0,05." },
            AttrDef { id: "ExcREXS.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter regulation factor (Kd). Typical value = 2." },
            AttrDef { id: "ExcREXS.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field proportional constant (Ke). Typical value = 1." },
            AttrDef { id: "ExcREXS.kefd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage feedback gain (Kefd). Typical value = 0." },
            AttrDef { id: "ExcREXS.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback gain (Kf) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcREXS.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage controller feedback gain (Kh). Typical value = 0." },
            AttrDef { id: "ExcREXS.kii", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field current regulator integral gain (Kii). Typical value = 0." },
            AttrDef { id: "ExcREXS.kip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field current regulator proportional gain (Kip). Typical value = 1." },
            AttrDef { id: "ExcREXS.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcREXS.kvi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (Kvi). Typical value = 0." },
            AttrDef { id: "ExcREXS.kvp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (Kvp). Typical value = 2800." },
            AttrDef { id: "ExcREXS.kvphz", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "V/Hz limiter gain (Kvphz). Typical value = 0." },
            AttrDef { id: "ExcREXS.nvphz", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pickup speed of V/Hz limiter (Nvphz). Typical value = 0." },
            AttrDef { id: "ExcREXS.se1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E1 (Se1). Typical value = 0,0001." },
            AttrDef { id: "ExcREXS.se2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at E2 (Se2). Typical value = 0,001." },
            AttrDef { id: "ExcREXS.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (>= 0). If = 0, block is bypassed. Typical value = 0,01." },
            AttrDef { id: "ExcREXS.tb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (Tb1) (>= 0). If = 0, block is bypassed. Typical value = 0." },
            AttrDef { id: "ExcREXS.tb2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (Tb2) (>= 0). If = 0, block is bypassed. Typical value = 0." },
            AttrDef { id: "ExcREXS.tc1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (Tc1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcREXS.tc2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (Tc2) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcREXS.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter field time constant (Te) (> 0). Typical value = 1,2." },
            AttrDef { id: "ExcREXS.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate feedback time constant (Tf) (>= 0). If = 0, the feedback path is not used. Typical value = 1." },
            AttrDef { id: "ExcREXS.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback lead time constant (Tf1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcREXS.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback lag time constant (Tf2) (>= 0). If = 0, block is bypassed. Typical value = 0." },
            AttrDef { id: "ExcREXS.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field current bridge time constant (Tp) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcREXS.vcmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum compounding voltage (Vcmax). Typical value = 0." },
            AttrDef { id: "ExcREXS.vfmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum exciter field current (Vfmax) (> ExcREXS.vfmin). Typical value = 47." },
            AttrDef { id: "ExcREXS.vfmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum exciter field current (Vfmin) (< ExcREXS.vfmax). Typical value = -20." },
            AttrDef { id: "ExcREXS.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator input limit (Vimax). Typical value = 0,1." },
            AttrDef { id: "ExcREXS.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum controller output (Vrmax) (> ExcREXS.vrmin). Typical value = 47." },
            AttrDef { id: "ExcREXS.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum controller output (Vrmin) (< ExcREXS.vrmax). Typical value = -20." },
            AttrDef { id: "ExcREXS.xc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter compounding reactance (Xc). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcRQB",
        qualified: "ExcRQB",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Excitation system type RQB (four-loop regulator, r?gulateur quatre boucles, developed in France) primarily used in nuclear or thermal generating units. This excitation system shall be always used together with power system stabilizer type PssRQB.",
        attrs: &[
            AttrDef { id: "ExcRQB.ki0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage reference input gain (Ki0). Typical value = 12,7." },
            AttrDef { id: "ExcRQB.ki1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage input gain (Ki1). Typical value = -16,8." },
            AttrDef { id: "ExcRQB.klir", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL input gain (KLIR). Typical value = 12,13." },
            AttrDef { id: "ExcRQB.klus", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter gain (KLUS). Typical value = 50." },
            AttrDef { id: "ExcRQB.lsat", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integrator limiter (LSAT). Typical value = 5,73." },
            AttrDef { id: "ExcRQB.lus", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Setpoint (LUS). Typical value = 0,12." },
            AttrDef { id: "ExcRQB.mesu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage input time constant (MESU) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcRQB.t4m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input time constant (T4M) (>= 0). Typical value = 5." },
            AttrDef { id: "ExcRQB.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead lag time constant (TC) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcRQB.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead lag time constant (TE) (>= 0). Typical value = 0,22." },
            AttrDef { id: "ExcRQB.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant (TF) (>= 0). Typical value = 0,01." },
            AttrDef { id: "ExcRQB.ucmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage reference limit (UCMAX) (> ExcRQB.ucmin). Typical value = 1,1." },
            AttrDef { id: "ExcRQB.ucmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage reference limit (UCMIN) (< ExcRQB.ucmax). Typical value = 0,9." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcSCRX",
        qualified: "ExcSCRX",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Simple excitation system with generic characteristics typical of many excitation systems; intended for use where negative field current could be a problem.",
        attrs: &[
            AttrDef { id: "ExcSCRX.cswitch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Power source switch (Cswitch). true = fixed voltage of 1.0 PU false = generator terminal voltage." },
            AttrDef { id: "ExcSCRX.emax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field voltage output (Emax) (> ExcSCRX.emin). Typical value = 5." },
            AttrDef { id: "ExcSCRX.emin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum field voltage output (Emin) (< ExcSCRX.emax). Typical value = 0." },
            AttrDef { id: "ExcSCRX.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K) (> 0). Typical value = 200." },
            AttrDef { id: "ExcSCRX.rcrfd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ratio of field discharge resistance to field winding resistance ([rc / rfd]). Typical value = 0." },
            AttrDef { id: "ExcSCRX.tatb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain reduction ratio of lag-lead element ([Ta / Tb]). The parameter Ta is not defined explicitly. Typical value = 0.1." },
            AttrDef { id: "ExcSCRX.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Denominator time constant of lag-lead block (Tb) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcSCRX.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of gain block (Te) (> 0). Typical value = 0,02." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcSEXS",
        qualified: "ExcSEXS",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified excitation system.",
        attrs: &[
            AttrDef { id: "ExcSEXS.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage clipping maximum limit (Efdmax) (> ExcSEXS.efdmin). Typical value = 5." },
            AttrDef { id: "ExcSEXS.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage clipping minimum limit (Efdmin) (< ExcSEXS.efdmax). Typical value = -5." },
            AttrDef { id: "ExcSEXS.emax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field voltage output (Emax) (> ExcSEXS.emin). Typical value = 5." },
            AttrDef { id: "ExcSEXS.emin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum field voltage output (Emin) (< ExcSEXS.emax). Typical value = -5." },
            AttrDef { id: "ExcSEXS.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K) (> 0). Typical value = 100." },
            AttrDef { id: "ExcSEXS.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller gain (Kc) (> 0 if ExcSEXS.tc > 0). Typical value = 0,08." },
            AttrDef { id: "ExcSEXS.tatb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain reduction ratio of lag-lead element ([Ta / Tb]). Typical value = 0,1." },
            AttrDef { id: "ExcSEXS.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Denominator time constant of lag-lead block (Tb) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcSEXS.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller phase lead time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcSEXS.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of gain block (Te) (> 0). Typical value = 0,05." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcSK",
        qualified: "ExcSK",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Slovakian excitation system. UEL and secondary voltage control are included in this model. When this model is used, there cannot be a separate underexcitation limiter or VAr controller model.",
        attrs: &[
            AttrDef { id: "ExcSK.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage clipping upper level limit (Efdmax) (> ExcSK.efdmin)." },
            AttrDef { id: "ExcSK.efdmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field voltage clipping lower level limit (Efdmin) (< ExcSK.efdmax)." },
            AttrDef { id: "ExcSK.emax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field voltage output (Emax) (> ExcSK.emin). Typical value = 20." },
            AttrDef { id: "ExcSK.emin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum field voltage output (Emin) (< ExcSK.emax). Typical value = -20." },
            AttrDef { id: "ExcSK.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K). Typical value = 1." },
            AttrDef { id: "ExcSK.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Parameter of underexcitation limit (K1). Typical value = 0,1364." },
            AttrDef { id: "ExcSK.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Parameter of underexcitation limit (K2). Typical value = -0,3861." },
            AttrDef { id: "ExcSK.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller gain (Kc). Typical value = 70." },
            AttrDef { id: "ExcSK.kce", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier regulation factor (Kce). Typical value = 0." },
            AttrDef { id: "ExcSK.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter internal reactance (Kd). Typical value = 0." },
            AttrDef { id: "ExcSK.kgob", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "P controller gain (Kgob). Typical value = 10." },
            AttrDef { id: "ExcSK.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller gain (Kp). Typical value = 1." },
            AttrDef { id: "ExcSK.kqi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller gain of integral component (Kqi). Typical value = 0." },
            AttrDef { id: "ExcSK.kqob", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate of rise of the reactive power (Kqob)." },
            AttrDef { id: "ExcSK.kqp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller gain (Kqp). Typical value = 0." },
            AttrDef { id: "ExcSK.nq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Deadband of reactive power (nq). Determines the range of sensitivity. Typical value = 0,001." },
            AttrDef { id: "ExcSK.qconoff", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Secondary voltage control state (Qc_on_off). true = secondary voltage control is on false = secondary voltage control is off. Typical value = false." },
            AttrDef { id: "ExcSK.qz", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Desired value (setpoint) of reactive power, manual setting (Qz)." },
            AttrDef { id: "ExcSK.remote", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector to apply automatic calculation in secondary controller model (remote). true = automatic calculation is activated false = manual set is active; the use of desired value of reactive power (Qz) is required. Typical value = true." },
            AttrDef { id: "ExcSK.sbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Apparent power of the unit (Sbase) (> 0). Unit = MVA. Typical value = 259." },
            AttrDef { id: "ExcSK.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller phase lead time constant (Tc) (>= 0). Typical value = 8." },
            AttrDef { id: "ExcSK.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of gain block (Te) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcSK.ti", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller phase lead time constant (Ti) (>= 0). Typical value = 2." },
            AttrDef { id: "ExcSK.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "ExcSK.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage transducer time constant (Tr) (>= 0). Typical value = 0,01." },
            AttrDef { id: "ExcSK.uimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum error (UImax) (> ExcSK.uimin). Typical value = 10." },
            AttrDef { id: "ExcSK.uimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum error (UImin) (< ExcSK.uimax). Typical value = -10." },
            AttrDef { id: "ExcSK.urmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum controller output (URmax) (> ExcSK.urmin). Typical value = 10." },
            AttrDef { id: "ExcSK.urmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum controller output (URmin) (< ExcSK.urmax). Typical value = -10." },
            AttrDef { id: "ExcSK.vtmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum terminal voltage input (Vtmax) (> ExcSK.vtmin). Determines the range of voltage deadband. Typical value = 1,05." },
            AttrDef { id: "ExcSK.vtmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum terminal voltage input (Vtmin) (< ExcSK.vtmax). Determines the range of voltage deadband. Typical value = 0,95." },
            AttrDef { id: "ExcSK.yp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum output (Yp). Typical value = 1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST1A",
        qualified: "ExcST1A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modification of an old IEEE ST1A static excitation system without overexcitation limiter (OEL) and underexcitation limiter (UEL).",
        attrs: &[
            AttrDef { id: "ExcST1A.ilr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit reference (Ilr). Typical value = 0." },
            AttrDef { id: "ExcST1A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 190." },
            AttrDef { id: "ExcST1A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcST1A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (Kf) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST1A.klr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limiter gain (Klr). Typical value = 0." },
            AttrDef { id: "ExcST1A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcST1A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 10." },
            AttrDef { id: "ExcST1A.tb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST1A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST1A.tc1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc1) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST1A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST1A.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vamax) (> 0). Typical value = 999." },
            AttrDef { id: "ExcST1A.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vamin) (< 0). Typical value = -999." },
            AttrDef { id: "ExcST1A.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (Vimax) (> 0). Typical value = 999." },
            AttrDef { id: "ExcST1A.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (Vimin) (< 0). Typical value = -999." },
            AttrDef { id: "ExcST1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (Vrmax) (> 0) . Typical value = 7,8." },
            AttrDef { id: "ExcST1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (Vrmin) (< 0). Typical value = -6,7." },
            AttrDef { id: "ExcST1A.xe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation xfmr effective reactance (Xe). Typical value = 0,04." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST2A",
        qualified: "ExcST2A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE ST2A static excitation system with another lead-lag block added to match the model defined by WECC.",
        attrs: &[
            AttrDef { id: "ExcST2A.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum field voltage (Efdmax) (>= 0). Typical value = 99." },
            AttrDef { id: "ExcST2A.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator gain (Ka) (> 0). Typical value = 120." },
            AttrDef { id: "ExcST2A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 1,82." },
            AttrDef { id: "ExcST2A.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter constant related to self-excited field (Ke). Typical value = 1." },
            AttrDef { id: "ExcST2A.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer gains (kf) (>= 0). Typical value = 0,05." },
            AttrDef { id: "ExcST2A.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Ki) (>= 0). Typical value = 8." },
            AttrDef { id: "ExcST2A.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Kp) (>= 0). Typical value = 4,88." },
            AttrDef { id: "ExcST2A.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (> 0). Typical value = 0,15." },
            AttrDef { id: "ExcST2A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST2A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST2A.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter time constant, integration rate associated with exciter control (Te) (> 0). Typical value = 0,5." },
            AttrDef { id: "ExcST2A.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (>= 0). Typical value = 0,7." },
            AttrDef { id: "ExcST2A.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "UEL input (UELin). true = HV gate false = add to error signal. Typical value = false." },
            AttrDef { id: "ExcST2A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator outputs (Vrmax) (> 0). Typical value = 1." },
            AttrDef { id: "ExcST2A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator outputs (Vrmin) (< 0). Typical value = -1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST3A",
        qualified: "ExcST3A",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE ST3A static excitation system with added speed multiplier.",
        attrs: &[
            AttrDef { id: "ExcST3A.efdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum AVR output (Efdmax) (>= 0). Typical value = 6,9." },
            AttrDef { id: "ExcST3A.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 1,1." },
            AttrDef { id: "ExcST3A.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback gain constant of the inner loop field regulator (Kg) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST3A.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Ki) (>= 0). Typical value = 4,83." },
            AttrDef { id: "ExcST3A.kj", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "AVR gain (Kj) (> 0). Typical value = 200." },
            AttrDef { id: "ExcST3A.km", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Forward gain constant of the inner loop field regulator (Km) (> 0). Typical value = 7,04." },
            AttrDef { id: "ExcST3A.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential source gain (Kp) (> 0). Typical value = 4,37." },
            AttrDef { id: "ExcST3A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks). Typical value = 0." },
            AttrDef { id: "ExcST3A.ks1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient to allow different usage of the model-speed coefficient (Ks1). Typical value = 0." },
            AttrDef { id: "ExcST3A.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tb) (>= 0). Typical value = 6,67." },
            AttrDef { id: "ExcST3A.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Tc) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST3A.thetap", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit phase angle (thetap). Typical value = 20." },
            AttrDef { id: "ExcST3A.tm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Forward time constant of inner loop field regulator (Tm) (> 0). Typical value = 1." },
            AttrDef { id: "ExcST3A.vbmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum excitation voltage (Vbmax) (> 0). Typical value = 8,63." },
            AttrDef { id: "ExcST3A.vgmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum inner loop feedback voltage (Vgmax) (>= 0). Typical value = 6,53." },
            AttrDef { id: "ExcST3A.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (Vimax) (> 0). Typical value = 0,2." },
            AttrDef { id: "ExcST3A.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (Vimin) (< 0). Typical value = -0,2." },
            AttrDef { id: "ExcST3A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 1." },
            AttrDef { id: "ExcST3A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = -1." },
            AttrDef { id: "ExcST3A.xl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactance associated with potential source (Xl) (>= 0). Typical value = 0,09." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST4B",
        qualified: "ExcST4B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE ST4B static excitation system with maximum inner loop feedback gain Vgmax.",
        attrs: &[
            AttrDef { id: "ExcST4B.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier loading factor proportional to commutating reactance (Kc) (>= 0). Typical value = 0,113." },
            AttrDef { id: "ExcST4B.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback gain constant of the inner loop field regulator (Kg) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST4B.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Ki) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST4B.kim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain output (Kim). Typical value = 0." },
            AttrDef { id: "ExcST4B.kir", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (Kir). Typical value = 10,75." },
            AttrDef { id: "ExcST4B.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit gain coefficient (Kp) (> 0). Typical value = 9,3." },
            AttrDef { id: "ExcST4B.kpm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain output (Kpm). Typical value = 1." },
            AttrDef { id: "ExcST4B.kpr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (Kpr). Typical value = 10,75." },
            AttrDef { id: "ExcST4B.lvgate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (LVGate). true = LVGate is part of the block diagram false = LVGate is not part of the block diagram. Typical value = false." },
            AttrDef { id: "ExcST4B.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator time constant (Ta) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcST4B.thetap", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Potential circuit phase angle (thetap). Typical value = 0." },
            AttrDef { id: "ExcST4B.uel", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (UEL). true = UEL is part of block diagram false = UEL is not part of block diagram. Typical value = false." },
            AttrDef { id: "ExcST4B.vbmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum excitation voltage (Vbmax) (> 0). Typical value = 11,63." },
            AttrDef { id: "ExcST4B.vgmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum inner loop feedback voltage (Vgmax) (>= 0). Typical value = 5,8." },
            AttrDef { id: "ExcST4B.vmmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum inner loop output (Vmmax) (> ExcST4B.vmmin). Typical value = 99." },
            AttrDef { id: "ExcST4B.vmmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum inner loop output (Vmmin) (< ExcST4B.vmmax). Typical value = -99." },
            AttrDef { id: "ExcST4B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 1." },
            AttrDef { id: "ExcST4B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = -0,87." },
            AttrDef { id: "ExcST4B.xl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactance associated with potential source (Xl) (>= 0). Typical value = 0,124." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST6B",
        qualified: "ExcST6B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE ST6B static excitation system with PID controller and optional inner feedback loop.",
        attrs: &[
            AttrDef { id: "ExcST6B.ilr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit reference (Ilr) (> 0). Typical value = 4,164." },
            AttrDef { id: "ExcST6B.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (K1). true = feedback is from Ifd false = feedback is not from Ifd. Typical value = true." },
            AttrDef { id: "ExcST6B.kcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit adjustment (Kcl) (> 0). Typical value = 1,0577." },
            AttrDef { id: "ExcST6B.kff", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pre-control gain constant of the inner loop field regulator (Kff). Typical value = 1." },
            AttrDef { id: "ExcST6B.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback gain constant of the inner loop field regulator (Kg) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST6B.kia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (Kia) (> 0). Typical value = 45,094." },
            AttrDef { id: "ExcST6B.klr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exciter output current limit adjustment (Kcl) (> 0). Typical value = 17,33." },
            AttrDef { id: "ExcST6B.km", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Forward gain constant of the inner loop field regulator (Km). Typical value = 1." },
            AttrDef { id: "ExcST6B.kpa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (Kpa) (> 0). Typical value = 18,038." },
            AttrDef { id: "ExcST6B.kvd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator derivative gain (Kvd). Typical value = 0." },
            AttrDef { id: "ExcST6B.oelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcST6BOELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "OEL input selector (OELin). Typical value = noOELinput (corresponds to OELin = 0 on diagram)." },
            AttrDef { id: "ExcST6B.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback time constant of inner loop field voltage regulator (Tg) (>= 0). Typical value = 0,02." },
            AttrDef { id: "ExcST6B.ts", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier firing time constant (Ts) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST6B.tvd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator derivative gain (Tvd) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST6B.vamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vamax) (> 0). Typical value = 4,81." },
            AttrDef { id: "ExcST6B.vamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vamin) (< 0). Typical value = -3,85." },
            AttrDef { id: "ExcST6B.vilim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (Vilim). true = Vimin-Vimax limiter is active false = Vimin-Vimax limiter is not active. Typical value = true." },
            AttrDef { id: "ExcST6B.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator input limit (Vimax) (> ExcST6B.vimin). Typical value = 10." },
            AttrDef { id: "ExcST6B.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator input limit (Vimin) (< ExcST6B.vimax). Typical value = -10." },
            AttrDef { id: "ExcST6B.vmult", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (vmult). true = multiply regulator output by terminal voltage false = do not multiply regulator output by terminal voltage. Typical value = true." },
            AttrDef { id: "ExcST6B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 4,81." },
            AttrDef { id: "ExcST6B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = -3,85." },
            AttrDef { id: "ExcST6B.xc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation source reactance (Xc). Typical value = 0,05." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST7B",
        qualified: "ExcST7B",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE ST7B static excitation system without stator current limiter (SCL) and current compensator (DROOP) inputs.",
        attrs: &[
            AttrDef { id: "ExcST7B.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High-value gate feedback gain (Kh) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.kia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator integral gain (Kia) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.kl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low-value gate feedback gain (Kl) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.kpa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator proportional gain (Kpa) (> 0). Typical value = 40." },
            AttrDef { id: "ExcST7B.oelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcST7BOELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "OEL input selector (OELin). Typical value = noOELinput." },
            AttrDef { id: "ExcST7B.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lag time constant (Tb) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Regulator lead time constant (Tc) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation control system stabilizer time constant (Tf) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback time constant of inner loop field voltage regulator (Tg) (>= 0). Typical value = 1." },
            AttrDef { id: "ExcST7B.tia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Feedback time constant (Tia) (>= 0). Typical value = 3." },
            AttrDef { id: "ExcST7B.ts", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rectifier firing time constant (Ts) (>= 0). Typical value = 0." },
            AttrDef { id: "ExcST7B.uelin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ExcST7BUELselectorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "UEL input selector (UELin). Typical value = noUELinput." },
            AttrDef { id: "ExcST7B.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage reference signal (Vmax) (> 0 and > ExcST7B.vmin)). Typical value = 1,1." },
            AttrDef { id: "ExcST7B.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage reference signal (Vmin) (> 0 and < ExcST7B.vmax). Typical value = 0,9." },
            AttrDef { id: "ExcST7B.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage regulator output (Vrmax) (> 0). Typical value = 5." },
            AttrDef { id: "ExcST7B.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage regulator output (Vrmin) (< 0). Typical value = -4,5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcitationSystemDynamics",
        qualified: "ExcitationSystemDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Excitation system function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "ExcitationSystemDynamics.DiscontinuousExcitationControlDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiscontinuousExcitationControlDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Discontinuous excitation control model associated with this excitation system model." },
            AttrDef { id: "ExcitationSystemDynamics.OverexcitationLimiterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OverexcitationLimiterDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Overexcitation limiter model associated with this excitation system model." },
            AttrDef { id: "ExcitationSystemDynamics.PFVArControllerType1Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PFVArControllerType1Dynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Power factor or VAr controller type 1 model associated with this excitation system model." },
            AttrDef { id: "ExcitationSystemDynamics.PFVArControllerType2Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PFVArControllerType2Dynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Power factor or VAr controller type 2 model associated with this excitation system model." },
            AttrDef { id: "ExcitationSystemDynamics.PowerSystemStabilizerDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerSystemStabilizerDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Power system stabilizer model associated with this excitation system model." },
            AttrDef { id: "ExcitationSystemDynamics.SynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Synchronous machine model with which this excitation system model is associated." },
            AttrDef { id: "ExcitationSystemDynamics.UnderexcitationLimiterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "UnderexcitationLimiterDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Undrexcitation limiter model associated with this excitation system model." },
            AttrDef { id: "ExcitationSystemDynamics.VoltageCompensatorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageCompensatorDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Voltage compensator model associated with this excitation system model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcitationSystemUserDefined",
        qualified: "ExcitationSystemUserDefined",
        super_class: Some(161),
        concrete: true,
        origins: &["DY"],
        comment: "Excitation system function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "ExcitationSystemUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "ExcitationSystemUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExternalNetworkInjection",
        qualified: "ExternalNetworkInjection",
        super_class: Some(315),
        concrete: true,
        origins: &["EQ", "SC", "SSH"],
        comment: "This class represents the external network and it is used for IEC 60909 calculations.",
        attrs: &[
            AttrDef { id: "ExternalNetworkInjection.governorSCD", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePowerPerFrequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Power Frequency Bias. This is the change in power injection divided by the change in frequency and negated. A positive value of the power frequency bias provides additional power injection upon a drop in frequency." },
            AttrDef { id: "ExternalNetworkInjection.ikSecond", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "Indicates whether initial symmetrical short-circuit current and power have been calculated according to IEC (Ik'). Used only if short circuit calculations are done according to superposition method." },
            AttrDef { id: "ExternalNetworkInjection.maxInitialSymShCCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Maximum initial symmetrical short-circuit currents (Ik' max) in A (Ik' = Sk'/(SQRT(3) Un)). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.maxP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum active power of the injection." },
            AttrDef { id: "ExternalNetworkInjection.maxQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum reactive power limit. It is used for modelling of infeed for load flow exchange and not for short circuit modelling." },
            AttrDef { id: "ExternalNetworkInjection.maxR0ToX0Ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Maximum ratio of zero sequence resistance of Network Feeder to its zero sequence reactance (R(0)/X(0) max). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.maxR1ToX1Ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Maximum ratio of positive sequence resistance of Network Feeder to its positive sequence reactance (R(1)/X(1) max). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.maxZ0ToZ1Ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Maximum ratio of zero sequence impedance to its positive sequence impedance (Z(0)/Z(1) max). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.minInitialSymShCCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Minimum initial symmetrical short-circuit currents (Ik' min) in A (Ik' = Sk'/(SQRT(3) Un)). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.minP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum active power of the injection." },
            AttrDef { id: "ExternalNetworkInjection.minQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum reactive power limit. It is used for modelling of infeed for load flow exchange and not for short circuit modelling." },
            AttrDef { id: "ExternalNetworkInjection.minR0ToX0Ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Indicates whether initial symmetrical short-circuit current and power have been calculated according to IEC (Ik'). Used for short circuit data exchange according to IEC 6090." },
            AttrDef { id: "ExternalNetworkInjection.minR1ToX1Ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Minimum ratio of positive sequence resistance of Network Feeder to its positive sequence reactance (R(1)/X(1) min). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.minZ0ToZ1Ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Minimum ratio of zero sequence impedance to its positive sequence impedance (Z(0)/Z(1) min). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "ExternalNetworkInjection.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Active power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions." },
            AttrDef { id: "ExternalNetworkInjection.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for steady state solutions." },
            AttrDef { id: "ExternalNetworkInjection.referencePriority", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["SSH"], comment: "Priority of unit for use as powerflow voltage phase angle reference bus selection. 0 = don t care (default) 1 = highest priority. 2 is less than 1 and so on." },
            AttrDef { id: "ExternalNetworkInjection.voltageFactor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Voltage factor in pu, which was used to calculate short-circuit current Ik' and power Sk'. Used only if short circuit calculations are done according to superposition method." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "FaultIndicator",
        qualified: "FaultIndicator",
        super_class: Some(21),
        concrete: true,
        origins: &["EQ"],
        comment: "A FaultIndicator is typically only an indicator (which may or may not be remotely monitored), and not a piece of equipment that actually initiates a protection event. It is used for FLISR (Fault Location, Isolation and Restoration) purposes, assisting with the dispatch of crews to 'most likely' part of the network (i.e. assists with determining circuit section where the fault most likely happened).",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "FossilFuel",
        qualified: "FossilFuel",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "The fossil fuel consumed by the non-nuclear thermal generating unit. For example, coal, oil, gas, etc. These are the specific fuels that the generating unit can consume.",
        attrs: &[
            AttrDef { id: "FossilFuel.ThermalGeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ThermalGeneratingUnit", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may have one or more fossil fuels." },
            AttrDef { id: "FossilFuel.fossilFuelType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "FuelType", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The type of fossil fuel, such as coal, oil, or gas." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#",
        local: "FullModel",
        qualified: "FullModel",
        super_class: Some(240),
        concrete: true,
        origins: &["FH"],
        comment: "It represents the full model header and its contents is described by the Model class.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Fuse",
        qualified: "Fuse",
        super_class: Some(353),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "An overcurrent protective device with a circuit opening fusible part that is heated and severed by the passage of overcurrent through it. A fuse is considered a switching device because it breaks current.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GenICompensationForGenJ",
        qualified: "GenICompensationForGenJ",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Resistive and reactive components of compensation for generator associated with IEEE type 2 voltage compensator for current flow out of another generator in the interconnection.",
        attrs: &[
            AttrDef { id: "GenICompensationForGenJ.SynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Standard synchronous machine out of which current flow is being compensated for." },
            AttrDef { id: "GenICompensationForGenJ.VcompIEEEType2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VCompIEEEType2", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The standard IEEE type 2 voltage compensator of this compensation." },
            AttrDef { id: "GenICompensationForGenJ.rcij", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Resistive component of compensation of generator associated with this IEEE type 2 voltage compensator for current flow out of another generator (Rcij)." },
            AttrDef { id: "GenICompensationForGenJ.xcij", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive component of compensation of generator associated with this IEEE type 2 voltage compensator for current flow out of another generator (Xcij)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GeneratingUnit",
        qualified: "GeneratingUnit",
        super_class: Some(98),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A single or set of synchronous machines for converting mechanical power into alternating-current power. For example, individual machines within a set may be defined for scheduling purposes while a single control signal is derived for the set. In this case there would be a GeneratingUnit for each member of the set and an additional GeneratingUnit corresponding to the set.",
        attrs: &[
            AttrDef { id: "GeneratingUnit.ControlAreaGeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ControlAreaGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "ControlArea specifications for this generating unit." },
            AttrDef { id: "GeneratingUnit.GrossToNetActivePowerCurves", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GrossToNetActivePowerCurve", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A generating unit may have a gross active power to net active power curve, describing the losses and auxiliary power requirements of the unit." },
            AttrDef { id: "GeneratingUnit.RotatingMachine", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RotatingMachine", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A synchronous machine may operate as a generator and as such becomes a member of a generating unit." },
            AttrDef { id: "GeneratingUnit.genControlSource", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "GeneratorControlSource", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The source of controls for a generating unit. Defines the control status of the generating unit." },
            AttrDef { id: "GeneratingUnit.governorSCD", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Governor Speed Changer Droop. This is the change in generator power output divided by the change in frequency normalized by the nominal power of the generator and the nominal frequency and expressed in percent and negated. A positive value of speed change droop provides additional generator output upon a drop in frequency." },
            AttrDef { id: "GeneratingUnit.longPF", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Generating unit long term economic participation factor." },
            AttrDef { id: "GeneratingUnit.maxOperatingP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "This is the maximum operating active power limit the dispatcher can enter for this unit." },
            AttrDef { id: "GeneratingUnit.maximumAllowableSpinningReserve", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum allowable spinning reserve. Spinning reserve will never be considered greater than this value regardless of the current operating point." },
            AttrDef { id: "GeneratingUnit.minOperatingP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "This is the minimum operating active power limit the dispatcher can enter for this unit." },
            AttrDef { id: "GeneratingUnit.nominalP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The nominal power of the generating unit. Used to give precise meaning to percentage based attributes such as the governor speed change droop (governorSCD attribute). The attribute shall be a positive value equal to or less than RotatingMachine.ratedS." },
            AttrDef { id: "GeneratingUnit.normalPF", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Generating unit economic participation factor. The sum of the participation factors across generating units does not have to sum to one. It is used for representing distributed slack participation factor. The attribute shall be a positive value or zero." },
            AttrDef { id: "GeneratingUnit.ratedGrossMaxP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The unit's gross rated maximum capacity (book value). The attribute shall be a positive value." },
            AttrDef { id: "GeneratingUnit.ratedGrossMinP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The gross rated minimum generation level which the unit can safely operate at while delivering power to the transmission grid. The attribute shall be a positive value." },
            AttrDef { id: "GeneratingUnit.ratedNetMaxP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The net rated maximum capacity determined by subtracting the auxiliary power used to operate the internal plant machinery from the rated gross maximum capacity. The attribute shall be a positive value." },
            AttrDef { id: "GeneratingUnit.shortPF", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Generating unit short term economic participation factor." },
            AttrDef { id: "GeneratingUnit.startupCost", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Money", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The initial startup cost incurred for each start of the GeneratingUnit." },
            AttrDef { id: "GeneratingUnit.startupTime", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Time it takes to get the unit on-line, from the time that the prime mover mechanical power is applied." },
            AttrDef { id: "GeneratingUnit.totalEfficiency", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The efficiency of the unit in converting the fuel into electrical energy." },
            AttrDef { id: "GeneratingUnit.variableCost", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Money", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The variable cost component of production per unit of ActivePower." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GeographicalRegion",
        qualified: "GeographicalRegion",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "A geographical region of a power system network model.",
        attrs: &[
            AttrDef { id: "GeographicalRegion.Regions", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SubGeographicalRegion", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "All sub-geographical regions within this geographical region." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovCT1",
        qualified: "GovCT1",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "General model for any prime mover with a PID governor, used primarily for combustion turbine and combined cycle units. This model can be used to represent a variety of prime movers controlled by PID governors. It is suitable, for example, for the representation of: gas turbine and single shaft combined cycle turbines diesel engines with modern electronic or digital governors steam turbines where steam is supplied from a large boiler drum or a large header whose pressure is substantially constant over the period under study simple hydro turbines in dam configurations where the water column length is short and water inertia effects are minimal. Additional information on this model is available in the 2012 IEEE report, Dynamic Models for Turbine-Governors in Power System Studies, 3.1.2.3 pages 3-4 (GGOV1).",
        attrs: &[
            AttrDef { id: "GovCT1.aset", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limiter setpoint (Aset). Unit = PU / s. Typical value = 0,01." },
            AttrDef { id: "GovCT1.db", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed governor deadband in PU speed (db). In the majority of applications, it is recommended that this value be set to zero. Typical value = 0." },
            AttrDef { id: "GovCT1.dm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed sensitivity coefficient (Dm). Dm can represent either the variation of the engine power with the shaft speed or the variation of maximum power capability with shaft speed. If it is positive it describes the falling slope of the engine speed verses power characteristic as speed increases. A slightly falling characteristic is typical for reciprocating engines and some aero-derivative turbines. If it is negative the engine power is assumed to be unaffected by the shaft speed, but the maximum permissible fuel flow is taken to fall with falling shaft speed. This is characteristic of single-shaft industrial turbines due to exhaust temperature limits. Typical value = 0." },
            AttrDef { id: "GovCT1.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limiter gain (Ka). Typical value = 10." },
            AttrDef { id: "GovCT1.kdgov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor derivative gain (Kdgov). Typical value = 0." },
            AttrDef { id: "GovCT1.kigov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor integral gain (Kigov). Typical value = 2." },
            AttrDef { id: "GovCT1.kiload", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter integral gain for PI controller (Kiload). Typical value = 0,67." },
            AttrDef { id: "GovCT1.kimw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power controller (reset) gain (Kimw). The default value of 0,01 corresponds to a reset time of 100 s. A value of 0,001 corresponds to a relatively slow-acting load controller. Typical value = 0,01." },
            AttrDef { id: "GovCT1.kpgov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor proportional gain (Kpgov). Typical value = 10." },
            AttrDef { id: "GovCT1.kpload", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter proportional gain for PI controller (Kpload). Typical value = 2." },
            AttrDef { id: "GovCT1.kturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (Kturb) (> 0). Typical value = 1,5." },
            AttrDef { id: "GovCT1.ldref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter reference value (Ldref). Typical value = 1." },
            AttrDef { id: "GovCT1.maxerr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value for speed error signal (maxerr) (> GovCT1.minerr). Typical value = 0,05." },
            AttrDef { id: "GovCT1.minerr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value for speed error signal (minerr) (< GovCT1.maxerr). Typical value = -0,05." },
            AttrDef { id: "GovCT1.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovCT1.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (R). Typical value = 0,04." },
            AttrDef { id: "GovCT1.rclose", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve closing rate (Rclose). Unit = PU / s. Typical value = -0,1." },
            AttrDef { id: "GovCT1.rdown", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum rate of load limit decrease (Rdown). Typical value = -99." },
            AttrDef { id: "GovCT1.ropen", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening rate (Ropen). Unit = PU / s. Typical value = 0.10." },
            AttrDef { id: "GovCT1.rselect", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "DroopSignalFeedbackKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Feedback signal for droop (Rselect). Typical value = electricalPower." },
            AttrDef { id: "GovCT1.rup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum rate of load limit increase (Rup). Typical value = 99." },
            AttrDef { id: "GovCT1.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limiter time constant (Ta) (> 0). Typical value = 0,1." },
            AttrDef { id: "GovCT1.tact", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Actuator time constant (Tact) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovCT1.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine lag time constant (Tb) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovCT1.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine lead time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "GovCT1.tdgov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor derivative controller time constant (Tdgov) (>= 0). Typical value = 1." },
            AttrDef { id: "GovCT1.teng", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transport time delay for diesel engine used in representing diesel engines where there is a small but measurable transport delay between a change in fuel flow setting and the development of torque (Teng) (>= 0). Teng should be zero in all but special cases where this transport delay is of particular concern. Typical value = 0." },
            AttrDef { id: "GovCT1.tfload", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load-limiter time constant (Tfload) (> 0). Typical value = 3." },
            AttrDef { id: "GovCT1.tpelec", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electrical power transducer time constant (Tpelec) (> 0). Typical value = 1." },
            AttrDef { id: "GovCT1.tsa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature detection lead time constant (Tsa) (>= 0). Typical value = 4." },
            AttrDef { id: "GovCT1.tsb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature detection lag time constant (Tsb) (>= 0). Typical value = 5." },
            AttrDef { id: "GovCT1.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve position limit (Vmax) (> GovCT1.vmin). Typical value = 1." },
            AttrDef { id: "GovCT1.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve position limit (Vmin) (< GovCT1.vmax). Typical value = 0,15." },
            AttrDef { id: "GovCT1.wfnl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No load fuel flow (Wfnl). Typical value = 0,2." },
            AttrDef { id: "GovCT1.wfspd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Switch for fuel source characteristic to recognize that fuel flow, for a given fuel valve stroke, can be proportional to engine speed (Wfspd). true = fuel flow proportional to speed (for some gas turbines and diesel engines with positive displacement fuel injectors) false = fuel control system keeps fuel flow independent of engine speed. Typical value = true." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovCT2",
        qualified: "GovCT2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "General governor with frequency-dependent fuel flow limit. This model is a modification of the GovCT1 model in order to represent the frequency-dependent fuel flow limit of a specific gas turbine manufacturer.",
        attrs: &[
            AttrDef { id: "GovCT2.aset", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limiter setpoint (Aset). Unit = PU / s. Typical value = 10." },
            AttrDef { id: "GovCT2.db", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed governor deadband in PU speed (db). In the majority of applications, it is recommended that this value be set to zero. Typical value = 0." },
            AttrDef { id: "GovCT2.dm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed sensitivity coefficient (Dm). Dm can represent either the variation of the engine power with the shaft speed or the variation of maximum power capability with shaft speed. If it is positive it describes the falling slope of the engine speed verses power characteristic as speed increases. A slightly falling characteristic is typical for reciprocating engines and some aero-derivative turbines. If it is negative the engine power is assumed to be unaffected by the shaft speed, but the maximum permissible fuel flow is taken to fall with falling shaft speed. This is characteristic of single-shaft industrial turbines due to exhaust temperature limits. Typical value = 0." },
            AttrDef { id: "GovCT2.flim1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 1 (Flim1). Unit = Hz. Typical value = 59." },
            AttrDef { id: "GovCT2.flim10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 10 (Flim10). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 2 (Flim2). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 3 (Flim3). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 4 (Flim4). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 5 (Flim5). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 6 (Flim6). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 7 (Flim7). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 8 (Flim8). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.flim9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency threshold 9 (Flim9). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovCT2.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limiter gain (Ka). Typical value = 10." },
            AttrDef { id: "GovCT2.kdgov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor derivative gain (Kdgov). Typical value = 0." },
            AttrDef { id: "GovCT2.kigov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor integral gain (Kigov). Typical value = 0,45." },
            AttrDef { id: "GovCT2.kiload", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter integral gain for PI controller (Kiload). Typical value = 1." },
            AttrDef { id: "GovCT2.kimw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power controller (reset) gain (Kimw). The default value of 0,01 corresponds to a reset time of 100 seconds. A value of 0,001 corresponds to a relatively slow-acting load controller. Typical value = 0." },
            AttrDef { id: "GovCT2.kpgov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor proportional gain (Kpgov). Typical value = 4." },
            AttrDef { id: "GovCT2.kpload", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter proportional gain for PI controller (Kpload). Typical value = 1." },
            AttrDef { id: "GovCT2.kturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (Kturb). Typical value = 1,9168." },
            AttrDef { id: "GovCT2.ldref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter reference value (Ldref). Typical value = 1." },
            AttrDef { id: "GovCT2.maxerr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value for speed error signal (Maxerr) (> GovCT2.minerr). Typical value = 1." },
            AttrDef { id: "GovCT2.minerr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value for speed error signal (Minerr) (< GovCT2.maxerr). Typical value = -1." },
            AttrDef { id: "GovCT2.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovCT2.plim1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 1 (Plim1). Typical value = 0,8325." },
            AttrDef { id: "GovCT2.plim10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 10 (Plim10). Typical value = 0." },
            AttrDef { id: "GovCT2.plim2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 2 (Plim2). Typical value = 0." },
            AttrDef { id: "GovCT2.plim3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 3 (Plim3). Typical value = 0." },
            AttrDef { id: "GovCT2.plim4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 4 (Plim4). Typical value = 0." },
            AttrDef { id: "GovCT2.plim5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 5 (Plim5). Typical value = 0." },
            AttrDef { id: "GovCT2.plim6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 6 (Plim6). Typical value = 0." },
            AttrDef { id: "GovCT2.plim7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 7 (Plim7). Typical value = 0." },
            AttrDef { id: "GovCT2.plim8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power limit 8 (Plim8). Typical value = 0." },
            AttrDef { id: "GovCT2.plim9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power Limit 9 (Plim9). Typical value = 0." },
            AttrDef { id: "GovCT2.prate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ramp rate for frequency-dependent power limit (Prate). Typical value = 0,017." },
            AttrDef { id: "GovCT2.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (R). Typical value = 0,05." },
            AttrDef { id: "GovCT2.rclose", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve closing rate (Rclose). Unit = PU / s. Typical value = -99." },
            AttrDef { id: "GovCT2.rdown", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum rate of load limit decrease (Rdown). Typical value = -99." },
            AttrDef { id: "GovCT2.ropen", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening rate (Ropen). Unit = PU / s. Typical value = 99." },
            AttrDef { id: "GovCT2.rselect", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "DroopSignalFeedbackKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Feedback signal for droop (Rselect). Typical value = electricalPower." },
            AttrDef { id: "GovCT2.rup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum rate of load limit increase (Rup). Typical value = 99." },
            AttrDef { id: "GovCT2.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limiter time constant (Ta) (>= 0). Typical value = 1." },
            AttrDef { id: "GovCT2.tact", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Actuator time constant (Tact) (>= 0). Typical value = 0,4." },
            AttrDef { id: "GovCT2.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine lag time constant (Tb) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovCT2.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine lead time constant (Tc) (>= 0). Typical value = 0." },
            AttrDef { id: "GovCT2.tdgov", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor derivative controller time constant (Tdgov) (>= 0). Typical value = 1." },
            AttrDef { id: "GovCT2.teng", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transport time delay for diesel engine used in representing diesel engines where there is a small but measurable transport delay between a change in fuel flow setting and the development of torque (Teng) (>= 0). Teng should be zero in all but special cases where this transport delay is of particular concern. Typical value = 0." },
            AttrDef { id: "GovCT2.tfload", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Load limiter time constant (Tfload) (>= 0). Typical value = 3." },
            AttrDef { id: "GovCT2.tpelec", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electrical power transducer time constant (Tpelec) (>= 0). Typical value = 2,5." },
            AttrDef { id: "GovCT2.tsa", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature detection lead time constant (Tsa) (>= 0). Typical value = 0." },
            AttrDef { id: "GovCT2.tsb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature detection lag time constant (Tsb) (>= 0). Typical value = 50." },
            AttrDef { id: "GovCT2.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve position limit (Vmax) (> GovCT2.vmin). Typical value = 1." },
            AttrDef { id: "GovCT2.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve position limit (Vmin) (< GovCT2.vmax). Typical value = 0,175." },
            AttrDef { id: "GovCT2.wfnl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No load fuel flow (Wfnl). Typical value = 0,187." },
            AttrDef { id: "GovCT2.wfspd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Switch for fuel source characteristic to recognize that fuel flow, for a given fuel valve stroke, can be proportional to engine speed (Wfspd). true = fuel flow proportional to speed (for some gas turbines and diesel engines with positive displacement fuel injectors) false = fuel control system keeps fuel flow independent of engine speed. Typical value = false." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovGAST",
        qualified: "GovGAST",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Single shaft gas turbine.",
        attrs: &[
            AttrDef { id: "GovGAST.at", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ambient temperature load limit (Load Limit). Typical value = 1." },
            AttrDef { id: "GovGAST.dturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (Dturb). Typical value = 0,18." },
            AttrDef { id: "GovGAST.kt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature limiter gain (Kt). Typical value = 3." },
            AttrDef { id: "GovGAST.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovGAST.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (R) (>0). Typical value = 0,04." },
            AttrDef { id: "GovGAST.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor mechanism time constant (T1) (>= 0). T1 represents the natural valve positioning time constant of the governor for small disturbances, as seen when rate limiting is not in effect. Typical value = 0,5." },
            AttrDef { id: "GovGAST.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine power time constant (T2) (>= 0). T2 represents delay due to internal energy storage of the gas turbine engine. T2 can be used to give a rough approximation to the delay associated with acceleration of the compressor spool of a multi-shaft engine, or with the compressibility of gas in the plenum of a free power turbine of an aero-derivative unit, for example. Typical value = 0,5." },
            AttrDef { id: "GovGAST.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine exhaust temperature time constant (T3) (>= 0). Typical value = 3." },
            AttrDef { id: "GovGAST.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum turbine power, PU of MWbase (Vmax) (> GovGAST.vmin). Typical value = 1." },
            AttrDef { id: "GovGAST.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum turbine power, PU of MWbase (Vmin) (< GovGAST.vmax). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovGAST1",
        qualified: "GovGAST1",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Modified single shaft gas turbine.",
        attrs: &[
            AttrDef { id: "GovGAST1.a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine power time constant numerator scale factor (a). Typical value = 0,8." },
            AttrDef { id: "GovGAST1.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine power time constant denominator scale factor (b) (>0). Typical value = 1." },
            AttrDef { id: "GovGAST1.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovGAST1.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional dead-band (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovGAST1.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovGAST1.fidle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow at zero power output (Fidle). Typical value = 0,18." },
            AttrDef { id: "GovGAST1.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovGAST1.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2,PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovGAST1.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovGAST1.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovGAST1.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovGAST1.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovGAST1.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain (Ka). Typical value = 0." },
            AttrDef { id: "GovGAST1.kt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature limiter gain (Kt). Typical value = 3." },
            AttrDef { id: "GovGAST1.lmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ambient temperature load limit (Lmax). Lmax is the turbine power output corresponding to the limiting exhaust gas temperature. Typical value = 1." },
            AttrDef { id: "GovGAST1.loadinc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve position change allowed at fast rate (Loadinc). Typical value = 0,05." },
            AttrDef { id: "GovGAST1.ltrate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum long term fuel valve opening rate (Ltrate). Typical value = 0,02." },
            AttrDef { id: "GovGAST1.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovGAST1.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovGAST1.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovGAST1.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovGAST1.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovGAST1.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovGAST1.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovGAST1.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (R) (>0). Typical value = 0,04." },
            AttrDef { id: "GovGAST1.rmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum fuel valve opening rate (Rmax). Unit = PU / s. Typical value = 1." },
            AttrDef { id: "GovGAST1.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor mechanism time constant (T1) (>= 0). T1 represents the natural valve positioning time constant of the governor for small disturbances, as seen when rate limiting is not in effect. Typical value = 0,5." },
            AttrDef { id: "GovGAST1.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine power time constant (T2) (>= 0). T2 represents delay due to internal energy storage of the gas turbine engine. T2 can be used to give a rough approximation to the delay associated with acceleration of the compressor spool of a multi-shaft engine, or with the compressibility of gas in the plenum of the free power turbine of an aero-derivative unit, for example. Typical value = 0,5." },
            AttrDef { id: "GovGAST1.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine exhaust temperature time constant (T3) (>= 0). T3 represents delay in the exhaust temperature and load limiting system. Typical value = 3." },
            AttrDef { id: "GovGAST1.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (T4) (>= 0). Typical value = 0." },
            AttrDef { id: "GovGAST1.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (T5) (>= 0). If = 0, entire gain and lead-lag block is bypassed. Typical value = 0." },
            AttrDef { id: "GovGAST1.tltr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve position averaging time constant (Tltr) (>= 0). Typical value = 10." },
            AttrDef { id: "GovGAST1.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum turbine power, PU of MWbase (Vmax) (> GovGAST1.vmin). Typical value = 1." },
            AttrDef { id: "GovGAST1.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum turbine power, PU of MWbase (Vmin) (< GovGAST1.vmax). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovGAST2",
        qualified: "GovGAST2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Gas turbine.",
        attrs: &[
            AttrDef { id: "GovGAST2.a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner (A)." },
            AttrDef { id: "GovGAST2.af1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exhaust temperature parameter (Af1). Unit = PU temperature. Based on temperature in degrees C." },
            AttrDef { id: "GovGAST2.af2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient equal to 0,5(1-speed) (Af2)." },
            AttrDef { id: "GovGAST2.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner (B)." },
            AttrDef { id: "GovGAST2.bf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Bf1). Bf1 = E(1 - W) where E (speed sensitivity coefficient) is 0,55 to 0,65 x Tr. Unit = PU temperature. Based on temperature in degrees C." },
            AttrDef { id: "GovGAST2.bf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine torque coefficient Khhv (depends on heating value of fuel stream in combustion chamber) (Bf2)." },
            AttrDef { id: "GovGAST2.c", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner (C)." },
            AttrDef { id: "GovGAST2.cf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient defining fuel flow where power output is 0% (Cf2). Synchronous but no output. Typically 0,23 x Khhv (23% fuel flow)." },
            AttrDef { id: "GovGAST2.ecr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Combustion reaction time delay (Ecr) (>= 0)." },
            AttrDef { id: "GovGAST2.etd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine and exhaust delay (Etd) (>= 0)." },
            AttrDef { id: "GovGAST2.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ratio of fuel adjustment (K3)." },
            AttrDef { id: "GovGAST2.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of radiation shield (K4)." },
            AttrDef { id: "GovGAST2.k5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of radiation shield (K5)." },
            AttrDef { id: "GovGAST2.k6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum fuel flow (K6)." },
            AttrDef { id: "GovGAST2.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel system feedback (Kf)." },
            AttrDef { id: "GovGAST2.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovGAST2.t", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel control time constant (T) (>= 0)." },
            AttrDef { id: "GovGAST2.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Radiation shield time constant (T3) (>= 0)." },
            AttrDef { id: "GovGAST2.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Thermocouple time constant (T4) (>= 0)." },
            AttrDef { id: "GovGAST2.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature control time constant (T5) (>= 0)." },
            AttrDef { id: "GovGAST2.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature control (Tc). Unit = °F or °C depending on parameters Af1 and Bf1." },
            AttrDef { id: "GovGAST2.tcd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Compressor discharge time constant (Tcd) (>= 0)." },
            AttrDef { id: "GovGAST2.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel system time constant (Tf) (>= 0)." },
            AttrDef { id: "GovGAST2.tmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum turbine limit (Tmax) (> GovGAST2.tmin)." },
            AttrDef { id: "GovGAST2.tmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum turbine limit (Tmin) (< GovGAST2.tmax)." },
            AttrDef { id: "GovGAST2.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated temperature (Tr). Unit = °C depending on parameters Af1 and Bf1." },
            AttrDef { id: "GovGAST2.trate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine rating (Trate). Unit = MW." },
            AttrDef { id: "GovGAST2.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature controller integration rate (Tt) (>= 0)." },
            AttrDef { id: "GovGAST2.w", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain (1/droop) on turbine rating (W)." },
            AttrDef { id: "GovGAST2.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (X) (>= 0)." },
            AttrDef { id: "GovGAST2.y", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (Y) (> 0)." },
            AttrDef { id: "GovGAST2.z", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Governor mode (Z). 1 = droop 0 = isochronous." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovGAST3",
        qualified: "GovGAST3",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Generic turbogas with acceleration and temperature controller.",
        attrs: &[
            AttrDef { id: "GovGAST3.bca", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration limit set-point (Bca). Unit = 1/s. Typical value = 0,01." },
            AttrDef { id: "GovGAST3.bp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Droop (bp). Typical value = 0,05." },
            AttrDef { id: "GovGAST3.dtc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exhaust temperature variation due to fuel flow increasing from 0 to 1 PU (deltaTc). Typical value = 390." },
            AttrDef { id: "GovGAST3.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum fuel flow (Ka). Typical value = 0,23." },
            AttrDef { id: "GovGAST3.kac", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel system feedback (KAC). Typical value = 0." },
            AttrDef { id: "GovGAST3.kca", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Acceleration control integral gain (Kca). Unit = 1/s. Typical value = 100." },
            AttrDef { id: "GovGAST3.ksi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of radiation shield (Ksi). Typical value = 0,8." },
            AttrDef { id: "GovGAST3.ky", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient of transfer function of fuel valve positioner (Ky). Typical value = 1." },
            AttrDef { id: "GovGAST3.mnef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow maximum negative error value (MNef). Typical value = -0,05." },
            AttrDef { id: "GovGAST3.mxef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow maximum positive error value (MXef). Typical value = 0,05." },
            AttrDef { id: "GovGAST3.rcmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum fuel flow (RCMN). Typical value = -0,1." },
            AttrDef { id: "GovGAST3.rcmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum fuel flow (RCMX). Typical value = 1." },
            AttrDef { id: "GovGAST3.tac", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel control time constant (Tac) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovGAST3.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Compressor discharge volume time constant (Tc) (>= 0). Typical value = 0,2." },
            AttrDef { id: "GovGAST3.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature controller derivative gain (Td) (>= 0). Typical value = 3,3." },
            AttrDef { id: "GovGAST3.tfen", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine rated exhaust temperature correspondent to Pm=1 PU (Tfen). Typical value = 540." },
            AttrDef { id: "GovGAST3.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of speed governor (Tg) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovGAST3.tsi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of radiation shield (Tsi) (>= 0). Typical value = 15." },
            AttrDef { id: "GovGAST3.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature controller integration rate (Tt). Typical value = 250." },
            AttrDef { id: "GovGAST3.ttc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of thermocouple (Ttc) (>= 0). Typical value = 2,5." },
            AttrDef { id: "GovGAST3.ty", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of fuel valve positioner (Ty) (>= 0). Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovGAST4",
        qualified: "GovGAST4",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Generic turbogas.",
        attrs: &[
            AttrDef { id: "GovGAST4.bp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Droop (bp). Typical value = 0,05." },
            AttrDef { id: "GovGAST4.ktm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Compressor gain (Ktm). Typical value = 0." },
            AttrDef { id: "GovGAST4.mnef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow maximum negative error value (MNef). Typical value = -0,05." },
            AttrDef { id: "GovGAST4.mxef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow maximum positive error value (MXef). Typical value = 0,05." },
            AttrDef { id: "GovGAST4.rymn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve opening (RYMN). Typical value = 0." },
            AttrDef { id: "GovGAST4.rymx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening (RYMX). Typical value = 1,1." },
            AttrDef { id: "GovGAST4.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (TA) (>= 0). Typical value = 3." },
            AttrDef { id: "GovGAST4.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (TC) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovGAST4.tcm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel control time constant (Tcm) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovGAST4.tm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Compressor discharge volume time constant (Tm) (>= 0). Typical value = 0,2." },
            AttrDef { id: "GovGAST4.ty", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of fuel valve positioner (Ty) (>= 0). Typical value = 0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovGASTWD",
        qualified: "GovGASTWD",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Woodward™ gas turbine governor. [Footnote: Woodward gas turbines are an example of suitable products available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of these products.]",
        attrs: &[
            AttrDef { id: "GovGASTWD.a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner (A)." },
            AttrDef { id: "GovGASTWD.af1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exhaust temperature parameter (Af1)." },
            AttrDef { id: "GovGASTWD.af2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient equal to 0,5(1-speed) (Af2)." },
            AttrDef { id: "GovGASTWD.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner (B)." },
            AttrDef { id: "GovGASTWD.bf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Bf1). Bf1 = E(1-w) where E (speed sensitivity coefficient) is 0,55 to 0,65 x Tr." },
            AttrDef { id: "GovGASTWD.bf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine torque coefficient Khhv (depends on heating value of fuel stream in combustion chamber) (Bf2)." },
            AttrDef { id: "GovGASTWD.c", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner (C)." },
            AttrDef { id: "GovGASTWD.cf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient defining fuel flow where power output is 0 % (Cf2). Synchronous but no output. Typically 0,23 x Khhv (23 % fuel flow)." },
            AttrDef { id: "GovGASTWD.ecr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Combustion reaction time delay (Ecr) (>= 0)." },
            AttrDef { id: "GovGASTWD.etd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine and exhaust delay (Etd) (>= 0)." },
            AttrDef { id: "GovGASTWD.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ratio of fuel adjustment (K3)." },
            AttrDef { id: "GovGASTWD.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of radiation shield (K4)." },
            AttrDef { id: "GovGASTWD.k5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of radiation shield (K5)." },
            AttrDef { id: "GovGASTWD.k6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum fuel flow (K6)." },
            AttrDef { id: "GovGASTWD.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Drop governor gain (Kd)." },
            AttrDef { id: "GovGASTWD.kdroop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Kdroop) (>= 0)." },
            AttrDef { id: "GovGASTWD.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel system feedback (Kf)." },
            AttrDef { id: "GovGASTWD.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Isochronous Governor Gain (Ki)." },
            AttrDef { id: "GovGASTWD.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PID proportional gain (Kp)." },
            AttrDef { id: "GovGASTWD.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovGASTWD.t", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel control time constant (T) (>= 0)." },
            AttrDef { id: "GovGASTWD.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Radiation shield time constant (T3) (>= 0)." },
            AttrDef { id: "GovGASTWD.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Thermocouple time constant (T4) (>= 0)." },
            AttrDef { id: "GovGASTWD.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature control time constant (T5) (>= 0)." },
            AttrDef { id: "GovGASTWD.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature control (Tc)." },
            AttrDef { id: "GovGASTWD.tcd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Compressor discharge time constant (Tcd) (>= 0)." },
            AttrDef { id: "GovGASTWD.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power transducer time constant (Td) (>= 0)." },
            AttrDef { id: "GovGASTWD.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel system time constant (Tf) (>= 0)." },
            AttrDef { id: "GovGASTWD.tmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum Turbine limit (Tmax) (> GovGASTWD.tmin)." },
            AttrDef { id: "GovGASTWD.tmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum turbine limit (Tmin) (< GovGASTWD.tmax)." },
            AttrDef { id: "GovGASTWD.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Temperature", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated temperature (Tr)." },
            AttrDef { id: "GovGASTWD.trate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine rating (Trate). Unit = MW." },
            AttrDef { id: "GovGASTWD.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temperature controller integration rate (Tt) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydro1",
        qualified: "GovHydro1",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Basic hydro turbine governor.",
        attrs: &[
            AttrDef { id: "GovHydro1.at", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (At) (> 0). Typical value = 1,2." },
            AttrDef { id: "GovHydro1.dturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (Dturb) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovHydro1.gmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (Gmax) (> 0 and > GovHydro.gmin). Typical value = 1." },
            AttrDef { id: "GovHydro1.gmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (Gmin) (>= 0 and < GovHydro1.gmax). Typical value = 0." },
            AttrDef { id: "GovHydro1.hdam", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine nominal head (hdam). Typical value = 1." },
            AttrDef { id: "GovHydro1.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydro1.qnl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No-load flow at nominal head (qnl) (>= 0). Typical value = 0,08." },
            AttrDef { id: "GovHydro1.rperm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (R) (> 0). Typical value = 0,04." },
            AttrDef { id: "GovHydro1.rtemp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temporary droop (r) (> GovHydro1.rperm). Typical value = 0,3." },
            AttrDef { id: "GovHydro1.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant (Tf) (> 0). Typical value = 0,05." },
            AttrDef { id: "GovHydro1.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tg) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovHydro1.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tr) (> 0). Typical value = 5." },
            AttrDef { id: "GovHydro1.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (> 0). Typical value = 1." },
            AttrDef { id: "GovHydro1.velm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate velocity (Vlem) (> 0). Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydro2",
        qualified: "GovHydro2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE hydro turbine governor with straightforward penstock configuration and hydraulic-dashpot governor.",
        attrs: &[
            AttrDef { id: "GovHydro2.aturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine numerator multiplier (Aturb). Typical value = -1." },
            AttrDef { id: "GovHydro2.bturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine denominator multiplier (Bturb) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovHydro2.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional deadband width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydro2.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional deadband (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovHydro2.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydro2.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovHydro2.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovHydro2.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovHydro2.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovHydro2.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovHydro2.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovHydro2.kturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (Kturb). Typical value = 1." },
            AttrDef { id: "GovHydro2.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydro2.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovHydro2.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovHydro2.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovHydro2.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovHydro2.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovHydro2.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovHydro2.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (Pmax) (> GovHydro2.pmin). Typical value = 1." },
            AttrDef { id: "GovHydro2.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (Pmin) (< GovHydro2.pmax). Typical value = 0." },
            AttrDef { id: "GovHydro2.rperm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (Rperm). Typical value = 0,05." },
            AttrDef { id: "GovHydro2.rtemp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temporary droop (Rtemp). Typical value = 0,5." },
            AttrDef { id: "GovHydro2.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tg) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovHydro2.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pilot servo valve time constant (Tp) (>= 0). Typical value = 0,03." },
            AttrDef { id: "GovHydro2.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Dashpot time constant (Tr) (>= 0). Typical value = 12." },
            AttrDef { id: "GovHydro2.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (>= 0). Typical value = 2." },
            AttrDef { id: "GovHydro2.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Uc) (< 0). Unit = PU / s. Typical value = -0,1." },
            AttrDef { id: "GovHydro2.uo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Uo). Unit = PU / s. Typical value = 0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydro3",
        qualified: "GovHydro3",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE hydro governor-turbine. This model differs from that defined in the IEEE modelling guideline paper in that the limits on gate position and velocity do not permit 'wind up' of the upstream signals.",
        attrs: &[
            AttrDef { id: "GovHydro3.at", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (At) (>0). Typical value = 1,2." },
            AttrDef { id: "GovHydro3.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydro3.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional dead-band (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovHydro3.dturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (Dturb). Typical value = 0,2." },
            AttrDef { id: "GovHydro3.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydro3.governorControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Governor control flag (Cflag). true = PID control is active false = double derivative control is active. Typical value = true." },
            AttrDef { id: "GovHydro3.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovHydro3.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovHydro3.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovHydro3.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovHydro3.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovHydro3.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovHydro3.h0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine nominal head (H0). Typical value = 1." },
            AttrDef { id: "GovHydro3.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain (K1). Typical value = 0,01." },
            AttrDef { id: "GovHydro3.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Double derivative gain, if Cflag = -1 (K2). Typical value = 2,5." },
            AttrDef { id: "GovHydro3.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo gain (Kg). Typical value = 2." },
            AttrDef { id: "GovHydro3.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain (Ki). Typical value = 0,5." },
            AttrDef { id: "GovHydro3.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydro3.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovHydro3.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovHydro3.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovHydro3.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovHydro3.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovHydro3.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovHydro3.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening, PU of MWbase (Pmax) (> GovHydro3.pmin). Typical value = 1." },
            AttrDef { id: "GovHydro3.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening, PU of MWbase (Pmin) (< GovHydro3.pmax). Typical value = 0." },
            AttrDef { id: "GovHydro3.qnl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No-load turbine flow at nominal head (Qnl). Typical value = 0,08." },
            AttrDef { id: "GovHydro3.relec", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady-state droop, PU, for electrical power feedback (Relec). Typical value = 0,05." },
            AttrDef { id: "GovHydro3.rgate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady-state droop, PU, for governor output feedback (Rgate). Typical value = 0." },
            AttrDef { id: "GovHydro3.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input filter time constant (Td) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydro3.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tf) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydro3.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tp) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydro3.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power feedback time constant (Tt) (>= 0). Typical value = 0,2." },
            AttrDef { id: "GovHydro3.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (>= 0). If = 0, block is bypassed. Typical value = 1." },
            AttrDef { id: "GovHydro3.velcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Velcl). Unit = PU / s. Typical value = -0,2." },
            AttrDef { id: "GovHydro3.velop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Velop). Unit = PU / s. Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydro4",
        qualified: "GovHydro4",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Hydro turbine and governor. Represents plants with straight-forward penstock configurations and hydraulic governors of the traditional 'dashpot' type. This model can be used to represent simple, Francis/Pelton or Kaplan turbines.",
        attrs: &[
            AttrDef { id: "GovHydro4.at", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (At). Typical value = 1,2." },
            AttrDef { id: "GovHydro4.bgv0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Kaplan blade servo point 0 (Bgv0) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 0." },
            AttrDef { id: "GovHydro4.bgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Kaplan blade servo point 1 (Bgv1) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 0." },
            AttrDef { id: "GovHydro4.bgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Kaplan blade servo point 2 (Bgv2) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 0,1." },
            AttrDef { id: "GovHydro4.bgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Kaplan blade servo point 3 (Bgv3) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 0,667." },
            AttrDef { id: "GovHydro4.bgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Kaplan blade servo point 4 (Bgv4) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 0,9." },
            AttrDef { id: "GovHydro4.bgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Kaplan blade servo point 5 (Bgv5) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 1." },
            AttrDef { id: "GovHydro4.bmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum blade adjustment factor (Bmax) (= 0 for simple, = 0 for Francis/Pelton). Typical value for Kaplan = 1,1276." },
            AttrDef { id: "GovHydro4.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional deadband width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydro4.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional dead-band (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovHydro4.dturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (Dturb). Unit = delta P (PU of MWbase) / delta speed (PU). Typical value for simple = 0,5, Francis/Pelton = 1,1, Kaplan = 1,1." },
            AttrDef { id: "GovHydro4.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydro4.gmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening, PU of MWbase (Gmax) (> GovHydro4.gmin). Typical value = 1." },
            AttrDef { id: "GovHydro4.gmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening, PU of MWbase (Gmin) (< GovHydro4.gmax). Typical value = 0." },
            AttrDef { id: "GovHydro4.gv0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 0, PU gv (Gv0) (= 0 for simple). Typical for Francis/Pelton = 0,1, Kaplan = 0,1." },
            AttrDef { id: "GovHydro4.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1) (= 0 for simple, > GovHydro4.gv0 for Francis/Pelton and Kaplan). Typical value for Francis/Pelton = 0,4, Kaplan = 0,4." },
            AttrDef { id: "GovHydro4.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2) (= 0 for simple, > GovHydro4.gv1 for Francis/Pelton and Kaplan). Typical value for Francis/Pelton = 0,5, Kaplan = 0,5." },
            AttrDef { id: "GovHydro4.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3) (= 0 for simple, > GovHydro4.gv2 for Francis/Pelton and Kaplan). Typical value for Francis/Pelton = 0,7, Kaplan = 0,7." },
            AttrDef { id: "GovHydro4.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4) (= 0 for simple, > GovHydro4.gv3 for Francis/Pelton and Kaplan). Typical value for Francis/Pelton = 0,8, Kaplan = 0,8." },
            AttrDef { id: "GovHydro4.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5) (= 0 for simple, < 1 and > GovHydro4.gv4 for Francis/Pelton and Kaplan). Typical value for Francis/Pelton = 0,9, Kaplan = 0,9." },
            AttrDef { id: "GovHydro4.hdam", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head available at dam (hdam). Typical value = 1." },
            AttrDef { id: "GovHydro4.model", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "GovHydro4ModelKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "The kind of model being represented (simple, Francis/Pelton or Kaplan)." },
            AttrDef { id: "GovHydro4.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydro4.pgv0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 0, PU power (Pgv0) (= 0 for simple). Typical value = 0." },
            AttrDef { id: "GovHydro4.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1) (= 0 for simple). Typical value for Francis/Pelton = 0,42, Kaplan = 0,35." },
            AttrDef { id: "GovHydro4.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2) (= 0 for simple). Typical value for Francis/Pelton = 0,56, Kaplan = 0,468." },
            AttrDef { id: "GovHydro4.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3) (= 0 for simple). Typical value for Francis/Pelton = 0,8, Kaplan = 0,796." },
            AttrDef { id: "GovHydro4.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4) (= 0 for simple). Typical value for Francis/Pelton = 0,9, Kaplan = 0,917." },
            AttrDef { id: "GovHydro4.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5) (= 0 for simple). Typical value for Francis/Pelton = 0,97, Kaplan = 0,99." },
            AttrDef { id: "GovHydro4.qnl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No-load flow at nominal head (Qnl). Typical value for simple = 0,08, Francis/Pelton = 0, Kaplan = 0." },
            AttrDef { id: "GovHydro4.rperm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (Rperm) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydro4.rtemp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temporary droop (Rtemp) (>= 0). Typical value = 0,3." },
            AttrDef { id: "GovHydro4.tblade", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Blade servo time constant (Tblade) (>= 0). Typical value = 100." },
            AttrDef { id: "GovHydro4.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tg) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovHydro4.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pilot servo time constant (Tp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydro4.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Dashpot time constant (Tr) (>= 0). Typical value = 5." },
            AttrDef { id: "GovHydro4.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (> 0). Typical value = 1." },
            AttrDef { id: "GovHydro4.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Max gate closing velocity (Uc). Typical value = 0,2." },
            AttrDef { id: "GovHydro4.uo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Max gate opening velocity (Uo). Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroDD",
        qualified: "GovHydroDD",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Double derivative hydro governor and turbine.",
        attrs: &[
            AttrDef { id: "GovHydroDD.aturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine numerator multiplier (Aturb) (see parameter detail 3). Typical value = -1." },
            AttrDef { id: "GovHydroDD.bturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine denominator multiplier (Bturb) (see parameter detail 3). Typical value = 0,5." },
            AttrDef { id: "GovHydroDD.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroDD.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional dead-band (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovHydroDD.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroDD.gmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (Gmax) (> GovHydroDD.gmin). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (Gmin) (< GovHydroDD.gmax). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovHydroDD.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovHydroDD.inputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Input signal switch (Flag). true = Pe input is used false = feedback is received from CV. Flag is normally dependent on Tt. If Tt is zero, Flag is set to false. If Tt is not zero, Flag is set to true. Typical value = true." },
            AttrDef { id: "GovHydroDD.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Single derivative gain (K1). Typical value = 3,6." },
            AttrDef { id: "GovHydroDD.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Double derivative gain (K2). Typical value = 0,2." },
            AttrDef { id: "GovHydroDD.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo gain (Kg). Typical value = 3." },
            AttrDef { id: "GovHydroDD.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain (Ki). Typical value = 1." },
            AttrDef { id: "GovHydroDD.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (>0). Unit = MW." },
            AttrDef { id: "GovHydroDD.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovHydroDD.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovHydroDD.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovHydroDD.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovHydroDD.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovHydroDD.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovHydroDD.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening, PU of MWbase (Pmax) (> GovHydroDD.pmin). Typical value = 1." },
            AttrDef { id: "GovHydroDD.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening, PU of MWbase (Pmin) (> GovHydroDD.pmax). Typical value = 0." },
            AttrDef { id: "GovHydroDD.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady state droop (R). Typical value = 0,05." },
            AttrDef { id: "GovHydroDD.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input filter time constant (Td) (>= 0). If = 0, block is bypassed. Typical value = 0." },
            AttrDef { id: "GovHydroDD.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tf) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydroDD.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tp) (>= 0). If = 0, block is bypassed. Typical value = 0,35." },
            AttrDef { id: "GovHydroDD.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power feedback time constant (Tt) (>= 0). If = 0, block is bypassed. Typical value = 0,02." },
            AttrDef { id: "GovHydroDD.tturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine time constant (Tturb) (>= 0). See parameter detail 3. Typical value = 0,8." },
            AttrDef { id: "GovHydroDD.velcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Velcl). Unit = PU / s. Typical value = -0,14." },
            AttrDef { id: "GovHydroDD.velop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Velop). Unit = PU / s. Typical value = 0,09." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroFrancis",
        qualified: "GovHydroFrancis",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Detailed hydro unit - Francis model. This model can be used to represent three types of governors. A schematic of the hydraulic system of detailed hydro unit models, such as Francis and Pelton, is provided in the DetailedHydroModelHydraulicSystem diagram.",
        attrs: &[
            AttrDef { id: "GovHydroFrancis.am", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Opening section SEFF at the maximum efficiency (Am). Typical value = 0,7." },
            AttrDef { id: "GovHydroFrancis.av0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Area", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Area of the surge tank (AV0). Unit = m2. Typical value = 30." },
            AttrDef { id: "GovHydroFrancis.av1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Area", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Area of the compensation tank (AV1). Unit = m2. Typical value = 700." },
            AttrDef { id: "GovHydroFrancis.bp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Droop (Bp). Typical value = 0,05." },
            AttrDef { id: "GovHydroFrancis.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (DB1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroFrancis.etamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum efficiency (EtaMax). Typical value = 1,05." },
            AttrDef { id: "GovHydroFrancis.governorControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "FrancisGovernorControlKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Governor control flag (Cflag). Typical value = mechanicHydrolicTachoAccelerator." },
            AttrDef { id: "GovHydroFrancis.h1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head of compensation chamber water level with respect to the level of penstock (H1). Unit = km. Typical value = 0,004." },
            AttrDef { id: "GovHydroFrancis.h2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head of surge tank water level with respect to the level of penstock (H2). Unit = km. Typical value = 0,040." },
            AttrDef { id: "GovHydroFrancis.hn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated hydraulic head (Hn). Unit = km. Typical value = 0,250." },
            AttrDef { id: "GovHydroFrancis.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Penstock loss coefficient (due to friction) (Kc). Typical value = 0,025." },
            AttrDef { id: "GovHydroFrancis.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water tunnel and surge chamber loss coefficient (due to friction) (Kg). Typical value = 0,025." },
            AttrDef { id: "GovHydroFrancis.kt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout gain (Kt). Typical value = 0,25." },
            AttrDef { id: "GovHydroFrancis.qc0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No-load turbine flow at nominal head (Qc0). Typical value = 0,1." },
            AttrDef { id: "GovHydroFrancis.qn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "VolumeFlowRate", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated flow (Qn). Unit = m3/s. Typical value = 250." },
            AttrDef { id: "GovHydroFrancis.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain (Ta) (>= 0). Typical value = 3." },
            AttrDef { id: "GovHydroFrancis.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Td) (>= 0). Typical value = 6." },
            AttrDef { id: "GovHydroFrancis.ts", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Ts) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovHydroFrancis.twnc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Twnc) (>= 0). Typical value = 1." },
            AttrDef { id: "GovHydroFrancis.twng", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water tunnel and surge chamber inertia time constant (Twng) (>= 0). Typical value = 3." },
            AttrDef { id: "GovHydroFrancis.tx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative feedback gain (Tx) (>= 0). Typical value = 1." },
            AttrDef { id: "GovHydroFrancis.va", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Va). Unit = PU / s. Typical value = 0,06." },
            AttrDef { id: "GovHydroFrancis.valvmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (ValvMax) (> GovHydroFrancis.valvmin). Typical value = 1,1." },
            AttrDef { id: "GovHydroFrancis.valvmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (ValvMin) (< GovHydroFrancis.valvmax). Typical value = 0." },
            AttrDef { id: "GovHydroFrancis.vc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Vc). Unit = PU / s. Typical value = -0,06." },
            AttrDef { id: "GovHydroFrancis.waterTunnelSurgeChamberSimulation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Water tunnel and surge chamber simulation (Tflag). true = enable of water tunnel and surge chamber simulation false = inhibit of water tunnel and surge chamber simulation. Typical value = false." },
            AttrDef { id: "GovHydroFrancis.zsfc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head of upper water level with respect to the level of penstock (Zsfc). Unit = km. Typical value = 0,025." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroIEEE0",
        qualified: "GovHydroIEEE0",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE simplified hydro governor-turbine model. Used for mechanical-hydraulic and electro-hydraulic turbine governors, with or without steam feedback. Typical values given are for mechanical-hydraulic turbine-governor. Reference: IEEE Transactions on Power Apparatus and Systems, November/December 1973, Volume PAS-92, Number 6, Dynamic Models for Steam and Hydro Turbines in Power System Studies, page 1904.",
        attrs: &[
            AttrDef { id: "GovHydroIEEE0.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain (K)." },
            AttrDef { id: "GovHydroIEEE0.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydroIEEE0.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate maximum (Pmax) (> GovHydroIEEE0.pmin)." },
            AttrDef { id: "GovHydroIEEE0.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate minimum (Pmin) (< GovHydroIEEE.pmax)." },
            AttrDef { id: "GovHydroIEEE0.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (T1) (>= 0). Typical value = 0,25." },
            AttrDef { id: "GovHydroIEEE0.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (T2) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE0.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate actuator time constant (T3) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydroIEEE0.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water starting time (T4) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroIEEE2",
        qualified: "GovHydroIEEE2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE hydro turbine governor model represents plants with straightforward penstock configurations and hydraulic-dashpot governors. Reference: IEEE Transactions on Power Apparatus and Systems, November/December 1973, Volume PAS-92, Number 6, Dynamic Models for Steam and Hydro Turbines in Power System Studies, page 1904.",
        attrs: &[
            AttrDef { id: "GovHydroIEEE2.aturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine numerator multiplier (Aturb). Typical value = -1." },
            AttrDef { id: "GovHydroIEEE2.bturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine denominator multiplier (Bturb) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovHydroIEEE2.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.kturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (Kturb). Typical value = 1." },
            AttrDef { id: "GovHydroIEEE2.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydroIEEE2.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (Pmax) (> GovHydroIEEE2.pmin). Typical value = 1." },
            AttrDef { id: "GovHydroIEEE2.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (Pmin) (<GovHydroIEEE2.pmax). Typical value = 0." },
            AttrDef { id: "GovHydroIEEE2.rperm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (Rperm). Typical value = 0,05." },
            AttrDef { id: "GovHydroIEEE2.rtemp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Temporary droop (Rtemp). Typical value = 0,5." },
            AttrDef { id: "GovHydroIEEE2.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tg) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovHydroIEEE2.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pilot servo valve time constant (Tp) (>= 0). Typical value = 0,03." },
            AttrDef { id: "GovHydroIEEE2.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Dashpot time constant (Tr) (>= 0). Typical value = 12." },
            AttrDef { id: "GovHydroIEEE2.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (>= 0). Typical value = 2." },
            AttrDef { id: "GovHydroIEEE2.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Uc) (<0). Typical value = -0,1." },
            AttrDef { id: "GovHydroIEEE2.uo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Uo). Unit = PU / s. Typical value = 0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroPID",
        qualified: "GovHydroPID",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "PID governor and turbine.",
        attrs: &[
            AttrDef { id: "GovHydroPID.aturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine numerator multiplier (Aturb) (see parameter detail 3). Typical value -1." },
            AttrDef { id: "GovHydroPID.bturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine denominator multiplier (Bturb) (see parameter detail 3). Typical value = 0,5." },
            AttrDef { id: "GovHydroPID.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroPID.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional dead-band (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovHydroPID.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroPID.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovHydroPID.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovHydroPID.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovHydroPID.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovHydroPID.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovHydroPID.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovHydroPID.inputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Input signal switch (Flag). true = Pe input is used false = feedback is received from CV. Flag is normally dependent on Tt. If Tt is zero, Flag is set to false. If Tt is not zero, Flag is set to true. Typical value = true." },
            AttrDef { id: "GovHydroPID.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain (Kd). Typical value = 1,11." },
            AttrDef { id: "GovHydroPID.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo gain (Kg). Typical value = 2,5." },
            AttrDef { id: "GovHydroPID.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain (Ki). Typical value = 0,36." },
            AttrDef { id: "GovHydroPID.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain (Kp). Typical value = 0,1." },
            AttrDef { id: "GovHydroPID.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydroPID.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovHydroPID.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovHydroPID.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovHydroPID.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovHydroPID.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovHydroPID.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovHydroPID.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening, PU of MWbase (Pmax) (> GovHydroPID.pmin). Typical value = 1." },
            AttrDef { id: "GovHydroPID.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening, PU of MWbase (Pmin) (< GovHydroPID.pmax). Typical value = 0." },
            AttrDef { id: "GovHydroPID.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady state droop (R). Typical value = 0,05." },
            AttrDef { id: "GovHydroPID.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input filter time constant (Td) (>= 0). If = 0, block is bypassed. Typical value = 0." },
            AttrDef { id: "GovHydroPID.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tf) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydroPID.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tp) (>= 0). If = 0, block is bypassed. Typical value = 0,35." },
            AttrDef { id: "GovHydroPID.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power feedback time constant (Tt) (>= 0). If = 0, block is bypassed. Typical value = 0,02." },
            AttrDef { id: "GovHydroPID.tturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine time constant (Tturb) (>= 0). See Parameter detail 3. Typical value = 0,8." },
            AttrDef { id: "GovHydroPID.velcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Velcl). Unit = PU / s. Typical value = -0,14." },
            AttrDef { id: "GovHydroPID.velop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Velop). Unit = PU / s. Typical value = 0,09." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroPID2",
        qualified: "GovHydroPID2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Hydro turbine and governor. Represents plants with straightforward penstock configurations and 'three term' electro-hydraulic governors (i.e. WoodwardTM electronic). [Footnote: Woodward electronic governors are an example of suitable products available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of these products.]",
        attrs: &[
            AttrDef { id: "GovHydroPID2.atw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Factor multiplying Tw (Atw). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (D). Unit = delta P / delta speed. Typical value = 0." },
            AttrDef { id: "GovHydroPID2.feedbackSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Feedback signal type flag (Flag). true = use gate position feedback signal false = use Pe." },
            AttrDef { id: "GovHydroPID2.g0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate opening at speed no load (G0). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.g1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate gate opening (G1). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.g2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate gate opening (G2). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.gmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (Gmax) (> GovHydroPID2.gmin). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.gmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (Gmin) (> GovHydroPID2.gmax). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain (Kd). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reset gain (Ki). Unit = PU/s. Typical value = 0." },
            AttrDef { id: "GovHydroPID2.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain (Kp). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (>0). Unit = MW." },
            AttrDef { id: "GovHydroPID2.p1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power at gate opening G1 (P1). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.p2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power at gate opening G2 (P2). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.p3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power at full opened gate (P3). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.rperm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent drop (Rperm). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller time constant (Ta) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tb) (> 0)." },
            AttrDef { id: "GovHydroPID2.treg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed detector time constant (Treg) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroPID2.velmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Velmax) (< GovHydroPID2.velmin). Unit = PU / s. Typical value = 0." },
            AttrDef { id: "GovHydroPID2.velmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Velmin) (> GovHydroPID2.velmax). Unit = PU / s. Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroPelton",
        qualified: "GovHydroPelton",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Detailed hydro unit - Pelton model. This model can be used to represent the dynamic related to water tunnel and surge chamber. The DetailedHydroModelHydraulicSystem diagram, located under the GovHydroFrancis class, provides a schematic of the hydraulic system of detailed hydro unit models, such as Francis and Pelton.",
        attrs: &[
            AttrDef { id: "GovHydroPelton.av0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Area", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Area of the surge tank (AV0). Unit = m2. Typical value = 30." },
            AttrDef { id: "GovHydroPelton.av1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Area", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Area of the compensation tank (AV1). Unit = m2. Typical value = 700." },
            AttrDef { id: "GovHydroPelton.bp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Droop (bp). Typical value = 0,05." },
            AttrDef { id: "GovHydroPelton.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (DB1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroPelton.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width of valve opening error (DB2). Unit = Hz. Typical value = 0,01." },
            AttrDef { id: "GovHydroPelton.h1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head of compensation chamber water level with respect to the level of penstock (H1). Unit = km. Typical value = 0,004." },
            AttrDef { id: "GovHydroPelton.h2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head of surge tank water level with respect to the level of penstock (H2). Unit = km. Typical value = 0,040." },
            AttrDef { id: "GovHydroPelton.hn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated hydraulic head (Hn). Unit = km. Typical value = 0,250." },
            AttrDef { id: "GovHydroPelton.kc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Penstock loss coefficient (due to friction) (Kc). Typical value = 0,025." },
            AttrDef { id: "GovHydroPelton.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water tunnel and surge chamber loss coefficient (due to friction) (Kg). Typical value = 0,025." },
            AttrDef { id: "GovHydroPelton.qc0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No-load turbine flow at nominal head (Qc0). Typical value = 0,05." },
            AttrDef { id: "GovHydroPelton.qn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "VolumeFlowRate", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated flow (Qn). Unit = m3/s. Typical value = 250." },
            AttrDef { id: "GovHydroPelton.simplifiedPelton", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Simplified Pelton model simulation (Sflag). true = enable of simplified Pelton model simulation false = enable of complete Pelton model simulation (non-linear gain). Typical value = true." },
            AttrDef { id: "GovHydroPelton.staticCompensating", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Static compensating characteristic (Cflag). It should be true if simplifiedPelton = false. true = enable of static compensating characteristic false = inhibit of static compensating characteristic. Typical value = false." },
            AttrDef { id: "GovHydroPelton.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain (accelerometer time constant) (Ta) (>= 0). Typical value = 3." },
            AttrDef { id: "GovHydroPelton.ts", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Ts) (>= 0). Typical value = 0,15." },
            AttrDef { id: "GovHydroPelton.tv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Servomotor integrator time constant (Tv) (>= 0). Typical value = 0,3." },
            AttrDef { id: "GovHydroPelton.twnc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Twnc) (>= 0). Typical value = 1." },
            AttrDef { id: "GovHydroPelton.twng", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water tunnel and surge chamber inertia time constant (Twng) (>= 0). Typical value = 3." },
            AttrDef { id: "GovHydroPelton.tx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electronic integrator time constant (Tx) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovHydroPelton.va", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Va). Unit = PU / s. Typical value = 0,06." },
            AttrDef { id: "GovHydroPelton.valvmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening (ValvMax) (> GovHydroPelton.valvmin). Typical value = 1,1." },
            AttrDef { id: "GovHydroPelton.valvmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening (ValvMin) (< GovHydroPelton.valvmax). Typical value = 0." },
            AttrDef { id: "GovHydroPelton.vav", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum servomotor valve opening velocity (Vav). Typical value = 0,1." },
            AttrDef { id: "GovHydroPelton.vc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Vc). Unit = PU / s. Typical value = -0,06." },
            AttrDef { id: "GovHydroPelton.vcv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum servomotor valve closing velocity (Vcv). Typical value = -0,1." },
            AttrDef { id: "GovHydroPelton.waterTunnelSurgeChamberSimulation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Water tunnel and surge chamber simulation (Tflag). true = enable of water tunnel and surge chamber simulation false = inhibit of water tunnel and surge chamber simulation. Typical value = false." },
            AttrDef { id: "GovHydroPelton.zsfc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Head of upper water level with respect to the level of penstock (Zsfc). Unit = km. Typical value = 0,025." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroR",
        qualified: "GovHydroR",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Fourth order lead-lag governor and hydro turbine.",
        attrs: &[
            AttrDef { id: "GovHydroR.at", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine gain (At). Typical value = 1,2." },
            AttrDef { id: "GovHydroR.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional dead-band width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroR.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional dead-band (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovHydroR.dturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (Dturb). Typical value = 0,2." },
            AttrDef { id: "GovHydroR.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovHydroR.gmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum governor output (Gmax) (> GovHydroR.gmin). Typical value = 1,05." },
            AttrDef { id: "GovHydroR.gmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum governor output (Gmin) (< GovHydroR.gmax). Typical value = -0,05." },
            AttrDef { id: "GovHydroR.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU gv (Gv1). Typical value = 0." },
            AttrDef { id: "GovHydroR.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU gv (Gv2). Typical value = 0." },
            AttrDef { id: "GovHydroR.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU gv (Gv3). Typical value = 0." },
            AttrDef { id: "GovHydroR.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU gv (Gv4). Typical value = 0." },
            AttrDef { id: "GovHydroR.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU gv (Gv5). Typical value = 0." },
            AttrDef { id: "GovHydroR.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU gv (Gv6). Typical value = 0." },
            AttrDef { id: "GovHydroR.h0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine nominal head (H0). Typical value = 1." },
            AttrDef { id: "GovHydroR.inputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Input signal switch (Flag). true = Pe input is used false = feedback is received from CV. Flag is normally dependent on Tt. If Tt is zero, Flag is set to false. If Tt is not zero, Flag is set to true. Typical value = true." },
            AttrDef { id: "GovHydroR.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo gain (Kg). Typical value = 2." },
            AttrDef { id: "GovHydroR.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain (Ki). Typical value = 0,5." },
            AttrDef { id: "GovHydroR.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydroR.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 1, PU power (Pgv1). Typical value = 0." },
            AttrDef { id: "GovHydroR.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 2, PU power (Pgv2). Typical value = 0." },
            AttrDef { id: "GovHydroR.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 3, PU power (Pgv3). Typical value = 0." },
            AttrDef { id: "GovHydroR.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 4, PU power (Pgv4). Typical value = 0." },
            AttrDef { id: "GovHydroR.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 5, PU power (Pgv5). Typical value = 0." },
            AttrDef { id: "GovHydroR.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain point 6, PU power (Pgv6). Typical value = 0." },
            AttrDef { id: "GovHydroR.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening, PU of MWbase (Pmax) (> GovHydroR.pmin). Typical value = 1." },
            AttrDef { id: "GovHydroR.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate opening, PU of MWbase (Pmin) (< GovHydroR.pmax). Typical value = 0." },
            AttrDef { id: "GovHydroR.qnl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "No-load turbine flow at nominal head (Qnl). Typical value = 0,08." },
            AttrDef { id: "GovHydroR.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady-state droop (R). Typical value = 0,05." },
            AttrDef { id: "GovHydroR.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant 1 (T1) (>= 0). Typical value = 1,5." },
            AttrDef { id: "GovHydroR.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant 1 (T2) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydroR.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant 2 (T3) (>= 0). Typical value = 1,5." },
            AttrDef { id: "GovHydroR.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant 2 (T4) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovHydroR.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant 3 (T5) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroR.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant 3 (T6) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydroR.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant 4 (T7) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroR.t8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant 4 (T8) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydroR.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input filter time constant (Td) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydroR.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tp) (>= 0). Typical value = 0,05." },
            AttrDef { id: "GovHydroR.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power feedback time constant (Tt) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroR.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (> 0). Typical value = 1." },
            AttrDef { id: "GovHydroR.velcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Velcl). Unit = PU / s. Typical value = -0,2." },
            AttrDef { id: "GovHydroR.velop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Velop). Unit = PU / s. Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroWEH",
        qualified: "GovHydroWEH",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "WoodwardTM electric hydro governor. [Footnote: Woodward electric hydro governors are an example of suitable products available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of these products.]",
        attrs: &[
            AttrDef { id: "GovHydroWEH.db", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed deadband (db)." },
            AttrDef { id: "GovHydroWEH.dicn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Value to allow the integral controller to advance beyond the gate limits (Dicn)." },
            AttrDef { id: "GovHydroWEH.dpv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Value to allow the pilot valve controller to advance beyond the gate limits (Dpv)." },
            AttrDef { id: "GovHydroWEH.dturb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (Dturb). Unit = delta P (PU of MWbase) / delta speed (PU)." },
            AttrDef { id: "GovHydroWEH.feedbackSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Feedback signal selection (Sw). true = PID output (if R-Perm-Gate = droop and R-Perm-Pe = 0) false = electrical power (if R-Perm-Gate = 0 and R-Perm-Pe = droop) or false = gate position (if R-Perm-Gate = droop and R-Perm-Pe = 0). Typical value = false." },
            AttrDef { id: "GovHydroWEH.fl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flowgate 1 (Fl1). Flow value for gate position point 1 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.fl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flowgate 2 (Fl2). Flow value for gate position point 2 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.fl3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flowgate 3 (Fl3). Flow value for gate position point 3 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.fl4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flowgate 4 (Fl4). Flow value for gate position point 4 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.fl5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flowgate 5 (Fl5). Flow value for gate position point 5 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.fp1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P1 (Fp1). Turbine flow value for point 1 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P10 (Fp10). Turbine flow value for point 10 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P2 (Fp2). Turbine flow value for point 2 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P3 (Fp3). Turbine flow value for point 3 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P4 (Fp4). Turbine flow value for point 4 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P5 (Fp5). Turbine flow value for point 5 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P6 (Fp6). Turbine flow value for point 6 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P7 (Fp7). Turbine flow value for point 7 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P8 (Fp8). Turbine flow value for point 8 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.fp9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Flow P9 (Fp9). Turbine flow value for point 9 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.gmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate position (Gmax) (> GovHydroWEH.gmin)." },
            AttrDef { id: "GovHydroWEH.gmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum gate position (Gmin) (< GovHydroWEH.gmax)." },
            AttrDef { id: "GovHydroWEH.gtmxcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing rate (Gtmxcl)." },
            AttrDef { id: "GovHydroWEH.gtmxop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening rate (Gtmxop)." },
            AttrDef { id: "GovHydroWEH.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate 1 (Gv1). Gate Position value for point 1 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate 2 (Gv2). Gate Position value for point 2 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate 3 (Gv3). Gate Position value for point 3 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate 4 (Gv4). Gate Position value for point 4 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate 5 (Gv5). Gate Position value for point 5 for lookup table representing water flow through the turbine as a function of gate position to produce steady state flow." },
            AttrDef { id: "GovHydroWEH.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative controller derivative gain (Kd)." },
            AttrDef { id: "GovHydroWEH.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative controller Integral gain (Ki)." },
            AttrDef { id: "GovHydroWEH.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative control gain (Kp)." },
            AttrDef { id: "GovHydroWEH.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydroWEH.pmss1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P1 (Pmss1). Mechanical power output for turbine flow point 1 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P10 (Pmss10). Mechanical power output for turbine flow point 10 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P2 (Pmss2). Mechanical power output for turbine flow point 2 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P3 (Pmss3). Mechanical power output for turbine flow point 3 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P4 (Pmss4). Mechanical power output for turbine flow point 4 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P5 (Pmss5). Mechanical power output for turbine flow point 5 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P6 (Pmss6). Mechanical power output for turbine flow point 6 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P7 (Pmss7). Mechanical power output for turbine flow point 7 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P8 (Pmss8). Mechanical power output for turbine flow point 8 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.pmss9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pmss flow P9 (Pmss9). Mechanical power output for turbine flow point 9 for lookup table representing PU mechanical power on machine MVA rating as a function of turbine flow." },
            AttrDef { id: "GovHydroWEH.rpg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop for governor output feedback (R-Perm-Gate)." },
            AttrDef { id: "GovHydroWEH.rpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop for electrical power feedback (R-Perm-Pe)." },
            AttrDef { id: "GovHydroWEH.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative controller time constant (Td) (>= 0). Limits the derivative characteristic beyond a breakdown frequency to avoid amplification of high-frequency noise." },
            AttrDef { id: "GovHydroWEH.tdv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Distributive valve time lag time constant (Tdv) (>= 0)." },
            AttrDef { id: "GovHydroWEH.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Value to allow the distribution valve controller to advance beyond the gate movement rate limit (Tg) (>= 0)." },
            AttrDef { id: "GovHydroWEH.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pilot valve time lag time constant (Tp) (>= 0)." },
            AttrDef { id: "GovHydroWEH.tpe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electrical power droop time constant (Tpe) (>= 0)." },
            AttrDef { id: "GovHydroWEH.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (> 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydroWPID",
        qualified: "GovHydroWPID",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "WoodwardTM PID hydro governor. [Footnote: Woodward PID hydro governors are an example of suitable products available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of these products.]",
        attrs: &[
            AttrDef { id: "GovHydroWPID.d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping factor (D). Unit = delta P / delta speed." },
            AttrDef { id: "GovHydroWPID.gatmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate opening limit maximum (Gatmax) (> GovHydroWPID.gatmin)." },
            AttrDef { id: "GovHydroWPID.gatmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate opening limit minimum (Gatmin) (< GovHydroWPID.gatmax)." },
            AttrDef { id: "GovHydroWPID.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate position 1 (Gv1)." },
            AttrDef { id: "GovHydroWPID.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate position 2 (Gv2)." },
            AttrDef { id: "GovHydroWPID.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate position 3 (Gv3) (= 1,0)." },
            AttrDef { id: "GovHydroWPID.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain (Kd). Typical value = 1,11." },
            AttrDef { id: "GovHydroWPID.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reset gain (Ki). Typical value = 0,36." },
            AttrDef { id: "GovHydroWPID.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain (Kp). Typical value = 0,1." },
            AttrDef { id: "GovHydroWPID.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovHydroWPID.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output at Gv1 PU of MWbase (Pgv1)." },
            AttrDef { id: "GovHydroWPID.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output at Gv2 PU of MWbase (Pgv2)." },
            AttrDef { id: "GovHydroWPID.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output at Gv3 PU of MWbase (Pgv3)." },
            AttrDef { id: "GovHydroWPID.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum power output (Pmax) (> GovHydroWPID.pmin)." },
            AttrDef { id: "GovHydroWPID.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum power output (Pmin) (< GovHydroWPID.pmax)." },
            AttrDef { id: "GovHydroWPID.reg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent drop (Reg)." },
            AttrDef { id: "GovHydroWPID.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller time constant (Ta) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroWPID.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gate servo time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroWPID.treg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed detector time constant (Treg) (>= 0)." },
            AttrDef { id: "GovHydroWPID.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Water inertia time constant (Tw) (>= 0). Typical value = 0." },
            AttrDef { id: "GovHydroWPID.velmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate opening velocity (Velmax) (> GovHydroWPID.velmin). Unit = PU / s. Typical value = 0." },
            AttrDef { id: "GovHydroWPID.velmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum gate closing velocity (Velmin) (< GovHydroWPID.velmax). Unit = PU / s. Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteam0",
        qualified: "GovSteam0",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "A simplified steam turbine governor.",
        attrs: &[
            AttrDef { id: "GovSteam0.dt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Turbine damping coefficient (Dt). Unit = delta P / delta speed. Typical value = 0." },
            AttrDef { id: "GovSteam0.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteam0.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Permanent droop (R). Typical value = 0,05." },
            AttrDef { id: "GovSteam0.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steam bowl time constant (T1) (> 0). Typical value = 0,5." },
            AttrDef { id: "GovSteam0.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Numerator time constant of T2/T3 block (T2) (>= 0). Typical value = 3." },
            AttrDef { id: "GovSteam0.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reheater time constant (T3) (> 0). Typical value = 10." },
            AttrDef { id: "GovSteam0.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve position, PU of mwcap (Vmax) (> GovSteam0.vmin). Typical value = 1." },
            AttrDef { id: "GovSteam0.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve position, PU of mwcap (Vmin) (< GovSteam0.vmax). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteam1",
        qualified: "GovSteam1",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Steam turbine governor, based on the GovSteamIEEE1 (with optional deadband and nonlinear valve gain added).",
        attrs: &[
            AttrDef { id: "GovSteam1.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional deadband width (db1). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovSteam1.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Unintentional deadband (db2). Unit = MW. Typical value = 0." },
            AttrDef { id: "GovSteam1.eps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Frequency", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intentional db hysteresis (eps). Unit = Hz. Typical value = 0." },
            AttrDef { id: "GovSteam1.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 1 (GV1). Typical value = 0." },
            AttrDef { id: "GovSteam1.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 2 (GV2). Typical value = 0,4." },
            AttrDef { id: "GovSteam1.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 3 (GV3). Typical value = 0,5." },
            AttrDef { id: "GovSteam1.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 4 (GV4). Typical value = 0,6." },
            AttrDef { id: "GovSteam1.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 5 (GV5). Typical value = 1." },
            AttrDef { id: "GovSteam1.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 6 (GV6). Typical value = 0." },
            AttrDef { id: "GovSteam1.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain (reciprocal of droop) (K) (> 0). Typical value = 25." },
            AttrDef { id: "GovSteam1.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after first boiler pass (K1). Typical value = 0,2." },
            AttrDef { id: "GovSteam1.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after first boiler pass (K2). Typical value = 0." },
            AttrDef { id: "GovSteam1.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after second boiler pass (K3). Typical value = 0,3." },
            AttrDef { id: "GovSteam1.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after second boiler pass (K4). Typical value = 0." },
            AttrDef { id: "GovSteam1.k5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after third boiler pass (K5). Typical value = 0,5." },
            AttrDef { id: "GovSteam1.k6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after third boiler pass (K6). Typical value = 0." },
            AttrDef { id: "GovSteam1.k7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after fourth boiler pass (K7). Typical value = 0." },
            AttrDef { id: "GovSteam1.k8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after fourth boiler pass (K8). Typical value = 0." },
            AttrDef { id: "GovSteam1.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteam1.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 1 (Pgv1). Typical value = 0." },
            AttrDef { id: "GovSteam1.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 2 (Pgv2). Typical value = 0,75." },
            AttrDef { id: "GovSteam1.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 3 (Pgv3). Typical value = 0,91." },
            AttrDef { id: "GovSteam1.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 4 (Pgv4). Typical value = 0,98." },
            AttrDef { id: "GovSteam1.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 5 (Pgv5). Typical value = 1." },
            AttrDef { id: "GovSteam1.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 6 (Pgv6). Typical value = 0." },
            AttrDef { id: "GovSteam1.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening (Pmax) (> GovSteam1.pmin). Typical value = 1." },
            AttrDef { id: "GovSteam1.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve opening (Pmin) (>= 0 and < GovSteam1.pmax). Typical value = 0." },
            AttrDef { id: "GovSteam1.sdb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Intentional deadband indicator. true = intentional deadband is applied false = intentional deadband is not applied. Typical value = true." },
            AttrDef { id: "GovSteam1.sdb2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Unintentional deadband location. true = intentional deadband is applied before point 'A' false = intentional deadband is applied after point 'A'. Typical value = true." },
            AttrDef { id: "GovSteam1.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (T1) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteam1.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (T2) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteam1.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner time constant (T3) (> 0). Typical value = 0,1." },
            AttrDef { id: "GovSteam1.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inlet piping/steam bowl time constant (T4) (>= 0). Typical value = 0,3." },
            AttrDef { id: "GovSteam1.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of second boiler pass (T5) (>= 0). Typical value = 5." },
            AttrDef { id: "GovSteam1.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of third boiler pass (T6) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovSteam1.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of fourth boiler pass (T7) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteam1.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve closing velocity (Uc) (< 0). Unit = PU / s. Typical value = -10." },
            AttrDef { id: "GovSteam1.uo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening velocity (Uo) (> 0). Unit = PU / s. Typical value = 1." },
            AttrDef { id: "GovSteam1.valve", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Nonlinear valve characteristic. true = nonlinear valve characteristic is used false = nonlinear valve characteristic is not used. Typical value = true." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteam2",
        qualified: "GovSteam2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified governor.",
        attrs: &[
            AttrDef { id: "GovSteam2.dbf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency deadband (DBF). Typical value = 0." },
            AttrDef { id: "GovSteam2.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain (reciprocal of droop) (K). Typical value = 20." },
            AttrDef { id: "GovSteam2.mnef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow maximum negative error value (MNEF). Typical value = -1." },
            AttrDef { id: "GovSteam2.mxef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fuel flow maximum positive error value (MXEF). Typical value = 1." },
            AttrDef { id: "GovSteam2.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum fuel flow (PMAX) (> GovSteam2.pmin). Typical value = 1." },
            AttrDef { id: "GovSteam2.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum fuel flow (PMIN) (< GovSteam2.pmax). Typical value = 0." },
            AttrDef { id: "GovSteam2.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (T1) (> 0). Typical value = 0,45." },
            AttrDef { id: "GovSteam2.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (T2) (>= 0). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamBB",
        qualified: "GovSteamBB",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "European governor model.",
        attrs: &[
            AttrDef { id: "GovSteamBB.fcut", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency deadband (fcut) (>= 0). Typical value = 0,002." },
            AttrDef { id: "GovSteamBB.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K2). Typical value = 0,75." },
            AttrDef { id: "GovSteamBB.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K3). Typical value = 0,5." },
            AttrDef { id: "GovSteamBB.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Kd). Typical value = 1,0." },
            AttrDef { id: "GovSteamBB.kg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Kg). Typical value = 1,0." },
            AttrDef { id: "GovSteamBB.kls", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Kls) (> 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamBB.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Kp). Typical value = 1,0." },
            AttrDef { id: "GovSteamBB.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Ks). Typical value = 21,0." },
            AttrDef { id: "GovSteamBB.peflag", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Electric power input selection (Peflag). true = electric power input false = feedback signal. Typical value = false." },
            AttrDef { id: "GovSteamBB.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High power limit (Pmax) (> GovSteamBB.pmin). Typical value = 1,0." },
            AttrDef { id: "GovSteamBB.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low power limit (Pmin) (< GovSteamBB.pmax). Typical value = 0." },
            AttrDef { id: "GovSteamBB.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T1). Typical value = 0,05." },
            AttrDef { id: "GovSteamBB.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T4). Typical value = 0,15." },
            AttrDef { id: "GovSteamBB.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T5). Typical value = 12,0." },
            AttrDef { id: "GovSteamBB.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T6). Typical value = 0,75." },
            AttrDef { id: "GovSteamBB.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Td) (> 0). Typical value = 1,0." },
            AttrDef { id: "GovSteamBB.tn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tn) (> 0). Typical value = 1,0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamCC",
        qualified: "GovSteamCC",
        super_class: Some(49),
        concrete: true,
        origins: &["DY"],
        comment: "Cross compound turbine governor. Unlike tandem compound units, cross compound units are not on the same shaft.",
        attrs: &[
            AttrDef { id: "GovSteamCC.dhp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "HP damping factor (Dhp). Typical value = 0." },
            AttrDef { id: "GovSteamCC.dlp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "LP damping factor (Dlp). Typical value = 0." },
            AttrDef { id: "GovSteamCC.fhp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP power ahead of reheater (Fhp). Typical value = 0,3." },
            AttrDef { id: "GovSteamCC.flp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP power ahead of reheater (Flp). Typical value = 0,7." },
            AttrDef { id: "GovSteamCC.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteamCC.pmaxhp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum HP value position (Pmaxhp). Typical value = 1." },
            AttrDef { id: "GovSteamCC.pmaxlp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum LP value position (Pmaxlp). Typical value = 1." },
            AttrDef { id: "GovSteamCC.rhp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "HP governor droop (Rhp) (> 0). Typical value = 0,05." },
            AttrDef { id: "GovSteamCC.rlp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "LP governor droop (Rlp) (> 0). Typical value = 0,05." },
            AttrDef { id: "GovSteamCC.t1hp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "HP governor time constant (T1hp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamCC.t1lp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "LP governor time constant (T1lp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamCC.t3hp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "HP turbine time constant (T3hp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamCC.t3lp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "LP turbine time constant (T3lp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamCC.t4hp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "HP turbine time constant (T4hp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamCC.t4lp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "LP turbine time constant (T4lp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamCC.t5hp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "HP reheater time constant (T5hp) (>= 0). Typical value = 10." },
            AttrDef { id: "GovSteamCC.t5lp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "LP reheater time constant (T5lp) (>= 0). Typical value = 10." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamEU",
        qualified: "GovSteamEU",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified boiler and steam turbine with PID governor.",
        attrs: &[
            AttrDef { id: "GovSteamEU.chc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Control valves rate closing limit (Chc). Unit = PU / s. Typical value = -3,3." },
            AttrDef { id: "GovSteamEU.cho", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Control valves rate opening limit (Cho). Unit = PU / s. Typical value = 0,17." },
            AttrDef { id: "GovSteamEU.cic", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves rate closing limit (Cic). Typical value = -2,2." },
            AttrDef { id: "GovSteamEU.cio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves rate opening limit (Cio). Typical value = 0,123." },
            AttrDef { id: "GovSteamEU.db1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Deadband of the frequency corrector (db1). Typical value = 0." },
            AttrDef { id: "GovSteamEU.db2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Deadband of the speed governor (db2). Typical value = 0,0004." },
            AttrDef { id: "GovSteamEU.hhpmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum control valve position (Hhpmax). Typical value = 1." },
            AttrDef { id: "GovSteamEU.ke", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of the power controller (Ke). Typical value = 0,65." },
            AttrDef { id: "GovSteamEU.kfcor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of the frequency corrector (Kfcor). Typical value = 20." },
            AttrDef { id: "GovSteamEU.khp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of total turbine output generated by HP part (Khp). Typical value = 0,277." },
            AttrDef { id: "GovSteamEU.klp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of total turbine output generated by HP part (Klp). Typical value = 0,723." },
            AttrDef { id: "GovSteamEU.komegacor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain of the speed governor (Kwcor). Typical value = 20." },
            AttrDef { id: "GovSteamEU.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteamEU.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximal active power of the turbine (Pmax). Typical value = 1." },
            AttrDef { id: "GovSteamEU.prhmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum low pressure limit (Prhmax). Typical value = 1,4." },
            AttrDef { id: "GovSteamEU.simx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves transfer limit (Simx). Typical value = 0,425." },
            AttrDef { id: "GovSteamEU.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Boiler time constant (Tb) (>= 0). Typical value = 100." },
            AttrDef { id: "GovSteamEU.tdp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative time constant of the power controller (Tdp) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamEU.ten", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electro hydraulic transducer (Ten) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamEU.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency transducer time constant (Tf) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamEU.tfp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of the power controller (Tfp) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamEU.thp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High pressure (HP) time constant of the turbine (Thp) (>= 0). Typical value = 0,31." },
            AttrDef { id: "GovSteamEU.tip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral time constant of the power controller (Tip) (>= 0). Typical value = 2." },
            AttrDef { id: "GovSteamEU.tlp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low pressure (LP) time constant of the turbine (Tlp) (>= 0). Typical value = 0,45." },
            AttrDef { id: "GovSteamEU.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power transducer time constant (Tp) (>= 0). Typical value = 0,07." },
            AttrDef { id: "GovSteamEU.trh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reheater time constant of the turbine (Trh) (>= 0). Typical value = 8." },
            AttrDef { id: "GovSteamEU.tvhp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Control valves servo time constant (Tvhp) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamEU.tvip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves servo time constant (Tvip) (>= 0). Typical value = 0,15." },
            AttrDef { id: "GovSteamEU.tw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed transducer time constant (Tw) (>= 0). Typical value = 0,02." },
            AttrDef { id: "GovSteamEU.wfmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Upper limit for frequency correction (Wfmax) (> GovSteamEU.wfmin). Typical value = 0,05." },
            AttrDef { id: "GovSteamEU.wfmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lower limit for frequency correction (Wfmin) (< GovSteamEU.wfmax). Typical value = -0,05." },
            AttrDef { id: "GovSteamEU.wmax1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Emergency speed control lower limit (wmax1). Typical value = 1,025." },
            AttrDef { id: "GovSteamEU.wmax2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Emergency speed control upper limit (wmax2). Typical value = 1,05." },
            AttrDef { id: "GovSteamEU.wwmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Upper limit for the speed governor (Wwmax) (> GovSteamEU.wwmin). Typical value = 0,1." },
            AttrDef { id: "GovSteamEU.wwmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lower limit for the speed governor frequency correction (Wwmin) (< GovSteamEU.wwmax). Typical value = -1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamFV2",
        qualified: "GovSteamFV2",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Steam turbine governor with reheat time constants and modelling of the effects of fast valve closing to reduce mechanical power.",
        attrs: &[
            AttrDef { id: "GovSteamFV2.dt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Dt)." },
            AttrDef { id: "GovSteamFV2.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of the turbine power developed by turbine sections not involved in fast valving (K)." },
            AttrDef { id: "GovSteamFV2.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Alternate base used instead of machine base in equipment model if necessary (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteamFV2.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(R)." },
            AttrDef { id: "GovSteamFV2.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor time constant (T1) (>= 0)." },
            AttrDef { id: "GovSteamFV2.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reheater time constant (T3) (>= 0)." },
            AttrDef { id: "GovSteamFV2.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time after initial time for valve to close (Ta) (>= 0)." },
            AttrDef { id: "GovSteamFV2.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time after initial time for valve to begin opening (Tb) (>= 0)." },
            AttrDef { id: "GovSteamFV2.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time after initial time for valve to become fully open (Tc) (>= 0)." },
            AttrDef { id: "GovSteamFV2.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant with which power falls off after intercept valve closure (Tt) (>= 0)." },
            AttrDef { id: "GovSteamFV2.vmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Vmax) (> GovSteamFV2.vmin)." },
            AttrDef { id: "GovSteamFV2.vmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Vmin) (< GovSteamFV2.vmax)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamFV3",
        qualified: "GovSteamFV3",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified GovSteamIEEE1 steam turbine governor with Prmax limit and fast valving.",
        attrs: &[
            AttrDef { id: "GovSteamFV3.gv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 1 (GV1). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.gv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 2 (GV2). Typical value = 0,4." },
            AttrDef { id: "GovSteamFV3.gv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 3 (GV3). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV3.gv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 4 (GV4). Typical value = 0,6." },
            AttrDef { id: "GovSteamFV3.gv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 5 (GV5). Typical value = 1." },
            AttrDef { id: "GovSteamFV3.gv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain valve position point 6 (GV6). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain, (reciprocal of droop) (K). Typical value = 20." },
            AttrDef { id: "GovSteamFV3.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of turbine power developed after first boiler pass (K1). Typical value = 0,2." },
            AttrDef { id: "GovSteamFV3.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of turbine power developed after second boiler pass (K2). Typical value = 0,2." },
            AttrDef { id: "GovSteamFV3.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of hp turbine power developed after crossover or third boiler pass (K3). Typical value = 0,6." },
            AttrDef { id: "GovSteamFV3.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteamFV3.pgv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 1 (Pgv1). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.pgv2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 2 (Pgv2). Typical value = 0,75." },
            AttrDef { id: "GovSteamFV3.pgv3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 3 (Pgv3). Typical value = 0,91." },
            AttrDef { id: "GovSteamFV3.pgv4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 4 (Pgv4). Typical value = 0,98." },
            AttrDef { id: "GovSteamFV3.pgv5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 5 (Pgv5). Typical value = 1." },
            AttrDef { id: "GovSteamFV3.pgv6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Nonlinear gain power value point 6 (Pgv6). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening, PU of MWbase (Pmax) (> GovSteamFV3.pmin). Typical value = 1." },
            AttrDef { id: "GovSteamFV3.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve opening, PU of MWbase (Pmin) (< GovSteamFV3.pmax). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.prmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Max. pressure in reheater (Prmax). Typical value = 1." },
            AttrDef { id: "GovSteamFV3.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (T1) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (T2) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner time constant (T3) (> 0). Typical value = 0." },
            AttrDef { id: "GovSteamFV3.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inlet piping/steam bowl time constant (T4) (>= 0). Typical value = 0,2." },
            AttrDef { id: "GovSteamFV3.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of second boiler pass (i.e. reheater) (T5) (> 0 if fast valving is used, otherwise >= 0). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV3.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of crossover or third boiler pass (T6) (>= 0). Typical value = 10." },
            AttrDef { id: "GovSteamFV3.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to close intercept valve (IV) (Ta) (>= 0). Typical value = 0,97." },
            AttrDef { id: "GovSteamFV3.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time until IV starts to reopen (Tb) (>= 0). Typical value = 0,98." },
            AttrDef { id: "GovSteamFV3.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time until IV is fully open (Tc) (>= 0). Typical value = 0,99." },
            AttrDef { id: "GovSteamFV3.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve closing velocity (Uc). Unit = PU / s. Typical value = -1." },
            AttrDef { id: "GovSteamFV3.uo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening velocity (Uo). Unit = PU / s. Typical value = 0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamFV4",
        qualified: "GovSteamFV4",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Detailed electro-hydraulic governor for steam unit.",
        attrs: &[
            AttrDef { id: "GovSteamFV4.cpsmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value of pressure regulator output (Cpsmn). Typical value = -1." },
            AttrDef { id: "GovSteamFV4.cpsmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value of pressure regulator output (Cpsmx). Typical value = 1." },
            AttrDef { id: "GovSteamFV4.crmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value of regulator set-point (Crmn). Typical value = 0." },
            AttrDef { id: "GovSteamFV4.crmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value of regulator set-point (Crmx). Typical value = 1,2." },
            AttrDef { id: "GovSteamFV4.kdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative gain of pressure regulator (Kdc). Typical value = 1." },
            AttrDef { id: "GovSteamFV4.kf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency bias (reciprocal of droop) (Kf1). Typical value = 20." },
            AttrDef { id: "GovSteamFV4.kf3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency control (reciprocal of droop) (Kf3). Typical value = 20." },
            AttrDef { id: "GovSteamFV4.khp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of total turbine output generated by HP part (Khp). Typical value = 0,35." },
            AttrDef { id: "GovSteamFV4.kic", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain of pressure regulator (Kic). Typical value = 0,0033." },
            AttrDef { id: "GovSteamFV4.kip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain of pressure feedback regulator (Kip). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV4.kit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain of electro-hydraulic regulator (Kit). Typical value = 0,04." },
            AttrDef { id: "GovSteamFV4.kmp1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First gain coefficient of intercept valves characteristic (Kmp1). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV4.kmp2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second gain coefficient of intercept valves characteristic (Kmp2). Typical value = 3,5." },
            AttrDef { id: "GovSteamFV4.kpc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain of pressure regulator (Kpc). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV4.kpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain of pressure feedback regulator (Kpp). Typical value = 1." },
            AttrDef { id: "GovSteamFV4.kpt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain of electro-hydraulic regulator (Kpt). Typical value = 0,3." },
            AttrDef { id: "GovSteamFV4.krc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum variation of fuel flow (Krc). Typical value = 0,05." },
            AttrDef { id: "GovSteamFV4.ksh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pressure loss due to flow friction in the boiler tubes (Ksh). Typical value = 0,08." },
            AttrDef { id: "GovSteamFV4.lpi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum negative power error (Lpi). Typical value = -0,15." },
            AttrDef { id: "GovSteamFV4.lps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum positive power error (Lps). Typical value = 0,03." },
            AttrDef { id: "GovSteamFV4.mnef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lower limit for frequency correction (MNEF). Typical value = -0,05." },
            AttrDef { id: "GovSteamFV4.mxef", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Upper limit for frequency correction (MXEF). Typical value = 0,05." },
            AttrDef { id: "GovSteamFV4.pr1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First value of pressure set point static characteristic (Pr1). Typical value = 0,2." },
            AttrDef { id: "GovSteamFV4.pr2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second value of pressure set point static characteristic, corresponding to Ps0 = 1,0 PU (Pr2). Typical value = 0,75." },
            AttrDef { id: "GovSteamFV4.psmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value of pressure set point static characteristic (Psmn). Typical value = 1." },
            AttrDef { id: "GovSteamFV4.rsmimn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value of integral regulator (Rsmimn). Typical value = 0." },
            AttrDef { id: "GovSteamFV4.rsmimx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value of integral regulator (Rsmimx). Typical value = 1,1." },
            AttrDef { id: "GovSteamFV4.rvgmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value of integral regulator (Rvgmn). Typical value = 0." },
            AttrDef { id: "GovSteamFV4.rvgmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value of integral regulator (Rvgmx). Typical value = 1,2." },
            AttrDef { id: "GovSteamFV4.srmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve opening (Srmn). Typical value = 0." },
            AttrDef { id: "GovSteamFV4.srmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening (Srmx). Typical value = 1,1." },
            AttrDef { id: "GovSteamFV4.srsmp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves characteristic discontinuity point (Srsmp). Typical value = 0,43." },
            AttrDef { id: "GovSteamFV4.svmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum regulator gate closing velocity (Svmn). Typical value = -0,0333." },
            AttrDef { id: "GovSteamFV4.svmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum regulator gate opening velocity (Svmx). Typical value = 0,0333." },
            AttrDef { id: "GovSteamFV4.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Control valves rate opening time (Ta) (>= 0). Typical value = 0,8." },
            AttrDef { id: "GovSteamFV4.tam", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves rate opening time (Tam) (>= 0). Typical value = 0,8." },
            AttrDef { id: "GovSteamFV4.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Control valves rate closing time (Tc) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV4.tcm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intercept valves rate closing time (Tcm) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovSteamFV4.tdc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Derivative time constant of pressure regulator (Tdc) (>= 0). Typical value = 90." },
            AttrDef { id: "GovSteamFV4.tf1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of fuel regulation (Tf1) (>= 0). Typical value = 10." },
            AttrDef { id: "GovSteamFV4.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of steam chest (Tf2) (>= 0). Typical value = 10." },
            AttrDef { id: "GovSteamFV4.thp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High pressure (HP) time constant of the turbine (Thp) (>= 0). Typical value = 0,15." },
            AttrDef { id: "GovSteamFV4.tmp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low pressure (LP) time constant of the turbine (Tmp) (>= 0). Typical value = 0,4." },
            AttrDef { id: "GovSteamFV4.trh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reheater time constant of the turbine (Trh) (>= 0). Typical value = 10." },
            AttrDef { id: "GovSteamFV4.tv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Boiler time constant (Tv) (>= 0). Typical value = 60." },
            AttrDef { id: "GovSteamFV4.ty", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Control valves servo time constant (Ty) (>= 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamFV4.y", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient of linearized equations of turbine (Stodola formulation) (Y). Typical value = 0,13." },
            AttrDef { id: "GovSteamFV4.yhpmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum control valve position (Yhpmn). Typical value = 0." },
            AttrDef { id: "GovSteamFV4.yhpmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum control valve position (Yhpmx). Typical value = 1,1." },
            AttrDef { id: "GovSteamFV4.ympmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum intercept valve position (Ympmn). Typical value = 0." },
            AttrDef { id: "GovSteamFV4.ympmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum intercept valve position (Ympmx). Typical value = 1,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamIEEE1",
        qualified: "GovSteamIEEE1",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE steam turbine governor model. Reference: IEEE Transactions on Power Apparatus and Systems, November/December 1973, Volume PAS-92, Number 6, Dynamic Models for Steam and Hydro Turbines in Power System Studies, page 1904.",
        attrs: &[
            AttrDef { id: "GovSteamIEEE1.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor gain (reciprocal of droop) (K) (> 0). Typical value = 25." },
            AttrDef { id: "GovSteamIEEE1.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after first boiler pass (K1). Typical value = 0,2." },
            AttrDef { id: "GovSteamIEEE1.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after first boiler pass (K2). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after second boiler pass (K3). Typical value = 0,3." },
            AttrDef { id: "GovSteamIEEE1.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after second boiler pass (K4). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.k5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after third boiler pass (K5). Typical value = 0,5." },
            AttrDef { id: "GovSteamIEEE1.k6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after third boiler pass (K6). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.k7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of HP shaft power after fourth boiler pass (K7). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.k8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of LP shaft power after fourth boiler pass (K8). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteamIEEE1.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening (Pmax) (> GovSteamIEEE1.pmin). Typical value = 1." },
            AttrDef { id: "GovSteamIEEE1.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum valve opening (Pmin) (>= 0 and < GovSteamIEEE1.pmax). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag time constant (T1) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lead time constant (T2) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Valve positioner time constant (T3) (> 0). Typical value = 0,1." },
            AttrDef { id: "GovSteamIEEE1.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inlet piping/steam bowl time constant (T4) (>= 0). Typical value = 0,3." },
            AttrDef { id: "GovSteamIEEE1.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of second boiler pass (T5) (>= 0). Typical value = 5." },
            AttrDef { id: "GovSteamIEEE1.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of third boiler pass (T6) (>= 0). Typical value = 0,5." },
            AttrDef { id: "GovSteamIEEE1.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of fourth boiler pass (T7) (>= 0). Typical value = 0." },
            AttrDef { id: "GovSteamIEEE1.uc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve closing velocity (Uc) (< 0). Unit = PU / s. Typical value = -10." },
            AttrDef { id: "GovSteamIEEE1.uo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum valve opening velocity (Uo) (> 0). Unit = PU / s. Typical value = 1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovSteamSGO",
        qualified: "GovSteamSGO",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified steam turbine governor.",
        attrs: &[
            AttrDef { id: "GovSteamSGO.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "One / PU regulation (K1)." },
            AttrDef { id: "GovSteamSGO.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction (K2)." },
            AttrDef { id: "GovSteamSGO.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction (K3)." },
            AttrDef { id: "GovSteamSGO.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "GovSteamSGO.pmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Upper power limit (Pmax) (> GovSteamSGO.pmin)." },
            AttrDef { id: "GovSteamSGO.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lower power limit (Pmin) (>= 0 and < GovSteamSGO.pmax)." },
            AttrDef { id: "GovSteamSGO.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller lag (T1) (>= 0)." },
            AttrDef { id: "GovSteamSGO.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller lead compensation (T2) (>= 0)." },
            AttrDef { id: "GovSteamSGO.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Governor lag (T3) (> 0)." },
            AttrDef { id: "GovSteamSGO.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Delay due to steam inlet volumes associated with steam chest and inlet piping (T4) (>= 0)." },
            AttrDef { id: "GovSteamSGO.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reheater delay including hot and cold leads (T5) (>= 0)." },
            AttrDef { id: "GovSteamSGO.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Delay due to IP-LP turbine, crossover pipes and LP end hoods (T6) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GrossToNetActivePowerCurve",
        qualified: "GrossToNetActivePowerCurve",
        super_class: Some(53),
        concrete: true,
        origins: &["EQ"],
        comment: "Relationship between the generating unit's gross active power output on the X-axis (measured at the terminals of the machine(s)) and the generating unit's net active power output on the Y-axis (based on utility-defined measurements at the power station). Station service loads, when modelled, should be treated as non-conforming bus loads. There may be more than one curve, depending on the auxiliary equipment that is in service.",
        attrs: &[
            AttrDef { id: "GrossToNetActivePowerCurve.GeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GeneratingUnit", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A generating unit may have a gross active power to net active power curve, describing the losses and auxiliary power requirements of the unit." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Ground",
        qualified: "Ground",
        super_class: Some(37),
        concrete: true,
        origins: &["EQ"],
        comment: "A point where the system is grounded used for connecting conducting equipment to ground. The power system model can have any number of grounds.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GroundDisconnector",
        qualified: "GroundDisconnector",
        super_class: Some(353),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A manually operated or motor operated mechanical switching device used for isolating a circuit or equipment from ground.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GroundingImpedance",
        qualified: "GroundingImpedance",
        super_class: Some(92),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A fixed impedance device used for grounding.",
        attrs: &[
            AttrDef { id: "GroundingImpedance.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Reactance of device." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HVDCDynamics",
        qualified: "HVDCDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "HVDC whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HydroGeneratingUnit",
        qualified: "HydroGeneratingUnit",
        super_class: Some(169),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A generating unit whose prime mover is a hydraulic turbine (e.g., Francis, Pelton, Kaplan).",
        attrs: &[
            AttrDef { id: "HydroGeneratingUnit.HydroPowerPlant", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "HydroPowerPlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The hydro generating unit belongs to a hydro power plant." },
            AttrDef { id: "HydroGeneratingUnit.dropHeight", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The height water drops from the reservoir mid-point to the turbine." },
            AttrDef { id: "HydroGeneratingUnit.energyConversionCapability", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "HydroEnergyConversionKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Energy conversion capability for generating." },
            AttrDef { id: "HydroGeneratingUnit.turbineType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "HydroTurbineKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Type of turbine." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HydroPowerPlant",
        qualified: "HydroPowerPlant",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ"],
        comment: "A hydro power station which can generate or pump. When generating, the generator turbines receive water from an upper reservoir. When pumping, the pumps receive their water from a lower reservoir.",
        attrs: &[
            AttrDef { id: "HydroPowerPlant.HydroGeneratingUnits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "HydroGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The hydro generating unit belongs to a hydro power plant." },
            AttrDef { id: "HydroPowerPlant.HydroPumps", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "HydroPump", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The hydro pump may be a member of a pumped storage plant or a pump for distributing water." },
            AttrDef { id: "HydroPowerPlant.hydroPlantStorageType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "HydroPlantStorageKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The type of hydro power plant water storage." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HydroPump",
        qualified: "HydroPump",
        super_class: Some(98),
        concrete: true,
        origins: &["EQ"],
        comment: "A synchronous motor-driven pump, typically associated with a pumped storage plant.",
        attrs: &[
            AttrDef { id: "HydroPump.HydroPowerPlant", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "HydroPowerPlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The hydro pump may be a member of a pumped storage plant or a pump for distributing water." },
            AttrDef { id: "HydroPump.RotatingMachine", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RotatingMachine", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The synchronous machine drives the turbine which moves the water from a low elevation to a higher elevation. The direction of machine rotation for pumping may or may not be the same as for generating." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "IOPoint",
        qualified: "IOPoint",
        super_class: Some(213),
        concrete: false,
        origins: &["OP"],
        comment: "The class describe a measurement or control value. The purpose is to enable having attributes and associations common for measurement and control.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "IdentifiedObject",
        qualified: "IdentifiedObject",
        super_class: None,
        concrete: false,
        origins: &["EQ", "DL", "DY", "EQBD", "GL", "OP", "SC", "SSH", "SV", "TP"],
        comment: "This is a root class to provide common identification for all classes needing identification and naming attributes.",
        attrs: &[
            AttrDef { id: "IdentifiedObject.DiagramObjects", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObject", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DL"], comment: "The diagram objects that are associated with the domain object." },
            AttrDef { id: "IdentifiedObject.description", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "DL", "DY", "EQBD", "OP", "TP"], comment: "The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy." },
            AttrDef { id: "IdentifiedObject.energyIdentCodeEic", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD", "TP"], comment: "The attribute is used for an exchange of the EIC code (Energy identification Code). The length of the string is 16 characters as defined by the EIC code. For details on EIC scheme please refer to ENTSO-E web site." },
            AttrDef { id: "IdentifiedObject.mRID", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "DL", "DY", "EQBD", "GL", "OP", "SC", "SSH", "SV", "TP"], comment: "Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended. For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements." },
            AttrDef { id: "IdentifiedObject.name", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "DL", "DY", "EQBD", "GL", "OP", "SV", "TP"], comment: "The name is any free human readable and possibly non unique text naming the object." },
            AttrDef { id: "IdentifiedObject.shortName", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["EQ", "EQBD", "TP"], comment: "The attribute is used for an exchange of a human readable short name with length of the string 12 characters maximum." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Jumper",
        qualified: "Jumper",
        super_class: Some(353),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A short section of conductor with negligible impedance which can be manually removed and replaced if the circuit is de-energized. Note that zero-impedance branches can potentially be modelled by other equipment types.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Junction",
        qualified: "Junction",
        super_class: Some(44),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "A point where one or more conducting equipments are connected with zero resistance.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Limit",
        qualified: "Limit",
        super_class: Some(213),
        concrete: false,
        origins: &["OP"],
        comment: "Specifies one limit value for a Measurement. A Measurement typically has several limits that are kept together by the LimitSet class. The actual meaning and use of a Limit instance (i.e., if it is an alarm or warning limit or if it is a high or low limit) is not captured in the Limit class. However the name of a Limit instance may indicate both meaning and use.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100-European#",
        local: "LimitKind",
        qualified: "LimitKind",
        super_class: None,
        concrete: false,
        origins: &["EQ"],
        comment: "Limit kinds.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LimitSet",
        qualified: "LimitSet",
        super_class: Some(213),
        concrete: false,
        origins: &["OP"],
        comment: "Specifies a set of Limits that are associated with a Measurement. A Measurement may have several LimitSets corresponding to seasonal or other changing conditions. The condition is captured in the name and description attributes. The same LimitSet may be used for several Measurements. In particular percentage limits are used this way.",
        attrs: &[
            AttrDef { id: "LimitSet.isPercentageLimits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Tells if the limit values are in percentage of normalValue or the specified Unit for Measurements and Controls." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Line",
        qualified: "Line",
        super_class: Some(99),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "Contains equipment beyond a substation belonging to a power transmission line.",
        attrs: &[
            AttrDef { id: "Line.Region", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SubGeographicalRegion", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The sub-geographical region of the line." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LinearShuntCompensator",
        qualified: "LinearShuntCompensator",
        super_class: Some(330),
        concrete: true,
        origins: &["EQ", "SC", "SSH"],
        comment: "A linear shunt compensator has banks or sections with equal admittance values.",
        attrs: &[
            AttrDef { id: "LinearShuntCompensator.b0PerSection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence shunt (charging) susceptance per section." },
            AttrDef { id: "LinearShuntCompensator.bPerSection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt (charging) susceptance per section." },
            AttrDef { id: "LinearShuntCompensator.g0PerSection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence shunt (charging) conductance per section." },
            AttrDef { id: "LinearShuntCompensator.gPerSection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt (charging) conductance per section." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadAggregate",
        qualified: "LoadAggregate",
        super_class: Some(225),
        concrete: true,
        origins: &["DY"],
        comment: "Aggregate loads are used to represent all or part of the real and reactive load from one or more loads in the static (power flow) data. This load is usually the aggregation of many individual load devices and the load model is an approximate representation of the aggregate response of the load devices to system disturbances. Standard aggregate load model comprised of static and/or dynamic components. A static load model represents the sensitivity of the real and reactive power consumed by the load to the amplitude and frequency of the bus voltage. A dynamic load model can be used to represent the aggregate response of the motor components of the load.",
        attrs: &[
            AttrDef { id: "LoadAggregate.LoadMotor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadMotor", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Aggregate motor (dynamic) load associated with this aggregate load." },
            AttrDef { id: "LoadAggregate.LoadStatic", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadStatic", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Aggregate static load associated with this aggregate load." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadArea",
        qualified: "LoadArea",
        super_class: Some(93),
        concrete: true,
        origins: &["EQ"],
        comment: "The class is the root or first level in a hierarchical structure for grouping of loads for the purpose of load flow load scaling.",
        attrs: &[
            AttrDef { id: "LoadArea.SubLoadAreas", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SubLoadArea", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The SubLoadAreas in the LoadArea." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadBreakSwitch",
        qualified: "LoadBreakSwitch",
        super_class: Some(288),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A mechanical switching device capable of making, carrying, and breaking currents under normal operating conditions.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadComposite",
        qualified: "LoadComposite",
        super_class: Some(225),
        concrete: true,
        origins: &["DY"],
        comment: "Combined static load and induction motor load effects. The dynamics of the motor are simplified by linearizing the induction machine equations.",
        attrs: &[
            AttrDef { id: "LoadComposite.epfd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Active load-frequency dependence index (dynamic) (Epfd). Typical value = 1,5." },
            AttrDef { id: "LoadComposite.epfs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Active load-frequency dependence index (static) (Epfs). Typical value = 1,5." },
            AttrDef { id: "LoadComposite.epvd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Active load-voltage dependence index (dynamic) (Epvd). Typical value = 0,7." },
            AttrDef { id: "LoadComposite.epvs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Active load-voltage dependence index (static) (Epvs). Typical value = 0,7." },
            AttrDef { id: "LoadComposite.eqfd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive load-frequency dependence index (dynamic) (Eqfd). Typical value = 0." },
            AttrDef { id: "LoadComposite.eqfs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive load-frequency dependence index (static) (Eqfs). Typical value = 0." },
            AttrDef { id: "LoadComposite.eqvd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive load-voltage dependence index (dynamic) (Eqvd). Typical value = 2." },
            AttrDef { id: "LoadComposite.eqvs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive load-voltage dependence index (static) (Eqvs). Typical value = 2." },
            AttrDef { id: "LoadComposite.h", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inertia constant (H) (>= 0). Typical value = 2,5." },
            AttrDef { id: "LoadComposite.lfac", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Loading factor (Lfac). The ratio of initial P to motor MVA base. Typical value = 0,8." },
            AttrDef { id: "LoadComposite.pfrac", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of constant-power load to be represented by this motor model (PFRAC) (>= 0,0 and <= 1,0). Typical value = 0,5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadDynamics",
        qualified: "LoadDynamics",
        super_class: Some(213),
        concrete: false,
        origins: &["DY"],
        comment: "Load whose behaviour is described by reference to a standard model or by definition of a user-defined model. A standard feature of dynamic load behaviour modelling is the ability to associate the same behaviour to multiple energy consumers by means of a single load definition. The load model is always applied to individual bus loads (energy consumers).",
        attrs: &[
            AttrDef { id: "LoadDynamics.EnergyConsumer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EnergyConsumer", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Energy consumer to which this dynamics load model applies." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadGenericNonLinear",
        qualified: "LoadGenericNonLinear",
        super_class: Some(225),
        concrete: true,
        origins: &["DY"],
        comment: "Generic non-linear dynamic (GNLD) load. This model can be used in mid-term and long-term voltage stability simulations (i.e., to study voltage collapse), as it can replace a more detailed representation of aggregate load, including induction motors, thermostatically controlled and static loads.",
        attrs: &[
            AttrDef { id: "LoadGenericNonLinear.bs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady state voltage index for reactive power (BS)." },
            AttrDef { id: "LoadGenericNonLinear.bt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transient voltage index for reactive power (BT)." },
            AttrDef { id: "LoadGenericNonLinear.genericNonLinearLoadModelType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "GenericNonLinearLoadModelKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of generic non-linear load model." },
            AttrDef { id: "LoadGenericNonLinear.ls", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Steady state voltage index for active power (LS)." },
            AttrDef { id: "LoadGenericNonLinear.lt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transient voltage index for active power (LT)." },
            AttrDef { id: "LoadGenericNonLinear.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of lag function of active power (TP) (> 0)." },
            AttrDef { id: "LoadGenericNonLinear.tq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant of lag function of reactive power (TQ) (> 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadGroup",
        qualified: "LoadGroup",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ"],
        comment: "The class is the third level in a hierarchical structure for grouping of loads for the purpose of load flow load scaling.",
        attrs: &[
            AttrDef { id: "LoadGroup.SubLoadArea", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SubLoadArea", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The SubLoadArea where the Loadgroup belongs." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadMotor",
        qualified: "LoadMotor",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Aggregate induction motor load. This model is used to represent a fraction of an ordinary load as 'induction motor load'. It allows a load that is treated as an ordinary constant power in power flow analysis to be represented by an induction motor in dynamic simulation. This model is intended for representation of aggregations of many motors dispersed through a load represented at a high voltage bus but where there is no information on the characteristics of individual motors. Either a 'one-cage' or 'two-cage' model of the induction machine can be modelled. Magnetic saturation is not modelled. This model treats a fraction of the constant power part of a load as a motor. During initialisation, the initial power drawn by the motor is set equal to Pfrac times the constant P part of the static load. The remainder of the load is left as a static load. The reactive power demand of the motor is calculated during initialisation as a function of voltage at the load bus. This reactive power demand can be less than or greater than the constant Q component of the load. If the motor's reactive demand is greater than the constant Q component of the load, the model inserts a shunt capacitor at the terminal of the motor to bring its reactive demand down to equal the constant Q reactive load. If an induction motor load model and a static load model are both present for a load, the motor Pfrac is assumed to be subtracted from the power flow constant P load before the static load model is applied. The remainder of the load, if any, is then represented by the static load model.",
        attrs: &[
            AttrDef { id: "LoadMotor.LoadAggregate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadAggregate", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Aggregate load to which this aggregate motor (dynamic) load belongs." },
            AttrDef { id: "LoadMotor.d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damping factor (D). Unit = delta P/delta speed. Typical value = 2." },
            AttrDef { id: "LoadMotor.h", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inertia constant (H) (>= 0). Typical value = 0,4." },
            AttrDef { id: "LoadMotor.lfac", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Loading factor (Lfac). The ratio of initial P to motor MVA base. Typical value = 0,8." },
            AttrDef { id: "LoadMotor.lp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transient reactance (Lp). Typical value = 0,15." },
            AttrDef { id: "LoadMotor.lpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Subtransient reactance (Lpp). Typical value = 0,15." },
            AttrDef { id: "LoadMotor.ls", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Synchronous reactance (Ls). Typical value = 3,2." },
            AttrDef { id: "LoadMotor.pfrac", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Fraction of constant-power load to be represented by this motor model (Pfrac) (>= 0,0 and <= 1,0). Typical value = 0,3." },
            AttrDef { id: "LoadMotor.ra", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stator resistance (Ra). Typical value = 0." },
            AttrDef { id: "LoadMotor.tbkr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Circuit breaker operating time (Tbkr) (>= 0). Typical value = 0,08." },
            AttrDef { id: "LoadMotor.tpo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transient rotor time constant (Tpo) (>= 0). Typical value = 1." },
            AttrDef { id: "LoadMotor.tppo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Subtransient rotor time constant (Tppo) (>= 0). Typical value = 0,02." },
            AttrDef { id: "LoadMotor.tv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage trip pickup time (Tv) (>= 0). Typical value = 0,1." },
            AttrDef { id: "LoadMotor.vt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage threshold for tripping (Vt). Typical value = 0,7." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadResponseCharacteristic",
        qualified: "LoadResponseCharacteristic",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "Models the characteristic response of the load demand due to changes in system conditions such as voltage and frequency. It is not related to demand response. If LoadResponseCharacteristic.exponentModel is True, the exponential voltage or frequency dependent models are specified and used as to calculate active and reactive power components of the load model. The equations to calculate active and reactive power components of the load model are internal to the power flow calculation, hence they use different quantities depending on the use case of the data exchange. The equations for exponential voltage dependent load model injected power are: pInjection= Pnominal* (Voltage/cim:BaseVoltage.nominalVoltage) ** cim:LoadResponseCharacteristic.pVoltageExponent qInjection= Qnominal* (Voltage/cim:BaseVoltage.nominalVoltage) ** cim:LoadResponseCharacteristic.qVoltageExponent Where: 1) * means 'multiply' and ** is 'raised to power of'; 2) Pnominal and Qnominal represent the active power and reactive power at nominal voltage as any load described by the voltage exponential model shall be given at nominal voltage. This means that EnergyConsumer.p and EnergyConsumer.q are at nominal voltage. 3) After power flow is solved: -pInjection and qInjection correspond to SvPowerflow.p and SvPowerflow.q respectively. - Voltage corresponds to SvVoltage.v at the TopologicalNode where the load is connected.",
        attrs: &[
            AttrDef { id: "LoadResponseCharacteristic.EnergyConsumer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EnergyConsumer", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The set of loads that have the response characteristics." },
            AttrDef { id: "LoadResponseCharacteristic.exponentModel", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Indicates the exponential voltage dependency model is to be used. If false, the coefficient model is to be used. The exponential voltage dependency model consist of the attributes: - pVoltageExponent - qVoltageExponent - pFrequencyExponent - qFrequencyExponent. The coefficient model consist of the attributes: - pConstantImpedance - pConstantCurrent - pConstantPower - qConstantImpedance - qConstantCurrent - qConstantPower. The sum of pConstantImpedance, pConstantCurrent and pConstantPower shall equal 1. The sum of qConstantImpedance, qConstantCurrent and qConstantPower shall equal 1." },
            AttrDef { id: "LoadResponseCharacteristic.pConstantCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Portion of active power load modelled as constant current." },
            AttrDef { id: "LoadResponseCharacteristic.pConstantImpedance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Portion of active power load modelled as constant impedance." },
            AttrDef { id: "LoadResponseCharacteristic.pConstantPower", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Portion of active power load modelled as constant power." },
            AttrDef { id: "LoadResponseCharacteristic.pFrequencyExponent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Exponent of per unit frequency effecting active power." },
            AttrDef { id: "LoadResponseCharacteristic.pVoltageExponent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Exponent of per unit voltage effecting real power." },
            AttrDef { id: "LoadResponseCharacteristic.qConstantCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Portion of reactive power load modelled as constant current." },
            AttrDef { id: "LoadResponseCharacteristic.qConstantImpedance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Portion of reactive power load modelled as constant impedance." },
            AttrDef { id: "LoadResponseCharacteristic.qConstantPower", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Portion of reactive power load modelled as constant power." },
            AttrDef { id: "LoadResponseCharacteristic.qFrequencyExponent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Exponent of per unit frequency effecting reactive power." },
            AttrDef { id: "LoadResponseCharacteristic.qVoltageExponent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Exponent of per unit voltage effecting reactive power." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadStatic",
        qualified: "LoadStatic",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "General static load. This model represents the sensitivity of the real and reactive power consumed by the load to the amplitude and frequency of the bus voltage.",
        attrs: &[
            AttrDef { id: "LoadStatic.LoadAggregate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadAggregate", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Aggregate load to which this aggregate static load belongs." },
            AttrDef { id: "LoadStatic.ep1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First term voltage exponent for active power (Ep1). Used only when .staticLoadModelType = exponential." },
            AttrDef { id: "LoadStatic.ep2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second term voltage exponent for active power (Ep2). Used only when .staticLoadModelType = exponential." },
            AttrDef { id: "LoadStatic.ep3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Third term voltage exponent for active power (Ep3). Used only when .staticLoadModelType = exponential." },
            AttrDef { id: "LoadStatic.eq1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First term voltage exponent for reactive power (Eq1). Used only when .staticLoadModelType = exponential." },
            AttrDef { id: "LoadStatic.eq2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second term voltage exponent for reactive power (Eq2). Used only when .staticLoadModelType = exponential." },
            AttrDef { id: "LoadStatic.eq3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Third term voltage exponent for reactive power (Eq3). Used only when .staticLoadModelType = exponential." },
            AttrDef { id: "LoadStatic.kp1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First term voltage coefficient for active power (Kp1). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kp2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second term voltage coefficient for active power (Kp2). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kp3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Third term voltage coefficient for active power (Kp3). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kp4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency coefficient for active power (Kp4) (not = 0 if .staticLoadModelType = zIP2). Used only when .staticLoadModelType = zIP2." },
            AttrDef { id: "LoadStatic.kpf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency deviation coefficient for active power (Kpf). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kq1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First term voltage coefficient for reactive power (Kq1). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kq2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second term voltage coefficient for reactive power (Kq2). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kq3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Third term voltage coefficient for reactive power (Kq3). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.kq4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency coefficient for reactive power (Kq4) (not = 0 when .staticLoadModelType = zIP2). Used only when .staticLoadModelType - zIP2." },
            AttrDef { id: "LoadStatic.kqf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency deviation coefficient for reactive power (Kqf). Not used when .staticLoadModelType = constantZ." },
            AttrDef { id: "LoadStatic.staticLoadModelType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "StaticLoadModelKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of static load model. Typical value = constantZ." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "LoadUserDefined",
        qualified: "LoadUserDefined",
        super_class: Some(225),
        concrete: true,
        origins: &["DY"],
        comment: "Load whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "LoadUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "LoadUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Location",
        qualified: "Location",
        super_class: Some(213),
        concrete: true,
        origins: &["GL"],
        comment: "The place, scene, or point of something where someone or something has been, is, and/or will be at a given moment in time. It can be defined with one or more position points (coordinates) in a given coordinate system.",
        attrs: &[
            AttrDef { id: "Location.CoordinateSystem", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CoordinateSystem", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "Coordinate system used to describe position points of this location." },
            AttrDef { id: "Location.PositionPoints", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PositionPoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["GL"], comment: "Sequence of position points describing this location, expressed in coordinate system 'Location.CoordinateSystem'." },
            AttrDef { id: "Location.PowerSystemResources", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerSystemResource", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "All power system resources at this location." },
            AttrDef { id: "Location.mainAddress", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "StreetAddress", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "Main address of the location." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Measurement",
        qualified: "Measurement",
        super_class: Some(213),
        concrete: false,
        origins: &["OP"],
        comment: "A Measurement represents any measured, calculated or non-measured non-calculated quantity. Any piece of equipment may contain Measurements, e.g. a substation may have temperature measurements and door open indications, a transformer may have oil temperature and tank pressure measurements, a bay may contain a number of power flow measurements and a Breaker may contain a switch status measurement. The PSR - Measurement association is intended to capture this use of Measurement and is included in the naming hierarchy based on EquipmentContainer. The naming hierarchy typically has Measurements as leaves, e.g. Substation-VoltageLevel-Bay-Switch-Measurement. Some Measurements represent quantities related to a particular sensor location in the network, e.g. a voltage transformer (VT) or potential transformer (PT) at a busbar or a current transformer (CT) at the bar between a breaker and an isolator. The sensing position is not captured in the PSR - Measurement association. Instead it is captured by the Measurement - Terminal association that is used to define the sensing location in the network topology. The location is defined by the connection of the Terminal to ConductingEquipment. If both a Terminal and PSR are associated, and the PSR is of type ConductingEquipment, the associated Terminal should belong to that ConductingEquipment instance. When the sensor location is needed both Measurement-PSR and Measurement-Terminal are used. The Measurement-Terminal association is never used alone.",
        attrs: &[
            AttrDef { id: "Measurement.PowerSystemResource", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerSystemResource", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The power system resource that contains the measurement." },
            AttrDef { id: "Measurement.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACDCTerminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "One or more measurements may be associated with a terminal in the network." },
            AttrDef { id: "Measurement.measurementType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["OP"], comment: "Specifies the type of measurement. For example, this specifies if the measurement represents an indoor temperature, outdoor temperature, bus voltage, line flow, etc. When the measurementType is set to 'Specialization', the type of Measurement is defined in more detail by the specialized class which inherits from Measurement." },
            AttrDef { id: "Measurement.phases", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "PhaseCode", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "Indicates to which phases the measurement applies and avoids the need to use 'measurementType' to also encode phase information (which would explode the types). The phase information in Measurement, along with 'measurementType' and 'phases' uniquely defines a Measurement for a device, based on normal network phase. Their meaning will not change when the computed energizing phasing is changed due to jumpers or other reasons. If the attribute is missing three phases (ABC) shall be assumed." },
            AttrDef { id: "Measurement.unitMultiplier", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitMultiplier", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "The unit multiplier of the measured quantity." },
            AttrDef { id: "Measurement.unitSymbol", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitSymbol", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "The unit of measure of the measured quantity." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MeasurementValue",
        qualified: "MeasurementValue",
        super_class: Some(212),
        concrete: false,
        origins: &["OP"],
        comment: "The current state for a measurement. A state value is an instance of a measurement from a specific source. Measurements can be associated with many state values, each representing a different source for the measurement.",
        attrs: &[
            AttrDef { id: "MeasurementValue.MeasurementValueQuality", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MeasurementValueQuality", is_list: false, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "A MeasurementValue has a MeasurementValueQuality associated with it." },
            AttrDef { id: "MeasurementValue.MeasurementValueSource", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MeasurementValueSource", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "A reference to the type of source that updates the MeasurementValue, e.g. SCADA, CCLink, manual, etc. User conventions for the names of sources are contained in the introduction to IEC 61970-301." },
            AttrDef { id: "MeasurementValue.sensorAccuracy", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["OP"], comment: "The limit, expressed as a percentage of the sensor maximum, that errors will not exceed when the sensor is used under reference conditions." },
            AttrDef { id: "MeasurementValue.timeStamp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["OP"], comment: "The time when the value was last updated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MeasurementValueQuality",
        qualified: "MeasurementValueQuality",
        super_class: Some(307),
        concrete: true,
        origins: &["OP"],
        comment: "Measurement quality flags. Bits 0-10 are defined for substation automation in IEC 61850-7-3. Bits 11-15 are reserved for future expansion by that document. Bits 16-31 are reserved for EMS applications.",
        attrs: &[
            AttrDef { id: "MeasurementValueQuality.MeasurementValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MeasurementValue", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "A MeasurementValue has a MeasurementValueQuality associated with it." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MeasurementValueSource",
        qualified: "MeasurementValueSource",
        super_class: Some(213),
        concrete: true,
        origins: &["OP"],
        comment: "MeasurementValueSource describes the alternative sources updating a MeasurementValue. User conventions for how to use the MeasurementValueSource attributes are defined in IEC 61970-301.",
        attrs: &[
            AttrDef { id: "MeasurementValueSource.MeasurementValues", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MeasurementValue", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The MeasurementValues updated by the source." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MechLoad1",
        qualified: "MechLoad1",
        super_class: Some(238),
        concrete: true,
        origins: &["DY"],
        comment: "Mechanical load model type 1.",
        attrs: &[
            AttrDef { id: "MechLoad1.a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed squared coefficient (a)." },
            AttrDef { id: "MechLoad1.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed coefficient (b)." },
            AttrDef { id: "MechLoad1.d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed to the exponent coefficient (d)." },
            AttrDef { id: "MechLoad1.e", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Exponent (e)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MechanicalLoadDynamics",
        qualified: "MechanicalLoadDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Mechanical load function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "MechanicalLoadDynamics.AsynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AsynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Asynchronous machine model with which this mechanical load model is associated. MechanicalLoadDynamics shall have either an association to SynchronousMachineDynamics or to AsynchronousMachineDynamics." },
            AttrDef { id: "MechanicalLoadDynamics.SynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Synchronous machine model with which this mechanical load model is associated. MechanicalLoadDynamics shall have either an association to SynchronousMachineDynamics or AsynchronousMachineDyanmics." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MechanicalLoadUserDefined",
        qualified: "MechanicalLoadUserDefined",
        super_class: Some(238),
        concrete: true,
        origins: &["DY"],
        comment: "Mechanical load function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "MechanicalLoadUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "MechanicalLoadUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#",
        local: "Model",
        qualified: "Model",
        super_class: None,
        concrete: false,
        origins: &["FH"],
        comment: "A Model is a collection of data describing instances, objects or entities, real or computed. In the context of CIM the semantics of the data is defined by profiles. Hence a model can contain equipment data, power flow initial values, power flow results etc. The Model class describes the header content that is the same for the FullModel and the DifferenceModel. A Model is identified by an rdf:about attribute. The rdf:about attribute uniquely describe the model data and not the CIMXML document. A new rdf:about identification is generated for created documents only when the model data has changed. A repeated creation of documents from unchanged model data shall have the same rdf:about identification as previous document generated from the same model data.",
        attrs: &[
            AttrDef { id: "Model.DependentOn", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Association, range: "Model", is_list: true, used: true, xsd: "", value_ns: "", origins: &["FH"], comment: "A reference to the model documents that the model described by this document depends on. In general there can be 0 or many Model.DependentOn depending on the profile and the content of the instance file. For instance: - A load flow solution depends on the topology model it was computed from - A topology model computed by a topology processor depends on the network model it was computed from. The referenced models are identified by the FullModel rdf:about attribute for full model documents and by DifferenceModel rdf:about attribute for difference model documents. The references are maintained by the producer of the CIMXML document and the references are valid for the model with version and identifier for which the document was created." },
            AttrDef { id: "Model.Depending", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Association, range: "Model", is_list: true, used: false, xsd: "", value_ns: "", origins: &["FH"], comment: "All documents depending on the model described by this document. This role is not intended to be included in any document exchanging instance data." },
            AttrDef { id: "Model.SupersededBy", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Association, range: "Model", is_list: true, used: false, xsd: "", value_ns: "", origins: &["FH"], comment: "All models superseding this model. This role is not intended to be included in any document exchanging instance data." },
            AttrDef { id: "Model.Supersedes", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Association, range: "Model", is_list: true, used: true, xsd: "", value_ns: "", origins: &["FH"], comment: "When a model is updated the resulting model supersedes the models that were used as basis for the update. Hence this is a reference to the CIMXML documents which are superseded by this model. A model (or instance file) can supersede 1 or more models, e.g. a difference model or a full model supersede multiple models (difference or full). In this case more than one Model.Supersedes are included in the header. The referenced document(s) is (are) identified by the URN/MRID/UUID in the FullModel rdf:about attribute when full model(s) is (are) referenced and by the URN/MRID/UUID in the DifferenceModel rdf:about attribute when difference model(s) is (are) referenced." },
            AttrDef { id: "Model.created", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["FH"], comment: "The date and time when the model was created. It is the time of the serialization. The format is an extended format according to the ISO 8601-2005. European exchanges shall refer to UTC, e.g. 2014-05-15T17:48:31.474Z." },
            AttrDef { id: "Model.description", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["FH"], comment: "A description of the model, e.g. the name of person that created the model and for what purpose. The number of UTF-8 characters is limited to 2000." },
            AttrDef { id: "Model.modelingAuthoritySet", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Literal, range: "URI", is_list: false, used: true, xsd: "anyURI", value_ns: "", origins: &["FH"], comment: "A URN/URI referring to the organisation role / model authority set reference. The organization role is the source of the model. It is the same for all profiles part of a model exchange." },
            AttrDef { id: "Model.profile", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Literal, range: "URI", is_list: true, used: true, xsd: "anyURI", value_ns: "", origins: &["FH"], comment: "URN/URI describing the profiles that governs this model. It uniquely identifies the profiles and its version, e.g. http://iec.ch/TC57/61970-456/SteadyStateHypothesis/2/0." },
            AttrDef { id: "Model.scenarioTime", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["FH"], comment: "The date and time that this model represents, i.e. for which the model is valid. The format is an extended format according to the ISO 8601-2005. European exchanges shall refer to UTC, e.g. 2030-01-15T17:00:00.000Z." },
            AttrDef { id: "Model.version", ns: "http://iec.ch/TC57/61970-552/ModelDescription/1#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["FH"], comment: "The version of the model. If the instance file is imported and exported with no change the version number is the kept same. The version changes only if the content of the file changes. It is the same logic as for the header id. The version is the human readable id." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "MutualCoupling",
        qualified: "MutualCoupling",
        super_class: Some(213),
        concrete: true,
        origins: &["SC"],
        comment: "This class represents the zero sequence line mutual coupling.",
        attrs: &[
            AttrDef { id: "MutualCoupling.First_Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SC"], comment: "The starting terminal for the calculation of distances along the first branch of the mutual coupling. Normally MutualCoupling would only be used for terminals of AC line segments. The first and second terminals of a mutual coupling should point to different AC line segments." },
            AttrDef { id: "MutualCoupling.Second_Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SC"], comment: "The starting terminal for the calculation of distances along the second branch of the mutual coupling." },
            AttrDef { id: "MutualCoupling.b0ch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence mutual coupling shunt (charging) susceptance, uniformly distributed, of the entire line section." },
            AttrDef { id: "MutualCoupling.distance11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Distance to the start of the coupled region from the first line's terminal having sequence number equal to 1." },
            AttrDef { id: "MutualCoupling.distance12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Distance to the end of the coupled region from the first line's terminal with sequence number equal to 1." },
            AttrDef { id: "MutualCoupling.distance21", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Distance to the start of coupled region from the second line's terminal with sequence number equal to 1." },
            AttrDef { id: "MutualCoupling.distance22", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Length", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Distance to the end of coupled region from the second line's terminal with sequence number equal to 1." },
            AttrDef { id: "MutualCoupling.g0ch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence mutual coupling shunt (charging) conductance, uniformly distributed, of the entire line section." },
            AttrDef { id: "MutualCoupling.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence branch-to-branch mutual impedance coupling, resistance." },
            AttrDef { id: "MutualCoupling.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence branch-to-branch mutual impedance coupling, reactance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "NonConformLoad",
        qualified: "NonConformLoad",
        super_class: Some(95),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "NonConformLoad represents loads that do not follow a daily load change pattern and whose changes are not correlated with the daily load change pattern.",
        attrs: &[
            AttrDef { id: "NonConformLoad.LoadGroup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "NonConformLoadGroup", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Group of this ConformLoad." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "NonConformLoadGroup",
        qualified: "NonConformLoadGroup",
        super_class: Some(227),
        concrete: true,
        origins: &["EQ"],
        comment: "Loads that do not follow a daily and seasonal load variation pattern.",
        attrs: &[
            AttrDef { id: "NonConformLoadGroup.EnergyConsumers", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "NonConformLoad", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Conform loads assigned to this ConformLoadGroup." },
            AttrDef { id: "NonConformLoadGroup.NonConformLoadSchedules", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "NonConformLoadSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The NonConformLoadSchedules in the NonConformLoadGroup." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "NonConformLoadSchedule",
        qualified: "NonConformLoadSchedule",
        super_class: Some(325),
        concrete: true,
        origins: &["EQ"],
        comment: "An active power (Y1-axis) and reactive power (Y2-axis) schedule (curves) versus time (X-axis) for non-conforming loads, e.g., large industrial load or power station service (where modelled).",
        attrs: &[
            AttrDef { id: "NonConformLoadSchedule.NonConformLoadGroup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "NonConformLoadGroup", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The NonConformLoadGroup where the NonConformLoadSchedule belongs." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "NonlinearShuntCompensator",
        qualified: "NonlinearShuntCompensator",
        super_class: Some(330),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A non linear shunt compensator has bank or section admittance values that differ. The attributes g, b, g0 and b0 of the associated NonlinearShuntCompensatorPoint describe the total conductance and admittance of a NonlinearShuntCompensatorPoint at a section number specified by NonlinearShuntCompensatorPoint.sectionNumber.",
        attrs: &[
            AttrDef { id: "NonlinearShuntCompensator.NonlinearShuntCompensatorPoints", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "NonlinearShuntCompensatorPoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "All points of the non-linear shunt compensator." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "NonlinearShuntCompensatorPoint",
        qualified: "NonlinearShuntCompensatorPoint",
        super_class: None,
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A non linear shunt compensator bank or section admittance value. The number of NonlinearShuntCompenstorPoint instances associated with a NonlinearShuntCompensator shall be equal to ShuntCompensator.maximumSections. ShuntCompensator.sections shall only be set to one of the NonlinearShuntCompenstorPoint.sectionNumber. There is no interpolation between NonlinearShuntCompenstorPoint-s.",
        attrs: &[
            AttrDef { id: "NonlinearShuntCompensatorPoint.NonlinearShuntCompensator", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "NonlinearShuntCompensator", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Non-linear shunt compensator owning this point." },
            AttrDef { id: "NonlinearShuntCompensatorPoint.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt (charging) susceptance per section." },
            AttrDef { id: "NonlinearShuntCompensatorPoint.b0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence shunt (charging) susceptance per section." },
            AttrDef { id: "NonlinearShuntCompensatorPoint.g", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence shunt (charging) conductance per section." },
            AttrDef { id: "NonlinearShuntCompensatorPoint.g0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence shunt (charging) conductance per section." },
            AttrDef { id: "NonlinearShuntCompensatorPoint.sectionNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The number of the section." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "NuclearGeneratingUnit",
        qualified: "NuclearGeneratingUnit",
        super_class: Some(169),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A nuclear generating unit.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OperationalLimit",
        qualified: "OperationalLimit",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ", "SSH"],
        comment: "A value and normal value associated with a specific kind of limit. The sub class value and normalValue attributes vary inversely to the associated OperationalLimitType.acceptableDuration (acceptableDuration for short). If a particular piece of equipment has multiple operational limits of the same kind (apparent power, current, etc.), the limit with the greatest acceptableDuration shall have the smallest limit value and the limit with the smallest acceptableDuration shall have the largest limit value. Note: A large current can only be allowed to flow through a piece of equipment for a short duration without causing damage, but a lesser current can be allowed to flow for a longer duration.",
        attrs: &[
            AttrDef { id: "OperationalLimit.OperationalLimitSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OperationalLimitSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The limit set to which the limit values belong." },
            AttrDef { id: "OperationalLimit.OperationalLimitType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OperationalLimitType", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The limit type associated with this limit." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OperationalLimitSet",
        qualified: "OperationalLimitSet",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "A set of limits associated with equipment. Sets of limits might apply to a specific temperature, or season for example. A set of limits may contain different severities of limit levels that would apply to the same equipment. The set may contain limits of different types such as apparent power and current limits or high and low voltage limits that are logically applied together as a set.",
        attrs: &[
            AttrDef { id: "OperationalLimitSet.Equipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Equipment", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The equipment to which the limit set applies." },
            AttrDef { id: "OperationalLimitSet.OperationalLimitValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OperationalLimit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Values of equipment limits." },
            AttrDef { id: "OperationalLimitSet.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACDCTerminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The terminal where the operational limit set apply." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OperationalLimitType",
        qualified: "OperationalLimitType",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "The operational meaning of a category of limits.",
        attrs: &[
            AttrDef { id: "OperationalLimitType.OperationalLimit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OperationalLimit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The operational limits associated with this type of limit." },
            AttrDef { id: "OperationalLimitType.acceptableDuration", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The nominal acceptable duration of the limit. Limits are commonly expressed in terms of the time limit for which the limit is normally acceptable. The actual acceptable duration of a specific limit may depend on other local factors such as temperature or wind speed. The attribute has meaning only if the flag isInfiniteDuration is set to false, hence it shall not be exchanged when isInfiniteDuration is set to true." },
            AttrDef { id: "OperationalLimitType.direction", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "OperationalLimitDirectionKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The direction of the limit." },
            AttrDef { id: "OperationalLimitType.isInfiniteDuration", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Defines if the operational limit type has infinite duration. If true, the limit has infinite duration. If false, the limit has definite duration which is defined by the attribute acceptableDuration." },
            AttrDef { id: "OperationalLimitType.kind", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "LimitKind", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Types of limits defined in the ENTSO-E Operational Handbook Policy 3." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OverexcLim2",
        qualified: "OverexcLim2",
        super_class: Some(255),
        concrete: true,
        origins: &["DY"],
        comment: "Different from LimIEEEOEL, LimOEL2 has a fixed pickup threshold and reduces the excitation set-point by means of a non-windup integral regulator. Irated is the rated machine excitation current (calculated from nameplate conditions: Vnom, Pnom, CosPhinom).",
        attrs: &[
            AttrDef { id: "OverexcLim2.ifdlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limit value of rated field current (IFDLIM). Typical value = 1,05." },
            AttrDef { id: "OverexcLim2.koi", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain Over excitation limiter (KOI). Typical value = 0,1." },
            AttrDef { id: "OverexcLim2.voimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum error signal (VOIMAX) (> OverexcLim2.voimin). Typical value = 0." },
            AttrDef { id: "OverexcLim2.voimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum error signal (VOIMIN) (< OverexcLim2.voimax). Typical value = -9999." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OverexcLimIEEE",
        qualified: "OverexcLimIEEE",
        super_class: Some(255),
        concrete: true,
        origins: &["DY"],
        comment: "The over excitation limiter model is intended to represent the significant features of OELs necessary for some large-scale system studies. It is the result of a pragmatic approach to obtain a model that can be widely applied with attainable data from generator owners. An attempt to include all variations in the functionality of OELs and duplicate how they interact with the rest of the excitation systems would likely result in a level of application insufficient for the studies for which they are intended. Reference: IEEE OEL 421.5-2005, 9.",
        attrs: &[
            AttrDef { id: "OverexcLimIEEE.hyst", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL pickup/drop-out hysteresis (HYST). Typical value = 0,03." },
            AttrDef { id: "OverexcLimIEEE.ifdlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL timed field current limit (IFDLIM). Typical value = 1,05." },
            AttrDef { id: "OverexcLimIEEE.ifdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL instantaneous field current limit (IFDMAX). Typical value = 1,5." },
            AttrDef { id: "OverexcLimIEEE.itfpu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL timed field current limiter pickup level (ITFPU). Typical value = 1,05." },
            AttrDef { id: "OverexcLimIEEE.kcd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL cooldown gain (KCD). Typical value = 1." },
            AttrDef { id: "OverexcLimIEEE.kramp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "OEL ramped limit rate (KRAMP). Unit = PU / s. Typical value = 10." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OverexcLimX1",
        qualified: "OverexcLimX1",
        super_class: Some(255),
        concrete: true,
        origins: &["DY"],
        comment: "Field voltage over excitation limiter.",
        attrs: &[
            AttrDef { id: "OverexcLimX1.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low voltage point on the inverse time characteristic (EFD1). Typical value = 1,1." },
            AttrDef { id: "OverexcLimX1.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Mid voltage point on the inverse time characteristic (EFD2). Typical value = 1,2." },
            AttrDef { id: "OverexcLimX1.efd3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High voltage point on the inverse time characteristic (EFD3). Typical value = 1,5." },
            AttrDef { id: "OverexcLimX1.efddes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Desired field voltage (EFDDES). Typical value = 0,9." },
            AttrDef { id: "OverexcLimX1.efdrated", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated field voltage (EFDRATED). Typical value = 1,05." },
            AttrDef { id: "OverexcLimX1.kmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KMX). Typical value = 0,01." },
            AttrDef { id: "OverexcLimX1.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to trip the exciter at the low voltage point on the inverse time characteristic (TIME1) (>= 0). Typical value = 120." },
            AttrDef { id: "OverexcLimX1.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to trip the exciter at the mid voltage point on the inverse time characteristic (TIME2) (>= 0). Typical value = 40." },
            AttrDef { id: "OverexcLimX1.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to trip the exciter at the high voltage point on the inverse time characteristic (TIME3) (>= 0). Typical value = 15." },
            AttrDef { id: "OverexcLimX1.vlow", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low voltage limit (VLOW) (> 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OverexcLimX2",
        qualified: "OverexcLimX2",
        super_class: Some(255),
        concrete: true,
        origins: &["DY"],
        comment: "Field voltage or current overexcitation limiter designed to protect the generator field of an AC machine with automatic excitation control from overheating due to prolonged overexcitation.",
        attrs: &[
            AttrDef { id: "OverexcLimX2.efd1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low voltage or current point on the inverse time characteristic (EFD1). Typical value = 1,1." },
            AttrDef { id: "OverexcLimX2.efd2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Mid voltage or current point on the inverse time characteristic (EFD2). Typical value = 1,2." },
            AttrDef { id: "OverexcLimX2.efd3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High voltage or current point on the inverse time characteristic (EFD3). Typical value = 1,5." },
            AttrDef { id: "OverexcLimX2.efddes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Desired field voltage if m = false or desired field current if m = true (EFDDES). Typical value = 1." },
            AttrDef { id: "OverexcLimX2.efdrated", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rated field voltage if m = false or rated field current if m = true (EFDRATED). Typical value = 1,05." },
            AttrDef { id: "OverexcLimX2.kmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (KMX). Typical value = 0,002." },
            AttrDef { id: "OverexcLimX2.m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "(m). true = IFD limiting false = EFD limiting." },
            AttrDef { id: "OverexcLimX2.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to trip the exciter at the low voltage or current point on the inverse time characteristic (TIME1) (>= 0). Typical value = 120." },
            AttrDef { id: "OverexcLimX2.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to trip the exciter at the mid voltage or current point on the inverse time characteristic (TIME2) (>= 0). Typical value = 40." },
            AttrDef { id: "OverexcLimX2.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time to trip the exciter at the high voltage or current point on the inverse time characteristic (TIME3) (>= 0). Typical value = 15." },
            AttrDef { id: "OverexcLimX2.vlow", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low voltage limit (VLOW) (> 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OverexcitationLimiterDynamics",
        qualified: "OverexcitationLimiterDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Overexcitation limiter function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "OverexcitationLimiterDynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this overexcitation limiter model is associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OverexcitationLimiterUserDefined",
        qualified: "OverexcitationLimiterUserDefined",
        super_class: Some(255),
        concrete: true,
        origins: &["DY"],
        comment: "Overexcitation limiter system function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "OverexcitationLimiterUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "OverexcitationLimiterUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArControllerType1Dynamics",
        qualified: "PFVArControllerType1Dynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Power factor or VAr controller type 1 function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "PFVArControllerType1Dynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this power actor or VAr controller type 1 model is associated." },
            AttrDef { id: "PFVArControllerType1Dynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by this power factor or VAr controller type 1 model." },
            AttrDef { id: "PFVArControllerType1Dynamics.VoltageAdjusterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageAdjusterDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Voltage adjuster model associated with this power factor or VAr controller type 1 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArControllerType1UserDefined",
        qualified: "PFVArControllerType1UserDefined",
        super_class: Some(257),
        concrete: true,
        origins: &["DY"],
        comment: "Power factor or VAr controller type 1 function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "PFVArControllerType1UserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "PFVArControllerType1UserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArControllerType2Dynamics",
        qualified: "PFVArControllerType2Dynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Power factor or VAr controller type 2 function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "PFVArControllerType2Dynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this power factor or VAr controller type 2 is associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArControllerType2UserDefined",
        qualified: "PFVArControllerType2UserDefined",
        super_class: Some(259),
        concrete: true,
        origins: &["DY"],
        comment: "Power factor or VAr controller type 2 function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "PFVArControllerType2UserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "PFVArControllerType2UserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArType1IEEEPFController",
        qualified: "PFVArType1IEEEPFController",
        super_class: Some(257),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE PF controller type 1 which operates by moving the voltage reference directly. Reference: IEEE 421.5-2005, 11.2.",
        attrs: &[
            AttrDef { id: "PFVArType1IEEEPFController.ovex", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Overexcitation Flag (OVEX) true = overexcited false = underexcited." },
            AttrDef { id: "PFVArType1IEEEPFController.tpfc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PF controller time delay (TPFC) (>= 0). Typical value = 5." },
            AttrDef { id: "PFVArType1IEEEPFController.vitmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum machine terminal current needed to enable pf/var controller (VITMIN)." },
            AttrDef { id: "PFVArType1IEEEPFController.vpf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Synchronous machine power factor (VPF)." },
            AttrDef { id: "PFVArType1IEEEPFController.vpfcbw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PF controller deadband (VPFC_BW). Typical value = 0,05." },
            AttrDef { id: "PFVArType1IEEEPFController.vpfref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PF controller reference (VPFREF)." },
            AttrDef { id: "PFVArType1IEEEPFController.vvtmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum machine terminal voltage needed for pf/var controller to be enabled (VVTMAX) (> PFVArType1IEEEPFController.vvtmin)." },
            AttrDef { id: "PFVArType1IEEEPFController.vvtmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum machine terminal voltage needed to enable pf/var controller (VVTMIN) (< PFVArType1IEEEPFController.vvtmax)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArType1IEEEVArController",
        qualified: "PFVArType1IEEEVArController",
        super_class: Some(257),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE VAR controller type 1 which operates by moving the voltage reference directly. Reference: IEEE 421.5-2005, 11.3.",
        attrs: &[
            AttrDef { id: "PFVArType1IEEEVArController.tvarc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Var controller time delay (TVARC) (>= 0). Typical value = 5." },
            AttrDef { id: "PFVArType1IEEEVArController.vvar", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Synchronous machine power factor (VVAR)." },
            AttrDef { id: "PFVArType1IEEEVArController.vvarcbw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Var controller deadband (VVARC_BW). Typical value = 0,02." },
            AttrDef { id: "PFVArType1IEEEVArController.vvarref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Var controller reference (VVARREF)." },
            AttrDef { id: "PFVArType1IEEEVArController.vvtmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum machine terminal voltage needed for pf/VAr controller to be enabled (VVTMAX) (> PVFArType1IEEEVArController.vvtmin)." },
            AttrDef { id: "PFVArType1IEEEVArController.vvtmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum machine terminal voltage needed to enable pf/var controller (VVTMIN) (< PVFArType1IEEEVArController.vvtmax)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArType2Common1",
        qualified: "PFVArType2Common1",
        super_class: Some(259),
        concrete: true,
        origins: &["DY"],
        comment: "Power factor / reactive power regulator. This model represents the power factor or reactive power controller such as the Basler SCP-250. The controller measures power factor or reactive power (PU on generator rated power) and compares it with the operator's set point. [Footnote: Basler SCP-250 is an example of a suitable product available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of this product.]",
        attrs: &[
            AttrDef { id: "PFVArType2Common1.j", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (J). true = control mode for reactive power false = control mode for power factor." },
            AttrDef { id: "PFVArType2Common1.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reset gain (Ki)." },
            AttrDef { id: "PFVArType2Common1.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain (Kp)." },
            AttrDef { id: "PFVArType2Common1.max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output limit (max)." },
            AttrDef { id: "PFVArType2Common1.ref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reference value of reactive power or power factor (Ref). The reference value is initialised by this model. This initialisation can override the value exchanged by this attribute to represent a plant operator's change of the reference setting." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArType2IEEEPFController",
        qualified: "PFVArType2IEEEPFController",
        super_class: Some(259),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE PF controller type 2 which is a summing point type controller making up the outside loop of a two-loop system. This controller is implemented as a slow PI type controller. The voltage regulator forms the inner loop and is implemented as a fast controller. Reference: IEEE 421.5-2005, 11.4.",
        attrs: &[
            AttrDef { id: "PFVArType2IEEEPFController.exlon", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Overexcitation or under excitation flag (EXLON) true = 1 (not in the overexcitation or underexcitation state, integral action is active) false = 0 (in the overexcitation or underexcitation state, so integral action is disabled to allow the limiter to play its role)." },
            AttrDef { id: "PFVArType2IEEEPFController.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain of the pf controller (KI). Typical value = 1." },
            AttrDef { id: "PFVArType2IEEEPFController.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain of the pf controller (KP). Typical value = 1." },
            AttrDef { id: "PFVArType2IEEEPFController.pfref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power factor reference (PFREF)." },
            AttrDef { id: "PFVArType2IEEEPFController.vclmt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum output of the pf controller (VCLMT). Typical value = 0,1." },
            AttrDef { id: "PFVArType2IEEEPFController.vref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator reference (VREF)." },
            AttrDef { id: "PFVArType2IEEEPFController.vs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Generator sensing voltage (VS)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PFVArType2IEEEVArController",
        qualified: "PFVArType2IEEEVArController",
        super_class: Some(259),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE VAR controller type 2 which is a summing point type controller. It makes up the outside loop of a two-loop system. This controller is implemented as a slow PI type controller, and the voltage regulator forms the inner loop and is implemented as a fast controller. Reference: IEEE 421.5-2005, 11.5.",
        attrs: &[
            AttrDef { id: "PFVArType2IEEEVArController.exlon", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Overexcitation or under excitation flag (EXLON) true = 1 (not in the overexcitation or underexcitation state, integral action is active) false = 0 (in the overexcitation or underexcitation state, so integral action is disabled to allow the limiter to play its role)." },
            AttrDef { id: "PFVArType2IEEEVArController.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain of the pf controller (KI)." },
            AttrDef { id: "PFVArType2IEEEVArController.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain of the pf controller (KP)." },
            AttrDef { id: "PFVArType2IEEEVArController.qref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power reference (QREF)." },
            AttrDef { id: "PFVArType2IEEEVArController.vclmt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum output of the pf controller (VCLMT)." },
            AttrDef { id: "PFVArType2IEEEVArController.vref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage regulator reference (VREF)." },
            AttrDef { id: "PFVArType2IEEEVArController.vs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Generator sensing voltage (VS)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PetersenCoil",
        qualified: "PetersenCoil",
        super_class: Some(92),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A variable impedance device normally used to offset line charging during single line faults in an ungrounded section of network.",
        attrs: &[
            AttrDef { id: "PetersenCoil.mode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "PetersenCoilModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SC"], comment: "The mode of operation of the Petersen coil." },
            AttrDef { id: "PetersenCoil.nominalU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The nominal voltage for which the coil is designed." },
            AttrDef { id: "PetersenCoil.offsetCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The offset current that the Petersen coil controller is operating from the resonant point. This is normally a fixed amount for which the controller is configured and could be positive or negative. Typically 0 to 60 A depending on voltage and resonance conditions." },
            AttrDef { id: "PetersenCoil.positionCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The control current used to control the Petersen coil also known as the position current. Typically in the range of 20 mA to 200 mA." },
            AttrDef { id: "PetersenCoil.xGroundMax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The maximum reactance." },
            AttrDef { id: "PetersenCoil.xGroundMin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The minimum reactance." },
            AttrDef { id: "PetersenCoil.xGroundNominal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The nominal reactance. This is the operating point (normally over compensation) that is defined based on the resonance point in the healthy network condition. The impedance is calculated based on nominal voltage divided by position current." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChanger",
        qualified: "PhaseTapChanger",
        super_class: Some(362),
        concrete: false,
        origins: &["EQ", "SSH"],
        comment: "A transformer phase shifting tap model that controls the phase angle difference across the power transformer and potentially the active power flow through the power transformer. This phase tap model may also impact the voltage magnitude.",
        attrs: &[
            AttrDef { id: "PhaseTapChanger.TransformerEnd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TransformerEnd", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Transformer end to which this phase tap changer belongs." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerAsymmetrical",
        qualified: "PhaseTapChangerAsymmetrical",
        super_class: Some(270),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Describes the tap model for an asymmetrical phase shifting transformer in which the difference voltage vector adds to the in-phase winding. The out-of-phase winding is the transformer end where the tap changer is located. The angle between the in-phase and out-of-phase windings is named the winding connection angle. The phase shift depends on both the difference voltage magnitude and the winding connection angle.",
        attrs: &[
            AttrDef { id: "PhaseTapChangerAsymmetrical.windingConnectionAngle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The phase angle between the in-phase winding and the out-of -phase winding used for creating phase shift. The out-of-phase winding produces what is known as the difference voltage. Setting this angle to 90 degrees is not the same as a symmetrical transformer. The attribute can only be multiples of 30 degrees. The allowed range is -150 degrees to 150 degrees excluding 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerLinear",
        qualified: "PhaseTapChangerLinear",
        super_class: Some(267),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Describes a tap changer with a linear relation between the tap step and the phase angle difference across the transformer. This is a mathematical model that is an approximation of a real phase tap changer. The phase angle is computed as stepPhaseShiftIncrement times the tap position. The voltage magnitude of both sides is the same.",
        attrs: &[
            AttrDef { id: "PhaseTapChangerLinear.stepPhaseShiftIncrement", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Phase shift per step position. A positive value indicates a positive angle variation from the Terminal at the PowerTransformerEnd, where the TapChanger is located, into the transformer. The actual phase shift increment might be more accurately computed from the symmetrical or asymmetrical models or a tap step table lookup if those are available." },
            AttrDef { id: "PhaseTapChangerLinear.xMax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The reactance depends on the tap position according to a 'u' shaped curve. The maximum reactance (xMax) appears at the low and high tap positions. Depending on the “u” curve the attribute can be either higher or lower than PowerTransformerEnd.x." },
            AttrDef { id: "PhaseTapChangerLinear.xMin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The reactance depends on the tap position according to a 'u' shaped curve. The minimum reactance (xMin) appears at the mid tap position. PowerTransformerEnd.x shall be consistent with PhaseTapChangerLinear.xMin and PhaseTapChangerNonLinear.xMin. In case of inconsistency, PowerTransformerEnd.x shall be used." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerNonLinear",
        qualified: "PhaseTapChangerNonLinear",
        super_class: Some(267),
        concrete: false,
        origins: &["EQ", "SSH"],
        comment: "The non-linear phase tap changer describes the non-linear behaviour of a phase tap changer. This is a base class for the symmetrical and asymmetrical phase tap changer models. The details of these models can be found in IEC 61970-301.",
        attrs: &[
            AttrDef { id: "PhaseTapChangerNonLinear.voltageStepIncrement", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The voltage step increment on the out of phase winding (the PowerTransformerEnd where the TapChanger is located) specified in percent of rated voltage of the PowerTransformerEnd. A positive value means a positive voltage variation from the Terminal at the PowerTransformerEnd, where the TapChanger is located, into the transformer. When the increment is negative, the voltage decreases when the tap step increases." },
            AttrDef { id: "PhaseTapChangerNonLinear.xMax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The reactance depends on the tap position according to a 'u' shaped curve. The maximum reactance (xMax) appears at the low and high tap positions. Depending on the “u” curve the attribute can be either higher or lower than PowerTransformerEnd.x." },
            AttrDef { id: "PhaseTapChangerNonLinear.xMin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The reactance depend on the tap position according to a 'u' shaped curve. The minimum reactance (xMin) appear at the mid tap position. PowerTransformerEnd.x shall be consistent with PhaseTapChangerLinear.xMin and PhaseTapChangerNonLinear.xMin. In case of inconsistency, PowerTransformerEnd.x shall be used." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerSymmetrical",
        qualified: "PhaseTapChangerSymmetrical",
        super_class: Some(270),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Describes a symmetrical phase shifting transformer tap model in which the voltage magnitude of both sides is the same. The difference voltage magnitude is the base in an equal-sided triangle where the sides corresponds to the primary and secondary voltages. The phase angle difference corresponds to the top angle and can be expressed as twice the arctangent of half the total difference voltage.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerTable",
        qualified: "PhaseTapChangerTable",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "Describes a tabular curve for how the phase angle difference and impedance varies with the tap step.",
        attrs: &[
            AttrDef { id: "PhaseTapChangerTable.PhaseTapChangerTablePoint", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PhaseTapChangerTablePoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The points of this table." },
            AttrDef { id: "PhaseTapChangerTable.PhaseTapChangerTabular", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PhaseTapChangerTabular", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The phase tap changers to which this phase tap table applies." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerTablePoint",
        qualified: "PhaseTapChangerTablePoint",
        super_class: Some(364),
        concrete: true,
        origins: &["EQ"],
        comment: "Describes each tap step in the phase tap changer tabular curve.",
        attrs: &[
            AttrDef { id: "PhaseTapChangerTablePoint.PhaseTapChangerTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PhaseTapChangerTable", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The table of this point." },
            AttrDef { id: "PhaseTapChangerTablePoint.angle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The angle difference in degrees. A positive value indicates a positive angle variation from the Terminal at the PowerTransformerEnd, where the TapChanger is located, into the transformer." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseTapChangerTabular",
        qualified: "PhaseTapChangerTabular",
        super_class: Some(267),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Describes a tap changer with a table defining the relation between the tap step and the phase angle difference across the transformer.",
        attrs: &[
            AttrDef { id: "PhaseTapChangerTabular.PhaseTapChangerTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PhaseTapChangerTable", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The phase tap changer table for this phase tap changer." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhotoVoltaicUnit",
        qualified: "PhotoVoltaicUnit",
        super_class: Some(280),
        concrete: true,
        origins: &["EQ"],
        comment: "A photovoltaic device or an aggregation of such devices.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PositionPoint",
        qualified: "PositionPoint",
        super_class: None,
        concrete: true,
        origins: &["GL"],
        comment: "Set of spatial coordinates that determine a point, defined in the coordinate system specified in 'Location.CoordinateSystem'. Use a single position point instance to describe a point-oriented location. Use a sequence of position points to describe a line-oriented object (physical location of non-point oriented objects like cables or lines), or area of an object (like a substation or a geographical zone - in this case, have first and last position point with the same values).",
        attrs: &[
            AttrDef { id: "PositionPoint.Location", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Location", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "Location described by this position point." },
            AttrDef { id: "PositionPoint.sequenceNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["GL"], comment: "Zero-relative sequence number of this point within a series of points." },
            AttrDef { id: "PositionPoint.xPosition", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "X axis position." },
            AttrDef { id: "PositionPoint.yPosition", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Y axis position." },
            AttrDef { id: "PositionPoint.zPosition", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "(if applicable) Z axis position." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PostLineSensor",
        qualified: "PostLineSensor",
        super_class: Some(326),
        concrete: true,
        origins: &["EQ"],
        comment: "A sensor used mainly in overhead distribution networks as the source of both current and voltage measurements.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PotentialTransformer",
        qualified: "PotentialTransformer",
        super_class: Some(326),
        concrete: true,
        origins: &["EQ"],
        comment: "Instrument transformer (also known as Voltage Transformer) used to measure electrical qualities of the circuit that is being protected and/or monitored. Typically used as voltage transducer for the purpose of metering, protection, or sometimes auxiliary substation supply. A typical secondary voltage rating would be 120V.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerElectronicsConnection",
        qualified: "PowerElectronicsConnection",
        super_class: Some(315),
        concrete: true,
        origins: &["EQ", "DY", "SSH"],
        comment: "A connection to the AC network for energy production or consumption that uses power electronics rather than rotating machines.",
        attrs: &[
            AttrDef { id: "PowerElectronicsConnection.PowerElectronicsUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerElectronicsUnit", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "An AC network connection may have several power electronics units connecting through it." },
            AttrDef { id: "PowerElectronicsConnection.WindTurbineType3or4Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4Dynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind turbine type 3 or type 4 dynamics model associated with this power electronics connection." },
            AttrDef { id: "PowerElectronicsConnection.maxQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum reactive power limit. This is the maximum (nameplate) limit for the unit." },
            AttrDef { id: "PowerElectronicsConnection.minQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum reactive power limit for the unit. This is the minimum (nameplate) limit for the unit." },
            AttrDef { id: "PowerElectronicsConnection.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Active power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution." },
            AttrDef { id: "PowerElectronicsConnection.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution." },
            AttrDef { id: "PowerElectronicsConnection.ratedS", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Nameplate apparent power rating for the unit. The attribute shall have a positive value." },
            AttrDef { id: "PowerElectronicsConnection.ratedU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Rated voltage (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909. The attribute shall be a positive value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerElectronicsUnit",
        qualified: "PowerElectronicsUnit",
        super_class: Some(98),
        concrete: false,
        origins: &["EQ", "SSH"],
        comment: "A generating unit or battery or aggregation that connects to the AC network using power electronics rather than rotating machines.",
        attrs: &[
            AttrDef { id: "PowerElectronicsUnit.PowerElectronicsConnection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerElectronicsConnection", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A power electronics unit has a connection to the AC network." },
            AttrDef { id: "PowerElectronicsUnit.maxP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum active power limit. This is the maximum (nameplate) limit for the unit." },
            AttrDef { id: "PowerElectronicsUnit.minP", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum active power limit. This is the minimum (nameplate) limit for the unit." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerElectronicsWindUnit",
        qualified: "PowerElectronicsWindUnit",
        super_class: Some(280),
        concrete: true,
        origins: &["EQ"],
        comment: "A wind generating unit that connects to the AC network with power electronics rather than rotating machines or an aggregation of such units.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerSystemResource",
        qualified: "PowerSystemResource",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ", "DY", "EQBD", "GL", "OP", "SC", "SSH"],
        comment: "A power system resource (PSR) can be an item of equipment such as a switch, an equipment container containing many individual items of equipment such as a substation, or an organisational entity such as sub-control area. Power system resources can have measurements associated.",
        attrs: &[
            AttrDef { id: "PowerSystemResource.Controls", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Control", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The controller outputs used to actually govern a regulating device, e.g. the magnetization of a synchronous machine or capacitor bank breaker actuator." },
            AttrDef { id: "PowerSystemResource.Location", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Location", is_list: false, used: false, xsd: "", value_ns: "", origins: &["GL"], comment: "Location of this power system resource." },
            AttrDef { id: "PowerSystemResource.Measurements", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Measurement", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The measurements associated with this power system resource." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerSystemStabilizerDynamics",
        qualified: "PowerSystemStabilizerDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Power system stabilizer function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "PowerSystemStabilizerDynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this power system stabilizer model is associated." },
            AttrDef { id: "PowerSystemStabilizerDynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by this power system stabilizer model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerSystemStabilizerUserDefined",
        qualified: "PowerSystemStabilizerUserDefined",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Power system stabilizer function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "PowerSystemStabilizerUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "PowerSystemStabilizerUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerTransformer",
        qualified: "PowerTransformer",
        super_class: Some(37),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "An electrical device consisting of two or more coupled windings, with or without a magnetic core, for introducing mutual coupling between electric circuits. Transformers can be used to control voltage and phase shift (active power flow). A power transformer may be composed of separate transformer tanks that need not be identical. A power transformer can be modelled with or without tanks and is intended for use in both balanced and unbalanced representations. A power transformer typically has two terminals, but may have one (grounding), three or more terminals. The inherited association ConductingEquipment.BaseVoltage should not be used. The association from TransformerEnd to BaseVoltage should be used instead.",
        attrs: &[
            AttrDef { id: "PowerTransformer.PowerTransformerEnd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerTransformerEnd", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The ends of this power transformer." },
            AttrDef { id: "PowerTransformer.beforeShCircuitHighestOperatingCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The highest operating current (Ib in IEC 60909-0) before short circuit (depends on network configuration and relevant reliability philosophy). It is used for calculation of the impedance correction factor KT defined in IEC 60909-0." },
            AttrDef { id: "PowerTransformer.beforeShCircuitHighestOperatingVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The highest operating voltage (Ub in IEC 60909-0) before short circuit. It is used for calculation of the impedance correction factor KT defined in IEC 60909-0. This is worst case voltage on the low side winding (3.7.1 of IEC 60909:2001). Used to define operating conditions." },
            AttrDef { id: "PowerTransformer.beforeShortCircuitAnglePf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The angle of power factor before short circuit (phib in IEC 60909-0). It is used for calculation of the impedance correction factor KT defined in IEC 60909-0. This is the worst case power factor. Used to define operating conditions." },
            AttrDef { id: "PowerTransformer.highSideMinOperatingU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The minimum operating voltage (uQmin in IEC 60909-0) at the high voltage side (Q side) of the unit transformer of the power station unit. A value well established from long-term operating experience of the system. It is used for calculation of the impedance correction factor KG defined in IEC 60909-0." },
            AttrDef { id: "PowerTransformer.isPartOfGeneratorUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "Indicates whether the machine is part of a power station unit. Used for short circuit data exchange according to IEC 60909. It has an impact on how the correction factors are calculated for transformers, since the transformer is not necessarily part of a synchronous machine and generating unit. It is not always possible to derive this information from the model. This is why the attribute is necessary." },
            AttrDef { id: "PowerTransformer.operationalValuesConsidered", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "It is used to define if the data (other attributes related to short circuit data exchange) defines long term operational conditions or not. Used for short circuit data exchange according to IEC 60909." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PowerTransformerEnd",
        qualified: "PowerTransformerEnd",
        super_class: Some(373),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A PowerTransformerEnd is associated with each Terminal of a PowerTransformer. The impedance values r, r0, x, and x0 of a PowerTransformerEnd represents a star equivalent as follows. 1) for a two Terminal PowerTransformer the high voltage (TransformerEnd.endNumber=1) PowerTransformerEnd has non zero values on r, r0, x, and x0 while the low voltage (TransformerEnd.endNumber=2) PowerTransformerEnd has zero values for r, r0, x, and x0. Parameters are always provided, even if the PowerTransformerEnds have the same rated voltage. In this case, the parameters are provided at the PowerTransformerEnd which has TransformerEnd.endNumber equal to 1. 2) for a three Terminal PowerTransformer the three PowerTransformerEnds represent a star equivalent with each leg in the star represented by r, r0, x, and x0 values. 3) For a three Terminal transformer each PowerTransformerEnd shall have g, g0, b and b0 values corresponding to the no load losses distributed on the three PowerTransformerEnds. The total no load loss shunt impedances may also be placed at one of the PowerTransformerEnds, preferably the end numbered 1, having the shunt values on end 1. This is the preferred way. 4) for a PowerTransformer with more than three Terminals the PowerTransformerEnd impedance values cannot be used. Instead use the TransformerMeshImpedance or split the transformer into multiple PowerTransformers. Each PowerTransformerEnd must be contained by a PowerTransformer. Because a PowerTransformerEnd (or any other object) can not be contained by more than one parent, a PowerTransformerEnd can not have an association to an EquipmentContainer (Substation, VoltageLevel, etc).",
        attrs: &[
            AttrDef { id: "PowerTransformerEnd.PowerTransformer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerTransformer", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The power transformer of this power transformer end." },
            AttrDef { id: "PowerTransformerEnd.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Magnetizing branch susceptance (B mag). The value can be positive or negative." },
            AttrDef { id: "PowerTransformerEnd.b0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Susceptance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence magnetizing branch susceptance." },
            AttrDef { id: "PowerTransformerEnd.connectionKind", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "WindingConnection", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Kind of connection." },
            AttrDef { id: "PowerTransformerEnd.g", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Magnetizing branch conductance." },
            AttrDef { id: "PowerTransformerEnd.g0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Conductance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence magnetizing branch conductance (star-model)." },
            AttrDef { id: "PowerTransformerEnd.phaseAngleClock", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["SC"], comment: "Terminal voltage phase angle displacement where 360 degrees are represented with clock hours. The valid values are 0 to 11. For example, for the secondary side end of a transformer with vector group code of 'Dyn11', specify the connection kind as wye with neutral and specify the phase angle of the clock as 11. The clock value of the transformer end number specified as 1, is assumed to be zero. Note the transformer end number is not assumed to be the same as the terminal sequence number." },
            AttrDef { id: "PowerTransformerEnd.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Resistance (star-model) of the transformer end. The attribute shall be equal to or greater than zero for non-equivalent transformers." },
            AttrDef { id: "PowerTransformerEnd.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series resistance (star-model) of the transformer end." },
            AttrDef { id: "PowerTransformerEnd.ratedS", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Normal apparent power rating. The attribute shall be a positive value. For a two-winding transformer the values for the high and low voltage sides shall be identical." },
            AttrDef { id: "PowerTransformerEnd.ratedU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Rated voltage: phase-phase for three-phase windings, and either phase-phase or phase-neutral for single-phase windings. A high voltage side, as given by TransformerEnd.endNumber, shall have a ratedU that is greater than or equal to ratedU for the lower voltage sides. The attribute shall be a positive value." },
            AttrDef { id: "PowerTransformerEnd.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence series reactance (star-model) of the transformer end." },
            AttrDef { id: "PowerTransformerEnd.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence series reactance of the transformer end." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ProprietaryParameterDynamics",
        qualified: "ProprietaryParameterDynamics",
        super_class: None,
        concrete: true,
        origins: &["DY"],
        comment: "Supports definition of one or more parameters of several different datatypes for use by proprietary user-defined models. This class does not inherit from IdentifiedObject since it is not intended that a single instance of it be referenced by more than one proprietary user-defined model instance.",
        attrs: &[
            AttrDef { id: "ProprietaryParameterDynamics.AsynchronousMachineUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AsynchronousMachineUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.CSCUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CSCUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.DiscontinuousExcitationControlUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiscontinuousExcitationControlUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.ExcitationSystemUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.LoadUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.MechanicalLoadUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MechanicalLoadUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.OverexcitationLimiterUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "OverexcitationLimiterUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.PFVArControllerType1UserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PFVArControllerType1UserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.PFVArControllerType2UserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PFVArControllerType2UserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.PowerSystemStabilizerUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerSystemStabilizerUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.SVCUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SVCUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.SynchronousMachineUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.TurbineGovernorUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TurbineGovernorUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.TurbineLoadControllerUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TurbineLoadControllerUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.UnderexcitationLimiterUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "UnderexcitationLimiterUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.VSCUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VSCUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.VoltageAdjusterUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageAdjusterUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.VoltageCompensatorUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageCompensatorUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.WindPlantUserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantUserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.WindType1or2UserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindType1or2UserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.WindType3or4UserDefined", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindType3or4UserDefined", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Proprietary user-defined model with which this parameter is associated." },
            AttrDef { id: "ProprietaryParameterDynamics.booleanParameterValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Boolean parameter value. If this attribute is populated, integerParameterValue and floatParameterValue will not be." },
            AttrDef { id: "ProprietaryParameterDynamics.floatParameterValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Floating point parameter value. If this attribute is populated, booleanParameterValue and integerParameterValue will not be." },
            AttrDef { id: "ProprietaryParameterDynamics.integerParameterValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Integer parameter value. If this attribute is populated, booleanParameterValue and floatParameterValue will not be." },
            AttrDef { id: "ProprietaryParameterDynamics.parameterNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Sequence number of the parameter among the set of parameters associated with the related proprietary user-defined model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ProtectedSwitch",
        qualified: "ProtectedSwitch",
        super_class: Some(353),
        concrete: false,
        origins: &["EQ", "SSH"],
        comment: "A ProtectedSwitch is a switching device that can be operated by ProtectionEquipment.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Pss1",
        qualified: "Pss1",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Italian PSS with three inputs (speed, frequency, power).",
        attrs: &[
            AttrDef { id: "Pss1.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency power input gain (KF). Typical value = 5." },
            AttrDef { id: "Pss1.komega", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Shaft speed power input gain (Komega). Typical value = 0." },
            AttrDef { id: "Pss1.kpe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electric power input gain (KPE). Typical value = 0,3." },
            AttrDef { id: "Pss1.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS gain (Ks). Typical value = 1." },
            AttrDef { id: "Pss1.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum power PSS enabling (Pmin). Typical value = 0,25." },
            AttrDef { id: "Pss1.t10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T10) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss1.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout (T5) (>= 0). Typical value = 3,5." },
            AttrDef { id: "Pss1.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant (T6) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss1.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T7) (>= 0). If = 0, both blocks are bypassed. Typical value = 0." },
            AttrDef { id: "Pss1.t8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T8) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss1.t9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T9) (>= 0). If = 0, both blocks are bypassed. Typical value = 0." },
            AttrDef { id: "Pss1.tpe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electric power filter time constant (TPE) (>= 0). Typical value = 0,05." },
            AttrDef { id: "Pss1.vadat", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Signal selector (VADAT). true = closed (generator power is greater than Pmin) false = open (Pe is smaller than Pmin). Typical value = true." },
            AttrDef { id: "Pss1.vsmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output maximum limit (VSMN). Typical value = -0,06." },
            AttrDef { id: "Pss1.vsmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output minimum limit (VSMX). Typical value = 0,06." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Pss1A",
        qualified: "Pss1A",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Single input power system stabilizer. It is a modified version in order to allow representation of various vendors' implementations on PSS type 1A.",
        attrs: &[
            AttrDef { id: "Pss1A.a1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A1)." },
            AttrDef { id: "Pss1A.a2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A2)." },
            AttrDef { id: "Pss1A.a3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A3)." },
            AttrDef { id: "Pss1A.a4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A4)." },
            AttrDef { id: "Pss1A.a5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A5)." },
            AttrDef { id: "Pss1A.a6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A6)." },
            AttrDef { id: "Pss1A.a7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A7)." },
            AttrDef { id: "Pss1A.a8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A8)." },
            AttrDef { id: "Pss1A.inputSignalType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal (rotorAngularFrequencyDeviation, busFrequencyDeviation, generatorElectricalPower, generatorAcceleratingPower, busVoltage, or busVoltageDerivative)." },
            AttrDef { id: "Pss1A.kd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector (Kd). true = e-sTdelay used false = e-sTdelay not used." },
            AttrDef { id: "Pss1A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer gain (Ks)." },
            AttrDef { id: "Pss1A.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T1) (>= 0)." },
            AttrDef { id: "Pss1A.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T2) (>= 0)." },
            AttrDef { id: "Pss1A.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T3) (>= 0)." },
            AttrDef { id: "Pss1A.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T4) (>= 0)." },
            AttrDef { id: "Pss1A.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (T5) (>= 0)." },
            AttrDef { id: "Pss1A.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transducer time constant (T6) (>= 0)." },
            AttrDef { id: "Pss1A.tdelay", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tdelay) (>= 0)." },
            AttrDef { id: "Pss1A.vcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer input cutoff threshold (Vcl)." },
            AttrDef { id: "Pss1A.vcu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer input cutoff threshold (Vcu)." },
            AttrDef { id: "Pss1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum stabilizer output (Vrmax) (> Pss1A.vrmin)." },
            AttrDef { id: "Pss1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum stabilizer output (Vrmin) (< Pss1A.vrmax)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Pss2B",
        qualified: "Pss2B",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Modified IEEE PSS2B. Extra lead/lag (or rate) block added at end (up to 4 lead/lags total).",
        attrs: &[
            AttrDef { id: "Pss2B.a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Numerator constant (a). Typical value = 1." },
            AttrDef { id: "Pss2B.ks1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer gain (Ks1). Typical value = 12." },
            AttrDef { id: "Pss2B.ks2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal #2 (Ks2). Typical value = 0,2." },
            AttrDef { id: "Pss2B.ks3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal #2 input before ramp-tracking filter (Ks3). Typical value = 1." },
            AttrDef { id: "Pss2B.ks4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal #2 input after ramp-tracking filter (Ks4). Typical value = 1." },
            AttrDef { id: "Pss2B.m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Denominator order of ramp tracking filter (m). Typical value = 5." },
            AttrDef { id: "Pss2B.n", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Order of ramp tracking filter (n). Typical value = 1." },
            AttrDef { id: "Pss2B.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T1) (>= 0). Typical value = 0,12." },
            AttrDef { id: "Pss2B.t10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T10) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss2B.t11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T11) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss2B.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T2) (>= 0). Typical value = 0,02." },
            AttrDef { id: "Pss2B.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T3) (>= 0). Typical value = 0,3." },
            AttrDef { id: "Pss2B.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T4) (>= 0). Typical value = 0,02." },
            AttrDef { id: "Pss2B.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant on signal #1 (T6) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss2B.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant on signal #2 (T7) (>= 0). Typical value = 2." },
            AttrDef { id: "Pss2B.t8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead of ramp tracking filter (T8) (>= 0). Typical value = 0,2." },
            AttrDef { id: "Pss2B.t9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag of ramp tracking filter (T9) (>= 0). Typical value = 0,1." },
            AttrDef { id: "Pss2B.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead constant (Ta) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss2B.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (Tb) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss2B.tw1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First washout on signal #1 (Tw1) (>= 0). Typical value = 2." },
            AttrDef { id: "Pss2B.tw2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second washout on signal #1 (Tw2) (>= 0). Typical value = 2." },
            AttrDef { id: "Pss2B.tw3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First washout on signal #2 (Tw3) (>= 0). Typical value = 2." },
            AttrDef { id: "Pss2B.tw4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second washout on signal #2 (Tw4) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss2B.vsi1max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #1 maximum limit (Vsi1max) (> Pss2B.vsi1min). Typical value = 2." },
            AttrDef { id: "Pss2B.vsi1min", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #1 minimum limit (Vsi1min) (< Pss2B.vsi1max). Typical value = -2." },
            AttrDef { id: "Pss2B.vsi2max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #2 maximum limit (Vsi2max) (> Pss2B.vsi2min). Typical value = 2." },
            AttrDef { id: "Pss2B.vsi2min", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #2 minimum limit (Vsi2min) (< Pss2B.vsi2max). Typical value = -2." },
            AttrDef { id: "Pss2B.vstmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output maximum limit (Vstmax) (> Pss2B.vstmin). Typical value = 0,1." },
            AttrDef { id: "Pss2B.vstmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output minimum limit (Vstmin) (< Pss2B.vstmax). Typical value = -0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Pss2ST",
        qualified: "Pss2ST",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "PTI microprocessor-based stabilizer type 1.",
        attrs: &[
            AttrDef { id: "Pss2ST.inputSignal1Type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal #1 (rotorAngularFrequencyDeviation, busFrequencyDeviation, generatorElectricalPower, generatorAcceleratingPower, busVoltage, or busVoltageDerivative - shall be different than Pss2ST.inputSignal2Type). Typical value = rotorAngularFrequencyDeviation." },
            AttrDef { id: "Pss2ST.inputSignal2Type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal #2 (rotorAngularFrequencyDeviation, busFrequencyDeviation, generatorElectricalPower, generatorAcceleratingPower, busVoltage, or busVoltageDerivative - shall be different than Pss2ST.inputSignal1Type). Typical value = busVoltageDerivative." },
            AttrDef { id: "Pss2ST.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K1)." },
            AttrDef { id: "Pss2ST.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K2)." },
            AttrDef { id: "Pss2ST.lsmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (LSMAX) (> Pss2ST.lsmin)." },
            AttrDef { id: "Pss2ST.lsmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (LSMIN) (< Pss2ST.lsmax)." },
            AttrDef { id: "Pss2ST.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T1) (>= 0)." },
            AttrDef { id: "Pss2ST.t10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T10) (>= 0)." },
            AttrDef { id: "Pss2ST.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T2) (>= 0)." },
            AttrDef { id: "Pss2ST.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T3) (>= 0)." },
            AttrDef { id: "Pss2ST.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T4) (>= 0)." },
            AttrDef { id: "Pss2ST.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T5) (>= 0)." },
            AttrDef { id: "Pss2ST.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T6) (>= 0)." },
            AttrDef { id: "Pss2ST.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T7) (>= 0)." },
            AttrDef { id: "Pss2ST.t8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T8) (>= 0)." },
            AttrDef { id: "Pss2ST.t9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T9) (>= 0)." },
            AttrDef { id: "Pss2ST.vcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Cutoff limiter (VCL)." },
            AttrDef { id: "Pss2ST.vcu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Cutoff limiter (VCU)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Pss5",
        qualified: "Pss5",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Detailed Italian PSS.",
        attrs: &[
            AttrDef { id: "Pss5.ctw2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector for second washout enabling (CTW2). true = second washout filter is bypassed false = second washout filter in use. Typical value = true." },
            AttrDef { id: "Pss5.deadband", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output deadband (DEADBAND). Typical value = 0." },
            AttrDef { id: "Pss5.isfreq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Selector for frequency/shaft speed input (isFreq). true = speed (same meaning as InputSignaKind.rotorSpeed) false = frequency (same meaning as InputSignalKind.busFrequency). Typical value = true (same meaning as InputSignalKind.rotorSpeed)." },
            AttrDef { id: "Pss5.kf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency/shaft speed input gain (KF). Typical value = 5." },
            AttrDef { id: "Pss5.kpe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electric power input gain (KPE). Typical value = 0,3." },
            AttrDef { id: "Pss5.kpss", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS gain (KPSS). Typical value = 1." },
            AttrDef { id: "Pss5.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum power PSS enabling (Pmin). Typical value = 0,25." },
            AttrDef { id: "Pss5.tl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (TL1) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss5.tl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (TL2) (>= 0). If = 0, both blocks are bypassed. Typical value = 0." },
            AttrDef { id: "Pss5.tl3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (TL3) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss5.tl4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (TL4) (>= 0). If = 0, both blocks are bypassed. Typical value = 0." },
            AttrDef { id: "Pss5.tpe", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electric power filter time constant (TPE) (>= 0). Typical value = 0,05." },
            AttrDef { id: "Pss5.tw1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First washout (TW1) (>= 0). Typical value = 3,5." },
            AttrDef { id: "Pss5.tw2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second washout (TW2) (>= 0). Typical value = 0." },
            AttrDef { id: "Pss5.vadat", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Signal selector (VadAtt). true = closed (generator power is greater than Pmin) false = open (Pe is smaller than Pmin). Typical value = true." },
            AttrDef { id: "Pss5.vsmn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output maximum limit (VSMN). Typical value = -0,1." },
            AttrDef { id: "Pss5.vsmx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output minimum limit (VSMX). Typical value = 0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssELIN2",
        qualified: "PssELIN2",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Power system stabilizer typically associated with ExcELIN2 (though PssIEEE2B or Pss2B can also be used).",
        attrs: &[
            AttrDef { id: "PssELIN2.apss", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient (a_PSS). Typical value = 0,1." },
            AttrDef { id: "PssELIN2.ks1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Ks1). Typical value = 1." },
            AttrDef { id: "PssELIN2.ks2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Ks2). Typical value = 0,1." },
            AttrDef { id: "PssELIN2.ppss", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient (p_PSS) (>= 0 and <= 4). Typical value = 0,1." },
            AttrDef { id: "PssELIN2.psslim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS limiter (psslim). Typical value = 0,1." },
            AttrDef { id: "PssELIN2.ts1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ts1) (>= 0). Typical value = 0." },
            AttrDef { id: "PssELIN2.ts2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ts2) (>= 0). Typical value = 1." },
            AttrDef { id: "PssELIN2.ts3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ts3) (>= 0). Typical value = 1." },
            AttrDef { id: "PssELIN2.ts4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ts4) (>= 0). Typical value = 0,1." },
            AttrDef { id: "PssELIN2.ts5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ts5) (>= 0). Typical value = 0." },
            AttrDef { id: "PssELIN2.ts6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ts6) (>= 0). Typical value = 1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssIEEE1A",
        qualified: "PssIEEE1A",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type PSS1A power system stabilizer model. PSS1A is the generalized form of a PSS with a single input signal. Reference: IEEE 1A 421.5-2005, 8.1.",
        attrs: &[
            AttrDef { id: "PssIEEE1A.a1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS signal conditioning frequency filter constant (A1). Typical value = 0,061." },
            AttrDef { id: "PssIEEE1A.a2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS signal conditioning frequency filter constant (A2). Typical value = 0,0017." },
            AttrDef { id: "PssIEEE1A.inputSignalType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal (rotorAngularFrequencyDeviation, generatorElectricalPower, or busFrequencyDeviation). Typical value = rotorAngularFrequencyDeviation." },
            AttrDef { id: "PssIEEE1A.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer gain (Ks). Typical value = 5." },
            AttrDef { id: "PssIEEE1A.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T1) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssIEEE1A.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T2) (>= 0). Typical value = 0,03." },
            AttrDef { id: "PssIEEE1A.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T3) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssIEEE1A.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T4) (>= 0). Typical value = 0,03." },
            AttrDef { id: "PssIEEE1A.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (T5) (>= 0). Typical value = 10." },
            AttrDef { id: "PssIEEE1A.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transducer time constant (T6) (>= 0). Typical value = 0,01." },
            AttrDef { id: "PssIEEE1A.vrmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum stabilizer output (Vrmax) (> PssIEEE1A.vrmin). Typical value = 0,05." },
            AttrDef { id: "PssIEEE1A.vrmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum stabilizer output (Vrmin) (< PssIEEE1A.vrmax). Typical value = -0,05." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssIEEE2B",
        qualified: "PssIEEE2B",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type PSS2B power system stabilizer model. This stabilizer model is designed to represent a variety of dual-input stabilizers, which normally use combinations of power and speed or frequency to derive the stabilizing signal. Reference: IEEE 2B 421.5-2005, 8.2.",
        attrs: &[
            AttrDef { id: "PssIEEE2B.inputSignal1Type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal #1 (rotorAngularFrequencyDeviation, busFrequencyDeviation). Typical value = rotorAngularFrequencyDeviation." },
            AttrDef { id: "PssIEEE2B.inputSignal2Type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal #2 (generatorElectricalPower). Typical value = generatorElectricalPower." },
            AttrDef { id: "PssIEEE2B.ks1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer gain (Ks1). Typical value = 12." },
            AttrDef { id: "PssIEEE2B.ks2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal #2 (Ks2). Typical value = 0,2." },
            AttrDef { id: "PssIEEE2B.ks3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal #2 input before ramp-tracking filter (Ks3). Typical value = 1." },
            AttrDef { id: "PssIEEE2B.m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Denominator order of ramp tracking filter (M). Typical value = 5." },
            AttrDef { id: "PssIEEE2B.n", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Order of ramp tracking filter (N). Typical value = 1." },
            AttrDef { id: "PssIEEE2B.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T1) (>= 0). Typical value = 0,12." },
            AttrDef { id: "PssIEEE2B.t10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T10) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE2B.t11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T11) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE2B.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T2) (>= 0). Typical value = 0,02." },
            AttrDef { id: "PssIEEE2B.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T3) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssIEEE2B.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead/lag time constant (T4) (>= 0). Typical value = 0,02." },
            AttrDef { id: "PssIEEE2B.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant on signal #1 (T6) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE2B.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant on signal #2 (T7) (>= 0). Typical value = 2." },
            AttrDef { id: "PssIEEE2B.t8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead of ramp tracking filter (T8) (>= 0). Typical value = 0,2." },
            AttrDef { id: "PssIEEE2B.t9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag of ramp tracking filter (T9) (>= 0). Typical value = 0,1." },
            AttrDef { id: "PssIEEE2B.tw1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First washout on signal #1 (Tw1) (>= 0). Typical value = 2." },
            AttrDef { id: "PssIEEE2B.tw2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second washout on signal #1 (Tw2) (>= 0). Typical value = 2." },
            AttrDef { id: "PssIEEE2B.tw3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "First washout on signal #2 (Tw3) (>= 0). Typical value = 2." },
            AttrDef { id: "PssIEEE2B.tw4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Second washout on signal #2 (Tw4) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE2B.vsi1max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #1 maximum limit (Vsi1max) (> PssIEEE2B.vsi1min). Typical value = 2." },
            AttrDef { id: "PssIEEE2B.vsi1min", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #1 minimum limit (Vsi1min) (< PssIEEE2B.vsi1max). Typical value = -2." },
            AttrDef { id: "PssIEEE2B.vsi2max", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #2 maximum limit (Vsi2max) (> PssIEEE2B.vsi2min). Typical value = 2." },
            AttrDef { id: "PssIEEE2B.vsi2min", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal #2 minimum limit (Vsi2min) (< PssIEEE2B.vsi2max). Typical value = -2." },
            AttrDef { id: "PssIEEE2B.vstmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output maximum limit (Vstmax) (> PssIEEE2B.vstmin). Typical value = 0,1." },
            AttrDef { id: "PssIEEE2B.vstmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output minimum limit (Vstmin) (< PssIEEE2B.vstmax). Typical value = -0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssIEEE3B",
        qualified: "PssIEEE3B",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type PSS3B power system stabilizer model. The PSS model PSS3B has dual inputs of electrical power and rotor angular frequency deviation. The signals are used to derive an equivalent mechanical power signal. This model has 2 input signals. They have the following fixed types (expressed in terms of InputSignalKind values): the first one is of rotorAngleFrequencyDeviation type and the second one is of generatorElectricalPower type. Reference: IEEE 3B 421.5-2005, 8.3.",
        attrs: &[
            AttrDef { id: "PssIEEE3B.a1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A1). Typical value = 0,359." },
            AttrDef { id: "PssIEEE3B.a2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A2). Typical value = 0,586." },
            AttrDef { id: "PssIEEE3B.a3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A3). Typical value = 0,429." },
            AttrDef { id: "PssIEEE3B.a4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A4). Typical value = 0,564." },
            AttrDef { id: "PssIEEE3B.a5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A5). Typical value = 0,001." },
            AttrDef { id: "PssIEEE3B.a6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A6). Typical value = 0." },
            AttrDef { id: "PssIEEE3B.a7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A7). Typical value = 0,031." },
            AttrDef { id: "PssIEEE3B.a8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter parameter (A8). Typical value = 0." },
            AttrDef { id: "PssIEEE3B.ks1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal # 1 (Ks1). Typical value = -0,602." },
            AttrDef { id: "PssIEEE3B.ks2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain on signal # 2 (Ks2). Typical value = 30,12." },
            AttrDef { id: "PssIEEE3B.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transducer time constant (T1) (>= 0). Typical value = 0,012." },
            AttrDef { id: "PssIEEE3B.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Transducer time constant (T2) (>= 0). Typical value = 0,012." },
            AttrDef { id: "PssIEEE3B.tw1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tw1) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssIEEE3B.tw2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tw2) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssIEEE3B.tw3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Washout time constant (Tw3) (>= 0). Typical value = 0,6." },
            AttrDef { id: "PssIEEE3B.vstmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output maximum limit (Vstmax) (> PssIEEE3B.vstmin). Typical value = 0,1." },
            AttrDef { id: "PssIEEE3B.vstmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output minimum limit (Vstmin) (< PssIEEE3B.vstmax). Typical value = -0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssIEEE4B",
        qualified: "PssIEEE4B",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE 421.5-2005 type PSS4B power system stabilizer. The PSS4B model represents a structure based on multiple working frequency bands. Three separate bands, respectively dedicated to the low-, intermediate- and high-frequency modes of oscillations, are used in this delta omega (speed input) PSS. There is an error in the in IEEE 421.5-2005 PSS4B model: the Pe input should read -Pe. This implies that the input Pe needs to be multiplied by -1. Reference: IEEE 4B 421.5-2005, 8.4. Parameter details: This model has 2 input signals. They have the following fixed types (expressed in terms of InputSignalKind values): the first one is of rotorAngleFrequencyDeviation type and the second one is of generatorElectricalPower type.",
        attrs: &[
            AttrDef { id: "PssIEEE4B.bwh1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 1 (high-frequency band): three dB bandwidth (Bwi)." },
            AttrDef { id: "PssIEEE4B.bwh2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 2 (high-frequency band): three dB bandwidth (Bwi)." },
            AttrDef { id: "PssIEEE4B.bwl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 1 (low-frequency band): three dB bandwidth (Bwi)." },
            AttrDef { id: "PssIEEE4B.bwl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 2 (low-frequency band): three dB bandwidth (Bwi)." },
            AttrDef { id: "PssIEEE4B.kh", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band gain (KH). Typical value = 120." },
            AttrDef { id: "PssIEEE4B.kh1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band differential filter gain (KH1). Typical value = 66." },
            AttrDef { id: "PssIEEE4B.kh11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band first lead-lag blocks coefficient (KH11). Typical value = 1." },
            AttrDef { id: "PssIEEE4B.kh17", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band first lead-lag blocks coefficient (KH17). Typical value = 1." },
            AttrDef { id: "PssIEEE4B.kh2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band differential filter gain (KH2). Typical value = 66." },
            AttrDef { id: "PssIEEE4B.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band gain (KI). Typical value = 30." },
            AttrDef { id: "PssIEEE4B.ki1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band differential filter gain (KI1). Typical value = 66." },
            AttrDef { id: "PssIEEE4B.ki11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band first lead-lag blocks coefficient (KI11). Typical value = 1." },
            AttrDef { id: "PssIEEE4B.ki17", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band first lead-lag blocks coefficient (KI17). Typical value = 1." },
            AttrDef { id: "PssIEEE4B.ki2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band differential filter gain (KI2). Typical value = 66." },
            AttrDef { id: "PssIEEE4B.kl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band gain (KL). Typical value = 7.5." },
            AttrDef { id: "PssIEEE4B.kl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band differential filter gain (KL1). Typical value = 66." },
            AttrDef { id: "PssIEEE4B.kl11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band first lead-lag blocks coefficient (KL11). Typical value = 1." },
            AttrDef { id: "PssIEEE4B.kl17", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band first lead-lag blocks coefficient (KL17). Typical value = 1." },
            AttrDef { id: "PssIEEE4B.kl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band differential filter gain (KL2). Typical value = 66." },
            AttrDef { id: "PssIEEE4B.omeganh1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 1 (high-frequency band): filter frequency (omegani)." },
            AttrDef { id: "PssIEEE4B.omeganh2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 2 (high-frequency band): filter frequency (omegani)." },
            AttrDef { id: "PssIEEE4B.omeganl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 1 (low-frequency band): filter frequency (omegani)." },
            AttrDef { id: "PssIEEE4B.omeganl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Notch filter 2 (low-frequency band): filter frequency (omegani)." },
            AttrDef { id: "PssIEEE4B.th1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH1) (>= 0). Typical value = 0,01513." },
            AttrDef { id: "PssIEEE4B.th10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH10) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH11) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH12) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH2) (>= 0). Typical value = 0,01816." },
            AttrDef { id: "PssIEEE4B.th3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH3) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH4) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH5) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH6) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.th7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH7) (>= 0). Typical value = 0,01816." },
            AttrDef { id: "PssIEEE4B.th8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH8) (>= 0). Typical value = 0,02179." },
            AttrDef { id: "PssIEEE4B.th9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band time constant (TH9) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI1) (>= 0). Typical value = 0,173." },
            AttrDef { id: "PssIEEE4B.ti10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI10) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI11) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI12) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI2) (>= 0). Typical value = 0,2075." },
            AttrDef { id: "PssIEEE4B.ti3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI3) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI4) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI5) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI6) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.ti7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI7) (>= 0). Typical value = 0,2075." },
            AttrDef { id: "PssIEEE4B.ti8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI8) (>= 0). Typical value = 0,2491." },
            AttrDef { id: "PssIEEE4B.ti9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band time constant (TI9) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL1) (>= 0). Typical value = 1,73." },
            AttrDef { id: "PssIEEE4B.tl10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL10) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl11", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL11) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl12", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL12) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL2) (>= 0). Typical value = 2,075." },
            AttrDef { id: "PssIEEE4B.tl3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL3) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL4) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL5) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL6) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.tl7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL7) (>= 0). Typical value = 2,075." },
            AttrDef { id: "PssIEEE4B.tl8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL8) (>= 0). Typical value = 2,491." },
            AttrDef { id: "PssIEEE4B.tl9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band time constant (TL9) (>= 0). Typical value = 0." },
            AttrDef { id: "PssIEEE4B.vhmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band output maximum limit (VHmax) (> PssIEEE4B.vhmin). Typical value = 0,6." },
            AttrDef { id: "PssIEEE4B.vhmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "High band output minimum limit (VHmin) (< PssIEEE4V.vhmax). Typical value = -0,6." },
            AttrDef { id: "PssIEEE4B.vimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band output maximum limit (VImax) (> PssIEEE4B.vimin). Typical value = 0,6." },
            AttrDef { id: "PssIEEE4B.vimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Intermediate band output minimum limit (VImin) (< PssIEEE4B.vimax). Typical value = -0,6." },
            AttrDef { id: "PssIEEE4B.vlmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band output maximum limit (VLmax) (> PssIEEE4B.vlmin). Typical value = 0,075." },
            AttrDef { id: "PssIEEE4B.vlmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Low band output minimum limit (VLmin) (< PssIEEE4B.vlmax). Typical value = -0,075." },
            AttrDef { id: "PssIEEE4B.vstmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS output maximum limit (VSTmax) (> PssIEEE4B.vstmin). Typical value = 0,15." },
            AttrDef { id: "PssIEEE4B.vstmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PSS output minimum limit (VSTmin) (< PssIEEE4B.vstmax). Typical value = -0,15." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssPTIST1",
        qualified: "PssPTIST1",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "PTI microprocessor-based stabilizer type 1.",
        attrs: &[
            AttrDef { id: "PssPTIST1.dtc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time step related to activation of controls (deltatc) (>= 0). Typical value = 0,025." },
            AttrDef { id: "PssPTIST1.dtf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time step frequency calculation (deltatf) (>= 0). Typical value = 0,025." },
            AttrDef { id: "PssPTIST1.dtp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time step active power calculation (deltatp) (>= 0). Typical value = 0,0125." },
            AttrDef { id: "PssPTIST1.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K). Typical value = 9." },
            AttrDef { id: "PssPTIST1.m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(M). M = 2 x H. Typical value = 5." },
            AttrDef { id: "PssPTIST1.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T1) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssPTIST1.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T2) (>= 0). Typical value = 1." },
            AttrDef { id: "PssPTIST1.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T3) (>= 0). Typical value = 0,2." },
            AttrDef { id: "PssPTIST1.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T4) (>= 0). Typical value = 0,05." },
            AttrDef { id: "PssPTIST1.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tf) (>= 0). Typical value = 0,2." },
            AttrDef { id: "PssPTIST1.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tp) (>= 0). Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssPTIST3",
        qualified: "PssPTIST3",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "PTI microprocessor-based stabilizer type 3.",
        attrs: &[
            AttrDef { id: "PssPTIST3.a0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (A0)." },
            AttrDef { id: "PssPTIST3.a1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Al)." },
            AttrDef { id: "PssPTIST3.a2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (A2)." },
            AttrDef { id: "PssPTIST3.a3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (A3)." },
            AttrDef { id: "PssPTIST3.a4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (A4)." },
            AttrDef { id: "PssPTIST3.a5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (A5)." },
            AttrDef { id: "PssPTIST3.al", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Al)." },
            AttrDef { id: "PssPTIST3.athres", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Threshold value above which output averaging will be bypassed (Athres). Typical value = 0,005." },
            AttrDef { id: "PssPTIST3.b0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (B0)." },
            AttrDef { id: "PssPTIST3.b1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (B1)." },
            AttrDef { id: "PssPTIST3.b2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (B2)." },
            AttrDef { id: "PssPTIST3.b3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (B3)." },
            AttrDef { id: "PssPTIST3.b4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (B4)." },
            AttrDef { id: "PssPTIST3.b5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter coefficient (B5)." },
            AttrDef { id: "PssPTIST3.dl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Dl)." },
            AttrDef { id: "PssPTIST3.dtc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time step related to activation of controls (deltatc) (>= 0). Typical value = 0,025 (0,03 for 50 Hz)." },
            AttrDef { id: "PssPTIST3.dtf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time step frequency calculation (deltatf) (>= 0). Typical value = 0,025 (0,03 for 50 Hz)." },
            AttrDef { id: "PssPTIST3.dtp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time step active power calculation (deltatp) (>= 0). Typical value = 0,0125 (0,015 for 50 Hz)." },
            AttrDef { id: "PssPTIST3.isw", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Digital/analogue output switch (Isw). true = produce analogue output false = convert to digital output, using tap selection table." },
            AttrDef { id: "PssPTIST3.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K). Typical value = 9." },
            AttrDef { id: "PssPTIST3.lthres", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Threshold value (Lthres)." },
            AttrDef { id: "PssPTIST3.m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(M). M = 2 x H. Typical value = 5." },
            AttrDef { id: "PssPTIST3.nav", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Number of control outputs to average (NAV) (1 <= NAV <= 16). Typical value = 4." },
            AttrDef { id: "PssPTIST3.ncl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Number of counts at limit to active limit function (NCL) (> 0)." },
            AttrDef { id: "PssPTIST3.ncr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Number of counts until reset after limit function is triggered (NCR)." },
            AttrDef { id: "PssPTIST3.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "(Pmin)." },
            AttrDef { id: "PssPTIST3.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T1) (>= 0). Typical value = 0,3." },
            AttrDef { id: "PssPTIST3.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T2) (>= 0). Typical value = 1." },
            AttrDef { id: "PssPTIST3.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T3) (>= 0). Typical value = 0,2." },
            AttrDef { id: "PssPTIST3.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T4) (>= 0). Typical value = 0,05." },
            AttrDef { id: "PssPTIST3.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T5) (>= 0)." },
            AttrDef { id: "PssPTIST3.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T6) (>= 0)." },
            AttrDef { id: "PssPTIST3.tf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tf) (>= 0). Typical value = 0,2." },
            AttrDef { id: "PssPTIST3.tp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tp) (>= 0). Typical value = 0,2." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssRQB",
        qualified: "PssRQB",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Power system stabilizer type RQB. This power system stabilizer is intended to be used together with excitation system type ExcRQB, which is primarily used in nuclear or thermal generating units.",
        attrs: &[
            AttrDef { id: "PssRQB.kdpm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead lag gain (KDPM). Typical value = 0,185." },
            AttrDef { id: "PssRQB.ki2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed input gain (Ki2). Typical value = 3,43." },
            AttrDef { id: "PssRQB.ki3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electrical power input gain (Ki3). Typical value = -11,45." },
            AttrDef { id: "PssRQB.ki4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Mechanical power input gain (Ki4). Typical value = 11,86." },
            AttrDef { id: "PssRQB.sibv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed deadband (SIBV). Typical value = 0,006." },
            AttrDef { id: "PssRQB.t4f", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead lag time constant (T4F) (>= 0). Typical value = 0,045." },
            AttrDef { id: "PssRQB.t4m", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input time constant (T4M) (>= 0). Typical value = 5." },
            AttrDef { id: "PssRQB.t4mom", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed time constant (T4MOM) (>= 0). Typical value = 1,27." },
            AttrDef { id: "PssRQB.tomd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed delay (TOMD) (>= 0). Typical value = 0,02." },
            AttrDef { id: "PssRQB.tomsl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed time constant (TOMSL) (>= 0). Typical value = 0,04." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssSB4",
        qualified: "PssSB4",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Power sensitive stabilizer model.",
        attrs: &[
            AttrDef { id: "PssSB4.kx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (Kx). Typical value = 2,7." },
            AttrDef { id: "PssSB4.ta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Ta) (>= 0). Typical value = 0,37." },
            AttrDef { id: "PssSB4.tb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tb) (>= 0). Typical value = 0,37." },
            AttrDef { id: "PssSB4.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tc) (>= 0). Typical value = 0,035." },
            AttrDef { id: "PssSB4.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Td) (>= 0). Typical value = 0,0." },
            AttrDef { id: "PssSB4.te", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Te) (>= 0). Typical value = 0,0169." },
            AttrDef { id: "PssSB4.tt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tt) (>= 0). Typical value = 0,18." },
            AttrDef { id: "PssSB4.tx1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reset time constant (Tx1) (>= 0). Typical value = 0,035." },
            AttrDef { id: "PssSB4.tx2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tx2) (>= 0). Typical value = 5,0." },
            AttrDef { id: "PssSB4.vsmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Vsmax) (> PssSB4.vsmin). Typical value = 0,062." },
            AttrDef { id: "PssSB4.vsmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limiter (Vsmin) (< PssSB4.vsmax). Typical value = -0,062." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssSH",
        qualified: "PssSH",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "SiemensTM “H infinity” power system stabilizer with generator electrical power input. [Footnote: Siemens 'H infinity' power system stabilizers are an example of suitable products available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of these products.]",
        attrs: &[
            AttrDef { id: "PssSH.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Main gain (K). Typical value = 1." },
            AttrDef { id: "PssSH.k0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain 0 (K0). Typical value = 0,012." },
            AttrDef { id: "PssSH.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain 1 (K1). Typical value = 0,488." },
            AttrDef { id: "PssSH.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain 2 (K2). Typical value = 0,064." },
            AttrDef { id: "PssSH.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain 3 (K3). Typical value = 0,224." },
            AttrDef { id: "PssSH.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain 4 (K4). Typical value = 0,1." },
            AttrDef { id: "PssSH.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant 1 (T1) (> 0). Typical value = 0,076." },
            AttrDef { id: "PssSH.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant 2 (T2) (> 0). Typical value = 0,086." },
            AttrDef { id: "PssSH.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant 3 (T3) (> 0). Typical value = 1,068." },
            AttrDef { id: "PssSH.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant 4 (T4) (> 0). Typical value = 1,913." },
            AttrDef { id: "PssSH.td", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input time constant (Td) (>= 0). Typical value = 10." },
            AttrDef { id: "PssSH.vsmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output maximum limit (Vsmax) (> PssSH.vsmin). Typical value = 0,1." },
            AttrDef { id: "PssSH.vsmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output minimum limit (Vsmin) (< PssSH.vsmax). Typical value = -0,1." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssSK",
        qualified: "PssSK",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Slovakian PSS with three inputs.",
        attrs: &[
            AttrDef { id: "PssSK.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain P (K1). Typical value = -0,3." },
            AttrDef { id: "PssSK.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain fE (K2). Typical value = -0,15." },
            AttrDef { id: "PssSK.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain If (K3). Typical value = 10." },
            AttrDef { id: "PssSK.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Denominator time constant (T1) (> 0,005). Typical value = 0,3." },
            AttrDef { id: "PssSK.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant (T2) (> 0,005). Typical value = 0,35." },
            AttrDef { id: "PssSK.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Denominator time constant (T3) (> 0,005). Typical value = 0,22." },
            AttrDef { id: "PssSK.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant (T4) (> 0,005). Typical value = 0,02." },
            AttrDef { id: "PssSK.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Denominator time constant (T5) (> 0,005). Typical value = 0,02." },
            AttrDef { id: "PssSK.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant (T6) (> 0,005). Typical value = 0,02." },
            AttrDef { id: "PssSK.vsmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output maximum limit (VSMAX) (> PssSK.vsmin). Typical value = 0,4." },
            AttrDef { id: "PssSK.vsmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output minimum limit (VSMIN) (< PssSK.vsmax). Typical value = -0.4." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssSTAB2A",
        qualified: "PssSTAB2A",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Power system stabilizer part of an ABB excitation system. [Footnote: ABB excitation systems are an example of suitable products available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by IEC of these products.]",
        attrs: &[
            AttrDef { id: "PssSTAB2A.hlim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer output limiter (HLIM). Typical value = 0,5." },
            AttrDef { id: "PssSTAB2A.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K2). Typical value = 1,0." },
            AttrDef { id: "PssSTAB2A.k3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K3). Typical value = 0,25." },
            AttrDef { id: "PssSTAB2A.k4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K4). Typical value = 0,075." },
            AttrDef { id: "PssSTAB2A.k5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain (K5). Typical value = 2,5." },
            AttrDef { id: "PssSTAB2A.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T2). Typical value = 4,0." },
            AttrDef { id: "PssSTAB2A.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T3). Typical value = 2,0." },
            AttrDef { id: "PssSTAB2A.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (T5). Typical value = 4,5." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PssWECC",
        qualified: "PssWECC",
        super_class: Some(283),
        concrete: true,
        origins: &["DY"],
        comment: "Dual input power system stabilizer, based on IEEE type 2, with modified output limiter defined by WECC (Western Electricity Coordinating Council, USA).",
        attrs: &[
            AttrDef { id: "PssWECC.inputSignal1Type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal #1 (rotorAngularFrequencyDeviation, busFrequencyDeviation, generatorElectricalPower, generatorAcceleratingPower, busVoltage, or busVoltageDerivative - shall be different than PssWECC.inputSignal2Type). Typical value = rotorAngularFrequencyDeviation." },
            AttrDef { id: "PssWECC.inputSignal2Type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "InputSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal #2 (rotorAngularFrequencyDeviation, busFrequencyDeviation, generatorElectricalPower, generatorAcceleratingPower, busVoltage, busVoltageDerivative - shall be different than PssWECC.inputSignal1Type). Typical value = busVoltageDerivative." },
            AttrDef { id: "PssWECC.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal 1 gain (K1). Typical value = 1,13." },
            AttrDef { id: "PssWECC.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal 2 gain (K2). Typical value = 0,0." },
            AttrDef { id: "PssWECC.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal 1 transducer time constant (T1) (>= 0). Typical value = 0,037." },
            AttrDef { id: "PssWECC.t10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T10) (>= 0). Typical value = 0." },
            AttrDef { id: "PssWECC.t2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input signal 2 transducer time constant (T2) (>= 0). Typical value = 0,0." },
            AttrDef { id: "PssWECC.t3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer washout time constant (T3) (>= 0). Typical value = 9,5." },
            AttrDef { id: "PssWECC.t4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stabilizer washout time lag constant (T4) (>= 0). Typical value = 9,5." },
            AttrDef { id: "PssWECC.t5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (T5) (>= 0). Typical value = 1,7." },
            AttrDef { id: "PssWECC.t6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T6) (>= 0). Typical value = 1,5." },
            AttrDef { id: "PssWECC.t7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (T7) (>= 0). Typical value = 1,7." },
            AttrDef { id: "PssWECC.t8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T8) (>= 0). Typical value = 1,5." },
            AttrDef { id: "PssWECC.t9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant (T9) (>= 0). Typical value = 0." },
            AttrDef { id: "PssWECC.vcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum value for voltage compensator output (VCL). Typical value = 0." },
            AttrDef { id: "PssWECC.vcu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum value for voltage compensator output (VCU). Typical value = 0." },
            AttrDef { id: "PssWECC.vsmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum output signal (Vsmax) (> PssWECC.vsmin). Typical value = 0,05." },
            AttrDef { id: "PssWECC.vsmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum output signal (Vsmin) (< PssWECC.vsmax). Typical value = -0,05." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Quality61850",
        qualified: "Quality61850",
        super_class: None,
        concrete: false,
        origins: &["OP"],
        comment: "Quality flags in this class are as defined in IEC 61850, except for estimatorReplaced, which has been included in this class for convenience.",
        attrs: &[
            AttrDef { id: "Quality61850.badReference", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Measurement value may be incorrect due to a reference being out of calibration." },
            AttrDef { id: "Quality61850.estimatorReplaced", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Value has been replaced by State Estimator. estimatorReplaced is not an IEC61850 quality bit but has been put in this class for convenience." },
            AttrDef { id: "Quality61850.failure", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "This identifier indicates that a supervision function has detected an internal or external failure, e.g. communication failure." },
            AttrDef { id: "Quality61850.oldData", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Measurement value is old and possibly invalid, as it has not been successfully updated during a specified time interval." },
            AttrDef { id: "Quality61850.operatorBlocked", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Measurement value is blocked and hence unavailable for transmission." },
            AttrDef { id: "Quality61850.oscillatory", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "To prevent some overload of the communication it is sensible to detect and suppress oscillating (fast changing) binary inputs. If a signal changes in a defined time twice in the same direction (from 0 to 1 or from 1 to 0) then oscillation is detected and the detail quality identifier 'oscillatory' is set. If it is detected a configured numbers of transient changes could be passed by. In this time the validity status 'questionable' is set. If after this defined numbers of changes the signal is still in the oscillating state the value shall be set either to the opposite state of the previous stable value or to a defined default value. In this case the validity status 'questionable' is reset and 'invalid' is set as long as the signal is oscillating. If it is configured such that no transient changes should be passed by then the validity status 'invalid' is set immediately in addition to the detail quality identifier 'oscillatory' (used for status information only)." },
            AttrDef { id: "Quality61850.outOfRange", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Measurement value is beyond a predefined range of value." },
            AttrDef { id: "Quality61850.overFlow", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Measurement value is beyond the capability of being represented properly. For example, a counter value overflows from maximum count back to a value of zero." },
            AttrDef { id: "Quality61850.source", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "Source", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "Source gives information related to the origin of a value. The value may be acquired from the process, defaulted or substituted." },
            AttrDef { id: "Quality61850.suspect", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "A correlation function has detected that the value is not consistent with other values. Typically set by a network State Estimator." },
            AttrDef { id: "Quality61850.test", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["OP"], comment: "Measurement value is transmitted for test purposes." },
            AttrDef { id: "Quality61850.validity", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "Validity", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["OP"], comment: "Validity of the measurement value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RaiseLowerCommand",
        qualified: "RaiseLowerCommand",
        super_class: Some(11),
        concrete: true,
        origins: &["OP"],
        comment: "An analog control that increases or decreases a set point value with pulses. Unless otherwise specified, one pulse moves the set point by one.",
        attrs: &[
            AttrDef { id: "RaiseLowerCommand.ValueAliasSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ValueAliasSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The ValueAliasSet used for translation of a Control value to a name." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RatioTapChanger",
        qualified: "RatioTapChanger",
        super_class: Some(362),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A tap changer that changes the voltage ratio impacting the voltage magnitude but not the phase angle across the transformer. Angle sign convention (general): Positive value indicates a positive phase shift from the winding where the tap is located to the other winding (for a two-winding transformer).",
        attrs: &[
            AttrDef { id: "RatioTapChanger.RatioTapChangerTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RatioTapChangerTable", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The tap ratio table for this ratio tap changer." },
            AttrDef { id: "RatioTapChanger.TransformerEnd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TransformerEnd", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Transformer end to which this ratio tap changer belongs." },
            AttrDef { id: "RatioTapChanger.stepVoltageIncrement", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Tap step increment, in per cent of rated voltage of the power transformer end, per step position. When the increment is negative, the voltage decreases when the tap step increases." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RatioTapChangerTable",
        qualified: "RatioTapChangerTable",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "Describes a curve for how the voltage magnitude and impedance varies with the tap step.",
        attrs: &[
            AttrDef { id: "RatioTapChangerTable.RatioTapChanger", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RatioTapChanger", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The ratio tap changer of this tap ratio table." },
            AttrDef { id: "RatioTapChangerTable.RatioTapChangerTablePoint", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RatioTapChangerTablePoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Points of this table." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RatioTapChangerTablePoint",
        qualified: "RatioTapChangerTablePoint",
        super_class: Some(364),
        concrete: true,
        origins: &["EQ"],
        comment: "Describes each tap step in the ratio tap changer tabular curve.",
        attrs: &[
            AttrDef { id: "RatioTapChangerTablePoint.RatioTapChangerTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RatioTapChangerTable", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Table of this point." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ReactiveCapabilityCurve",
        qualified: "ReactiveCapabilityCurve",
        super_class: Some(53),
        concrete: true,
        origins: &["EQ"],
        comment: "Reactive power rating envelope versus the synchronous machine's active power, in both the generating and motoring modes. For each active power value there is a corresponding high and low reactive power limit value. Typically there will be a separate curve for each coolant condition, such as hydrogen pressure. The Y1 axis values represent reactive minimum and the Y2 axis values represent reactive maximum.",
        attrs: &[
            AttrDef { id: "ReactiveCapabilityCurve.EquivalentInjection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "EquivalentInjection", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The equivalent injection using this reactive capability curve." },
            AttrDef { id: "ReactiveCapabilityCurve.InitiallyUsedBySynchronousMachines", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachine", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Synchronous machines using this curve as default." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RegularIntervalSchedule",
        qualified: "RegularIntervalSchedule",
        super_class: Some(23),
        concrete: false,
        origins: &["EQ"],
        comment: "The schedule has time points where the time between them is constant.",
        attrs: &[
            AttrDef { id: "RegularIntervalSchedule.TimePoints", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegularTimePoint", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The regular interval time point data values that define this schedule." },
            AttrDef { id: "RegularIntervalSchedule.endTime", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["EQ"], comment: "The time for the last time point. The value can be a time of day, not a specific date." },
            AttrDef { id: "RegularIntervalSchedule.timeStep", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The time between each pair of subsequent regular time points in sequence order." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RegularTimePoint",
        qualified: "RegularTimePoint",
        super_class: None,
        concrete: true,
        origins: &["EQ"],
        comment: "Time point for a schedule where the time between the consecutive points is constant.",
        attrs: &[
            AttrDef { id: "RegularTimePoint.IntervalSchedule", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegularIntervalSchedule", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Regular interval schedule containing this time point." },
            AttrDef { id: "RegularTimePoint.sequenceNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The position of the regular time point in the sequence. Note that time points don't have to be sequential, i.e. time points may be omitted. The actual time for a RegularTimePoint is computed by multiplying the associated regular interval schedule's time step with the regular time point sequence number and adding the associated schedules start time. To specify values for the start time, use sequence number 0. The sequence number cannot be negative." },
            AttrDef { id: "RegularTimePoint.value1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The first value at the time. The meaning of the value is defined by the derived type of the associated schedule." },
            AttrDef { id: "RegularTimePoint.value2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The second value at the time. The meaning of the value is defined by the derived type of the associated schedule." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RegulatingCondEq",
        qualified: "RegulatingCondEq",
        super_class: Some(94),
        concrete: false,
        origins: &["EQ", "DY", "SC", "SSH"],
        comment: "A type of conducting equipment that can regulate a quantity (i.e. voltage or flow) at a specific point in the network.",
        attrs: &[
            AttrDef { id: "RegulatingCondEq.RegulatingControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegulatingControl", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The regulating control scheme in which this equipment participates." },
            AttrDef { id: "RegulatingCondEq.controlEnabled", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "Specifies the regulation status of the equipment. True is regulating, false is not regulating." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RegulatingControl",
        qualified: "RegulatingControl",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Specifies a set of equipment that works together to control a power system quantity such as voltage or flow. Remote bus voltage control is possible by specifying the controlled terminal located at some place remote from the controlling equipment. The specified terminal shall be associated with the connectivity node of the controlled point. The most specific subtype of RegulatingControl shall be used in case such equipment participate in the control, e.g. TapChangerControl for tap changers. For flow control, load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment. The attribute minAllowedTargetValue and maxAllowedTargetValue are required in the following cases: - For a power generating module operated in power factor control mode to specify maximum and minimum power factor values; - Whenever it is necessary to have an off center target voltage for the tap changer regulator. For instance, due to long cables to off shore wind farms and the need to have a simpler setup at the off shore transformer platform, the voltage is controlled from the land at the connection point for the off shore wind farm. Since there usually is a voltage rise along the cable, there is typical and overvoltage of up 3-4 kV compared to the on shore station. Thus in normal operation the tap changer on the on shore station is operated with a target set point, which is in the lower parts of the dead band. The attributes minAllowedTargetValue and maxAllowedTargetValue are not related to the attribute targetDeadband and thus they are not treated as an alternative of the targetDeadband. They are needed due to limitations in the local substation controller. The attribute targetDeadband is used to prevent the power flow from move the tap position in circles (hunting) that is to be used regardless of the attributes minAllowedTargetValue and maxAllowedTargetValue.",
        attrs: &[
            AttrDef { id: "RegulatingControl.RegulatingCondEq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegulatingCondEq", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The equipment that participates in this regulating control scheme." },
            AttrDef { id: "RegulatingControl.RegulationSchedule", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegulationSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Schedule for this regulating control." },
            AttrDef { id: "RegulatingControl.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The terminal associated with this regulating control. The terminal is associated instead of a node, since the terminal could connect into either a topological node or a connectivity node. Sometimes it is useful to model regulation at a terminal of a bus bar object." },
            AttrDef { id: "RegulatingControl.discrete", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "The regulation is performed in a discrete mode. This applies to equipment with discrete controls, e.g. tap changers and shunt compensators." },
            AttrDef { id: "RegulatingControl.enabled", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "The flag tells if regulation is enabled." },
            AttrDef { id: "RegulatingControl.maxAllowedTargetValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Maximum allowed target value (RegulatingControl.targetValue)." },
            AttrDef { id: "RegulatingControl.minAllowedTargetValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Minimum allowed target value (RegulatingControl.targetValue)." },
            AttrDef { id: "RegulatingControl.mode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "RegulatingControlModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The regulating control mode presently available. This specification allows for determining the kind of regulation without need for obtaining the units from a schedule." },
            AttrDef { id: "RegulatingControl.targetDeadband", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "This is a deadband used with discrete control to avoid excessive update of controls like tap changers and shunt compensator banks while regulating. The units of those appropriate for the mode. The attribute shall be a positive value or zero. If RegulatingControl.discrete is set to 'false', the RegulatingControl.targetDeadband is to be ignored. Note that for instance, if the targetValue is 100 kV and the targetDeadband is 2 kV the range is from 99 to 101 kV." },
            AttrDef { id: "RegulatingControl.targetValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "The target value specified for case input. This value can be used for the target value without the use of schedules. The value has the units appropriate to the mode attribute." },
            AttrDef { id: "RegulatingControl.targetValueUnitMultiplier", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "UnitMultiplier", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Specify the multiplier for used for the targetValue." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RegulationSchedule",
        qualified: "RegulationSchedule",
        super_class: Some(325),
        concrete: true,
        origins: &["EQ"],
        comment: "A pre-established pattern over time for a controlled variable, e.g., busbar voltage.",
        attrs: &[
            AttrDef { id: "RegulationSchedule.RegulatingControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegulatingControl", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Regulating controls that have this schedule." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RemoteInputSignal",
        qualified: "RemoteInputSignal",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Supports connection to a terminal associated with a remote bus from which an input signal of a specific type is coming.",
        attrs: &[
            AttrDef { id: "RemoteInputSignal.DiscontinuousExcitationControlDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiscontinuousExcitationControlDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Discontinuous excitation control model using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.PFVArControllerType1Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PFVArControllerType1Dynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Power factor or VAr controller type 1 model using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.PowerSystemStabilizerDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerSystemStabilizerDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Power system stabilizer model using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote terminal with which this input signal is associated." },
            AttrDef { id: "RemoteInputSignal.UnderexcitationLimiterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "UnderexcitationLimiterDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Underexcitation limiter model using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.VoltageCompensatorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageCompensatorDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Voltage compensator model using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.WindPlantDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind plant using the remote signal." },
            AttrDef { id: "RemoteInputSignal.WindTurbineType1or2Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType1or2Dynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 1 or type 2 model using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.WindTurbineType3or4Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4Dynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 or type 4 models using this remote input signal." },
            AttrDef { id: "RemoteInputSignal.remoteSignalType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "RemoteSignalKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of input signal." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ReportingGroup",
        qualified: "ReportingGroup",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "TP"],
        comment: "A reporting group is used for various ad-hoc groupings used for reporting.",
        attrs: &[
            AttrDef { id: "ReportingGroup.BusNameMarker", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "BusNameMarker", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The bus name markers that belong to this reporting group." },
            AttrDef { id: "ReportingGroup.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The topological nodes that belong to the reporting group." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RotatingMachine",
        qualified: "RotatingMachine",
        super_class: Some(315),
        concrete: false,
        origins: &["EQ", "DY", "SC", "SSH"],
        comment: "A rotating machine which may be used as a generator or motor.",
        attrs: &[
            AttrDef { id: "RotatingMachine.GeneratingUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GeneratingUnit", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A synchronous machine may operate as a generator and as such becomes a member of a generating unit." },
            AttrDef { id: "RotatingMachine.HydroPump", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "HydroPump", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The synchronous machine drives the turbine which moves the water from a low elevation to a higher elevation. The direction of machine rotation for pumping may or may not be the same as for generating." },
            AttrDef { id: "RotatingMachine.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Active power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution." },
            AttrDef { id: "RotatingMachine.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution." },
            AttrDef { id: "RotatingMachine.ratedPowerFactor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Power factor (nameplate data). It is primarily used for short circuit data exchange according to IEC 60909. The attribute cannot be a negative value." },
            AttrDef { id: "RotatingMachine.ratedS", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ApparentPower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Nameplate apparent power rating for the unit. The attribute shall have a positive value." },
            AttrDef { id: "RotatingMachine.ratedU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Rated voltage (nameplate data, Ur in IEC 60909-0). It is primarily used for short circuit data exchange according to IEC 60909. The attribute shall be a positive value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RotatingMachineDynamics",
        qualified: "RotatingMachineDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Abstract parent class for all synchronous and asynchronous machine standard models.",
        attrs: &[
            AttrDef { id: "RotatingMachineDynamics.damping", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damping torque coefficient (D) (>= 0). A proportionality constant that, when multiplied by the angular velocity of the rotor poles with respect to the magnetic field (frequency), results in the damping torque. This value is often zero when the sources of damping torques (generator damper windings, load damping effects, etc.) are modelled in detail. Typical value = 0." },
            AttrDef { id: "RotatingMachineDynamics.inertia", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inertia constant of generator or motor and mechanical load (H) (> 0). This is the specification for the stored energy in the rotating mass when operating at rated speed. For a generator, this includes the generator plus all other elements (turbine, exciter) on the same shaft and has units of MW x s. For a motor, it includes the motor plus its mechanical load. Conventional units are PU on the generator MVA base, usually expressed as MW x s / MVA or just s. This value is used in the accelerating power reference frame for operator training simulator solutions. Typical value = 3." },
            AttrDef { id: "RotatingMachineDynamics.saturationFactor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at rated terminal voltage (S1) (>= 0). Not used by simplified model. Defined by defined by S(E1) in the SynchronousMachineSaturationParameters diagram. Typical value = 0,02." },
            AttrDef { id: "RotatingMachineDynamics.saturationFactor120", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation factor at 120% of rated terminal voltage (S12) (>= RotatingMachineDynamics.saturationFactor). Not used by the simplified model, defined by S(E2) in the SynchronousMachineSaturationParameters diagram. Typical value = 0,12." },
            AttrDef { id: "RotatingMachineDynamics.statorLeakageReactance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stator leakage reactance (Xl) (>= 0). Typical value = 0,15." },
            AttrDef { id: "RotatingMachineDynamics.statorResistance", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Stator (armature) resistance (Rs) (>= 0). Typical value = 0,005." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SVCControlMode",
        qualified: "SVCControlMode",
        super_class: None,
        concrete: false,
        origins: &["EQ"],
        comment: "Static VAr Compensator control mode.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SVCUserDefined",
        qualified: "SVCUserDefined",
        super_class: Some(335),
        concrete: true,
        origins: &["DY"],
        comment: "Static var compensator (SVC) function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "SVCUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "SVCUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Season",
        qualified: "Season",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "A specified time period of the year.",
        attrs: &[
            AttrDef { id: "Season.SeasonDayTypeSchedules", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SeasonDayTypeSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Schedules that use this Season." },
            AttrDef { id: "Season.endDate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "MonthDay", is_list: false, used: true, xsd: "gMonthDay", value_ns: "", origins: &["EQ"], comment: "Date season ends." },
            AttrDef { id: "Season.startDate", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "MonthDay", is_list: false, used: true, xsd: "gMonthDay", value_ns: "", origins: &["EQ"], comment: "Date season starts." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SeasonDayTypeSchedule",
        qualified: "SeasonDayTypeSchedule",
        super_class: Some(313),
        concrete: false,
        origins: &["EQ"],
        comment: "A time schedule covering a 24 hour period, with curve data for a specific type of season and day.",
        attrs: &[
            AttrDef { id: "SeasonDayTypeSchedule.DayType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DayType", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "DayType for the Schedule." },
            AttrDef { id: "SeasonDayTypeSchedule.Season", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Season", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Season for the Schedule." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Sensor",
        qualified: "Sensor",
        super_class: Some(21),
        concrete: false,
        origins: &["EQ"],
        comment: "This class describe devices that transform a measured quantity into signals that can be presented at displays, used in control or be recorded.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SeriesCompensator",
        qualified: "SeriesCompensator",
        super_class: Some(37),
        concrete: true,
        origins: &["EQ", "SC"],
        comment: "A Series Compensator is a series capacitor or reactor or an AC transmission line without charging susceptance. It is a two terminal device.",
        attrs: &[
            AttrDef { id: "SeriesCompensator.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence resistance." },
            AttrDef { id: "SeriesCompensator.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence resistance." },
            AttrDef { id: "SeriesCompensator.varistorPresent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "Describe if a metal oxide varistor (mov) for over voltage protection is configured in parallel with the series compensator. It is used for short circuit calculations." },
            AttrDef { id: "SeriesCompensator.varistorRatedCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The maximum current the varistor is designed to handle at specified duration. It is used for short circuit calculations and exchanged only if SeriesCompensator.varistorPresent is true. The attribute shall be a positive value." },
            AttrDef { id: "SeriesCompensator.varistorVoltageThreshold", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "The dc voltage at which the varistor starts conducting. It is used for short circuit calculations and exchanged only if SeriesCompensator.varistorPresent is true." },
            AttrDef { id: "SeriesCompensator.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Positive sequence reactance." },
            AttrDef { id: "SeriesCompensator.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence reactance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ServiceLocation",
        qualified: "ServiceLocation",
        super_class: Some(445),
        concrete: true,
        origins: &["GL"],
        comment: "A real estate location, commonly referred to as premises.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SetPoint",
        qualified: "SetPoint",
        super_class: Some(11),
        concrete: true,
        origins: &["OP"],
        comment: "An analog control that issues a set point value.",
        attrs: &[
            AttrDef { id: "SetPoint.normalValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["OP"], comment: "Normal value for Control.value e.g. used for percentage scaling." },
            AttrDef { id: "SetPoint.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["OP"], comment: "The value representing the actuator output." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ShuntCompensator",
        qualified: "ShuntCompensator",
        super_class: Some(315),
        concrete: false,
        origins: &["EQ", "SC", "SSH", "SV"],
        comment: "A shunt capacitor or reactor or switchable bank of shunt capacitors or reactors. A section of a shunt compensator is an individual capacitor or reactor. A negative value for bPerSection indicates that the compensator is a reactor. ShuntCompensator is a single terminal device. Ground is implied.",
        attrs: &[
            AttrDef { id: "ShuntCompensator.SvShuntCompensatorSections", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvShuntCompensatorSections", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The state for the number of shunt compensator sections in service." },
            AttrDef { id: "ShuntCompensator.aVRDelay", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "An automatic voltage regulation delay (AVRDelay) which is the time delay from a change in voltage to when the capacitor is allowed to change state. This filters out temporary changes in voltage." },
            AttrDef { id: "ShuntCompensator.grounded", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Used for Yn and Zn connections. True if the neutral is solidly grounded." },
            AttrDef { id: "ShuntCompensator.maximumSections", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The maximum number of sections that may be switched in." },
            AttrDef { id: "ShuntCompensator.nomU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The voltage at which the nominal reactive power may be calculated. This should normally be within 10% of the voltage at which the capacitor is connected to the network." },
            AttrDef { id: "ShuntCompensator.normalSections", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The normal number of sections switched in. The value shall be between zero and ShuntCompensator.maximumSections." },
            AttrDef { id: "ShuntCompensator.sections", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Shunt compensator sections in use. Starting value for steady state solution. The attribute shall be a positive value or zero. Non integer values are allowed to support continuous variables. The reasons for continuous value are to support study cases where no discrete shunt compensators has yet been designed, a solutions where a narrow voltage band force the sections to oscillate or accommodate for a continuous solution as input. For LinearShuntConpensator the value shall be between zero and ShuntCompensator.maximumSections. At value zero the shunt compensator conductance and admittance is zero. Linear interpolation of conductance and admittance between the previous and next integer section is applied in case of non-integer values. For NonlinearShuntCompensator-s shall only be set to one of the NonlinearShuntCompenstorPoint.sectionNumber. There is no interpolation between NonlinearShuntCompenstorPoint-s." },
            AttrDef { id: "ShuntCompensator.voltageSensitivity", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "VoltagePerReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Voltage sensitivity required for the device to regulate the bus voltage, in voltage/reactive power." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SolarGeneratingUnit",
        qualified: "SolarGeneratingUnit",
        super_class: Some(169),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A solar thermal generating unit, connected to the grid by means of a rotating machine. This class does not represent photovoltaic (PV) generation.",
        attrs: &[
            AttrDef { id: "SolarGeneratingUnit.SolarPowerPlant", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "SolarPowerPlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A solar power plant may have solar generating units." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100-European#",
        local: "SolarPowerPlant",
        qualified: "SolarPowerPlant",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ"],
        comment: "Solar power plant.",
        attrs: &[
            AttrDef { id: "SolarPowerPlant.SolarGeneratingUnits", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "SolarGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A solar generating unit or units may be a member of a solar power plant." },
        ],
    },
    ClassDef {
        ns: "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        local: "Statements",
        qualified: "Statements",
        super_class: None,
        concrete: false,
        origins: &["FH"],
        comment: "It represent a set of Definition and/or Description elements.",
        attrs: &[
            AttrDef { id: "Statements.object", ns: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["FH"], comment: "Statement object." },
            AttrDef { id: "Statements.predicate", ns: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["FH"], comment: "Statement predicate." },
            AttrDef { id: "Statements.subject", ns: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["FH"], comment: "Statement subject." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StaticVarCompensator",
        qualified: "StaticVarCompensator",
        super_class: Some(315),
        concrete: true,
        origins: &["EQ", "DY", "SSH"],
        comment: "A facility for providing variable and controllable shunt reactive power. The SVC typically consists of a stepdown transformer, filter, thyristor-controlled reactor, and thyristor-switched capacitor arms. The SVC may operate in fixed MVar output mode or in voltage control mode. When in voltage control mode, the output of the SVC will be proportional to the deviation of voltage at the controlled bus from the voltage setpoint. The SVC characteristic slope defines the proportion. If the voltage at the controlled bus is equal to the voltage setpoint, the SVC MVar output is zero.",
        attrs: &[
            AttrDef { id: "StaticVarCompensator.StaticVarCompensatorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "StaticVarCompensatorDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Static Var Compensator dynamics model used to describe dynamic behaviour of this Static Var Compensator." },
            AttrDef { id: "StaticVarCompensator.capacitiveRating", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Capacitive reactance at maximum capacitive reactive power. Shall always be positive." },
            AttrDef { id: "StaticVarCompensator.inductiveRating", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Inductive reactance at maximum inductive reactive power. Shall always be negative." },
            AttrDef { id: "StaticVarCompensator.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power injection. Load sign convention is used, i.e. positive sign means flow out from a node. Starting value for a steady state solution." },
            AttrDef { id: "StaticVarCompensator.sVCControlMode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SVCControlMode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "SVC control mode." },
            AttrDef { id: "StaticVarCompensator.slope", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "VoltagePerReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The characteristics slope of an SVC defines how the reactive power output changes in proportion to the difference between the regulated bus voltage and the voltage setpoint. The attribute shall be a positive value or zero." },
            AttrDef { id: "StaticVarCompensator.voltageSetPoint", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The reactive power output of the SVC is proportional to the difference between the voltage at the regulated bus and the voltage setpoint. When the regulated bus voltage is equal to the voltage setpoint, the reactive power output is zero." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StaticVarCompensatorDynamics",
        qualified: "StaticVarCompensatorDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Static var compensator whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "StaticVarCompensatorDynamics.StaticVarCompensator", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "StaticVarCompensator", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Static Var Compensator to which Static Var Compensator dynamics model applies." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StationSupply",
        qualified: "StationSupply",
        super_class: Some(95),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Station supply with load derived from the station output.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Status",
        qualified: "Status",
        super_class: None,
        concrete: false,
        origins: &["GL"],
        comment: "Current status information relevant to an entity.",
        attrs: &[
            AttrDef { id: "Status.dateTime", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "DateTime", is_list: false, used: true, xsd: "dateTime", value_ns: "", origins: &["GL"], comment: "Date and time for which status 'value' applies." },
            AttrDef { id: "Status.reason", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Reason code or explanation for why an object went to the current status 'value'." },
            AttrDef { id: "Status.remark", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Pertinent information regarding the current 'value', as free form text." },
            AttrDef { id: "Status.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Status value at 'dateTime'; prior status changes may have been kept in instances of activity records associated with the object to which this status applies." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StreetAddress",
        qualified: "StreetAddress",
        super_class: None,
        concrete: false,
        origins: &["GL"],
        comment: "General purpose street and postal address information.",
        attrs: &[
            AttrDef { id: "StreetAddress.language", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "The language in which the address is specified, using ISO 639-1 two digit language code." },
            AttrDef { id: "StreetAddress.poBox", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Post office box." },
            AttrDef { id: "StreetAddress.postalCode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Postal code for the address." },
            AttrDef { id: "StreetAddress.status", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Status", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "Status of this address." },
            AttrDef { id: "StreetAddress.streetDetail", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "StreetDetail", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "Street detail." },
            AttrDef { id: "StreetAddress.townDetail", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TownDetail", is_list: false, used: true, xsd: "", value_ns: "", origins: &["GL"], comment: "Town detail." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StreetDetail",
        qualified: "StreetDetail",
        super_class: None,
        concrete: false,
        origins: &["GL"],
        comment: "Street details, in the context of address.",
        attrs: &[
            AttrDef { id: "StreetDetail.addressGeneral", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "First line of a free form address or some additional address information (for example a mail stop)." },
            AttrDef { id: "StreetDetail.addressGeneral2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "(if applicable) Second line of a free form address." },
            AttrDef { id: "StreetDetail.addressGeneral3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "(if applicable) Third line of a free form address." },
            AttrDef { id: "StreetDetail.buildingName", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "(if applicable) In certain cases the physical location of the place of interest does not have a direct point of entry from the street, but may be located inside a larger structure such as a building, complex, office block, apartment, etc." },
            AttrDef { id: "StreetDetail.code", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "(if applicable) Utilities often make use of external reference systems, such as those of the town-planner's department or surveyor general's mapping system, that allocate global reference codes to streets." },
            AttrDef { id: "StreetDetail.floorIdentification", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "The identification by name or number, expressed as text, of the floor in the building as part of this address." },
            AttrDef { id: "StreetDetail.name", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Name of the street." },
            AttrDef { id: "StreetDetail.number", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Designator of the specific location on the street." },
            AttrDef { id: "StreetDetail.prefix", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Prefix to the street name. For example: North, South, East, West." },
            AttrDef { id: "StreetDetail.suffix", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Suffix to the street name. For example: North, South, East, West." },
            AttrDef { id: "StreetDetail.suiteNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Number of the apartment or suite." },
            AttrDef { id: "StreetDetail.type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Type of street. Examples include: street, circle, boulevard, avenue, road, drive, etc." },
            AttrDef { id: "StreetDetail.withinTownLimits", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["GL"], comment: "True if this street is within the legal geographical boundaries of the specified town (default)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StringMeasurement",
        qualified: "StringMeasurement",
        super_class: Some(233),
        concrete: true,
        origins: &["OP"],
        comment: "StringMeasurement represents a measurement with values of type string.",
        attrs: &[
            AttrDef { id: "StringMeasurement.StringMeasurementValues", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "StringMeasurementValue", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The values connected to this measurement." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StringMeasurementValue",
        qualified: "StringMeasurementValue",
        super_class: Some(234),
        concrete: true,
        origins: &["OP"],
        comment: "StringMeasurementValue represents a measurement value of type string.",
        attrs: &[
            AttrDef { id: "StringMeasurementValue.StringMeasurement", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "StringMeasurement", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "Measurement to which this value is connected." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SubGeographicalRegion",
        qualified: "SubGeographicalRegion",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "A subset of a geographical region of a power system network model.",
        attrs: &[
            AttrDef { id: "SubGeographicalRegion.DCLines", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCLine", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The DC lines in this sub-geographical region." },
            AttrDef { id: "SubGeographicalRegion.Lines", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Line", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The lines within the sub-geographical region." },
            AttrDef { id: "SubGeographicalRegion.Region", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GeographicalRegion", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The geographical region which this sub-geographical region is within." },
            AttrDef { id: "SubGeographicalRegion.Substations", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Substation", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The substations in this sub-geographical region." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SubLoadArea",
        qualified: "SubLoadArea",
        super_class: Some(93),
        concrete: true,
        origins: &["EQ"],
        comment: "The class is the second level in a hierarchical structure for grouping of loads for the purpose of load flow load scaling.",
        attrs: &[
            AttrDef { id: "SubLoadArea.LoadArea", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadArea", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The LoadArea where the SubLoadArea belongs." },
            AttrDef { id: "SubLoadArea.LoadGroups", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "LoadGroup", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The Loadgroups in the SubLoadArea." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Substation",
        qualified: "Substation",
        super_class: Some(99),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "A collection of equipment for purposes other than generation or utilization, through which electric energy in bulk is passed for the purposes of switching or modifying its characteristics.",
        attrs: &[
            AttrDef { id: "Substation.DCConverterUnit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DCConverterUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The DC converter unit belonging of the substation." },
            AttrDef { id: "Substation.Region", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SubGeographicalRegion", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The SubGeographicalRegion containing the substation." },
            AttrDef { id: "Substation.VoltageLevels", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VoltageLevel", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The voltage levels within this substation." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SurgeArrester",
        qualified: "SurgeArrester",
        super_class: Some(21),
        concrete: true,
        origins: &["EQ"],
        comment: "Shunt device, installed on the network, usually in the proximity of electrical equipment in order to protect the said equipment against transient voltage transients caused by lightning or switching activity.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvInjection",
        qualified: "SvInjection",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "The SvInjection reports the calculated bus injection minus the sum of the terminal flows. The terminal flow is positive out from the bus (load sign convention) and bus injection has positive flow into the bus. SvInjection may have the remainder after state estimation or slack after power flow calculation.",
        attrs: &[
            AttrDef { id: "SvInjection.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The topological node associated with the flow injection state variable." },
            AttrDef { id: "SvInjection.pInjection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The active power mismatch between calculated injection and initial injection. Positive sign means injection into the TopologicalNode (bus)." },
            AttrDef { id: "SvInjection.qInjection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The reactive power mismatch between calculated injection and initial injection. Positive sign means injection into the TopologicalNode (bus)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvPowerFlow",
        qualified: "SvPowerFlow",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "State variable for power flow. Load convention is used for flow direction. This means flow out from the TopologicalNode into the equipment is positive.",
        attrs: &[
            AttrDef { id: "SvPowerFlow.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The terminal associated with the power flow state variable." },
            AttrDef { id: "SvPowerFlow.p", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The active power flow. Load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment." },
            AttrDef { id: "SvPowerFlow.q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The reactive power flow. Load sign convention is used, i.e. positive sign means flow out from a TopologicalNode (bus) into the conducting equipment." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvShuntCompensatorSections",
        qualified: "SvShuntCompensatorSections",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "State variable for the number of sections in service for a shunt compensator.",
        attrs: &[
            AttrDef { id: "SvShuntCompensatorSections.ShuntCompensator", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ShuntCompensator", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The shunt compensator for which the state applies." },
            AttrDef { id: "SvShuntCompensatorSections.sections", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The number of sections in service as a continuous variable. The attribute shall be a positive value or zero. To get integer value scale with ShuntCompensator.bPerSection." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvStatus",
        qualified: "SvStatus",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "State variable for status.",
        attrs: &[
            AttrDef { id: "SvStatus.ConductingEquipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConductingEquipment", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The conducting equipment associated with the status state variable." },
            AttrDef { id: "SvStatus.inService", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SV"], comment: "The in service status as a result of topology processing. It indicates if the equipment is considered as energized by the power flow. It reflects if the equipment is connected within a solvable island. It does not necessarily reflect whether or not the island was solved by the power flow." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvSwitch",
        qualified: "SvSwitch",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "State variable for switch.",
        attrs: &[
            AttrDef { id: "SvSwitch.Switch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Switch", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The switch associated with the switch state." },
            AttrDef { id: "SvSwitch.open", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SV"], comment: "The attribute tells if the computed state of the switch is considered open." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvTapStep",
        qualified: "SvTapStep",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "State variable for transformer tap step.",
        attrs: &[
            AttrDef { id: "SvTapStep.TapChanger", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TapChanger", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The tap changer associated with the tap step state." },
            AttrDef { id: "SvTapStep.position", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The floating point tap position. This is not the tap ratio, but rather the tap step position as defined by the related tap changer model and normally is constrained to be within the range of minimum and maximum tap positions." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SvVoltage",
        qualified: "SvVoltage",
        super_class: None,
        concrete: true,
        origins: &["SV"],
        comment: "State variable for voltage.",
        attrs: &[
            AttrDef { id: "SvVoltage.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The topological node associated with the voltage state." },
            AttrDef { id: "SvVoltage.angle", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The voltage angle of the topological node complex voltage with respect to system reference." },
            AttrDef { id: "SvVoltage.v", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "The voltage magnitude at the topological node. The attribute shall be a positive value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Switch",
        qualified: "Switch",
        super_class: Some(37),
        concrete: true,
        origins: &["EQ", "SSH", "SV"],
        comment: "A generic device designed to close, or open, or both, one or more electric circuits. All switches are two terminal devices including grounding switches. The ACDCTerminal.connected at the two sides of the switch shall not be considered for assessing switch connectivity, i.e. only Switch.open, .normalOpen and .locked are relevant.",
        attrs: &[
            AttrDef { id: "Switch.SvSwitch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvSwitch", is_list: true, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The switch state associated with the switch." },
            AttrDef { id: "Switch.SwitchSchedules", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SwitchSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A Switch can be associated with SwitchSchedules." },
            AttrDef { id: "Switch.locked", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "If true, the switch is locked. The resulting switch state is a combination of locked and Switch.open attributes as follows: locked=true and Switch.open=true. The resulting state is open and locked; locked=false and Switch.open=true. The resulting state is open; locked=false and Switch.open=false. The resulting state is closed." },
            AttrDef { id: "Switch.normalOpen", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "The attribute is used in cases when no Measurement for the status value is present. If the Switch has a status measurement the Discrete.normalValue is expected to match with the Switch.normalOpen." },
            AttrDef { id: "Switch.open", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "The attribute tells if the switch is considered open when used as input to topology processing." },
            AttrDef { id: "Switch.ratedCurrent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The maximum continuous current carrying capacity in amps governed by the device material and construction. The attribute shall be a positive value." },
            AttrDef { id: "Switch.retained", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Branch is retained in the topological solution. The flow through retained switches will normally be calculated in power flow." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SwitchSchedule",
        qualified: "SwitchSchedule",
        super_class: Some(325),
        concrete: true,
        origins: &["EQ"],
        comment: "A schedule of switch positions. If RegularTimePoint.value1 is 0, the switch is open. If 1, the switch is closed.",
        attrs: &[
            AttrDef { id: "SwitchSchedule.Switch", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Switch", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A SwitchSchedule is associated with a Switch." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachine",
        qualified: "SynchronousMachine",
        super_class: Some(320),
        concrete: true,
        origins: &["EQ", "DY", "SC", "SSH"],
        comment: "An electromechanical device that operates with shaft rotating synchronously with the network. It is a single machine operating either as a generator or synchronous condenser or pump.",
        attrs: &[
            AttrDef { id: "SynchronousMachine.InitialReactiveCapabilityCurve", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ReactiveCapabilityCurve", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The default reactive capability curve for use by a synchronous machine." },
            AttrDef { id: "SynchronousMachine.SynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Synchronous machine dynamics model used to describe dynamic behaviour of this synchronous machine." },
            AttrDef { id: "SynchronousMachine.earthing", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "Indicates whether or not the generator is earthed. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "SynchronousMachine.earthingStarPointR", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Generator star point earthing resistance (Re). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "SynchronousMachine.earthingStarPointX", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Generator star point earthing reactance (Xe). Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "SynchronousMachine.ikk", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "CurrentFlow", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Steady-state short-circuit current (in A for the profile) of generator with compound excitation during 3-phase short circuit. - Ikk=0: Generator with no compound excitation. - Ikk<>0: Generator with compound excitation. Ikk is used to calculate the minimum steady-state short-circuit current for generators with compound excitation. (4.6.1.2 in IEC 60909-0:2001). Used only for single fed short circuit on a generator. (4.3.4.2. in IEC 60909-0:2001)." },
            AttrDef { id: "SynchronousMachine.maxQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Maximum reactive power limit. This is the maximum (nameplate) limit for the unit." },
            AttrDef { id: "SynchronousMachine.minQ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Minimum reactive power limit for the unit." },
            AttrDef { id: "SynchronousMachine.mu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Factor to calculate the breaking current (Section 4.5.2.1 in IEC 60909-0). Used only for single fed short circuit on a generator (Section 4.3.4.2. in IEC 60909-0)." },
            AttrDef { id: "SynchronousMachine.operatingMode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "SynchronousMachineOperatingMode", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Current mode of operation." },
            AttrDef { id: "SynchronousMachine.qPercent", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Part of the coordinated reactive control that comes from this machine. The attribute is used as a participation factor not necessarily summing up to 100% for the participating devices in the control." },
            AttrDef { id: "SynchronousMachine.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Equivalent resistance (RG) of generator. RG is considered for the calculation of all currents, except for the calculation of the peak current ip. Used for short circuit data exchange according to IEC 60909." },
            AttrDef { id: "SynchronousMachine.r0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence resistance of the synchronous machine." },
            AttrDef { id: "SynchronousMachine.r2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence resistance." },
            AttrDef { id: "SynchronousMachine.referencePriority", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["SSH"], comment: "Priority of unit for use as powerflow voltage phase angle reference bus selection. 0 = don t care (default) 1 = highest priority. 2 is less than 1 and so on." },
            AttrDef { id: "SynchronousMachine.satDirectSubtransX", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Direct-axis subtransient reactance saturated, also known as Xd'sat." },
            AttrDef { id: "SynchronousMachine.satDirectSyncX", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Direct-axes saturated synchronous reactance (xdsat); reciprocal of short-circuit ration. Used for short circuit data exchange, only for single fed short circuit on a generator. (4.3.4.2. in IEC 60909-0:2001)." },
            AttrDef { id: "SynchronousMachine.satDirectTransX", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Saturated Direct-axis transient reactance. The attribute is primarily used for short circuit calculations according to ANSI." },
            AttrDef { id: "SynchronousMachine.shortCircuitRotorType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "ShortCircuitRotorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SC"], comment: "Type of rotor, used by short circuit applications, only for single fed short circuit according to IEC 60909." },
            AttrDef { id: "SynchronousMachine.type", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "SynchronousMachineKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Modes that this synchronous machine can operate in." },
            AttrDef { id: "SynchronousMachine.voltageRegulationRange", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Range of generator voltage regulation (PG in IEC 60909-0) used for calculation of the impedance correction factor KG defined in IEC 60909-0. This attribute is used to describe the operating voltage of the generating unit." },
            AttrDef { id: "SynchronousMachine.x0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Zero sequence reactance of the synchronous machine." },
            AttrDef { id: "SynchronousMachine.x2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "Negative sequence reactance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineDetailed",
        qualified: "SynchronousMachineDetailed",
        super_class: Some(357),
        concrete: false,
        origins: &["DY"],
        comment: "All synchronous machine detailed types use a subset of the same data parameters and input/output variables. The several variations differ in the following ways: - the number of equivalent windings that are included; - the way in which saturation is incorporated into the model; - whether or not “subtransient saliency” (X''q not = X''d) is represented. It is not necessary for each simulation tool to have separate models for each of the model types. The same model can often be used for several types by alternative logic within the model. Also, differences in saturation representation might not result in significant model performance differences so model substitutions are often acceptable.",
        attrs: &[
            AttrDef { id: "SynchronousMachineDetailed.efdBaseRatio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ratio (exciter voltage/generator voltage) of Efd bases of exciter and generator models (> 0). Typical value = 1." },
            AttrDef { id: "SynchronousMachineDetailed.ifdBaseType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "IfdBaseKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Excitation base system mode. It should be equal to the value of WLMDV given by the user. WLMDV is the PU ratio between the field voltage and the excitation current: Efd = WLMDV x Ifd. Typical value = ifag." },
            AttrDef { id: "SynchronousMachineDetailed.saturationFactor120QAxis", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis saturation factor at 120% of rated terminal voltage (S12q) (>= SynchonousMachineDetailed.saturationFactorQAxis). Typical value = 0,12." },
            AttrDef { id: "SynchronousMachineDetailed.saturationFactorQAxis", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis saturation factor at rated terminal voltage (S1q) (>= 0). Typical value = 0,02." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineDynamics",
        qualified: "SynchronousMachineDynamics",
        super_class: Some(321),
        concrete: false,
        origins: &["DY"],
        comment: "Synchronous machine whose behaviour is described by reference to a standard model expressed in one of the following forms: - simplified (or classical), where a group of generators or motors is not modelled in detail; - detailed, in equivalent circuit form; - detailed, in time constant reactance form; or - by definition of a user-defined model. It is a common practice to represent small generators by a negative load rather than by a dynamic generator model when performing dynamics simulations. In this case, a SynchronousMachine in the static model is not represented by anything in the dynamics model, instead it is treated as an ordinary load. Parameter details: Synchronous machine parameters such as Xl, Xd, Xp etc. are actually used as inductances in the models, but are commonly referred to as reactances since, at nominal frequency, the PU values are the same. However, some references use the symbol L instead of X.",
        attrs: &[
            AttrDef { id: "SynchronousMachineDynamics.CrossCompoundTurbineGovernorDyanmics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CrossCompoundTurbineGovernorDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The cross-compound turbine governor with which this high-pressure synchronous machine is associated." },
            AttrDef { id: "SynchronousMachineDynamics.CrossCompoundTurbineGovernorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CrossCompoundTurbineGovernorDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The cross-compound turbine governor with which this low-pressure synchronous machine is associated." },
            AttrDef { id: "SynchronousMachineDynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model associated with this synchronous machine model." },
            AttrDef { id: "SynchronousMachineDynamics.GenICompensationForGenJ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GenICompensationForGenJ", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Compensation of voltage compensator's generator for current flow out of this generator." },
            AttrDef { id: "SynchronousMachineDynamics.MechanicalLoadDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MechanicalLoadDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Mechanical load model associated with this synchronous machine model." },
            AttrDef { id: "SynchronousMachineDynamics.SynchronousMachine", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachine", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Synchronous machine to which synchronous machine dynamics model applies." },
            AttrDef { id: "SynchronousMachineDynamics.TurbineGovernorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TurbineGovernorDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Turbine-governor model associated with this synchronous machine model. Multiplicity of greater than one is intended to support hydro units that have multiple turbines on one generator." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineEquivalentCircuit",
        qualified: "SynchronousMachineEquivalentCircuit",
        super_class: Some(356),
        concrete: true,
        origins: &["DY"],
        comment: "The electrical equations for all variations of the synchronous models are based on the SynchronousEquivalentCircuit diagram for the direct- and quadrature- axes. Equations for conversion between equivalent circuit and time constant reactance forms: Xd = Xad + Xl X’d = Xl + Xad x Xfd / (Xad + Xfd) X”d = Xl + Xad x Xfd x X1d / (Xad x Xfd + Xad x X1d + Xfd x X1d) Xq = Xaq + Xl X’q = Xl + Xaq x X1q / (Xaq + X1q) X”q = Xl + Xaq x X1q x X2q / (Xaq x X1q + Xaq x X2q + X1q x X2q) T’do = (Xad + Xfd) / (omega0 x Rfd) T”do = (Xad x Xfd + Xad x X1d + Xfd x X1d) / (omega0 x R1d x (Xad + Xfd) T’qo = (Xaq + X1q) / (omega0 x R1q) T”qo = (Xaq x X1q + Xaq x X2q + X1q x X2q) / (omega0 x R2q x (Xaq + X1q) Same equations using CIM attributes from SynchronousMachineTimeConstantReactance class on left of '=' and SynchronousMachineEquivalentCircuit class on right (except as noted): xDirectSync = xad + RotatingMachineDynamics.statorLeakageReactance xDirectTrans = RotatingMachineDynamics.statorLeakageReactance + xad x xfd / (xad + xfd) xDirectSubtrans = RotatingMachineDynamics.statorLeakageReactance + xad x xfd x x1d / (xad x xfd + xad x x1d + xfd x x1d) xQuadSync = xaq + RotatingMachineDynamics.statorLeakageReactance xQuadTrans = RotatingMachineDynamics.statorLeakageReactance + xaq x x1q / (xaq+ x1q) xQuadSubtrans = RotatingMachineDynamics.statorLeakageReactance + xaq x x1q x x2q / (xaq x x1q + xaq x x2q + x1q x x2q) tpdo = (xad + xfd) / (2 x pi x nominal frequency x rfd) tppdo = (xad x xfd + xad x x1d + xfd x x1d) / (2 x pi x nominal frequency x r1d x (xad + xfd) tpqo = (xaq + x1q) / (2 x pi x nominal frequency x r1q) tppqo = (xaq x x1q + xaq x x2q + x1q x x2q) / (2 x pi x nominal frequency x r2q x (xaq + x1q) These are only valid for a simplified model where 'Canay' reactance is zero.",
        attrs: &[
            AttrDef { id: "SynchronousMachineEquivalentCircuit.r1d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis damper 1 winding resistance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.r1q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis damper 1 winding resistance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.r2q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis damper 2 winding resistance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.rfd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field winding resistance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.x1d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis damper 1 winding leakage reactance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.x1q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis damper 1 winding leakage reactance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.x2q", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis damper 2 winding leakage reactance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.xad", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis mutual reactance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.xaq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis mutual reactance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.xf1d", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Differential mutual (“Canay”) reactance." },
            AttrDef { id: "SynchronousMachineEquivalentCircuit.xfd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Field winding leakage reactance." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineSimplified",
        qualified: "SynchronousMachineSimplified",
        super_class: Some(357),
        concrete: true,
        origins: &["DY"],
        comment: "The simplified model represents a synchronous generator as a constant internal voltage behind an impedance (Rs + jXp) as shown in the Simplified diagram. Since internal voltage is held constant, there is no Efd input and any excitation system model will be ignored. There is also no Ifd output. This model should not be used for representing a real generator except, perhaps, small generators whose response is insignificant. The parameters used for the simplified model include: - RotatingMachineDynamics.damping (D); - RotatingMachineDynamics.inertia (H); - RotatingMachineDynamics.statorLeakageReactance (used to exchange jXp for SynchronousMachineSimplified); - RotatingMachineDynamics.statorResistance (Rs).",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineTimeConstantReactance",
        qualified: "SynchronousMachineTimeConstantReactance",
        super_class: Some(356),
        concrete: true,
        origins: &["DY"],
        comment: "Synchronous machine detailed modelling types are defined by the combination of the attributes SynchronousMachineTimeConstantReactance.modelType and SynchronousMachineTimeConstantReactance.rotorType. Parameter details: The “p” in the time-related attribute names is a substitution for a “prime” in the usual parameter notation, e.g. tpdo refers to T'do. The parameters used for models expressed in time constant reactance form include: - RotatingMachine.ratedS (MVAbase); - RotatingMachineDynamics.damping (D); - RotatingMachineDynamics.inertia (H); - RotatingMachineDynamics.saturationFactor (S1); - RotatingMachineDynamics.saturationFactor120 (S12); - RotatingMachineDynamics.statorLeakageReactance (Xl); - RotatingMachineDynamics.statorResistance (Rs); - SynchronousMachineTimeConstantReactance.ks (Ks); - SynchronousMachineDetailed.saturationFactorQAxis (S1q); - SynchronousMachineDetailed.saturationFactor120QAxis (S12q); - SynchronousMachineDetailed.efdBaseRatio; - SynchronousMachineDetailed.ifdBaseType; - .xDirectSync (Xd); - .xDirectTrans (X'd); - .xDirectSubtrans (X''d); - .xQuadSync (Xq); - .xQuadTrans (X'q); - .xQuadSubtrans (X''q); - .tpdo (T'do); - .tppdo (T''do); - .tpqo (T'qo); - .tppqo (T''qo); - .tc.",
        attrs: &[
            AttrDef { id: "SynchronousMachineTimeConstantReactance.ks", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Saturation loading correction factor (Ks) (>= 0). Used only by type J model. Typical value = 0." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.modelType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "SynchronousMachineModelKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of synchronous machine model used in dynamic simulation applications." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.rotorType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "RotorKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of rotor on physical machine." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.tc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Damping time constant for “Canay” reactance (>= 0). Typical value = 0." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.tpdo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis transient rotor time constant (T'do) (> SynchronousMachineTimeConstantReactance.tppdo). Typical value = 5." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.tppdo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis subtransient rotor time constant (T''do) (> 0). Typical value = 0,03." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.tppqo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis subtransient rotor time constant (T''qo) (> 0). Typical value = 0,03." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.tpqo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis transient rotor time constant (T'qo) (> SynchronousMachineTimeConstantReactance.tppqo). Typical value = 0,5." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.xDirectSubtrans", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis subtransient reactance (unsaturated) (X''d) (> RotatingMachineDynamics.statorLeakageReactance). Typical value = 0,2." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.xDirectSync", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis synchronous reactance (Xd) (>= SynchronousMachineTimeConstantReactance.xDirectTrans). The quotient of a sustained value of that AC component of armature voltage that is produced by the total direct-axis flux due to direct-axis armature current and the value of the AC component of this current, the machine running at rated speed. Typical value = 1,8." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.xDirectTrans", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Direct-axis transient reactance (unsaturated) (X'd) (>= SynchronousMachineTimeConstantReactance.xDirectSubtrans). Typical value = 0,5." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.xQuadSubtrans", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis subtransient reactance (X''q) (> RotatingMachineDynamics.statorLeakageReactance). Typical value = 0,2." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.xQuadSync", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis synchronous reactance (Xq) (>= SynchronousMachineTimeConstantReactance.xQuadTrans). The ratio of the component of reactive armature voltage, due to the quadrature-axis component of armature current, to this component of current, under steady state conditions and at rated frequency. Typical value = 1,6." },
            AttrDef { id: "SynchronousMachineTimeConstantReactance.xQuadTrans", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Quadrature-axis transient reactance (X'q) (>= SynchronousMachineTimeConstantReactance.xQuadSubtrans). Typical value = 0,3." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineUserDefined",
        qualified: "SynchronousMachineUserDefined",
        super_class: Some(357),
        concrete: true,
        origins: &["DY"],
        comment: "Synchronous machine whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "SynchronousMachineUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "SynchronousMachineUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TapChanger",
        qualified: "TapChanger",
        super_class: Some(282),
        concrete: false,
        origins: &["EQ", "SSH", "SV"],
        comment: "Mechanism for changing transformer winding tap positions.",
        attrs: &[
            AttrDef { id: "TapChanger.SvTapStep", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvTapStep", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The tap step state associated with the tap changer." },
            AttrDef { id: "TapChanger.TapChangerControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TapChangerControl", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The regulating control scheme in which this tap changer participates." },
            AttrDef { id: "TapChanger.TapSchedules", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TapSchedule", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A TapChanger can have TapSchedules." },
            AttrDef { id: "TapChanger.controlEnabled", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SSH"], comment: "Specifies the regulation status of the equipment. True is regulating, false is not regulating." },
            AttrDef { id: "TapChanger.highStep", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "Highest possible tap step position, advance from neutral. The attribute shall be greater than lowStep." },
            AttrDef { id: "TapChanger.lowStep", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "Lowest possible tap step position, retard from neutral." },
            AttrDef { id: "TapChanger.ltcFlag", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Specifies whether or not a TapChanger has load tap changing capabilities." },
            AttrDef { id: "TapChanger.neutralStep", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The neutral tap step position for this winding. The attribute shall be equal to or greater than lowStep and equal or less than highStep. It is the step position where the voltage is neutralU when the other terminals of the transformer are at the ratedU. If there are other tap changers on the transformer those taps are kept constant at their neutralStep." },
            AttrDef { id: "TapChanger.neutralU", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "Voltage at which the winding operates at the neutral tap setting. It is the voltage at the terminal of the PowerTransformerEnd associated with the tap changer when all tap changers on the transformer are at their neutralStep position. Normally neutralU of the tap changer is the same as ratedU of the PowerTransformerEnd, but it can differ in special cases such as when the tapping mechanism is separate from the winding more common on lower voltage transformers. This attribute is not relevant for PhaseTapChangerAsymmetrical, PhaseTapChangerSymmetrical and PhaseTapChangerLinear." },
            AttrDef { id: "TapChanger.normalStep", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The tap step position used in 'normal' network operation for this winding. For a 'Fixed' tap changer indicates the current physical tap setting. The attribute shall be equal to or greater than lowStep and equal to or less than highStep." },
            AttrDef { id: "TapChanger.step", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Tap changer position. Starting step for a steady state solution. Non integer values are allowed to support continuous tap variables. The reasons for continuous value are to support study cases where no discrete tap changer has yet been designed, a solution where a narrow voltage band forces the tap step to oscillate or to accommodate for a continuous solution as input. The attribute shall be equal to or greater than lowStep and equal to or less than highStep." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TapChangerControl",
        qualified: "TapChangerControl",
        super_class: Some(316),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Describes behaviour specific to tap changers, e.g. how the voltage at the end of a line varies with the load level and compensation of the voltage drop by tap adjustment.",
        attrs: &[
            AttrDef { id: "TapChangerControl.TapChanger", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TapChanger", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The tap changers that participates in this regulating tap control scheme." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TapChangerTablePoint",
        qualified: "TapChangerTablePoint",
        super_class: None,
        concrete: false,
        origins: &["EQ"],
        comment: "Describes each tap step in the tabular curve.",
        attrs: &[
            AttrDef { id: "TapChangerTablePoint.b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The magnetizing branch susceptance deviation as a percentage of nominal value. The actual susceptance is calculated as follows: calculated magnetizing susceptance = b(nominal) * (1 + b(from this class)/100). The b(nominal) is defined as the static magnetizing susceptance on the associated power transformer end or ends. This model assumes the star impedance (pi model) form." },
            AttrDef { id: "TapChangerTablePoint.g", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The magnetizing branch conductance deviation as a percentage of nominal value. The actual conductance is calculated as follows: calculated magnetizing conductance = g(nominal) * (1 + g(from this class)/100). The g(nominal) is defined as the static magnetizing conductance on the associated power transformer end or ends. This model assumes the star impedance (pi model) form." },
            AttrDef { id: "TapChangerTablePoint.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The resistance deviation as a percentage of nominal value. The actual reactance is calculated as follows: calculated resistance = r(nominal) * (1 + r(from this class)/100). The r(nominal) is defined as the static resistance on the associated power transformer end or ends. This model assumes the star impedance (pi model) form." },
            AttrDef { id: "TapChangerTablePoint.ratio", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The voltage at the tap step divided by rated voltage of the transformer end having the tap changer. Hence this is a value close to one. For example, if the ratio at step 1 is 1.01, and the rated voltage of the transformer end is 110kV, then the voltage obtained by setting the tap changer to step 1 to is 111.1kV." },
            AttrDef { id: "TapChangerTablePoint.step", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "The tap step." },
            AttrDef { id: "TapChangerTablePoint.x", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The series reactance deviation as a percentage of nominal value. The actual reactance is calculated as follows: calculated reactance = x(nominal) * (1 + x(from this class)/100). The x(nominal) is defined as the static series reactance on the associated power transformer end or ends. This model assumes the star impedance (pi model) form." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TapSchedule",
        qualified: "TapSchedule",
        super_class: Some(325),
        concrete: true,
        origins: &["EQ"],
        comment: "A pre-established pattern over time for a tap step.",
        attrs: &[
            AttrDef { id: "TapSchedule.TapChanger", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TapChanger", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A TapSchedule is associated with a TapChanger." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Terminal",
        qualified: "Terminal",
        super_class: Some(2),
        concrete: true,
        origins: &["EQ", "DY", "EQBD", "OP", "SC", "SSH", "SV", "TP"],
        comment: "An AC electrical connection point to a piece of conducting equipment. Terminals are connected at physical connection points called connectivity nodes.",
        attrs: &[
            AttrDef { id: "Terminal.AuxiliaryEquipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AuxiliaryEquipment", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The auxiliary equipment connected to the terminal." },
            AttrDef { id: "Terminal.ConductingEquipment", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConductingEquipment", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "DY", "EQBD"], comment: "The conducting equipment of the terminal. Conducting equipment have terminals that may be connected to other conducting equipment terminals via connectivity nodes or topological nodes." },
            AttrDef { id: "Terminal.ConnectivityNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConnectivityNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The connectivity node to which this terminal connects with zero impedance." },
            AttrDef { id: "Terminal.ConverterDCSides", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ACDCConverter", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "All converters' DC sides linked to this point of common coupling terminal." },
            AttrDef { id: "Terminal.HasFirstMutualCoupling", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MutualCoupling", is_list: true, used: false, xsd: "", value_ns: "", origins: &["SC"], comment: "Mutual couplings associated with the branch as the first branch." },
            AttrDef { id: "Terminal.HasSecondMutualCoupling", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "MutualCoupling", is_list: true, used: false, xsd: "", value_ns: "", origins: &["SC"], comment: "Mutual couplings with the branch associated as the first branch." },
            AttrDef { id: "Terminal.RegulatingControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RegulatingControl", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The controls regulating this terminal." },
            AttrDef { id: "Terminal.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Input signal coming from this terminal." },
            AttrDef { id: "Terminal.SvPowerFlow", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvPowerFlow", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The power flow state variable associated with the terminal." },
            AttrDef { id: "Terminal.TieFlow", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TieFlow", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "The control area tie flows to which this terminal associates." },
            AttrDef { id: "Terminal.TopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The topological node associated with the terminal. This can be used as an alternative to the connectivity node path to topological node, thus making it unnecessary to model connectivity nodes in some cases. Note that the if connectivity nodes are in the model, this association would probably not be used as an input specification." },
            AttrDef { id: "Terminal.TransformerEnd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TransformerEnd", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "All transformer ends connected at this terminal." },
            AttrDef { id: "Terminal.phases", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "PhaseCode", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "Represents the normal network phasing condition. If the attribute is missing, three phases (ABC) shall be assumed, except for terminals of grounding classes (specializations of EarthFaultCompensator, GroundDisconnector, and Ground) which will be assumed to be N. Therefore, phase code ABCN is explicitly declared when needed, e.g. for star point grounding equipment. The phase code on terminals connecting same ConnectivityNode or same TopologicalNode as well as for equipment between two terminals shall be consistent." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TextDiagramObject",
        qualified: "TextDiagramObject",
        super_class: Some(76),
        concrete: true,
        origins: &["DL"],
        comment: "A diagram object for placing free-text or text derived from an associated domain object.",
        attrs: &[
            AttrDef { id: "TextDiagramObject.text", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["DL"], comment: "The text that is displayed by this text diagram object." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ThermalGeneratingUnit",
        qualified: "ThermalGeneratingUnit",
        super_class: Some(169),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A generating unit whose prime mover could be a steam turbine, combustion turbine, or diesel engine.",
        attrs: &[
            AttrDef { id: "ThermalGeneratingUnit.CAESPlant", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CAESPlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may be a member of a compressed air energy storage plant." },
            AttrDef { id: "ThermalGeneratingUnit.CogenerationPlant", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CogenerationPlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may be a member of a cogeneration plant." },
            AttrDef { id: "ThermalGeneratingUnit.CombinedCyclePlant", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "CombinedCyclePlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may be a member of a combined cycle plant." },
            AttrDef { id: "ThermalGeneratingUnit.FossilFuels", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "FossilFuel", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A thermal generating unit may have one or more fossil fuels." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TieFlow",
        qualified: "TieFlow",
        super_class: Some(213),
        concrete: true,
        origins: &["EQ"],
        comment: "Defines the structure (in terms of location and direction) of the net interchange constraint for a control area. This constraint may be used by either AGC or power flow.",
        attrs: &[
            AttrDef { id: "TieFlow.ControlArea", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ControlArea", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The control area of the tie flows." },
            AttrDef { id: "TieFlow.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "The terminal to which this tie flow belongs." },
            AttrDef { id: "TieFlow.positiveFlowIn", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["EQ"], comment: "Specifies the sign of the tie flow associated with a control area. True if positive flow into the terminal (load convention) is also positive flow into the control area. See the description of ControlArea for further explanation of how TieFlow.positiveFlowIn is used." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TopologicalIsland",
        qualified: "TopologicalIsland",
        super_class: Some(213),
        concrete: true,
        origins: &["SV"],
        comment: "An electrically connected subset of the network. Topological islands can change as the current network state changes, e.g. due to: - disconnect switches or breakers changing state in a SCADA/EMS. - manual creation, change or deletion of topological nodes in a planning tool. Only energised TopologicalNode-s shall be part of the topological island.",
        attrs: &[
            AttrDef { id: "TopologicalIsland.AngleRefTopologicalNode", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: false, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "The angle reference for the island. Normally there is one TopologicalNode that is selected as the angle reference for each island. Other reference schemes exist, so the association is typically optional." },
            AttrDef { id: "TopologicalIsland.TopologicalNodes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalNode", is_list: true, used: true, xsd: "", value_ns: "", origins: &["SV"], comment: "A topological node belongs to a topological island." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TopologicalNode",
        qualified: "TopologicalNode",
        super_class: Some(213),
        concrete: true,
        origins: &["TP", "SV"],
        comment: "For a detailed substation model a topological node is a set of connectivity nodes that, in the current network state, are connected together through any type of closed switches, including jumpers. Topological nodes change as the current network state changes (i.e., switches, breakers, etc. change state). For a planning model, switch statuses are not used to form topological nodes. Instead they are manually created or deleted in a model builder tool. Topological nodes maintained this way are also called 'busses'.",
        attrs: &[
            AttrDef { id: "TopologicalNode.AngleRefTopologicalIsland", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalIsland", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The island for which the node is an angle reference. Normally there is one angle reference node for each island." },
            AttrDef { id: "TopologicalNode.BaseVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "BaseVoltage", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The base voltage of the topological node." },
            AttrDef { id: "TopologicalNode.ConnectivityNodeContainer", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConnectivityNodeContainer", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The connectivity node container to which the topological node belongs." },
            AttrDef { id: "TopologicalNode.ConnectivityNodes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ConnectivityNode", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The connectivity nodes combine together to form this topological node. May depend on the current state of switches in the network." },
            AttrDef { id: "TopologicalNode.ReportingGroup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ReportingGroup", is_list: false, used: true, xsd: "", value_ns: "", origins: &["TP"], comment: "The reporting group to which the topological node belongs." },
            AttrDef { id: "TopologicalNode.SvInjection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvInjection", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The injection flows state variables associated with the topological node." },
            AttrDef { id: "TopologicalNode.SvVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SvVoltage", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "The state voltage associated with the topological node." },
            AttrDef { id: "TopologicalNode.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: true, used: false, xsd: "", value_ns: "", origins: &["TP"], comment: "The terminals associated with the topological node. This can be used as an alternative to the connectivity node path to terminal, thus making it unnecessary to model connectivity nodes in some cases. Note that if connectivity nodes are in the model, this association would probably not be used as an input specification." },
            AttrDef { id: "TopologicalNode.TopologicalIsland", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TopologicalIsland", is_list: false, used: false, xsd: "", value_ns: "", origins: &["SV"], comment: "A topological node belongs to a topological island." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TownDetail",
        qualified: "TownDetail",
        super_class: None,
        concrete: false,
        origins: &["GL"],
        comment: "Town details, in the context of address.",
        attrs: &[
            AttrDef { id: "TownDetail.code", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Town code." },
            AttrDef { id: "TownDetail.country", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Name of the country." },
            AttrDef { id: "TownDetail.name", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Town name." },
            AttrDef { id: "TownDetail.section", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Town section. For example, it is common for there to be 36 sections per township." },
            AttrDef { id: "TownDetail.stateOrProvince", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "String", is_list: false, used: true, xsd: "string", value_ns: "", origins: &["GL"], comment: "Name of the state or province." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TransformerEnd",
        qualified: "TransformerEnd",
        super_class: Some(213),
        concrete: false,
        origins: &["EQ", "SC"],
        comment: "A conducting connection point of a power transformer. It corresponds to a physical transformer winding terminal. In earlier CIM versions, the TransformerWinding class served a similar purpose, but this class is more flexible because it associates to terminal but is not a specialization of ConductingEquipment.",
        attrs: &[
            AttrDef { id: "TransformerEnd.BaseVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "BaseVoltage", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Base voltage of the transformer end. This is essential for PU calculation." },
            AttrDef { id: "TransformerEnd.PhaseTapChanger", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PhaseTapChanger", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Phase tap changer associated with this transformer end." },
            AttrDef { id: "TransformerEnd.RatioTapChanger", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RatioTapChanger", is_list: false, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "Ratio tap changer associated with this transformer end." },
            AttrDef { id: "TransformerEnd.Terminal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Terminal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Terminal of the power transformer to which this transformer end belongs." },
            AttrDef { id: "TransformerEnd.endNumber", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["EQ"], comment: "Number for this transformer end, corresponding to the end's order in the power transformer vector group or phase angle clock number. Highest voltage winding should be 1. Each end within a power transformer should have a unique subsequent end number. Note the transformer end number need not match the terminal sequence number." },
            AttrDef { id: "TransformerEnd.grounded", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["SC"], comment: "(for Yn and Zn connections) True if the neutral is solidly grounded." },
            AttrDef { id: "TransformerEnd.rground", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "(for Yn and Zn connections) Resistance part of neutral impedance where 'grounded' is true." },
            AttrDef { id: "TransformerEnd.xground", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Reactance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SC"], comment: "(for Yn and Zn connections) Reactive part of neutral impedance where 'grounded' is true." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TurbLCFB1",
        qualified: "TurbLCFB1",
        super_class: Some(377),
        concrete: true,
        origins: &["DY"],
        comment: "Turbine load controller model developed by WECC. This model represents a supervisory turbine load controller that acts to maintain turbine power at a set value by continuous adjustment of the turbine governor speed-load reference. This model is intended to represent slow reset 'outer loop' controllers managing the action of the turbine governor.",
        attrs: &[
            AttrDef { id: "TurbLCFB1.db", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Controller deadband (db). Typical value = 0." },
            AttrDef { id: "TurbLCFB1.emax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum control error (Emax) (see parameter detail 4). Typical value = 0,02." },
            AttrDef { id: "TurbLCFB1.fb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Frequency bias gain (Fb). Typical value = 0." },
            AttrDef { id: "TurbLCFB1.fbf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Frequency bias flag (Fbf). true = enable frequency bias false = disable frequency bias. Typical value = false." },
            AttrDef { id: "TurbLCFB1.irmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum turbine speed/load reference bias (Irmax) (see parameter detail 3). Typical value = 0." },
            AttrDef { id: "TurbLCFB1.ki", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain (Ki). Typical value = 0." },
            AttrDef { id: "TurbLCFB1.kp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain (Kp). Typical value = 0." },
            AttrDef { id: "TurbLCFB1.mwbase", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Base for power values (MWbase) (> 0). Unit = MW." },
            AttrDef { id: "TurbLCFB1.pbf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Power controller flag (Pbf). true = enable load controller false = disable load controller. Typical value = false." },
            AttrDef { id: "TurbLCFB1.pmwset", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ActivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power controller setpoint (Pmwset) (see parameter detail 1). Unit = MW. Typical value = 0." },
            AttrDef { id: "TurbLCFB1.speedReferenceGovernor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Type of turbine governor reference (Type). true = speed reference governor false = load reference governor. Typical value = true." },
            AttrDef { id: "TurbLCFB1.tpelec", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power transducer time constant (Tpelec) (>= 0). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TurbineGovernorDynamics",
        qualified: "TurbineGovernorDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Turbine-governor function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "TurbineGovernorDynamics.AsynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AsynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Asynchronous machine model with which this turbine-governor model is associated. TurbineGovernorDynamics shall have either an association to SynchronousMachineDynamics or to AsynchronousMachineDynamics." },
            AttrDef { id: "TurbineGovernorDynamics.SynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "SynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Synchronous machine model with which this turbine-governor model is associated. TurbineGovernorDynamics shall have either an association to SynchronousMachineDynamics or to AsynchronousMachineDynamics." },
            AttrDef { id: "TurbineGovernorDynamics.TurbineLoadControllerDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TurbineLoadControllerDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Turbine load controller providing input to this turbine-governor." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TurbineGovernorUserDefined",
        qualified: "TurbineGovernorUserDefined",
        super_class: Some(375),
        concrete: true,
        origins: &["DY"],
        comment: "Turbine-governor function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "TurbineGovernorUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "TurbineGovernorUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TurbineLoadControllerDynamics",
        qualified: "TurbineLoadControllerDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Turbine load controller function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "TurbineLoadControllerDynamics.TurbineGovernorDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "TurbineGovernorDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Turbine-governor controlled by this turbine load controller." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "TurbineLoadControllerUserDefined",
        qualified: "TurbineLoadControllerUserDefined",
        super_class: Some(377),
        concrete: true,
        origins: &["DY"],
        comment: "Turbine load controller function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "TurbineLoadControllerUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "TurbineLoadControllerUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100-European#",
        local: "URI",
        qualified: "URI",
        super_class: None,
        concrete: false,
        origins: &["FH"],
        comment: "URI is a string following the rules defined by the W3C/IETF URI Planning Interest Group in a set of RFCs of which one is RFC 3305.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcLim2Simplified",
        qualified: "UnderexcLim2Simplified",
        super_class: Some(385),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified type UEL2 underexcitation limiter. This model can be derived from UnderexcLimIEEE2. The limit characteristic (look -up table) is a single straight-line, the same as UnderexcLimIEEE2 (see Figure 10.4 (p 32), IEEE 421.5-2005 Section 10.2).",
        attrs: &[
            AttrDef { id: "UnderexcLim2Simplified.kui", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain Under excitation limiter (KUI). Typical value = 0,1." },
            AttrDef { id: "UnderexcLim2Simplified.p0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Segment P initial point (P0). Typical value = 0." },
            AttrDef { id: "UnderexcLim2Simplified.p1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Segment P end point (P1). Typical value = 1." },
            AttrDef { id: "UnderexcLim2Simplified.q0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Segment Q initial point (Q0). Typical value = -0,31." },
            AttrDef { id: "UnderexcLim2Simplified.q1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Segment Q end point (Q1). Typical value = -0,1." },
            AttrDef { id: "UnderexcLim2Simplified.vuimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum error signal (VUIMAX) (> UnderexcLim2Simplified.vuimin). Typical value = 1." },
            AttrDef { id: "UnderexcLim2Simplified.vuimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum error signal (VUIMIN) (< UnderexcLim2Simplified.vuimax). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcLimIEEE1",
        qualified: "UnderexcLimIEEE1",
        super_class: Some(385),
        concrete: true,
        origins: &["DY"],
        comment: "Type UEL1 model which has a circular limit boundary when plotted in terms of machine reactive power vs. real power output. Reference: IEEE UEL1 421.5-2005, 10.1.",
        attrs: &[
            AttrDef { id: "UnderexcLimIEEE1.kuc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL centre setting (KUC). Typical value = 1,38." },
            AttrDef { id: "UnderexcLimIEEE1.kuf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL excitation system stabilizer gain (KUF). Typical value = 3,3." },
            AttrDef { id: "UnderexcLimIEEE1.kui", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL integral gain (KUI). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE1.kul", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL proportional gain (KUL). Typical value = 100." },
            AttrDef { id: "UnderexcLimIEEE1.kur", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL radius setting (KUR). Typical value = 1,95." },
            AttrDef { id: "UnderexcLimIEEE1.tu1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lead time constant (TU1) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE1.tu2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lag time constant (TU2) (>= 0). Typical value = 0,05." },
            AttrDef { id: "UnderexcLimIEEE1.tu3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lead time constant (TU3) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE1.tu4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lag time constant (TU4) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE1.vucmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL maximum limit for operating point phasor magnitude (VUCMAX). Typical value = 5,8." },
            AttrDef { id: "UnderexcLimIEEE1.vuimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL integrator output maximum limit (VUIMAX) (> UnderexcLimIEEE1.vuimin)." },
            AttrDef { id: "UnderexcLimIEEE1.vuimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL integrator output minimum limit (VUIMIN) (< UnderexcLimIEEE1.vuimax)." },
            AttrDef { id: "UnderexcLimIEEE1.vulmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL output maximum limit (VULMAX) (> UnderexcLimIEEE1.vulmin). Typical value = 18." },
            AttrDef { id: "UnderexcLimIEEE1.vulmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL output minimum limit (VULMIN) (< UnderexcLimIEEE1.vulmax). Typical value = -18." },
            AttrDef { id: "UnderexcLimIEEE1.vurmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL maximum limit for radius phasor magnitude (VURMAX). Typical value = 5,8." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcLimIEEE2",
        qualified: "UnderexcLimIEEE2",
        super_class: Some(385),
        concrete: true,
        origins: &["DY"],
        comment: "Type UEL2 underexcitation limiter which has either a straight-line or multi-segment characteristic when plotted in terms of machine reactive power output vs. real power output. Reference: IEEE UEL2 421.5-2005, 10.2 (limit characteristic lookup table shown in Figure 10.4 (p 32)).",
        attrs: &[
            AttrDef { id: "UnderexcLimIEEE2.k1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL terminal voltage exponent applied to real power input to UEL limit look-up table (k1). Typical value = 2." },
            AttrDef { id: "UnderexcLimIEEE2.k2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL terminal voltage exponent applied to reactive power output from UEL limit look-up table (k2). Typical value = 2." },
            AttrDef { id: "UnderexcLimIEEE2.kfb", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain associated with optional integrator feedback input signal to UEL (KFB). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.kuf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL excitation system stabilizer gain (KUF). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.kui", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL integral gain (KUI). Typical value = 0,5." },
            AttrDef { id: "UnderexcLimIEEE2.kul", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL proportional gain (KUL). Typical value = 0,8." },
            AttrDef { id: "UnderexcLimIEEE2.p0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.p1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P1). Typical value = 0,3." },
            AttrDef { id: "UnderexcLimIEEE2.p10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P10)." },
            AttrDef { id: "UnderexcLimIEEE2.p2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P2). Typical value = 0,6." },
            AttrDef { id: "UnderexcLimIEEE2.p3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P3). Typical value = 0,9." },
            AttrDef { id: "UnderexcLimIEEE2.p4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P4). Typical value = 1,02." },
            AttrDef { id: "UnderexcLimIEEE2.p5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P5)." },
            AttrDef { id: "UnderexcLimIEEE2.p6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P6)." },
            AttrDef { id: "UnderexcLimIEEE2.p7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P7)." },
            AttrDef { id: "UnderexcLimIEEE2.p8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P8)." },
            AttrDef { id: "UnderexcLimIEEE2.p9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power values for endpoints (P9)." },
            AttrDef { id: "UnderexcLimIEEE2.q0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q0). Typical value = -0,31." },
            AttrDef { id: "UnderexcLimIEEE2.q1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q1). Typical value = -0,31." },
            AttrDef { id: "UnderexcLimIEEE2.q10", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q10)." },
            AttrDef { id: "UnderexcLimIEEE2.q2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q2). Typical value = -0,28." },
            AttrDef { id: "UnderexcLimIEEE2.q3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q3). Typical value = -0,21." },
            AttrDef { id: "UnderexcLimIEEE2.q4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q4). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.q5", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q5)." },
            AttrDef { id: "UnderexcLimIEEE2.q6", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q6)." },
            AttrDef { id: "UnderexcLimIEEE2.q7", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q7)." },
            AttrDef { id: "UnderexcLimIEEE2.q8", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q8)." },
            AttrDef { id: "UnderexcLimIEEE2.q9", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power values for endpoints (Q9)." },
            AttrDef { id: "UnderexcLimIEEE2.tu1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lead time constant (TU1) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.tu2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lag time constant (TU2) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.tu3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lead time constant (TU3) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.tu4", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL lag time constant (TU4) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.tul", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant associated with optional integrator feedback input signal to UEL (TUL) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.tup", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Real power filter time constant (TUP) (>= 0). Typical value = 5." },
            AttrDef { id: "UnderexcLimIEEE2.tuq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power filter time constant (TUQ) (>= 0). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.tuv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage filter time constant (TUV) (>= 0). Typical value = 5." },
            AttrDef { id: "UnderexcLimIEEE2.vuimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL integrator output maximum limit (VUIMAX) (> UnderexcLimIEEE2.vuimin). Typical value = 0,25." },
            AttrDef { id: "UnderexcLimIEEE2.vuimin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL integrator output minimum limit (VUIMIN) (< UnderexcLimIEEE2.vuimax). Typical value = 0." },
            AttrDef { id: "UnderexcLimIEEE2.vulmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL output maximum limit (VULMAX) (> UnderexcLimIEEE2.vulmin). Typical value = 0,25." },
            AttrDef { id: "UnderexcLimIEEE2.vulmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "UEL output minimum limit (VULMIN) (< UnderexcLimIEEE2.vulmax). Typical value = 0." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcLimX1",
        qualified: "UnderexcLimX1",
        super_class: Some(385),
        concrete: true,
        origins: &["DY"],
        comment: "Allis-Chalmers minimum excitation limiter.",
        attrs: &[
            AttrDef { id: "UnderexcLimX1.k", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit slope (K) (> 0)." },
            AttrDef { id: "UnderexcLimX1.kf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Differential gain (KF2)." },
            AttrDef { id: "UnderexcLimX1.km", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit gain (KM)." },
            AttrDef { id: "UnderexcLimX1.melmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit value (MELMAX)." },
            AttrDef { id: "UnderexcLimX1.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Differential time constant (TF2) (>= 0)." },
            AttrDef { id: "UnderexcLimX1.tm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit time constant (TM) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcLimX2",
        qualified: "UnderexcLimX2",
        super_class: Some(385),
        concrete: true,
        origins: &["DY"],
        comment: "Westinghouse minimum excitation limiter.",
        attrs: &[
            AttrDef { id: "UnderexcLimX2.kf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Differential gain (KF2)." },
            AttrDef { id: "UnderexcLimX2.km", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit gain (KM)." },
            AttrDef { id: "UnderexcLimX2.melmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit value (MELMAX)." },
            AttrDef { id: "UnderexcLimX2.qo", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation centre setting (QO)." },
            AttrDef { id: "UnderexcLimX2.r", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Excitation radius (R)." },
            AttrDef { id: "UnderexcLimX2.tf2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Differential time constant (TF2) (>= 0)." },
            AttrDef { id: "UnderexcLimX2.tm", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum excitation limit time constant (TM) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcitationLimiterDynamics",
        qualified: "UnderexcitationLimiterDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Underexcitation limiter function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "UnderexcitationLimiterDynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this underexcitation limiter model is associated." },
            AttrDef { id: "UnderexcitationLimiterDynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by this underexcitation limiter model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnderexcitationLimiterUserDefined",
        qualified: "UnderexcitationLimiterUserDefined",
        super_class: Some(385),
        concrete: true,
        origins: &["DY"],
        comment: "Underexcitation limiter function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "UnderexcitationLimiterUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "UnderexcitationLimiterUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VAdjIEEE",
        qualified: "VAdjIEEE",
        super_class: Some(395),
        concrete: true,
        origins: &["DY"],
        comment: "IEEE voltage adjuster which is used to represent the voltage adjuster in either a power factor or VAr control system. Reference: IEEE 421.5-2005, 11.1.",
        attrs: &[
            AttrDef { id: "VAdjIEEE.adjslew", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate at which output of adjuster changes (ADJ_SLEW). Unit = s / PU. Typical value = 300." },
            AttrDef { id: "VAdjIEEE.taoff", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time that adjuster pulses are off (TAOFF) (>= 0). Typical value = 0,5." },
            AttrDef { id: "VAdjIEEE.taon", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time that adjuster pulses are on (TAON) (>= 0). Typical value = 0,1." },
            AttrDef { id: "VAdjIEEE.vadjf", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Set high to provide a continuous raise or lower (VADJF)." },
            AttrDef { id: "VAdjIEEE.vadjmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum output of the adjuster (VADJMAX) (> VAdjIEEE.vadjmin). Typical value = 1,1." },
            AttrDef { id: "VAdjIEEE.vadjmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum output of the adjuster (VADJMIN) (< VAdjIEEE.vadjmax). Typical value = 0,9." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VCompIEEEType1",
        qualified: "VCompIEEEType1",
        super_class: Some(397),
        concrete: true,
        origins: &["DY"],
        comment: "Terminal voltage transducer and load compensator as defined in IEEE 421.5-2005, 4. This model is common to all excitation system models described in the IEEE Standard. Parameter details: If Rc and Xc are set to zero, the load compensation is not employed and the behaviour is as a simple sensing circuit. If all parameters (Rc, Xc and Tr) are set to zero, the standard model VCompIEEEType1 is bypassed. Reference: IEEE 421.5-2005 4.",
        attrs: &[
            AttrDef { id: "VCompIEEEType1.rc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Resistive component of compensation of a generator (Rc) (>= 0)." },
            AttrDef { id: "VCompIEEEType1.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant which is used for the combined voltage sensing and compensation signal (Tr) (>= 0)." },
            AttrDef { id: "VCompIEEEType1.xc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive component of compensation of a generator (Xc) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VCompIEEEType2",
        qualified: "VCompIEEEType2",
        super_class: Some(397),
        concrete: true,
        origins: &["DY"],
        comment: "Terminal voltage transducer and load compensator as defined in IEEE 421.5-2005, 4. This model is designed to cover the following types of compensation: reactive droop; transformer-drop or line-drop compensation; reactive differential compensation known also as cross-current compensation. Reference: IEEE 421.5-2005, 4.",
        attrs: &[
            AttrDef { id: "VCompIEEEType2.GenICompensationForGenJ", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "GenICompensationForGenJ", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Compensation of this voltage compensator's generator for current flow out of another generator." },
            AttrDef { id: "VCompIEEEType2.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant which is used for the combined voltage sensing and compensation signal (Tr) (>= 0)." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VSCDynamics",
        qualified: "VSCDynamics",
        super_class: Some(208),
        concrete: false,
        origins: &["DY"],
        comment: "VSC function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "VSCDynamics.VsConverter", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VsConverter", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Voltage source converter to which voltage source converter dynamics model applies." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VSCUserDefined",
        qualified: "VSCUserDefined",
        super_class: Some(390),
        concrete: true,
        origins: &["DY"],
        comment: "Voltage source converter (VSC) function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "VSCUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "VSCUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ValueAliasSet",
        qualified: "ValueAliasSet",
        super_class: Some(213),
        concrete: true,
        origins: &["OP"],
        comment: "Describes the translation of a set of values into a name and is intendend to facilitate custom translations. Each ValueAliasSet has a name, description etc. A specific Measurement may represent a discrete state like Open, Closed, Intermediate etc. This requires a translation from the MeasurementValue.value number to a string, e.g. 0->'Invalid', 1->'Open', 2->'Closed', 3->'Intermediate'. Each ValueToAlias member in ValueAliasSet.Value describe a mapping for one particular value to a name.",
        attrs: &[
            AttrDef { id: "ValueAliasSet.Commands", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Command", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The Commands using the set for translation." },
            AttrDef { id: "ValueAliasSet.Discretes", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Discrete", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The Measurements using the set for translation." },
            AttrDef { id: "ValueAliasSet.RaiseLowerCommands", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RaiseLowerCommand", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The Commands using the set for translation." },
            AttrDef { id: "ValueAliasSet.Values", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ValueToAlias", is_list: true, used: false, xsd: "", value_ns: "", origins: &["OP"], comment: "The ValueToAlias mappings included in the set." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ValueToAlias",
        qualified: "ValueToAlias",
        super_class: Some(213),
        concrete: true,
        origins: &["OP"],
        comment: "Describes the translation of one particular value into a name, e.g. 1 as 'Open'.",
        attrs: &[
            AttrDef { id: "ValueToAlias.ValueAliasSet", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ValueAliasSet", is_list: false, used: true, xsd: "", value_ns: "", origins: &["OP"], comment: "The ValueAliasSet having the ValueToAlias mappings." },
            AttrDef { id: "ValueToAlias.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["OP"], comment: "The value that is mapped." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VisibilityLayer",
        qualified: "VisibilityLayer",
        super_class: Some(213),
        concrete: true,
        origins: &["DL"],
        comment: "Layers are typically used for grouping diagram objects according to themes and scales. Themes are used to display or hide certain information (e.g., lakes, borders), while scales are used for hiding or displaying information depending on the current zoom level (hide text when it is too small to be read, or when it exceeds the screen size). This is also called de-cluttering. CIM based graphics exchange supports an m:n relationship between diagram objects and layers. The importing system shall convert an m:n case into an appropriate 1:n representation if the importing system does not support m:n.",
        attrs: &[
            AttrDef { id: "VisibilityLayer.VisibleObjects", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "DiagramObject", is_list: true, used: true, xsd: "", value_ns: "", origins: &["DL"], comment: "A visibility layer can contain one or more diagram objects." },
            AttrDef { id: "VisibilityLayer.drawingOrder", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DL"], comment: "The drawing order for this layer. The higher the number, the later the layer and the objects within it are rendered." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VoltageAdjusterDynamics",
        qualified: "VoltageAdjusterDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Voltage adjuster function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "VoltageAdjusterDynamics.PFVArControllerType1Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PFVArControllerType1Dynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Power factor or VAr controller type 1 model with which this voltage adjuster is associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VoltageAdjusterUserDefined",
        qualified: "VoltageAdjusterUserDefined",
        super_class: Some(395),
        concrete: true,
        origins: &["DY"],
        comment: "Voltage adjuster function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "VoltageAdjusterUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "VoltageAdjusterUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VoltageCompensatorDynamics",
        qualified: "VoltageCompensatorDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Voltage compensator function block whose behaviour is described by reference to a standard model or by definition of a user-defined model.",
        attrs: &[
            AttrDef { id: "VoltageCompensatorDynamics.ExcitationSystemDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ExcitationSystemDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Excitation system model with which this voltage compensator is associated." },
            AttrDef { id: "VoltageCompensatorDynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by this voltage compensator model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VoltageCompensatorUserDefined",
        qualified: "VoltageCompensatorUserDefined",
        super_class: Some(397),
        concrete: true,
        origins: &["DY"],
        comment: "Voltage compensator function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "VoltageCompensatorUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "VoltageCompensatorUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VoltageLevel",
        qualified: "VoltageLevel",
        super_class: Some(99),
        concrete: true,
        origins: &["EQ", "EQBD"],
        comment: "A collection of equipment at one common system voltage forming a switchgear. The equipment typically consists of breakers, busbars, instrumentation, control, regulation and protection devices as well as assemblies of all these.",
        attrs: &[
            AttrDef { id: "VoltageLevel.BaseVoltage", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "BaseVoltage", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The base voltage used for all equipment within the voltage level." },
            AttrDef { id: "VoltageLevel.Bays", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Bay", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The bays within this voltage level." },
            AttrDef { id: "VoltageLevel.Substation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "Substation", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ", "EQBD"], comment: "The substation of the voltage level." },
            AttrDef { id: "VoltageLevel.highVoltageLimit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ", "EQBD"], comment: "The bus bar's high voltage limit. The limit applies to all equipment and nodes contained in a given VoltageLevel. It is not required that it is exchanged in pair with lowVoltageLimit. It is preferable to use operational VoltageLimit, which prevails, if present." },
            AttrDef { id: "VoltageLevel.lowVoltageLimit", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ", "EQBD"], comment: "The bus bar's low voltage limit. The limit applies to all equipment and nodes contained in a given VoltageLevel. It is not required that it is exchanged in pair with highVoltageLimit. It is preferable to use operational VoltageLimit, which prevails, if present." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VoltageLimit",
        qualified: "VoltageLimit",
        super_class: Some(248),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "Operational limit applied to voltage. The use of operational VoltageLimit is preferred instead of limits defined at VoltageLevel. The operational VoltageLimits are used, if present.",
        attrs: &[
            AttrDef { id: "VoltageLimit.normalValue", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The normal limit on voltage. High or low limit nature of the limit depends upon the properties of the operational limit type. The attribute shall be a positive value or zero." },
            AttrDef { id: "VoltageLimit.value", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Limit on voltage. High or low limit nature of the limit depends upon the properties of the operational limit type. The attribute shall be a positive value or zero." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VsCapabilityCurve",
        qualified: "VsCapabilityCurve",
        super_class: Some(53),
        concrete: true,
        origins: &["EQ"],
        comment: "The P-Q capability curve for a voltage source converter, with P on X-axis and Qmin and Qmax on Y1-axis and Y2-axis.",
        attrs: &[
            AttrDef { id: "VsCapabilityCurve.VsConverterDCSides", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VsConverter", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "All converters with this capability curve." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VsConverter",
        qualified: "VsConverter",
        super_class: Some(0),
        concrete: true,
        origins: &["EQ", "DY", "SSH", "SV"],
        comment: "DC side of the voltage source converter (VSC).",
        attrs: &[
            AttrDef { id: "VsConverter.CapabilityCurve", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VsCapabilityCurve", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "Capability curve of this converter." },
            AttrDef { id: "VsConverter.VSCDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "VSCDynamics", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Voltage source converter dynamics model used to describe dynamic behaviour of this converter." },
            AttrDef { id: "VsConverter.delta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Angle between VsConverter.uv and ACDCConverter.uc. It is converter’s state variable used in power flow. The attribute shall be a positive value or zero." },
            AttrDef { id: "VsConverter.droop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Droop constant. The pu value is obtained as D [kV/MW] x Sb / Ubdc. The attribute shall be a positive value." },
            AttrDef { id: "VsConverter.droopCompensation", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Resistance", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Compensation constant. Used to compensate for voltage drop when controlling voltage at a distant bus. The attribute shall be a positive value." },
            AttrDef { id: "VsConverter.maxModulationIndex", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["EQ"], comment: "The maximum quotient between the AC converter voltage (Uc) and DC voltage (Ud). A factor typically less than 1. It is converter’s configuration data used in power flow." },
            AttrDef { id: "VsConverter.pPccControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "VsPpccControlKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Kind of control of real power and/or DC voltage." },
            AttrDef { id: "VsConverter.qPccControl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "VsQpccControlKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["SSH"], comment: "Kind of reactive power control." },
            AttrDef { id: "VsConverter.qShare", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PerCent", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power sharing factor among parallel converters on Uac control. The attribute shall be a positive value or zero." },
            AttrDef { id: "VsConverter.targetPWMfactor", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Magnitude of pulse-modulation factor. The attribute shall be a positive value." },
            AttrDef { id: "VsConverter.targetPhasePcc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Phase target at AC side, at point of common coupling. The attribute shall be a positive value." },
            AttrDef { id: "VsConverter.targetPowerFactorPcc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Power factor target at the AC side, at point of common coupling. The attribute shall be a positive value." },
            AttrDef { id: "VsConverter.targetQpcc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "ReactivePower", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Reactive power injection target in AC grid, at point of common coupling. Load sign convention is used, i.e. positive sign means flow out from a node." },
            AttrDef { id: "VsConverter.targetUpcc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SSH"], comment: "Voltage target in AC grid, at point of common coupling. The attribute shall be a positive value." },
            AttrDef { id: "VsConverter.uv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Voltage", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["SV"], comment: "Line-to-line voltage on the valve side of the converter transformer. It is converter’s state variable, result from power flow. The attribute shall be a positive value." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WaveTrap",
        qualified: "WaveTrap",
        super_class: Some(21),
        concrete: true,
        origins: &["EQ"],
        comment: "Line traps are devices that impede high frequency power line carrier signals yet present a negligible impedance at the main power frequency.",
        attrs: &[],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindAeroConstIEC",
        qualified: "WindAeroConstIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Constant aerodynamic torque model which assumes that the aerodynamic torque is constant. Reference: IEC 61400-27-1:2015, 5.6.1.1.",
        attrs: &[
            AttrDef { id: "WindAeroConstIEC.WindGenTurbineType1aIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenTurbineType1aIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 1A model with which this wind aerodynamic model is associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindAeroOneDimIEC",
        qualified: "WindAeroOneDimIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "One-dimensional aerodynamic model. Reference: IEC 61400-27-1:2015, 5.6.1.2.",
        attrs: &[
            AttrDef { id: "WindAeroOneDimIEC.WindTurbineType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 model with which this wind aerodynamic model is associated." },
            AttrDef { id: "WindAeroOneDimIEC.ka", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Aerodynamic gain (ka). It is a type-dependent parameter." },
            AttrDef { id: "WindAeroOneDimIEC.thetaomega", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Initial pitch angle (thetaomega0). It is a case-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindAeroTwoDimIEC",
        qualified: "WindAeroTwoDimIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Two-dimensional aerodynamic model. Reference: IEC 61400-27-1:2015, 5.6.1.3.",
        attrs: &[
            AttrDef { id: "WindAeroTwoDimIEC.WindTurbineType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 model with which this wind aerodynamic model is associated." },
            AttrDef { id: "WindAeroTwoDimIEC.dpomega", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Partial derivative of aerodynamic power with respect to changes in WTR speed (dpomega). It is a type-dependent parameter." },
            AttrDef { id: "WindAeroTwoDimIEC.dptheta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Partial derivative of aerodynamic power with respect to changes in pitch angle (dptheta). It is a type-dependent parameter." },
            AttrDef { id: "WindAeroTwoDimIEC.dpv1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Partial derivative (dpv1). It is a type-dependent parameter." },
            AttrDef { id: "WindAeroTwoDimIEC.omegazero", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rotor speed if the wind turbine is not derated (omega0). It is a type-dependent parameter." },
            AttrDef { id: "WindAeroTwoDimIEC.pavail", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Available aerodynamic power (pavail). It is a case-dependent parameter." },
            AttrDef { id: "WindAeroTwoDimIEC.thetav2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Blade angle at twice rated wind speed (thetav2). It is a type-dependent parameter." },
            AttrDef { id: "WindAeroTwoDimIEC.thetazero", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pitch angle if the wind turbine is not derated (theta0). It is a case-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContCurrLimIEC",
        qualified: "WindContCurrLimIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Current limitation model. The current limitation model combines the physical limits and the control limits. Reference: IEC 61400-27-1:2015, 5.6.5.8.",
        attrs: &[
            AttrDef { id: "WindContCurrLimIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this current control limitation model." },
            AttrDef { id: "WindContCurrLimIEC.WindTurbineType3or4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 or type 4 model with which this wind control current limitation model is associated." },
            AttrDef { id: "WindContCurrLimIEC.imax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum continuous current at the wind turbine terminals (imax). It is a type-dependent parameter." },
            AttrDef { id: "WindContCurrLimIEC.imaxdip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum current during voltage dip at the wind turbine terminals (imaxdip). It is a project-dependent parameter." },
            AttrDef { id: "WindContCurrLimIEC.kpqu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Partial derivative of reactive current limit (Kpqu) versus voltage. It is a type-dependent parameter." },
            AttrDef { id: "WindContCurrLimIEC.mdfslim", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Limitation of type 3 stator current (MDFSLim). MDFSLim = 1 for wind turbines type 4. It is a type-dependent parameter. false= total current limitation (0 in the IEC model) true=stator current limitation (1 in the IEC model)." },
            AttrDef { id: "WindContCurrLimIEC.mqpri", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Prioritisation of Q control during UVRT (Mqpri). It is a project-dependent parameter. true = reactive power priority (1 in the IEC model) false = active power priority (0 in the IEC model)." },
            AttrDef { id: "WindContCurrLimIEC.tufiltcl", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage measurement filter time constant (Tufiltcl) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContCurrLimIEC.upqumax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Wind turbine voltage in the operation point where zero reactive current can be delivered (upqumax). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContPType3IEC",
        qualified: "WindContPType3IEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "P control model type 3. Reference: IEC 61400-27-1:2015, 5.6.5.4.",
        attrs: &[
            AttrDef { id: "WindContPType3IEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this P control type 3 model." },
            AttrDef { id: "WindContPType3IEC.WindTurbineType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 model with which this wind control P type 3 model is associated." },
            AttrDef { id: "WindContPType3IEC.dpmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum wind turbine power ramp rate (dpmax). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.dprefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum ramp rate of wind turbine reference power (dprefmax). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.dprefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum ramp rate of wind turbine reference power (dprefmin). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.dthetamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Ramp limitation of torque, required in some grid codes (dtmax). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.dthetamaxuvrt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Limitation of torque rise rate during UVRT (dthetamaxUVRT). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.kdtd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Gain for active drive train damping (KDTD). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.kip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller integration parameter (KIp). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.kpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "PI controller proportional gain (KPp). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.mpuvrt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Enable UVRT power control mode (MpUVRT). It is a project-dependent parameter. true = voltage control (1 in the IEC model) false = reactive power control (0 in the IEC model)." },
            AttrDef { id: "WindContPType3IEC.omegadtd", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Active drive train damping frequency (omegaDTD). It can be calculated from two mass model parameters. It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.omegaoffset", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Offset to reference value that limits controller action during rotor speed changes (omegaoffset). It is a case-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.pdtdmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum active drive train damping power (pDTDmax). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.tdvs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time delay after deep voltage sags (TDVS) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.thetaemin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum electrical generator torque (temin). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.thetauscale", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage scaling factor of reset-torque (tuscale). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.tomegafiltp3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for generator speed measurement (Tomegafiltp3) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.tomegaref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant in speed reference filter (Tomega,ref) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.tpfiltp3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for power measurement (Tpfiltp3) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.tpord", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant in power order lag (Tpord). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.tufiltp3", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for voltage measurement (Tufiltp3) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.udvs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage limit for hold UVRT status after deep voltage sags (uDVS). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.updip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage dip threshold for P-control (uPdip). Part of turbine control, often different (e.g 0.8) from converter thresholds. It is a project-dependent parameter." },
            AttrDef { id: "WindContPType3IEC.zeta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Coefficient for active drive train damping (zeta). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContPType4aIEC",
        qualified: "WindContPType4aIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "P control model type 4A. Reference: IEC 61400-27-1:2015, 5.6.5.5.",
        attrs: &[
            AttrDef { id: "WindContPType4aIEC.WindTurbineType4aIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType4aIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 4A model with which this wind control P type 4A model is associated." },
            AttrDef { id: "WindContPType4aIEC.dpmaxp4a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum wind turbine power ramp rate (dpmaxp4A). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType4aIEC.tpordp4a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant in power order lag (Tpordp4A) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType4aIEC.tufiltp4a", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage measurement filter time constant (Tufiltp4A) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContPType4bIEC",
        qualified: "WindContPType4bIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "P control model type 4B. Reference: IEC 61400-27-1:2015, 5.6.5.6.",
        attrs: &[
            AttrDef { id: "WindContPType4bIEC.WindTurbineType4bIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType4bIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 4B model with which this wind control P type 4B model is associated." },
            AttrDef { id: "WindContPType4bIEC.dpmaxp4b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum wind turbine power ramp rate (dpmaxp4B). It is a project-dependent parameter." },
            AttrDef { id: "WindContPType4bIEC.tpaero", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant in aerodynamic power response (Tpaero) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType4bIEC.tpordp4b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant in power order lag (Tpordp4B) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContPType4bIEC.tufiltp4b", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage measurement filter time constant (Tufiltp4B) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContPitchAngleIEC",
        qualified: "WindContPitchAngleIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Pitch angle control model. Reference: IEC 61400-27-1:2015, 5.6.5.2.",
        attrs: &[
            AttrDef { id: "WindContPitchAngleIEC.WindTurbineType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 model with which this pitch control model is associated." },
            AttrDef { id: "WindContPitchAngleIEC.dthetamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum pitch positive ramp rate (dthetamax) (> WindContPitchAngleIEC.dthetamin). It is a type-dependent parameter. Unit = degrees / s." },
            AttrDef { id: "WindContPitchAngleIEC.dthetamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum pitch negative ramp rate (dthetamin) (< WindContPitchAngleIEC.dthetamax). It is a type-dependent parameter. Unit = degrees / s." },
            AttrDef { id: "WindContPitchAngleIEC.kic", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power PI controller integration gain (KIc). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.kiomega", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed PI controller integration gain (KIomega). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.kpc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power PI controller proportional gain (KPc). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.kpomega", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Speed PI controller proportional gain (KPomega). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.kpx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pitch cross coupling gain (KPX). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.thetamax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum pitch angle (thetamax) (> WindContPitchAngleIEC.thetamin). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.thetamin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "AngleDegrees", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum pitch angle (thetamin) (< WindContPitchAngleIEC.thetamax). It is a type-dependent parameter." },
            AttrDef { id: "WindContPitchAngleIEC.ttheta", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Pitch time constant (ttheta) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContQIEC",
        qualified: "WindContQIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Q control model. Reference: IEC 61400-27-1:2015, 5.6.5.7.",
        attrs: &[
            AttrDef { id: "WindContQIEC.WindTurbineType3or4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 or type 4 model with which this reactive control model is associated." },
            AttrDef { id: "WindContQIEC.iqh1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum reactive current injection during dip (iqh1). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.iqmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum reactive current injection (iqmax) (> WindContQIEC.iqmin). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.iqmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum reactive current injection (iqmin) (< WindContQIEC.iqmax). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.iqpost", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Post fault reactive current injection (iqpost). It is a project-dependent parameter." },
            AttrDef { id: "WindContQIEC.kiq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power PI controller integration gain (KI,q). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.kiu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage PI controller integration gain (KI,u). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.kpq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power PI controller proportional gain (KP,q). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.kpu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage PI controller proportional gain (KP,u). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.kqv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage scaling factor for UVRT current (Kqv). It is a project-dependent parameter." },
            AttrDef { id: "WindContQIEC.rdroop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Resistive component of voltage drop impedance (rdroop) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindContQIEC.tpfiltq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power measurement filter time constant (Tpfiltq) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.tpost", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Length of time period where post fault reactive power is injected (Tpost) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindContQIEC.tqord", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant in reactive power order lag (Tqord) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.tufiltq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage measurement filter time constant (Tufiltq) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.udb1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage deadband lower limit (udb1). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.udb2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage deadband upper limit (udb2). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.umax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum voltage in voltage PI controller integral term (umax) (> WindContQIEC.umin). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.umin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum voltage in voltage PI controller integral term (umin) (< WindContQIEC.umax). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.uqdip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage threshold for UVRT detection in Q control (uqdip). It is a type-dependent parameter." },
            AttrDef { id: "WindContQIEC.uref0", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "User-defined bias in voltage reference (uref0). It is a case-dependent parameter." },
            AttrDef { id: "WindContQIEC.windQcontrolModesType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "WindQcontrolModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Types of general wind turbine Q control modes (MqG). It is a project-dependent parameter." },
            AttrDef { id: "WindContQIEC.windUVRTQcontrolModesType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "WindUVRTQcontrolModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Types of UVRT Q control modes (MqUVRT). It is a project-dependent parameter." },
            AttrDef { id: "WindContQIEC.xdroop", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inductive component of voltage drop impedance (xdroop) (>= 0). It is a project-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContQLimIEC",
        qualified: "WindContQLimIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Constant Q limitation model. Reference: IEC 61400-27-1:2015, 5.6.5.9.",
        attrs: &[
            AttrDef { id: "WindContQLimIEC.WindTurbineType3or4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 3 or type 4 model with which this constant Q limitation model is associated." },
            AttrDef { id: "WindContQLimIEC.qmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum reactive power (qmax) (> WindContQLimIEC.qmin). It is a type-dependent parameter." },
            AttrDef { id: "WindContQLimIEC.qmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum reactive power (qmin) (< WindContQLimIEC.qmax). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContQPQULimIEC",
        qualified: "WindContQPQULimIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "QP and QU limitation model. Reference: IEC 61400-27-1:2015, 5.6.5.10.",
        attrs: &[
            AttrDef { id: "WindContQPQULimIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this QP and QU limitation model." },
            AttrDef { id: "WindContQPQULimIEC.WindTurbineType3or4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 3 or type 4 model with which this QP and QU limitation model is associated." },
            AttrDef { id: "WindContQPQULimIEC.tpfiltql", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power measurement filter time constant for Q capacity (Tpfiltql) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContQPQULimIEC.tufiltql", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage measurement filter time constant for Q capacity (Tufiltql) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindContRotorRIEC",
        qualified: "WindContRotorRIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Rotor resistance control model. Reference: IEC 61400-27-1:2015, 5.6.5.3.",
        attrs: &[
            AttrDef { id: "WindContRotorRIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this rotor resistance control model." },
            AttrDef { id: "WindContRotorRIEC.WindGenTurbineType2IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenTurbineType2IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 2 model with whitch this wind control rotor resistance model is associated." },
            AttrDef { id: "WindContRotorRIEC.kirr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Integral gain in rotor resistance PI controller (KIrr). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.komegafilt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter gain for generator speed measurement (Komegafilt). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.kpfilt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter gain for power measurement (Kpfilt). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.kprr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Proportional gain in rotor resistance PI controller (KPrr). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.rmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum rotor resistance (rmax) (> WindContRotorRIEC.rmin). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.rmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum rotor resistance (rmin) (< WindContRotorRIEC.rmax). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.tomegafiltrr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for generator speed measurement (Tomegafiltrr) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindContRotorRIEC.tpfiltrr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for power measurement (Tpfiltrr) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindDynamicsLookupTable",
        qualified: "WindDynamicsLookupTable",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Look up table for the purpose of wind standard models.",
        attrs: &[
            AttrDef { id: "WindDynamicsLookupTable.WindContCurrLimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContCurrLimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The current control limitation model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindContPType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContPType3IEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The P control type 3 model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindContQPQULimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContQPQULimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The QP and QU limitation model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindContRotorRIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContRotorRIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The rotor resistance control model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindGenType3bIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenType3bIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The generator type 3B model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindPitchContPowerIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPitchContPowerIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The pitch control power model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindPlantFreqPcontrolIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantFreqPcontrolIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The frequency and active power wind plant control model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindPlantReactiveControlIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantReactiveControlIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The voltage and reactive power wind plant control model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.WindProtectionIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindProtectionIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The grid protection model with which this wind dynamics lookup table is associated." },
            AttrDef { id: "WindDynamicsLookupTable.input", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Input value (x) for the lookup table function." },
            AttrDef { id: "WindDynamicsLookupTable.lookupTableFunctionType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "WindLookupTableFunctionKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Type of the lookup table function." },
            AttrDef { id: "WindDynamicsLookupTable.output", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Output value (y) for the lookup table function." },
            AttrDef { id: "WindDynamicsLookupTable.sequence", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Integer", is_list: false, used: true, xsd: "integer", value_ns: "", origins: &["DY"], comment: "Sequence numbers of the pairs of the input (x) and the output (y) of the lookup table function." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenTurbineType1aIEC",
        qualified: "WindGenTurbineType1aIEC",
        super_class: Some(436),
        concrete: true,
        origins: &["DY"],
        comment: "Wind turbine IEC type 1A. Reference: IEC 61400-27-1:2015, 5.5.2.2.",
        attrs: &[
            AttrDef { id: "WindGenTurbineType1aIEC.WindAeroConstIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindAeroConstIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind aerodynamic model associated with this wind turbine type 1A model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenTurbineType1bIEC",
        qualified: "WindGenTurbineType1bIEC",
        super_class: Some(436),
        concrete: true,
        origins: &["DY"],
        comment: "Wind turbine IEC type 1B. Reference: IEC 61400-27-1:2015, 5.5.2.3.",
        attrs: &[
            AttrDef { id: "WindGenTurbineType1bIEC.WindPitchContPowerIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPitchContPowerIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Pitch control power model associated with this wind turbine type 1B model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenTurbineType2IEC",
        qualified: "WindGenTurbineType2IEC",
        super_class: Some(436),
        concrete: true,
        origins: &["DY"],
        comment: "Wind turbine IEC type 2. Reference: IEC 61400-27-1:2015, 5.5.3.",
        attrs: &[
            AttrDef { id: "WindGenTurbineType2IEC.WindContRotorRIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContRotorRIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control rotor resistance model associated with wind turbine type 2 model." },
            AttrDef { id: "WindGenTurbineType2IEC.WindPitchContPowerIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPitchContPowerIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Pitch control power model associated with this wind turbine type 2 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenType3IEC",
        qualified: "WindGenType3IEC",
        super_class: Some(213),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to IEC wind turbines type 3 generator models of IEC type 3A and 3B.",
        attrs: &[
            AttrDef { id: "WindGenType3IEC.WindTurbineType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 model with which this wind generator type 3 is associated." },
            AttrDef { id: "WindGenType3IEC.dipmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum active current ramp rate (dipmax). It is a project-dependent parameter." },
            AttrDef { id: "WindGenType3IEC.diqmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum reactive current ramp rate (diqmax). It is a project-dependent parameter." },
            AttrDef { id: "WindGenType3IEC.xs", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Electromagnetic transient reactance (xS). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenType3aIEC",
        qualified: "WindGenType3aIEC",
        super_class: Some(420),
        concrete: true,
        origins: &["DY"],
        comment: "IEC type 3A generator set model. Reference: IEC 61400-27-1:2015, 5.6.3.2.",
        attrs: &[
            AttrDef { id: "WindGenType3aIEC.WindTurbineType4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 4 model with which this wind generator type 3A model is associated." },
            AttrDef { id: "WindGenType3aIEC.kpc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current PI controller proportional gain (KPc). It is a type-dependent parameter." },
            AttrDef { id: "WindGenType3aIEC.tic", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current PI controller integration time constant (TIc) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenType3bIEC",
        qualified: "WindGenType3bIEC",
        super_class: Some(420),
        concrete: true,
        origins: &["DY"],
        comment: "IEC type 3B generator set model. Reference: IEC 61400-27-1:2015, 5.6.3.3.",
        attrs: &[
            AttrDef { id: "WindGenType3bIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this generator type 3B model." },
            AttrDef { id: "WindGenType3bIEC.mwtcwp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Crowbar control mode (MWTcwp). It is a case-dependent parameter. true = 1 in the IEC model false = 0 in the IEC model." },
            AttrDef { id: "WindGenType3bIEC.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Current generation time constant (Tg) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindGenType3bIEC.two", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant for crowbar washout filter (Two) (>= 0). It is a case-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenType4IEC",
        qualified: "WindGenType4IEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "IEC type 4 generator set model. Reference: IEC 61400-27-1:2015, 5.6.3.4.",
        attrs: &[
            AttrDef { id: "WindGenType4IEC.WindTurbineType4aIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType4aIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 4A model with which this wind generator type 4 model is associated." },
            AttrDef { id: "WindGenType4IEC.WindTurbineType4bIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType4bIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 4B model with which this wind generator type 4 model is associated." },
            AttrDef { id: "WindGenType4IEC.dipmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum active current ramp rate (dipmax). It is a project-dependent parameter." },
            AttrDef { id: "WindGenType4IEC.diqmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum reactive current ramp rate (diqmax). It is a project-dependent parameter." },
            AttrDef { id: "WindGenType4IEC.diqmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum reactive current ramp rate (diqmin). It is a project-dependent parameter." },
            AttrDef { id: "WindGenType4IEC.tg", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant (Tg) (>= 0). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGeneratingUnit",
        qualified: "WindGeneratingUnit",
        super_class: Some(169),
        concrete: true,
        origins: &["EQ", "SSH"],
        comment: "A wind driven generating unit, connected to the grid by means of a rotating machine. May be used to represent a single turbine or an aggregation.",
        attrs: &[
            AttrDef { id: "WindGeneratingUnit.WindPowerPlant", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "WindPowerPlant", is_list: false, used: true, xsd: "", value_ns: "", origins: &["EQ"], comment: "A wind power plant may have wind generating units." },
            AttrDef { id: "WindGeneratingUnit.windGenUnitType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "WindGenUnitKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["EQ"], comment: "The kind of wind generating unit." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindMechIEC",
        qualified: "WindMechIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Two mass model. Reference: IEC 61400-27-1:2015, 5.6.2.1.",
        attrs: &[
            AttrDef { id: "WindMechIEC.WindTurbineType1or2IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType1or2IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 1 or type 2 model with which this wind mechanical model is associated." },
            AttrDef { id: "WindMechIEC.WindTurbineType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 model with which this wind mechanical model is associated." },
            AttrDef { id: "WindMechIEC.WindTurbineType4bIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType4bIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 4B model with which this wind mechanical model is associated." },
            AttrDef { id: "WindMechIEC.cdrt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Drive train damping (cdrt). It is a type-dependent parameter." },
            AttrDef { id: "WindMechIEC.hgen", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inertia constant of generator (Hgen) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindMechIEC.hwtr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Inertia constant of wind turbine rotor (HWTR) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindMechIEC.kdrt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Drive train stiffness (kdrt). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPitchContPowerIEC",
        qualified: "WindPitchContPowerIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Pitch control power model. Reference: IEC 61400-27-1:2015, 5.6.5.1.",
        attrs: &[
            AttrDef { id: "WindPitchContPowerIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this pitch control power model." },
            AttrDef { id: "WindPitchContPowerIEC.WindGenTurbineType1bIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenTurbineType1bIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 1B model with which this pitch control power model is associated." },
            AttrDef { id: "WindPitchContPowerIEC.WindGenTurbineType2IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenTurbineType2IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 2 model with which this pitch control power model is associated." },
            AttrDef { id: "WindPitchContPowerIEC.dpmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate limit for increasing power (dpmax) (> WindPitchContPowerIEC.dpmin). It is a type-dependent parameter." },
            AttrDef { id: "WindPitchContPowerIEC.dpmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Rate limit for decreasing power (dpmin) (< WindPitchContPowerIEC.dpmax). It is a type-dependent parameter." },
            AttrDef { id: "WindPitchContPowerIEC.pmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum power setting (pmin). It is a type-dependent parameter." },
            AttrDef { id: "WindPitchContPowerIEC.pset", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "If pinit < pset then power will be ramped down to pmin. It is (pset) in the IEC 61400-27-1:2015. It is a type-dependent parameter." },
            AttrDef { id: "WindPitchContPowerIEC.t1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant (T1) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindPitchContPowerIEC.tr", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage measurement time constant (Tr) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindPitchContPowerIEC.uuvrt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Dip detection threshold (uUVRT). It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPlantDynamics",
        qualified: "WindPlantDynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to wind turbines type 3 and type 4 and wind plant IEC and user-defined wind plants including their control models.",
        attrs: &[
            AttrDef { id: "WindPlantDynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The remote signal with which this power plant is associated." },
            AttrDef { id: "WindPlantDynamics.WindTurbineType3or4Dynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4Dynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind turbine type 3 or type 4 associated with this wind plant." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPlantFreqPcontrolIEC",
        qualified: "WindPlantFreqPcontrolIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Frequency and active power controller model. Reference: IEC 61400-27-1:2015, Annex D.",
        attrs: &[
            AttrDef { id: "WindPlantFreqPcontrolIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this frequency and active power wind plant model." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.WindPlantIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind plant model with which this wind plant frequency and active power control is associated." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.dprefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum ramp rate of pWTref request from the plant controller to the wind turbines (dprefmax) (> WindPlantFreqPcontrolIEC.dprefmin). It is a case-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.dprefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum (negative) ramp rate of pWTref request from the plant controller to the wind turbines (dprefmin) (< WindPlantFreqPcontrolIEC.dprefmax). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.dpwprefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum positive ramp rate for wind plant power reference (dpWPrefmax) (> WindPlantFreqPcontrolIEC.dpwprefmin). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.dpwprefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum negative ramp rate for wind plant power reference (dpWPrefmin) (< WindPlantFreqPcontrolIEC.dpwprefmax). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.kiwpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Plant P controller integral gain (KIWPp). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.kiwppmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum PI integrator term (KIWPpmax) (> WindPlantFreqPcontrolIEC.kiwppmin). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.kiwppmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum PI integrator term (KIWPpmin) (< WindPlantFreqPcontrolIEC.kiwppmax). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.kpwpp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Plant P controller proportional gain (KPWPp). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.kwppref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Power reference gain (KWPpref). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.prefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum pWTref request from the plant controller to the wind turbines (prefmax) (> WindPlantFreqPcontrolIEC.prefmin). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.prefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum pWTref request from the plant controller to the wind turbines (prefmin) (< WindPlantFreqPcontrolIEC.prefmax). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.tpft", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant in reference value transfer function (Tpft) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.tpfv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant in reference value transfer function (Tpfv) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.twpffiltp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for frequency measurement (TWPffiltp) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantFreqPcontrolIEC.twppfiltp", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for active power measurement (TWPpfiltp) (>= 0). It is a project-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPlantIEC",
        qualified: "WindPlantIEC",
        super_class: Some(427),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified IEC type plant level model. Reference: IEC 61400-27-1:2015, Annex D.",
        attrs: &[
            AttrDef { id: "WindPlantIEC.WindPlantFreqPcontrolIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantFreqPcontrolIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind plant frequency and active power control model associated with this wind plant." },
            AttrDef { id: "WindPlantIEC.WindPlantReactiveControlIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantReactiveControlIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind plant model with which this wind reactive control is associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPlantReactiveControlIEC",
        qualified: "WindPlantReactiveControlIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Simplified plant voltage and reactive power control model for use with type 3 and type 4 wind turbine models. Reference: IEC 61400-27-1:2015, Annex D.",
        attrs: &[
            AttrDef { id: "WindPlantReactiveControlIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this voltage and reactive power wind plant model." },
            AttrDef { id: "WindPlantReactiveControlIEC.WindPlantIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantIEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind plant reactive control model associated with this wind plant." },
            AttrDef { id: "WindPlantReactiveControlIEC.dxrefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum positive ramp rate for wind turbine reactive power/voltage reference (dxrefmax) (> WindPlantReactiveControlIEC.dxrefmin). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.dxrefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum negative ramp rate for wind turbine reactive power/voltage reference (dxrefmin) (< WindPlantReactiveControlIEC.dxrefmax). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.kiwpx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Plant Q controller integral gain (KIWPx). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.kiwpxmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum reactive power/voltage reference from integration (KIWPxmax) (> WindPlantReactiveControlIEC.kiwpxmin). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.kiwpxmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum reactive power/voltage reference from integration (KIWPxmin) (< WindPlantReactiveControlIEC.kiwpxmax). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.kpwpx", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Float", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Plant Q controller proportional gain (KPWPx). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.kwpqref", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Reactive power reference gain (KWPqref). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.kwpqu", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Plant voltage control droop (KWPqu). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.tuqfilt", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for voltage-dependent reactive power (Tuqfilt) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.twppfiltq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for active power measurement (TWPpfiltq) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.twpqfiltq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for reactive power measurement (TWPqfiltq) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.twpufiltq", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Filter time constant for voltage measurement (TWPufiltq) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.txft", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lead time constant in reference value transfer function (Txft) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.txfv", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Lag time constant in reference value transfer function (Txfv) (>= 0). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.uwpqdip", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage threshold for UVRT detection in Q control (uWPqdip). It is a project-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.windPlantQcontrolModesType", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Enum, range: "WindPlantQcontrolModeKind", is_list: false, used: true, xsd: "", value_ns: "http://iec.ch/TC57/CIM100#", origins: &["DY"], comment: "Reactive power/voltage controller mode (MWPqmode). It is a case-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.xrefmax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum xWTref (qWTref or delta uWTref) request from the plant controller (xrefmax) (> WindPlantReactiveControlIEC.xrefmin). It is a case-dependent parameter." },
            AttrDef { id: "WindPlantReactiveControlIEC.xrefmin", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Minimum xWTref (qWTref or delta uWTref) request from the plant controller (xrefmin) (< WindPlantReactiveControlIEC.xrefmax). It is a project-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPlantUserDefined",
        qualified: "WindPlantUserDefined",
        super_class: Some(427),
        concrete: true,
        origins: &["DY"],
        comment: "Wind plant function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "WindPlantUserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "WindPlantUserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100-European#",
        local: "WindPowerPlant",
        qualified: "WindPowerPlant",
        super_class: Some(282),
        concrete: true,
        origins: &["EQ"],
        comment: "Wind power plant.",
        attrs: &[
            AttrDef { id: "WindPowerPlant.WindGeneratingUnits", ns: "http://iec.ch/TC57/CIM100-European#", kind: AttrKind::Association, range: "WindGeneratingUnit", is_list: true, used: false, xsd: "", value_ns: "", origins: &["EQ"], comment: "A wind generating unit or units may be a member of a wind power plant." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindProtectionIEC",
        qualified: "WindProtectionIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "The grid protection model includes protection against over- and under-voltage, and against over- and under-frequency. Reference: IEC 61400-27-1:2015, 5.6.6.",
        attrs: &[
            AttrDef { id: "WindProtectionIEC.WindDynamicsLookupTable", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindDynamicsLookupTable", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind dynamics lookup table associated with this grid protection model." },
            AttrDef { id: "WindProtectionIEC.WindTurbineType1or2IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType1or2IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 1 or type 2 model with which this wind turbine protection model is associated." },
            AttrDef { id: "WindProtectionIEC.WindTurbineType3or4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 3 or type 4 model with which this wind turbine protection model is associated." },
            AttrDef { id: "WindProtectionIEC.dfimax", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Maximum rate of change of frequency (dFmax). It is a type-dependent parameter." },
            AttrDef { id: "WindProtectionIEC.fover", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Wind turbine over frequency protection activation threshold (fover). It is a project-dependent parameter." },
            AttrDef { id: "WindProtectionIEC.funder", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Wind turbine under frequency protection activation threshold (funder). It is a project-dependent parameter." },
            AttrDef { id: "WindProtectionIEC.mzc", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Zero crossing measurement mode (Mzc). It is a type-dependent parameter. true = WT protection system uses zero crossings to detect frequency (1 in the IEC model) false = WT protection system does not use zero crossings to detect frequency (0 in the IEC model)." },
            AttrDef { id: "WindProtectionIEC.tfma", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time interval of moving average window (TfMA) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindProtectionIEC.uover", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Wind turbine over voltage protection activation threshold (uover). It is a project-dependent parameter." },
            AttrDef { id: "WindProtectionIEC.uunder", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Wind turbine under voltage protection activation threshold (uunder). It is a project-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindRefFrameRotIEC",
        qualified: "WindRefFrameRotIEC",
        super_class: Some(213),
        concrete: true,
        origins: &["DY"],
        comment: "Reference frame rotation model. Reference: IEC 61400-27-1:2015, 5.6.3.5.",
        attrs: &[
            AttrDef { id: "WindRefFrameRotIEC.WindTurbineType3or4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindTurbineType3or4IEC", is_list: false, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbine type 3 or type 4 model with which this reference frame rotation model is associated." },
            AttrDef { id: "WindRefFrameRotIEC.tpll", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Seconds", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Time constant for PLL first order filter model (TPLL) (>= 0). It is a type-dependent parameter." },
            AttrDef { id: "WindRefFrameRotIEC.upll1", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage below which the angle of the voltage is filtered and possibly also frozen (uPLL1). It is a type-dependent parameter." },
            AttrDef { id: "WindRefFrameRotIEC.upll2", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "PU", is_list: false, used: true, xsd: "double", value_ns: "", origins: &["DY"], comment: "Voltage (uPLL2) below which the angle of the voltage is frozen if uPLL2 is smaller or equal to uPLL1 . It is a type-dependent parameter." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType1or2Dynamics",
        qualified: "WindTurbineType1or2Dynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to wind turbines type 1 and type 2 and their control models. Generator model for wind turbine of type 1 or type 2 is a standard asynchronous generator model.",
        attrs: &[
            AttrDef { id: "WindTurbineType1or2Dynamics.AsynchronousMachineDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "AsynchronousMachineDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Asynchronous machine model with which this wind generator type 1 or type 2 model is associated." },
            AttrDef { id: "WindTurbineType1or2Dynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by this wind generator type 1 or type 2 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType1or2IEC",
        qualified: "WindTurbineType1or2IEC",
        super_class: Some(435),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to IEC wind turbines type 1 and type 2 including their control models. Generator model for wind turbine of IEC type 1 or type 2 is a standard asynchronous generator model. Reference: IEC 61400-27-1:2015, 5.5.2 and 5.5.3.",
        attrs: &[
            AttrDef { id: "WindTurbineType1or2IEC.WindMechIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindMechIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind mechanical model associated with this wind generator type 1 or type 2 model." },
            AttrDef { id: "WindTurbineType1or2IEC.WindProtectionIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindProtectionIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbune protection model associated with this wind generator type 1 or type 2 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType3IEC",
        qualified: "WindTurbineType3IEC",
        super_class: Some(439),
        concrete: true,
        origins: &["DY"],
        comment: "Parent class supporting relationships to IEC wind turbines type 3 including their control models.",
        attrs: &[
            AttrDef { id: "WindTurbineType3IEC.WindAeroOneDimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindAeroOneDimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind aerodynamic model associated with this wind generator type 3 model." },
            AttrDef { id: "WindTurbineType3IEC.WindAeroTwoDimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindAeroTwoDimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind aerodynamic model associated with this wind turbine type 3 model." },
            AttrDef { id: "WindTurbineType3IEC.WindContPType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContPType3IEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control P type 3 model associated with this wind turbine type 3 model." },
            AttrDef { id: "WindTurbineType3IEC.WindContPitchAngleIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContPitchAngleIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control pitch angle model associated with this wind turbine type 3." },
            AttrDef { id: "WindTurbineType3IEC.WindGenType3IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenType3IEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 3 model associated with this wind turbine type 3 model." },
            AttrDef { id: "WindTurbineType3IEC.WindMechIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindMechIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind mechanical model associated with this wind turbine type 3 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType3or4Dynamics",
        qualified: "WindTurbineType3or4Dynamics",
        super_class: Some(91),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to wind turbines type 3 and type 4 and wind plant including their control models.",
        attrs: &[
            AttrDef { id: "WindTurbineType3or4Dynamics.PowerElectronicsConnection", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "PowerElectronicsConnection", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The power electronics connection associated with this wind turbine type 3 or type 4 dynamics model." },
            AttrDef { id: "WindTurbineType3or4Dynamics.RemoteInputSignal", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "RemoteInputSignal", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Remote input signal used by these wind turbine type 3 or type 4 models." },
            AttrDef { id: "WindTurbineType3or4Dynamics.WindPlantDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindPlantDynamics", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "The wind plant with which the wind turbines type 3 or type 4 are associated." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType3or4IEC",
        qualified: "WindTurbineType3or4IEC",
        super_class: Some(438),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to IEC wind turbines type 3 and type 4 including their control models.",
        attrs: &[
            AttrDef { id: "WindTurbineType3or4IEC.WIndContQIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContQIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control Q model associated with this wind turbine type 3 or type 4 model." },
            AttrDef { id: "WindTurbineType3or4IEC.WindContCurrLimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContCurrLimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control current limitation model associated with this wind turbine type 3 or type 4 model." },
            AttrDef { id: "WindTurbineType3or4IEC.WindContQLimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContQLimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Constant Q limitation model associated with this wind generator type 3 or type 4 model." },
            AttrDef { id: "WindTurbineType3or4IEC.WindContQPQULimIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContQPQULimIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "QP and QU limitation model associated with this wind generator type 3 or type 4 model." },
            AttrDef { id: "WindTurbineType3or4IEC.WindProtectionIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindProtectionIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind turbune protection model associated with this wind generator type 3 or type 4 model." },
            AttrDef { id: "WindTurbineType3or4IEC.WindRefFrameRotIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindRefFrameRotIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Reference frame rotation model associated with this wind turbine type 3 or type 4 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType4IEC",
        qualified: "WindTurbineType4IEC",
        super_class: Some(439),
        concrete: false,
        origins: &["DY"],
        comment: "Parent class supporting relationships to IEC wind turbines type 4 including their control models.",
        attrs: &[
            AttrDef { id: "WindTurbineType4IEC.WindGenType3aIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenType3aIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 3A model associated with this wind turbine type 4 model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType4aIEC",
        qualified: "WindTurbineType4aIEC",
        super_class: Some(440),
        concrete: true,
        origins: &["DY"],
        comment: "Wind turbine IEC type 4A. Reference: IEC 61400-27-1:2015, 5.5.5.2.",
        attrs: &[
            AttrDef { id: "WindTurbineType4aIEC.WindContPType4aIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContPType4aIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control P type 4A model associated with this wind turbine type 4A model." },
            AttrDef { id: "WindTurbineType4aIEC.WindGenType4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenType4IEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 4 model associated with this wind turbine type 4A model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindTurbineType4bIEC",
        qualified: "WindTurbineType4bIEC",
        super_class: Some(440),
        concrete: true,
        origins: &["DY"],
        comment: "Wind turbine IEC type 4B. Reference: IEC 61400-27-1:2015, 5.5.5.3.",
        attrs: &[
            AttrDef { id: "WindTurbineType4bIEC.WindContPType4bIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindContPType4bIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind control P type 4B model associated with this wind turbine type 4B model." },
            AttrDef { id: "WindTurbineType4bIEC.WindGenType4IEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindGenType4IEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind generator type 4 model associated with this wind turbine type 4B model." },
            AttrDef { id: "WindTurbineType4bIEC.WindMechIEC", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "WindMechIEC", is_list: false, used: true, xsd: "", value_ns: "", origins: &["DY"], comment: "Wind mechanical model associated with this wind turbine type 4B model." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindType1or2UserDefined",
        qualified: "WindType1or2UserDefined",
        super_class: Some(435),
        concrete: true,
        origins: &["DY"],
        comment: "Wind type 1 or type 2 function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "WindType1or2UserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "WindType1or2UserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindType3or4UserDefined",
        qualified: "WindType3or4UserDefined",
        super_class: Some(438),
        concrete: true,
        origins: &["DY"],
        comment: "Wind type 3 or type 4 function block whose dynamic behaviour is described by a user-defined model.",
        attrs: &[
            AttrDef { id: "WindType3or4UserDefined.ProprietaryParameterDynamics", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Association, range: "ProprietaryParameterDynamics", is_list: true, used: false, xsd: "", value_ns: "", origins: &["DY"], comment: "Parameter of this proprietary user-defined model." },
            AttrDef { id: "WindType3or4UserDefined.proprietary", ns: "http://iec.ch/TC57/CIM100#", kind: AttrKind::Literal, range: "Boolean", is_list: false, used: true, xsd: "boolean", value_ns: "", origins: &["DY"], comment: "Behaviour is based on a proprietary model as opposed to a detailed model. true = user-defined model is proprietary with behaviour mutually understood by sending and receiving applications and parameters passed as general attributes false = user-defined model is explicitly defined in terms of control blocks and their input and output signals." },
        ],
    },
    ClassDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WorkLocation",
        qualified: "WorkLocation",
        super_class: Some(232),
        concrete: false,
        origins: &["GL"],
        comment: "Information about a particular location for various forms of work.",
        attrs: &[],
    },
];

/// Profile code → profile URI, sorted by code.
pub static PROFILES: &[(&str, &str)] = &[
    ("DL", "http://iec.ch/TC57/ns/CIM/DiagramLayout-EU/3.0"),
    ("DY", "http://iec.ch/TC57/ns/CIM/Dynamics-EU/1.0"),
    ("EQ", "http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0"),
    ("EQBD", "http://iec.ch/TC57/ns/CIM/EquipmentBoundary-EU/3.0"),
    ("FH", "http://iec.ch/TC57/61970-552/ModelDescription/1"),
    ("GL", "http://iec.ch/TC57/ns/CIM/GeographicalLocation-EU/3.0"),
    ("OP", "http://iec.ch/TC57/ns/CIM/Operation-EU/3.0"),
    ("SC", "http://iec.ch/TC57/ns/CIM/ShortCircuit-EU/3.0"),
    ("SSH", "http://iec.ch/TC57/ns/CIM/SteadyStateHypothesis-EU/3.0"),
    ("SV", "http://iec.ch/TC57/ns/CIM/StateVariables-EU/3.0"),
    ("TP", "http://iec.ch/TC57/ns/CIM/Topology-EU/3.0"),
];

/// XML prefix → namespace IRI, sorted by prefix.
pub static NAMESPACES: &[(&str, &str)] = &[
    ("cim", "http://iec.ch/TC57/CIM100#"),
    ("dm", "http://iec.ch/TC57/61970-552/DifferenceModel/1#"),
    ("eu", "http://iec.ch/TC57/CIM100-European#"),
    ("md", "http://iec.ch/TC57/61970-552/ModelDescription/1#"),
    ("rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"),
];

/// Every enumeration of the `cgmes` family, sorted by name.
pub static ENUMS: &[EnumDef] = &[
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "AsynchronousMachineKind",
        comment: "Kind of Asynchronous Machine.",
        values: &[
            EnumValueDef { id: "AsynchronousMachineKind.generator", comment: "The Asynchronous Machine is a generator." },
            EnumValueDef { id: "AsynchronousMachineKind.motor", comment: "The Asynchronous Machine is a motor." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "BatteryStateKind",
        comment: "The state of the battery unit.",
        values: &[
            EnumValueDef { id: "BatteryStateKind.discharging", comment: "Stored energy is decreasing." },
            EnumValueDef { id: "BatteryStateKind.full", comment: "Unable to charge, and not discharging." },
            EnumValueDef { id: "BatteryStateKind.waiting", comment: "Neither charging nor discharging, but able to do so." },
            EnumValueDef { id: "BatteryStateKind.charging", comment: "Stored energy is increasing." },
            EnumValueDef { id: "BatteryStateKind.empty", comment: "Unable to discharge, and not charging." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ControlAreaTypeKind",
        comment: "The type of control area.",
        values: &[
            EnumValueDef { id: "ControlAreaTypeKind.AGC", comment: "Used for automatic generation control." },
            EnumValueDef { id: "ControlAreaTypeKind.Forecast", comment: "Used for load forecast." },
            EnumValueDef { id: "ControlAreaTypeKind.Interchange", comment: "Used for interchange specification or control." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CsOperatingModeKind",
        comment: "Operating mode for HVDC line operating as Current Source Converter.",
        values: &[
            EnumValueDef { id: "CsOperatingModeKind.inverter", comment: "Operating as inverter, which is the power receiving end." },
            EnumValueDef { id: "CsOperatingModeKind.rectifier", comment: "Operating as rectifier, which is the power sending end." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CsPpccControlKind",
        comment: "Active power control modes for HVDC line operating as Current Source Converter.",
        values: &[
            EnumValueDef { id: "CsPpccControlKind.activePower", comment: "Control is active power control at AC side, at point of common coupling. Target is provided by ACDCConverter.targetPpcc." },
            EnumValueDef { id: "CsPpccControlKind.dcVoltage", comment: "Control is DC voltage with target value provided by ACDCConverter.targetUdc." },
            EnumValueDef { id: "CsPpccControlKind.dcCurrent", comment: "Control is DC current with target value provided by CsConverter.targetIdc." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Currency",
        comment: "Monetary currencies. ISO 4217 standard including 3-character currency code.",
        values: &[
            EnumValueDef { id: "Currency.AED", comment: "United Arab Emirates dirham." },
            EnumValueDef { id: "Currency.AFN", comment: "Afghan afghani." },
            EnumValueDef { id: "Currency.ALL", comment: "Albanian lek." },
            EnumValueDef { id: "Currency.AMD", comment: "Armenian dram." },
            EnumValueDef { id: "Currency.ANG", comment: "Netherlands Antillean guilder." },
            EnumValueDef { id: "Currency.AOA", comment: "Angolan kwanza." },
            EnumValueDef { id: "Currency.ARS", comment: "Argentine peso." },
            EnumValueDef { id: "Currency.AUD", comment: "Australian dollar." },
            EnumValueDef { id: "Currency.AWG", comment: "Aruban florin." },
            EnumValueDef { id: "Currency.AZN", comment: "Azerbaijani manat." },
            EnumValueDef { id: "Currency.BAM", comment: "Bosnia and Herzegovina convertible mark." },
            EnumValueDef { id: "Currency.BBD", comment: "Barbados dollar." },
            EnumValueDef { id: "Currency.BDT", comment: "Bangladeshi taka." },
            EnumValueDef { id: "Currency.BGN", comment: "Bulgarian lev." },
            EnumValueDef { id: "Currency.BHD", comment: "Bahraini dinar." },
            EnumValueDef { id: "Currency.BIF", comment: "Burundian franc." },
            EnumValueDef { id: "Currency.BMD", comment: "Bermudian dollar (customarily known as Bermuda dollar)." },
            EnumValueDef { id: "Currency.BND", comment: "Brunei dollar." },
            EnumValueDef { id: "Currency.BOB", comment: "Boliviano." },
            EnumValueDef { id: "Currency.BOV", comment: "Bolivian Mvdol (funds code)." },
            EnumValueDef { id: "Currency.BRL", comment: "Brazilian real." },
            EnumValueDef { id: "Currency.BSD", comment: "Bahamian dollar." },
            EnumValueDef { id: "Currency.BTN", comment: "Bhutanese ngultrum." },
            EnumValueDef { id: "Currency.BWP", comment: "Botswana pula." },
            EnumValueDef { id: "Currency.BYR", comment: "Belarusian ruble." },
            EnumValueDef { id: "Currency.BZD", comment: "Belize dollar." },
            EnumValueDef { id: "Currency.CAD", comment: "Canadian dollar." },
            EnumValueDef { id: "Currency.CDF", comment: "Congolese franc." },
            EnumValueDef { id: "Currency.CHF", comment: "Swiss franc." },
            EnumValueDef { id: "Currency.CLF", comment: "Unidad de Fomento (funds code), Chile." },
            EnumValueDef { id: "Currency.CLP", comment: "Chilean peso." },
            EnumValueDef { id: "Currency.CNY", comment: "Chinese yuan." },
            EnumValueDef { id: "Currency.COP", comment: "Colombian peso." },
            EnumValueDef { id: "Currency.COU", comment: "Unidad de Valor Real." },
            EnumValueDef { id: "Currency.CRC", comment: "Costa Rican colon." },
            EnumValueDef { id: "Currency.CUC", comment: "Cuban convertible peso." },
            EnumValueDef { id: "Currency.CUP", comment: "Cuban peso." },
            EnumValueDef { id: "Currency.CVE", comment: "Cape Verde escudo." },
            EnumValueDef { id: "Currency.CZK", comment: "Czech koruna." },
            EnumValueDef { id: "Currency.DJF", comment: "Djiboutian franc." },
            EnumValueDef { id: "Currency.DKK", comment: "Danish krone." },
            EnumValueDef { id: "Currency.DOP", comment: "Dominican peso." },
            EnumValueDef { id: "Currency.DZD", comment: "Algerian dinar." },
            EnumValueDef { id: "Currency.EEK", comment: "Estonian kroon." },
            EnumValueDef { id: "Currency.EGP", comment: "Egyptian pound." },
            EnumValueDef { id: "Currency.ERN", comment: "Eritrean nakfa." },
            EnumValueDef { id: "Currency.ETB", comment: "Ethiopian birr." },
            EnumValueDef { id: "Currency.EUR", comment: "Euro." },
            EnumValueDef { id: "Currency.FJD", comment: "Fiji dollar." },
            EnumValueDef { id: "Currency.FKP", comment: "Falkland Islands pound." },
            EnumValueDef { id: "Currency.GBP", comment: "Pound sterling." },
            EnumValueDef { id: "Currency.GEL", comment: "Georgian lari." },
            EnumValueDef { id: "Currency.GHS", comment: "Ghanaian cedi." },
            EnumValueDef { id: "Currency.GIP", comment: "Gibraltar pound." },
            EnumValueDef { id: "Currency.GMD", comment: "Gambian dalasi." },
            EnumValueDef { id: "Currency.GNF", comment: "Guinean franc." },
            EnumValueDef { id: "Currency.GTQ", comment: "Guatemalan quetzal." },
            EnumValueDef { id: "Currency.GYD", comment: "Guyanese dollar." },
            EnumValueDef { id: "Currency.HKD", comment: "Hong Kong dollar." },
            EnumValueDef { id: "Currency.HNL", comment: "Honduran lempira." },
            EnumValueDef { id: "Currency.HRK", comment: "Croatian kuna." },
            EnumValueDef { id: "Currency.HTG", comment: "Haitian gourde." },
            EnumValueDef { id: "Currency.HUF", comment: "Hungarian forint." },
            EnumValueDef { id: "Currency.IDR", comment: "Indonesian rupiah." },
            EnumValueDef { id: "Currency.ILS", comment: "Israeli new sheqel." },
            EnumValueDef { id: "Currency.INR", comment: "Indian rupee." },
            EnumValueDef { id: "Currency.IQD", comment: "Iraqi dinar." },
            EnumValueDef { id: "Currency.IRR", comment: "Iranian rial." },
            EnumValueDef { id: "Currency.ISK", comment: "Icelandic króna." },
            EnumValueDef { id: "Currency.JMD", comment: "Jamaican dollar." },
            EnumValueDef { id: "Currency.JOD", comment: "Jordanian dinar." },
            EnumValueDef { id: "Currency.JPY", comment: "Japanese yen." },
            EnumValueDef { id: "Currency.KES", comment: "Kenyan shilling." },
            EnumValueDef { id: "Currency.KGS", comment: "Kyrgyzstani som." },
            EnumValueDef { id: "Currency.KHR", comment: "Cambodian riel." },
            EnumValueDef { id: "Currency.KMF", comment: "Comoro franc." },
            EnumValueDef { id: "Currency.KPW", comment: "North Korean won." },
            EnumValueDef { id: "Currency.KRW", comment: "South Korean won." },
            EnumValueDef { id: "Currency.KWD", comment: "Kuwaiti dinar." },
            EnumValueDef { id: "Currency.KYD", comment: "Cayman Islands dollar." },
            EnumValueDef { id: "Currency.KZT", comment: "Kazakhstani tenge." },
            EnumValueDef { id: "Currency.LAK", comment: "Lao kip." },
            EnumValueDef { id: "Currency.LBP", comment: "Lebanese pound." },
            EnumValueDef { id: "Currency.LKR", comment: "Sri Lanka rupee." },
            EnumValueDef { id: "Currency.LRD", comment: "Liberian dollar." },
            EnumValueDef { id: "Currency.LSL", comment: "Lesotho loti." },
            EnumValueDef { id: "Currency.LTL", comment: "Lithuanian litas." },
            EnumValueDef { id: "Currency.LVL", comment: "Latvian lats." },
            EnumValueDef { id: "Currency.LYD", comment: "Libyan dinar." },
            EnumValueDef { id: "Currency.MAD", comment: "Moroccan dirham." },
            EnumValueDef { id: "Currency.MDL", comment: "Moldovan leu." },
            EnumValueDef { id: "Currency.MGA", comment: "Malagasy ariary." },
            EnumValueDef { id: "Currency.MKD", comment: "Macedonian denar." },
            EnumValueDef { id: "Currency.MMK", comment: "Myanma kyat." },
            EnumValueDef { id: "Currency.MNT", comment: "Mongolian tugrik." },
            EnumValueDef { id: "Currency.MOP", comment: "Macanese pataca." },
            EnumValueDef { id: "Currency.MRO", comment: "Mauritanian ouguiya." },
            EnumValueDef { id: "Currency.MUR", comment: "Mauritian rupee." },
            EnumValueDef { id: "Currency.MVR", comment: "Maldivian rufiyaa." },
            EnumValueDef { id: "Currency.MWK", comment: "Malawian kwacha." },
            EnumValueDef { id: "Currency.MXN", comment: "Mexican peso." },
            EnumValueDef { id: "Currency.MYR", comment: "Malaysian ringgit." },
            EnumValueDef { id: "Currency.MZN", comment: "Mozambican metical." },
            EnumValueDef { id: "Currency.NAD", comment: "Namibian dollar." },
            EnumValueDef { id: "Currency.NGN", comment: "Nigerian naira." },
            EnumValueDef { id: "Currency.NIO", comment: "Cordoba oro." },
            EnumValueDef { id: "Currency.NOK", comment: "Norwegian krone." },
            EnumValueDef { id: "Currency.NPR", comment: "Nepalese rupee." },
            EnumValueDef { id: "Currency.NZD", comment: "New Zealand dollar." },
            EnumValueDef { id: "Currency.OMR", comment: "Omani rial." },
            EnumValueDef { id: "Currency.PAB", comment: "Panamanian balboa." },
            EnumValueDef { id: "Currency.PEN", comment: "Peruvian nuevo sol." },
            EnumValueDef { id: "Currency.PGK", comment: "Papua New Guinean kina." },
            EnumValueDef { id: "Currency.PHP", comment: "Philippine peso." },
            EnumValueDef { id: "Currency.PKR", comment: "Pakistani rupee." },
            EnumValueDef { id: "Currency.PLN", comment: "Polish zloty." },
            EnumValueDef { id: "Currency.PYG", comment: "Paraguayan guaraní." },
            EnumValueDef { id: "Currency.QAR", comment: "Qatari rial." },
            EnumValueDef { id: "Currency.RON", comment: "Romanian new leu." },
            EnumValueDef { id: "Currency.RSD", comment: "Serbian dinar." },
            EnumValueDef { id: "Currency.RUB", comment: "Russian rouble." },
            EnumValueDef { id: "Currency.RWF", comment: "Rwandan franc." },
            EnumValueDef { id: "Currency.SAR", comment: "Saudi riyal." },
            EnumValueDef { id: "Currency.SBD", comment: "Solomon Islands dollar." },
            EnumValueDef { id: "Currency.SCR", comment: "Seychelles rupee." },
            EnumValueDef { id: "Currency.SDG", comment: "Sudanese pound." },
            EnumValueDef { id: "Currency.SEK", comment: "Swedish krona/kronor." },
            EnumValueDef { id: "Currency.SGD", comment: "Singapore dollar." },
            EnumValueDef { id: "Currency.SHP", comment: "Saint Helena pound." },
            EnumValueDef { id: "Currency.SLL", comment: "Sierra Leonean leone." },
            EnumValueDef { id: "Currency.SOS", comment: "Somali shilling." },
            EnumValueDef { id: "Currency.SRD", comment: "Surinamese dollar." },
            EnumValueDef { id: "Currency.STD", comment: "São Tomé and Príncipe dobra." },
            EnumValueDef { id: "Currency.SYP", comment: "Syrian pound." },
            EnumValueDef { id: "Currency.SZL", comment: "Lilangeni." },
            EnumValueDef { id: "Currency.THB", comment: "Thai baht." },
            EnumValueDef { id: "Currency.TJS", comment: "Tajikistani somoni." },
            EnumValueDef { id: "Currency.TMT", comment: "Turkmenistani manat." },
            EnumValueDef { id: "Currency.TND", comment: "Tunisian dinar." },
            EnumValueDef { id: "Currency.TOP", comment: "Tongan pa'anga." },
            EnumValueDef { id: "Currency.TRY", comment: "Turkish lira." },
            EnumValueDef { id: "Currency.TTD", comment: "Trinidad and Tobago dollar." },
            EnumValueDef { id: "Currency.TWD", comment: "New Taiwan dollar." },
            EnumValueDef { id: "Currency.TZS", comment: "Tanzanian shilling." },
            EnumValueDef { id: "Currency.UAH", comment: "Ukrainian hryvnia." },
            EnumValueDef { id: "Currency.UGX", comment: "Ugandan shilling." },
            EnumValueDef { id: "Currency.USD", comment: "United States dollar." },
            EnumValueDef { id: "Currency.UYU", comment: "Uruguayan peso." },
            EnumValueDef { id: "Currency.UZS", comment: "Uzbekistan som." },
            EnumValueDef { id: "Currency.VEF", comment: "Venezuelan bolívar fuerte." },
            EnumValueDef { id: "Currency.VND", comment: "Vietnamese Dong." },
            EnumValueDef { id: "Currency.VUV", comment: "Vanuatu vatu." },
            EnumValueDef { id: "Currency.WST", comment: "Samoan tala." },
            EnumValueDef { id: "Currency.XAF", comment: "CFA franc BEAC." },
            EnumValueDef { id: "Currency.XCD", comment: "East Caribbean dollar." },
            EnumValueDef { id: "Currency.XOF", comment: "CFA Franc BCEAO." },
            EnumValueDef { id: "Currency.XPF", comment: "CFP franc." },
            EnumValueDef { id: "Currency.YER", comment: "Yemeni rial." },
            EnumValueDef { id: "Currency.ZAR", comment: "South African rand." },
            EnumValueDef { id: "Currency.ZMK", comment: "Zambian kwacha." },
            EnumValueDef { id: "Currency.ZWL", comment: "Zimbabwe dollar." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "CurveStyle",
        comment: "Style or shape of curve.",
        values: &[
            EnumValueDef { id: "CurveStyle.constantYValue", comment: "The Y-axis values are assumed constant until the next curve point and prior to the first curve point." },
            EnumValueDef { id: "CurveStyle.straightLineYValues", comment: "The Y-axis values are assumed to be a straight line between values. Also known as linear interpolation." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCConverterOperatingModeKind",
        comment: "The operating mode of an HVDC bipole.",
        values: &[
            EnumValueDef { id: "DCConverterOperatingModeKind.bipolar", comment: "Bipolar operation." },
            EnumValueDef { id: "DCConverterOperatingModeKind.monopolarMetallicReturn", comment: "Monopolar operation with metallic return." },
            EnumValueDef { id: "DCConverterOperatingModeKind.monopolarGroundReturn", comment: "Monopolar operation with ground return." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DCPolarityKind",
        comment: "Polarity for DC circuits.",
        values: &[
            EnumValueDef { id: "DCPolarityKind.positive", comment: "Positive pole. The converter terminal is intended to operate at a positive voltage relative the midpoint or negative terminal." },
            EnumValueDef { id: "DCPolarityKind.middle", comment: "Middle pole. The converter terminal is the midpoint in a bipolar or symmetric monopole configuration. The midpoint can be grounded and/or have a metallic return." },
            EnumValueDef { id: "DCPolarityKind.negative", comment: "Negative pole. The converter terminal is intended to operate at a negative voltage relative the midpoint or positive terminal." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "DroopSignalFeedbackKind",
        comment: "Governor droop signal feedback source.",
        values: &[
            EnumValueDef { id: "DroopSignalFeedbackKind.electricalPower", comment: "Electrical power feedback (connection indicated as 1 in the block diagrams of models, e.g. GovCT1, GovCT2)." },
            EnumValueDef { id: "DroopSignalFeedbackKind.none", comment: "No droop signal feedback, is isochronous governor." },
            EnumValueDef { id: "DroopSignalFeedbackKind.fuelValveStroke", comment: "Fuel valve stroke feedback (true stroke) (connection indicated as 2 in the block diagrams of model, e.g. GovCT1, GovCT2)." },
            EnumValueDef { id: "DroopSignalFeedbackKind.governorOutput", comment: "Governor output feedback (requested stroke) (connection indicated as 3 in the block diagrams of models, e.g. GovCT1, GovCT2)." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcIEEEST1AUELselectorKind",
        comment: "Types of connections for the UEL input used in ExcIEEEST1A.",
        values: &[
            EnumValueDef { id: "ExcIEEEST1AUELselectorKind.ignoreUELsignal", comment: "Ignore UEL signal." },
            EnumValueDef { id: "ExcIEEEST1AUELselectorKind.inputHVgateVoltageOutput", comment: "UEL input HV gate with voltage regulator output." },
            EnumValueDef { id: "ExcIEEEST1AUELselectorKind.inputHVgateErrorSignal", comment: "UEL input HV gate with error signal." },
            EnumValueDef { id: "ExcIEEEST1AUELselectorKind.inputAddedToErrorSignal", comment: "UEL input added to error signal." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcREXSFeedbackSignalKind",
        comment: "Types of rate feedback signals.",
        values: &[
            EnumValueDef { id: "ExcREXSFeedbackSignalKind.fieldVoltage", comment: "The voltage regulator output voltage is used. It is the same as exciter field voltage." },
            EnumValueDef { id: "ExcREXSFeedbackSignalKind.fieldCurrent", comment: "The exciter field current is used." },
            EnumValueDef { id: "ExcREXSFeedbackSignalKind.outputVoltage", comment: "The output voltage of the exciter is used." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST6BOELselectorKind",
        comment: "Types of connections for the OEL input used for static excitation systems type 6B.",
        values: &[
            EnumValueDef { id: "ExcST6BOELselectorKind.noOELinput", comment: "No OEL input is used. Corresponds to OELin not = 1 and not = 2 on the ExcST6B diagram. Original ExcST6B model would have called this OELin = 0." },
            EnumValueDef { id: "ExcST6BOELselectorKind.beforeUEL", comment: "The connection is before UEL. Corresponds to OELin = 1 on the ExcST6B diagram." },
            EnumValueDef { id: "ExcST6BOELselectorKind.afterUEL", comment: "The connection is after UEL. Corresponds to OELin = 2 on the ExcST6B diagram." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST7BOELselectorKind",
        comment: "Types of connections for the OEL input used for static excitation systems type 7B.",
        values: &[
            EnumValueDef { id: "ExcST7BOELselectorKind.noOELinput", comment: "No OEL input is used. Corresponds to OELin not = 1 and not = 2 and not = 3 on the ExcST7B diagram. Original ExcST7B model would have called this OELin = 0." },
            EnumValueDef { id: "ExcST7BOELselectorKind.addVref", comment: "The signal is added to Vref. Corresponds to OELin = 1 on the ExcST7B diagram." },
            EnumValueDef { id: "ExcST7BOELselectorKind.inputLVgate", comment: "The signal is connected into the input LVGate. Corresponds to OELin = 2 on the ExcST7B diagram." },
            EnumValueDef { id: "ExcST7BOELselectorKind.outputLVgate", comment: "The signal is connected into the output LVGate. Corresponds to OELin = 3 on the ExcST7B diagram." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ExcST7BUELselectorKind",
        comment: "Types of connections for the UEL input used for static excitation systems type 7B.",
        values: &[
            EnumValueDef { id: "ExcST7BUELselectorKind.noUELinput", comment: "No UEL input is used. Corresponds to UELin not = 1 and not = 2 and not = 3 on the ExcST7B diagram. Original ExcST7B model would have called this UELin = 0." },
            EnumValueDef { id: "ExcST7BUELselectorKind.addVref", comment: "The signal is added to Vref. Corresponds to UELin = 1 on the ExcST7B diagram." },
            EnumValueDef { id: "ExcST7BUELselectorKind.inputHVgate", comment: "The signal is connected into the input HVGate. Corresponds to UELin = 2 on the ExcST7B diagram." },
            EnumValueDef { id: "ExcST7BUELselectorKind.outputHVgate", comment: "The signal is connected into the output HVGate. Corresponds to UELin = 3 on the ExcST7B diagram." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "FrancisGovernorControlKind",
        comment: "Governor control flag for Francis hydro model.",
        values: &[
            EnumValueDef { id: "FrancisGovernorControlKind.mechanicHydrolicTachoAccelerator", comment: "Mechanic-hydraulic regulator with tacho-accelerometer (Cflag = 1)." },
            EnumValueDef { id: "FrancisGovernorControlKind.mechanicHydraulicTransientFeedback", comment: "Mechanic-hydraulic regulator with transient feedback (Cflag=2)." },
            EnumValueDef { id: "FrancisGovernorControlKind.electromechanicalElectrohydraulic", comment: "Electromechanical and electrohydraulic regulator (Cflag=3)." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "FuelType",
        comment: "Type of fuel.",
        values: &[
            EnumValueDef { id: "FuelType.coal", comment: "Generic coal, not including lignite type." },
            EnumValueDef { id: "FuelType.oil", comment: "Oil." },
            EnumValueDef { id: "FuelType.gas", comment: "Natural gas." },
            EnumValueDef { id: "FuelType.lignite", comment: "The fuel is lignite coal. Note that this is a special type of coal, so the other enum of coal is reserved for hard coal types or if the exact type of coal is not known." },
            EnumValueDef { id: "FuelType.hardCoal", comment: "Hard coal." },
            EnumValueDef { id: "FuelType.oilShale", comment: "Oil Shale." },
            EnumValueDef { id: "FuelType.brownCoalLignite", comment: "Brown coal lignite." },
            EnumValueDef { id: "FuelType.coalDerivedGas", comment: "Coal derived gas." },
            EnumValueDef { id: "FuelType.peat", comment: "Peat." },
            EnumValueDef { id: "FuelType.other", comment: "Any fuel type not included in the rest of the enumerated value." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GeneratorControlSource",
        comment: "The source of controls for a generating unit.",
        values: &[
            EnumValueDef { id: "GeneratorControlSource.unavailable", comment: "Not available." },
            EnumValueDef { id: "GeneratorControlSource.offAGC", comment: "Off of automatic generation control (AGC)." },
            EnumValueDef { id: "GeneratorControlSource.onAGC", comment: "On automatic generation control (AGC)." },
            EnumValueDef { id: "GeneratorControlSource.plantControl", comment: "Plant is controlling." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GenericNonLinearLoadModelKind",
        comment: "Type of generic non-linear load model.",
        values: &[
            EnumValueDef { id: "GenericNonLinearLoadModelKind.exponentialRecovery", comment: "Exponential recovery model." },
            EnumValueDef { id: "GenericNonLinearLoadModelKind.loadAdaptive", comment: "Load adaptive model." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "GovHydro4ModelKind",
        comment: "Possible types of GovHydro4 models.",
        values: &[
            EnumValueDef { id: "GovHydro4ModelKind.simple", comment: "Simple model." },
            EnumValueDef { id: "GovHydro4ModelKind.francisPelton", comment: "Francis or Pelton model." },
            EnumValueDef { id: "GovHydro4ModelKind.kaplan", comment: "Kaplan model." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HydroEnergyConversionKind",
        comment: "Specifies the capability of the hydro generating unit to convert energy as a generator or pump.",
        values: &[
            EnumValueDef { id: "HydroEnergyConversionKind.generator", comment: "Able to generate power, but not able to pump water for energy storage." },
            EnumValueDef { id: "HydroEnergyConversionKind.pumpAndGenerator", comment: "Able to both generate power and pump water for energy storage." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HydroPlantStorageKind",
        comment: "The type of hydro power plant.",
        values: &[
            EnumValueDef { id: "HydroPlantStorageKind.runOfRiver", comment: "Run of river." },
            EnumValueDef { id: "HydroPlantStorageKind.pumpedStorage", comment: "Pumped storage." },
            EnumValueDef { id: "HydroPlantStorageKind.storage", comment: "Storage." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "HydroTurbineKind",
        comment: "Type of turbine.",
        values: &[
            EnumValueDef { id: "HydroTurbineKind.francis", comment: "Francis." },
            EnumValueDef { id: "HydroTurbineKind.pelton", comment: "Pelton." },
            EnumValueDef { id: "HydroTurbineKind.kaplan", comment: "Kaplan." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "IfdBaseKind",
        comment: "Excitation base system mode.",
        values: &[
            EnumValueDef { id: "IfdBaseKind.ifag", comment: "Air gap line mode." },
            EnumValueDef { id: "IfdBaseKind.ifnl", comment: "No load system with saturation mode." },
            EnumValueDef { id: "IfdBaseKind.iffl", comment: "Full load system mode." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "InputSignalKind",
        comment: "Types of input signals. In dynamics modelling, commonly represented by the j parameter.",
        values: &[
            EnumValueDef { id: "InputSignalKind.rotorSpeed", comment: "Input signal is rotor or shaft speed (angular frequency)." },
            EnumValueDef { id: "InputSignalKind.rotorAngularFrequencyDeviation", comment: "Input signal is rotor or shaft angular frequency deviation." },
            EnumValueDef { id: "InputSignalKind.busFrequency", comment: "Input signal is bus voltage frequency. This could be a terminal frequency or remote frequency." },
            EnumValueDef { id: "InputSignalKind.busFrequencyDeviation", comment: "Input signal is deviation of bus voltage frequency. This could be a terminal frequency deviation or remote frequency deviation." },
            EnumValueDef { id: "InputSignalKind.generatorElectricalPower", comment: "Input signal is generator electrical power on rated S." },
            EnumValueDef { id: "InputSignalKind.generatorAcceleratingPower", comment: "Input signal is generator accelerating power." },
            EnumValueDef { id: "InputSignalKind.busVoltage", comment: "Input signal is bus voltage. This could be a terminal voltage or remote voltage." },
            EnumValueDef { id: "InputSignalKind.busVoltageDerivative", comment: "Input signal is derivative of bus voltage. This could be a terminal voltage derivative or remote voltage derivative." },
            EnumValueDef { id: "InputSignalKind.branchCurrent", comment: "Input signal is amplitude of remote branch current." },
            EnumValueDef { id: "InputSignalKind.fieldCurrent", comment: "Input signal is generator field current." },
            EnumValueDef { id: "InputSignalKind.generatorMechanicalPower", comment: "Input signal is generator mechanical power." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OperationalLimitDirectionKind",
        comment: "The direction attribute describes the side of a limit that is a violation.",
        values: &[
            EnumValueDef { id: "OperationalLimitDirectionKind.high", comment: "High means that a monitored value above the limit value is a violation. If applied to a terminal flow, the positive direction is into the terminal." },
            EnumValueDef { id: "OperationalLimitDirectionKind.low", comment: "Low means a monitored value below the limit is a violation. If applied to a terminal flow, the positive direction is into the terminal." },
            EnumValueDef { id: "OperationalLimitDirectionKind.absoluteValue", comment: "An absoluteValue limit means that a monitored absolute value above the limit value is a violation." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "OrientationKind",
        comment: "The orientation of the coordinate system with respect to top, left, and the coordinate number system.",
        values: &[
            EnumValueDef { id: "OrientationKind.positive", comment: "For 2D diagrams, a positive orientation will result in X values increasing from left to right and Y values increasing from bottom to top. This is also known as a right hand orientation." },
            EnumValueDef { id: "OrientationKind.negative", comment: "For 2D diagrams, a negative orientation gives the left-hand orientation (favoured by computer graphics displays) with X values increasing from left to right and Y values increasing from top to bottom. This is also known as a left hand orientation." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PetersenCoilModeKind",
        comment: "The mode of operation for a Petersen coil.",
        values: &[
            EnumValueDef { id: "PetersenCoilModeKind.fixed", comment: "Fixed position." },
            EnumValueDef { id: "PetersenCoilModeKind.manual", comment: "Manual positioning." },
            EnumValueDef { id: "PetersenCoilModeKind.automaticPositioning", comment: "Automatic positioning." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "PhaseCode",
        comment: "An unordered enumeration of phase identifiers. Allows designation of phases for both transmission and distribution equipment, circuits and loads. The enumeration, by itself, does not describe how the phases are connected together or connected to ground. Ground is not explicitly denoted as a phase. Residential and small commercial loads are often served from single-phase, or split-phase, secondary circuits. For the example of s12N, phases 1 and 2 refer to hot wires that are 180 degrees out of phase, while N refers to the neutral wire. Through single-phase transformer connections, these secondary circuits may be served from one or two of the primary phases A, B, and C. For three-phase loads, use the A, B, C phase codes instead of s12N. The integer values are from IEC 61968-9 to support revenue metering applications.",
        values: &[
            EnumValueDef { id: "PhaseCode.ABCN", comment: "Phases A, B, C, and N." },
            EnumValueDef { id: "PhaseCode.ABC", comment: "Phases A, B, and C." },
            EnumValueDef { id: "PhaseCode.ABN", comment: "Phases A, B, and neutral." },
            EnumValueDef { id: "PhaseCode.ACN", comment: "Phases A, C and neutral." },
            EnumValueDef { id: "PhaseCode.BCN", comment: "Phases B, C, and neutral." },
            EnumValueDef { id: "PhaseCode.AB", comment: "Phases A and B." },
            EnumValueDef { id: "PhaseCode.AC", comment: "Phases A and C." },
            EnumValueDef { id: "PhaseCode.BC", comment: "Phases B and C." },
            EnumValueDef { id: "PhaseCode.AN", comment: "Phases A and neutral." },
            EnumValueDef { id: "PhaseCode.BN", comment: "Phases B and neutral." },
            EnumValueDef { id: "PhaseCode.CN", comment: "Phases C and neutral." },
            EnumValueDef { id: "PhaseCode.A", comment: "Phase A." },
            EnumValueDef { id: "PhaseCode.B", comment: "Phase B." },
            EnumValueDef { id: "PhaseCode.C", comment: "Phase C." },
            EnumValueDef { id: "PhaseCode.N", comment: "Neutral phase." },
            EnumValueDef { id: "PhaseCode.s1N", comment: "Secondary phase 1 and neutral." },
            EnumValueDef { id: "PhaseCode.s2N", comment: "Secondary phase 2 and neutral." },
            EnumValueDef { id: "PhaseCode.s12N", comment: "Secondary phases 1, 2, and neutral." },
            EnumValueDef { id: "PhaseCode.s1", comment: "Secondary phase 1." },
            EnumValueDef { id: "PhaseCode.s2", comment: "Secondary phase 2." },
            EnumValueDef { id: "PhaseCode.s12", comment: "Secondary phase 1 and 2." },
            EnumValueDef { id: "PhaseCode.none", comment: "No phases specified." },
            EnumValueDef { id: "PhaseCode.X", comment: "Unknown non-neutral phase." },
            EnumValueDef { id: "PhaseCode.XY", comment: "Two unknown non-neutral phases." },
            EnumValueDef { id: "PhaseCode.XN", comment: "Unknown non-neutral phase plus neutral." },
            EnumValueDef { id: "PhaseCode.XYN", comment: "Two unknown non-neutral phases plus neutral." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RegulatingControlModeKind",
        comment: "The kind of regulation model. For example regulating voltage, reactive power, active power, etc.",
        values: &[
            EnumValueDef { id: "RegulatingControlModeKind.voltage", comment: "Voltage is specified." },
            EnumValueDef { id: "RegulatingControlModeKind.activePower", comment: "Active power is specified." },
            EnumValueDef { id: "RegulatingControlModeKind.reactivePower", comment: "Reactive power is specified." },
            EnumValueDef { id: "RegulatingControlModeKind.currentFlow", comment: "Current flow is specified." },
            EnumValueDef { id: "RegulatingControlModeKind.admittance", comment: "Admittance is specified." },
            EnumValueDef { id: "RegulatingControlModeKind.timeScheduled", comment: "Control switches on/off by time of day. The times may change on the weekend, or in different seasons." },
            EnumValueDef { id: "RegulatingControlModeKind.temperature", comment: "Control switches on/off based on the local temperature (i.e., a thermostat)." },
            EnumValueDef { id: "RegulatingControlModeKind.powerFactor", comment: "Power factor is specified." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RemoteSignalKind",
        comment: "Type of input signal coming from remote bus.",
        values: &[
            EnumValueDef { id: "RemoteSignalKind.remoteBusVoltageFrequency", comment: "Input is voltage frequency from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBusVoltageFrequencyDeviation", comment: "Input is voltage frequency deviation from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBusFrequency", comment: "Input is frequency from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBusFrequencyDeviation", comment: "Input is frequency deviation from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBusVoltageAmplitude", comment: "Input is voltage amplitude from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBusVoltage", comment: "Input is voltage from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBranchCurrentAmplitude", comment: "Input is branch current amplitude from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remoteBusVoltageAmplitudeDerivative", comment: "Input is branch current amplitude derivative from remote terminal bus." },
            EnumValueDef { id: "RemoteSignalKind.remotePuBusVoltageDerivative", comment: "Input is PU voltage derivative from remote terminal bus." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "RotorKind",
        comment: "Type of rotor on physical machine.",
        values: &[
            EnumValueDef { id: "RotorKind.roundRotor", comment: "Round rotor type of synchronous machine." },
            EnumValueDef { id: "RotorKind.salientPole", comment: "Salient pole type of synchronous machine." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "ShortCircuitRotorKind",
        comment: "Type of rotor, used by short circuit applications.",
        values: &[
            EnumValueDef { id: "ShortCircuitRotorKind.salientPole1", comment: "Salient pole 1 in IEC 60909." },
            EnumValueDef { id: "ShortCircuitRotorKind.salientPole2", comment: "Salient pole 2 in IEC 60909." },
            EnumValueDef { id: "ShortCircuitRotorKind.turboSeries1", comment: "Turbo Series 1 in IEC 60909." },
            EnumValueDef { id: "ShortCircuitRotorKind.turboSeries2", comment: "Turbo series 2 in IEC 60909." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Source",
        comment: "Source gives information related to the origin of a value.",
        values: &[
            EnumValueDef { id: "Source.PROCESS", comment: "The value is provided by input from the process I/O or being calculated from some function." },
            EnumValueDef { id: "Source.DEFAULTED", comment: "The value contains a default value." },
            EnumValueDef { id: "Source.SUBSTITUTED", comment: "The value is provided by input of an operator or by an automatic source." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "StaticLoadModelKind",
        comment: "Type of static load model.",
        values: &[
            EnumValueDef { id: "StaticLoadModelKind.exponential", comment: "This model is an exponential representation of the load. Exponential equations for active and reactive power are used and the following attributes are required: kp1, kp2, kp3, kpf, ep1, ep2, ep3 kq1, kq2, kq3, kqf, eq1, eq2, eq3." },
            EnumValueDef { id: "StaticLoadModelKind.zIP1", comment: "This model integrates the frequency-dependent load (primarily motors). ZIP1 equations for active and reactive power are used and the following attributes are required: kp1, kp2, kp3, kpf kq1, kq2, kq3, kqf." },
            EnumValueDef { id: "StaticLoadModelKind.zIP2", comment: "This model separates the frequency-dependent load (primarily motors) from other load. ZIP2 equations for active and reactive power are used and the following attributes are required: kp1, kp2, kp3, kq4, kpf kq1, kq2, kq3, kq4, kqf." },
            EnumValueDef { id: "StaticLoadModelKind.constantZ", comment: "The load is represented as a constant impedance. ConstantZ equations are used for active and reactive power and no attributes are required." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineKind",
        comment: "Synchronous machine type.",
        values: &[
            EnumValueDef { id: "SynchronousMachineKind.generator", comment: "Indicates the synchronous machine can operate as a generator." },
            EnumValueDef { id: "SynchronousMachineKind.condenser", comment: "Indicates the synchronous machine can operate as a condenser." },
            EnumValueDef { id: "SynchronousMachineKind.generatorOrCondenser", comment: "Indicates the synchronous machine can operate as a generator or as a condenser." },
            EnumValueDef { id: "SynchronousMachineKind.motor", comment: "Indicates the synchronous machine can operate as a motor." },
            EnumValueDef { id: "SynchronousMachineKind.generatorOrMotor", comment: "Indicates the synchronous machine can operate as a generator or as a motor." },
            EnumValueDef { id: "SynchronousMachineKind.motorOrCondenser", comment: "Indicates the synchronous machine can operate as a motor or as a condenser." },
            EnumValueDef { id: "SynchronousMachineKind.generatorOrCondenserOrMotor", comment: "Indicates the synchronous machine can operate as a generator or as a condenser or as a motor." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineModelKind",
        comment: "Type of synchronous machine model used in dynamic simulation applications.",
        values: &[
            EnumValueDef { id: "SynchronousMachineModelKind.subtransient", comment: "Subtransient synchronous machine model." },
            EnumValueDef { id: "SynchronousMachineModelKind.subtransientTypeF", comment: "WECC type F variant of subtransient synchronous machine model." },
            EnumValueDef { id: "SynchronousMachineModelKind.subtransientTypeJ", comment: "WECC type J variant of subtransient synchronous machine model." },
            EnumValueDef { id: "SynchronousMachineModelKind.subtransientSimplified", comment: "Simplified version of subtransient synchronous machine model where magnetic coupling between the direct- and quadrature- axes is ignored." },
            EnumValueDef { id: "SynchronousMachineModelKind.subtransientSimplifiedDirectAxis", comment: "Simplified version of a subtransient synchronous machine model with no damper circuit on the direct-axis." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "SynchronousMachineOperatingMode",
        comment: "Synchronous machine operating mode.",
        values: &[
            EnumValueDef { id: "SynchronousMachineOperatingMode.generator", comment: "Operating as generator." },
            EnumValueDef { id: "SynchronousMachineOperatingMode.condenser", comment: "Operating as condenser." },
            EnumValueDef { id: "SynchronousMachineOperatingMode.motor", comment: "Operating as motor." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnitMultiplier",
        comment: "The unit multipliers defined for the CIM. When applied to unit symbols, the unit symbol is treated as a derived unit. Regardless of the contents of the unit symbol text, the unit symbol shall be treated as if it were a single-character unit symbol. Unit symbols should not contain multipliers, and it should be left to the multiplier to define the multiple for an entire data type. For example, if a unit symbol is 'm2Pers' and the multiplier is 'k', then the value is k(m**2/s), and the multiplier applies to the entire final value, not to any individual part of the value. This can be conceptualized by substituting a derived unit symbol for the unit type. If one imagines that the symbol 'Þ' represents the derived unit 'm2Pers', then applying the multiplier 'k' can be conceptualized simply as 'kÞ'. For example, the SI unit for mass is 'kg' and not 'g'. If the unit symbol is defined as 'kg', then the multiplier is applied to 'kg' as a whole and does not replace the 'k' in front of the 'g'. In this case, the multiplier of 'm' would be used with the unit symbol of 'kg' to represent one gram. As a text string, this violates the instructions in IEC 80000-1. However, because the unit symbol in CIM is treated as a derived unit instead of as an SI unit, it makes more sense to conceptualize the 'kg' as if it were replaced by one of the proposed replacements for the SI mass symbol. If one imagines that the 'kg' were replaced by a symbol 'Þ', then it is easier to conceptualize the multiplier 'm' as creating the proper unit 'mÞ', and not the forbidden unit 'mkg'.",
        values: &[
            EnumValueDef { id: "UnitMultiplier.y", comment: "Yocto 10**-24." },
            EnumValueDef { id: "UnitMultiplier.z", comment: "Zepto 10**-21." },
            EnumValueDef { id: "UnitMultiplier.a", comment: "Atto 10**-18." },
            EnumValueDef { id: "UnitMultiplier.f", comment: "Femto 10**-15." },
            EnumValueDef { id: "UnitMultiplier.p", comment: "Pico 10**-12." },
            EnumValueDef { id: "UnitMultiplier.n", comment: "Nano 10**-9." },
            EnumValueDef { id: "UnitMultiplier.micro", comment: "Micro 10**-6." },
            EnumValueDef { id: "UnitMultiplier.m", comment: "Milli 10**-3." },
            EnumValueDef { id: "UnitMultiplier.c", comment: "Centi 10**-2." },
            EnumValueDef { id: "UnitMultiplier.d", comment: "Deci 10**-1." },
            EnumValueDef { id: "UnitMultiplier.none", comment: "No multiplier or equivalently multiply by 1." },
            EnumValueDef { id: "UnitMultiplier.da", comment: "Deca 10**1." },
            EnumValueDef { id: "UnitMultiplier.h", comment: "Hecto 10**2." },
            EnumValueDef { id: "UnitMultiplier.k", comment: "Kilo 10**3." },
            EnumValueDef { id: "UnitMultiplier.M", comment: "Mega 10**6." },
            EnumValueDef { id: "UnitMultiplier.G", comment: "Giga 10**9." },
            EnumValueDef { id: "UnitMultiplier.T", comment: "Tera 10**12." },
            EnumValueDef { id: "UnitMultiplier.P", comment: "Peta 10**15." },
            EnumValueDef { id: "UnitMultiplier.E", comment: "Exa 10**18." },
            EnumValueDef { id: "UnitMultiplier.Z", comment: "Zetta 10**21." },
            EnumValueDef { id: "UnitMultiplier.Y", comment: "Yotta 10**24." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "UnitSymbol",
        comment: "The derived units defined for usage in the CIM. In some cases, the derived unit is equal to an SI unit. Whenever possible, the standard derived symbol is used instead of the formula for the derived unit. For example, the unit symbol Farad is defined as 'F' instead of 'CPerV'. In cases where a standard symbol does not exist for a derived unit, the formula for the unit is used as the unit symbol. For example, density does not have a standard symbol and so it is represented as 'kgPerm3'. With the exception of the 'kg', which is an SI unit, the unit symbols do not contain multipliers and therefore represent the base derived unit to which a multiplier can be applied as a whole. Every unit symbol is treated as an unparseable text as if it were a single-letter symbol. The meaning of each unit symbol is defined by the accompanying descriptive text and not by the text contents of the unit symbol. To allow the widest possible range of serializations without requiring special character handling, several substitutions are made which deviate from the format described in IEC 80000-1. The division symbol '/' is replaced by the letters 'Per'. Exponents are written in plain text after the unit as 'm3' instead of being formatted as 'm' with a superscript of 3 or introducing a symbol as in 'm^3'. The degree symbol '°' is replaced with the letters 'deg'. Any clarification of the meaning for a substitution is included in the description for the unit symbol. Non-SI units are included in list of unit symbols to allow sources of data to be correctly labelled with their non-SI units (for example, a GPS sensor that is reporting numbers that represent feet instead of meters). This allows software to use the unit symbol information correctly convert and scale the raw data of those sources into SI-based units. The integer values are used for harmonization with IEC 61850.",
        values: &[
            EnumValueDef { id: "UnitSymbol.none", comment: "Dimension less quantity, e.g. count, per unit, etc." },
            EnumValueDef { id: "UnitSymbol.m", comment: "Length in metres." },
            EnumValueDef { id: "UnitSymbol.kg", comment: "Mass in kilograms. Note: multiplier “k” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.s", comment: "Time in seconds." },
            EnumValueDef { id: "UnitSymbol.A", comment: "Current in amperes." },
            EnumValueDef { id: "UnitSymbol.K", comment: "Temperature in kelvins." },
            EnumValueDef { id: "UnitSymbol.mol", comment: "Amount of substance in moles." },
            EnumValueDef { id: "UnitSymbol.cd", comment: "Luminous intensity in candelas." },
            EnumValueDef { id: "UnitSymbol.deg", comment: "Plane angle in degrees." },
            EnumValueDef { id: "UnitSymbol.rad", comment: "Plane angle in radians (m/m)." },
            EnumValueDef { id: "UnitSymbol.sr", comment: "Solid angle in steradians (m2/m2)." },
            EnumValueDef { id: "UnitSymbol.Gy", comment: "Absorbed dose in grays (J/kg)." },
            EnumValueDef { id: "UnitSymbol.Bq", comment: "Radioactivity in becquerels (1/s)." },
            EnumValueDef { id: "UnitSymbol.degC", comment: "Relative temperature in degrees Celsius. In the SI unit system the symbol is °C. Electric charge is measured in coulomb that has the unit symbol C. To distinguish degree Celsius from coulomb the symbol used in the UML is degC. The reason for not using °C is that the special character ° is difficult to manage in software." },
            EnumValueDef { id: "UnitSymbol.Sv", comment: "Dose equivalent in sieverts (J/kg)." },
            EnumValueDef { id: "UnitSymbol.F", comment: "Electric capacitance in farads (C/V)." },
            EnumValueDef { id: "UnitSymbol.C", comment: "Electric charge in coulombs (A·s)." },
            EnumValueDef { id: "UnitSymbol.S", comment: "Conductance in siemens." },
            EnumValueDef { id: "UnitSymbol.H", comment: "Electric inductance in henrys (Wb/A)." },
            EnumValueDef { id: "UnitSymbol.V", comment: "Electric potential in volts (W/A)." },
            EnumValueDef { id: "UnitSymbol.ohm", comment: "Electric resistance in ohms (V/A)." },
            EnumValueDef { id: "UnitSymbol.J", comment: "Energy in joules (N·m = C·V = W·s)." },
            EnumValueDef { id: "UnitSymbol.N", comment: "Force in newtons (kg·m/s²)." },
            EnumValueDef { id: "UnitSymbol.Hz", comment: "Frequency in hertz (1/s)." },
            EnumValueDef { id: "UnitSymbol.lx", comment: "Illuminance in lux (lm/m²)." },
            EnumValueDef { id: "UnitSymbol.lm", comment: "Luminous flux in lumens (cd·sr)." },
            EnumValueDef { id: "UnitSymbol.Wb", comment: "Magnetic flux in webers (V·s)." },
            EnumValueDef { id: "UnitSymbol.T", comment: "Magnetic flux density in teslas (Wb/m2)." },
            EnumValueDef { id: "UnitSymbol.W", comment: "Real power in watts (J/s). Electrical power may have real and reactive components. The real portion of electrical power (I&#178;R or VIcos(phi)), is expressed in Watts. See also apparent power and reactive power." },
            EnumValueDef { id: "UnitSymbol.Pa", comment: "Pressure in pascals (N/m²). Note: the absolute or relative measurement of pressure is implied with this entry. See below for more explicit forms." },
            EnumValueDef { id: "UnitSymbol.m2", comment: "Area in square metres (m²)." },
            EnumValueDef { id: "UnitSymbol.m3", comment: "Volume in cubic metres (m³)." },
            EnumValueDef { id: "UnitSymbol.mPers", comment: "Velocity in metres per second (m/s)." },
            EnumValueDef { id: "UnitSymbol.mPers2", comment: "Acceleration in metres per second squared (m/s²)." },
            EnumValueDef { id: "UnitSymbol.m3Pers", comment: "Volumetric flow rate in cubic metres per second (m³/s)." },
            EnumValueDef { id: "UnitSymbol.mPerm3", comment: "Fuel efficiency in metres per cubic metres (m/m³)." },
            EnumValueDef { id: "UnitSymbol.kgm", comment: "Moment of mass in kilogram metres (kg·m) (first moment of mass). Note: multiplier “k” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.kgPerm3", comment: "Density in kilogram/cubic metres (kg/m³). Note: multiplier “k” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.m2Pers", comment: "Viscosity in square metres / second (m²/s)." },
            EnumValueDef { id: "UnitSymbol.WPermK", comment: "Thermal conductivity in watt/metres kelvin." },
            EnumValueDef { id: "UnitSymbol.JPerK", comment: "Heat capacity in joules/kelvin." },
            EnumValueDef { id: "UnitSymbol.ppm", comment: "Concentration in parts per million." },
            EnumValueDef { id: "UnitSymbol.rotPers", comment: "Rotations per second (1/s). See also Hz (1/s)." },
            EnumValueDef { id: "UnitSymbol.radPers", comment: "Angular velocity in radians per second (rad/s)." },
            EnumValueDef { id: "UnitSymbol.WPerm2", comment: "Heat flux density, irradiance, watts per square metre." },
            EnumValueDef { id: "UnitSymbol.JPerm2", comment: "Insulation energy density, joules per square metre or watt second per square metre." },
            EnumValueDef { id: "UnitSymbol.SPerm", comment: "Conductance per length (F/m)." },
            EnumValueDef { id: "UnitSymbol.KPers", comment: "Temperature change rate in kelvins per second." },
            EnumValueDef { id: "UnitSymbol.PaPers", comment: "Pressure change rate in pascals per second." },
            EnumValueDef { id: "UnitSymbol.JPerkgK", comment: "Specific heat capacity, specific entropy, joules per kilogram Kelvin." },
            EnumValueDef { id: "UnitSymbol.VA", comment: "Apparent power in volt amperes. See also real power and reactive power." },
            EnumValueDef { id: "UnitSymbol.VAr", comment: "Reactive power in volt amperes reactive. The “reactive” or “imaginary” component of electrical power (VIsin(phi)). (See also real power and apparent power). Note: Different meter designs use different methods to arrive at their results. Some meters may compute reactive power as an arithmetic value, while others compute the value vectorially. The data consumer should determine the method in use and the suitability of the measurement for the intended purpose." },
            EnumValueDef { id: "UnitSymbol.cosPhi", comment: "Power factor, dimensionless. Note 1: This definition of power factor only holds for balanced systems. See the alternative definition under code 153. Note 2 : Beware of differing sign conventions in use between the IEC and EEI. It is assumed that the data consumer understands the type of meter in use and the sign convention in use by the utility." },
            EnumValueDef { id: "UnitSymbol.Vs", comment: "Volt seconds (Ws/A)." },
            EnumValueDef { id: "UnitSymbol.V2", comment: "Volt squared (W²/A²)." },
            EnumValueDef { id: "UnitSymbol.As", comment: "Ampere seconds (A·s)." },
            EnumValueDef { id: "UnitSymbol.A2", comment: "Amperes squared (A²)." },
            EnumValueDef { id: "UnitSymbol.A2s", comment: "Ampere squared time in square amperes (A²s)." },
            EnumValueDef { id: "UnitSymbol.VAh", comment: "Apparent energy in volt ampere hours." },
            EnumValueDef { id: "UnitSymbol.Wh", comment: "Real energy in watt hours." },
            EnumValueDef { id: "UnitSymbol.VArh", comment: "Reactive energy in volt ampere reactive hours." },
            EnumValueDef { id: "UnitSymbol.VPerHz", comment: "Magnetic flux in volt per hertz." },
            EnumValueDef { id: "UnitSymbol.HzPers", comment: "Rate of change of frequency in hertz per second." },
            EnumValueDef { id: "UnitSymbol.character", comment: "Number of characters." },
            EnumValueDef { id: "UnitSymbol.charPers", comment: "Data rate (baud) in characters per second." },
            EnumValueDef { id: "UnitSymbol.kgm2", comment: "Moment of mass in kilogram square metres (kg·m²) (Second moment of mass, commonly called the moment of inertia). Note: multiplier “k” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.dB", comment: "Sound pressure level in decibels. Note: multiplier “d” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.WPers", comment: "Ramp rate in watts per second." },
            EnumValueDef { id: "UnitSymbol.lPers", comment: "Volumetric flow rate in litres per second." },
            EnumValueDef { id: "UnitSymbol.dBm", comment: "Power level (logarithmic ratio of signal strength , Bel-mW), normalized to 1mW. Note: multiplier “d” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.h", comment: "Time in hours, hour = 60 min = 3600 s." },
            EnumValueDef { id: "UnitSymbol.min", comment: "Time in minutes, minute = 60 s." },
            EnumValueDef { id: "UnitSymbol.Q", comment: "Quantity power, Q." },
            EnumValueDef { id: "UnitSymbol.Qh", comment: "Quantity energy, Qh." },
            EnumValueDef { id: "UnitSymbol.ohmm", comment: "Resistivity, ohm metres, (rho)." },
            EnumValueDef { id: "UnitSymbol.APerm", comment: "A/m, magnetic field strength, amperes per metre." },
            EnumValueDef { id: "UnitSymbol.V2h", comment: "Volt-squared hour, volt-squared-hours." },
            EnumValueDef { id: "UnitSymbol.A2h", comment: "Ampere-squared hour, ampere-squared hour." },
            EnumValueDef { id: "UnitSymbol.Ah", comment: "Ampere-hours, ampere-hours." },
            EnumValueDef { id: "UnitSymbol.count", comment: "Amount of substance, Counter value." },
            EnumValueDef { id: "UnitSymbol.ft3", comment: "Volume, cubic feet." },
            EnumValueDef { id: "UnitSymbol.m3Perh", comment: "Volumetric flow rate, cubic metres per hour." },
            EnumValueDef { id: "UnitSymbol.gal", comment: "Volume in gallons, US gallon (1 gal = 231 in3 = 128 fl ounce)." },
            EnumValueDef { id: "UnitSymbol.Btu", comment: "Energy, British Thermal Units." },
            EnumValueDef { id: "UnitSymbol.l", comment: "Volume in litres, litre = dm3 = m3/1000." },
            EnumValueDef { id: "UnitSymbol.lPerh", comment: "Volumetric flow rate, litres per hour." },
            EnumValueDef { id: "UnitSymbol.lPerl", comment: "Concentration, The ratio of the volume of a solute divided by the volume of the solution. Note: Users may need use a prefix such a ‘µ’ to express a quantity such as ‘µL/L’." },
            EnumValueDef { id: "UnitSymbol.gPerg", comment: "Concentration, The ratio of the mass of a solute divided by the mass of the solution. Note: Users may need use a prefix such a ‘µ’ to express a quantity such as ‘µg/g’." },
            EnumValueDef { id: "UnitSymbol.molPerm3", comment: "Concentration, The amount of substance concentration, (c), the amount of solvent in moles divided by the volume of solution in m³." },
            EnumValueDef { id: "UnitSymbol.molPermol", comment: "Concentration, Molar fraction, the ratio of the molar amount of a solute divided by the molar amount of the solution." },
            EnumValueDef { id: "UnitSymbol.molPerkg", comment: "Concentration, Molality, the amount of solute in moles and the amount of solvent in kilograms." },
            EnumValueDef { id: "UnitSymbol.sPers", comment: "Time, Ratio of time. Note: Users may need to supply a prefix such as ‘&#181;’ to show rates such as ‘&#181;s/s’." },
            EnumValueDef { id: "UnitSymbol.HzPerHz", comment: "Frequency, rate of frequency change. Note: Users may need to supply a prefix such as ‘m’ to show rates such as ‘mHz/Hz’." },
            EnumValueDef { id: "UnitSymbol.VPerV", comment: "Voltage, ratio of voltages. Note: Users may need to supply a prefix such as ‘m’ to show rates such as ‘mV/V’." },
            EnumValueDef { id: "UnitSymbol.APerA", comment: "Current, ratio of amperages. Note: Users may need to supply a prefix such as ‘m’ to show rates such as ‘mA/A’." },
            EnumValueDef { id: "UnitSymbol.VPerVA", comment: "Power factor, PF, the ratio of the active power to the apparent power. Note: The sign convention used for power factor will differ between IEC meters and EEI (ANSI) meters. It is assumed that the data consumers understand the type of meter being used and agree on the sign convention in use at any given utility." },
            EnumValueDef { id: "UnitSymbol.rev", comment: "Amount of rotation, revolutions." },
            EnumValueDef { id: "UnitSymbol.kat", comment: "Catalytic activity, katal = mol / s." },
            EnumValueDef { id: "UnitSymbol.JPerkg", comment: "Specific energy, Joules / kg." },
            EnumValueDef { id: "UnitSymbol.m3Uncompensated", comment: "Volume, cubic metres, with the value uncompensated for weather effects." },
            EnumValueDef { id: "UnitSymbol.m3Compensated", comment: "Volume, cubic metres, with the value compensated for weather effects." },
            EnumValueDef { id: "UnitSymbol.WPerW", comment: "Signal Strength, ratio of power. Note: Users may need to supply a prefix such as ‘m’ to show rates such as ‘mW/W’." },
            EnumValueDef { id: "UnitSymbol.therm", comment: "Energy, therms." },
            EnumValueDef { id: "UnitSymbol.onePerm", comment: "Wavenumber, reciprocal metres, (1/m)." },
            EnumValueDef { id: "UnitSymbol.m3Perkg", comment: "Specific volume, cubic metres per kilogram, v." },
            EnumValueDef { id: "UnitSymbol.Pas", comment: "Dynamic viscosity, pascal seconds." },
            EnumValueDef { id: "UnitSymbol.Nm", comment: "Moment of force, newton metres." },
            EnumValueDef { id: "UnitSymbol.NPerm", comment: "Surface tension, newton per metre." },
            EnumValueDef { id: "UnitSymbol.radPers2", comment: "Angular acceleration, radians per second squared." },
            EnumValueDef { id: "UnitSymbol.JPerm3", comment: "Energy density, joules per cubic metre." },
            EnumValueDef { id: "UnitSymbol.VPerm", comment: "Electric field strength, volts per metre." },
            EnumValueDef { id: "UnitSymbol.CPerm3", comment: "Electric charge density, coulombs per cubic metre." },
            EnumValueDef { id: "UnitSymbol.CPerm2", comment: "Surface charge density, coulombs per square metre." },
            EnumValueDef { id: "UnitSymbol.FPerm", comment: "Permittivity, farads per metre." },
            EnumValueDef { id: "UnitSymbol.HPerm", comment: "Permeability, henrys per metre." },
            EnumValueDef { id: "UnitSymbol.JPermol", comment: "Molar energy, joules per mole." },
            EnumValueDef { id: "UnitSymbol.JPermolK", comment: "Molar entropy, molar heat capacity, joules per mole kelvin." },
            EnumValueDef { id: "UnitSymbol.CPerkg", comment: "Exposure (x rays), coulombs per kilogram." },
            EnumValueDef { id: "UnitSymbol.GyPers", comment: "Absorbed dose rate, grays per second." },
            EnumValueDef { id: "UnitSymbol.WPersr", comment: "Radiant intensity, watts per steradian." },
            EnumValueDef { id: "UnitSymbol.WPerm2sr", comment: "Radiance, watts per square metre steradian." },
            EnumValueDef { id: "UnitSymbol.katPerm3", comment: "Catalytic activity concentration, katals per cubic metre." },
            EnumValueDef { id: "UnitSymbol.d", comment: "Time in days, day = 24 h = 86400 s." },
            EnumValueDef { id: "UnitSymbol.anglemin", comment: "Plane angle, minutes." },
            EnumValueDef { id: "UnitSymbol.anglesec", comment: "Plane angle, seconds." },
            EnumValueDef { id: "UnitSymbol.ha", comment: "Area, hectares." },
            EnumValueDef { id: "UnitSymbol.tonne", comment: "Mass in tons, “tonne” or “metric ton” (1000 kg = 1 Mg)." },
            EnumValueDef { id: "UnitSymbol.bar", comment: "Pressure in bars, (1 bar = 100 kPa)." },
            EnumValueDef { id: "UnitSymbol.mmHg", comment: "Pressure, millimetres of mercury (1 mmHg is approximately 133.3 Pa)." },
            EnumValueDef { id: "UnitSymbol.M", comment: "Length, nautical miles (1 M = 1852 m)." },
            EnumValueDef { id: "UnitSymbol.kn", comment: "Speed, knots (1 kn = 1852/3600) m/s." },
            EnumValueDef { id: "UnitSymbol.Mx", comment: "Magnetic flux, maxwells (1 Mx = 10-8 Wb)." },
            EnumValueDef { id: "UnitSymbol.G", comment: "Magnetic flux density, gausses (1 G = 10-4 T)." },
            EnumValueDef { id: "UnitSymbol.Oe", comment: "Magnetic field in oersteds, (1 Oe = (103/4p) A/m)." },
            EnumValueDef { id: "UnitSymbol.Vh", comment: "Volt-hour, Volt hours." },
            EnumValueDef { id: "UnitSymbol.WPerA", comment: "Active power per current flow, watts per Ampere." },
            EnumValueDef { id: "UnitSymbol.onePerHz", comment: "Reciprocal of frequency (1/Hz)." },
            EnumValueDef { id: "UnitSymbol.VPerVAr", comment: "Power factor, PF, the ratio of the active power to the apparent power. Note: The sign convention used for power factor will differ between IEC meters and EEI (ANSI) meters. It is assumed that the data consumers understand the type of meter being used and agree on the sign convention in use at any given utility." },
            EnumValueDef { id: "UnitSymbol.ohmPerm", comment: "Electric resistance per length in ohms per metre ((V/A)/m)." },
            EnumValueDef { id: "UnitSymbol.kgPerJ", comment: "Weight per energy in kilograms per joule (kg/J). Note: multiplier “k” is included in this unit symbol for compatibility with IEC 61850-7-3." },
            EnumValueDef { id: "UnitSymbol.JPers", comment: "Energy rate in joules per second (J/s)." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "Validity",
        comment: "Validity for MeasurementValue.",
        values: &[
            EnumValueDef { id: "Validity.GOOD", comment: "The value is marked good if no abnormal condition of the acquisition function or the information source is detected." },
            EnumValueDef { id: "Validity.QUESTIONABLE", comment: "The value is marked questionable if a supervision function detects an abnormal behaviour, however the value could still be valid. The client is responsible for determining whether or not values marked 'questionable' should be used." },
            EnumValueDef { id: "Validity.INVALID", comment: "The value is marked invalid when a supervision function recognises abnormal conditions of the acquisition function or the information source (missing or non-operating updating devices). The value is not defined under this condition. The mark invalid is used to indicate to the client that the value may be incorrect and shall not be used." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VsPpccControlKind",
        comment: "Types applicable to the control of real power and/or DC voltage by voltage source converter.",
        values: &[
            EnumValueDef { id: "VsPpccControlKind.pPcc", comment: "Control is real power at point of common coupling. The target value is provided by ACDCConverter.targetPpcc." },
            EnumValueDef { id: "VsPpccControlKind.udc", comment: "Control is DC voltage with target value provided by ACDCConverter.targetUdc." },
            EnumValueDef { id: "VsPpccControlKind.pPccAndUdcDroop", comment: "Control is active power at point of common coupling and local DC voltage, with the droop. Target values are provided by ACDCConverter.targetPpcc, ACDCConverter.targetUdc and VsConverter.droop." },
            EnumValueDef { id: "VsPpccControlKind.pPccAndUdcDroopWithCompensation", comment: "Control is active power at point of common coupling and compensated DC voltage, with the droop. Compensation factor is the resistance, as an approximation of the DC voltage of a common (real or virtual) node in the DC network. Targets are provided by ACDCConverter.targetPpcc, ACDCConverter.targetUdc, VsConverter.droop and VsConverter.droopCompensation." },
            EnumValueDef { id: "VsPpccControlKind.pPccAndUdcDroopPilot", comment: "Control is active power at point of common coupling and the pilot DC voltage, with the droop. The mode is used for Multi Terminal High Voltage DC (MTDC) systems where multiple HVDC Substations are connected to the HVDC transmission lines. The pilot voltage is then used to coordinate the control the DC voltage across the HVDC substations. Targets are provided by ACDCConverter.targetPpcc, ACDCConverter.targetUdc and VsConverter.droop." },
            EnumValueDef { id: "VsPpccControlKind.phasePcc", comment: "Control is phase at point of common coupling. Target is provided by VsConverter.targetPhasePcc." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "VsQpccControlKind",
        comment: "Kind of reactive power control at point of common coupling for a voltage source converter.",
        values: &[
            EnumValueDef { id: "VsQpccControlKind.reactivePcc", comment: "Control is reactive power at point of common coupling. Target is provided by VsConverter.targetQpcc." },
            EnumValueDef { id: "VsQpccControlKind.voltagePcc", comment: "Control is voltage at point of common coupling. Target is provided by VsConverter.targetUpcc." },
            EnumValueDef { id: "VsQpccControlKind.powerFactorPcc", comment: "Control is power factor at point of common coupling. Target is provided by VsConverter.targetPowerFactorPcc." },
            EnumValueDef { id: "VsQpccControlKind.pulseWidthModulation", comment: "No explicit control. Pulse-modulation factor is directly set in magnitude (VsConverter.targetPWMfactor) and phase (VsConverter.targetPhasePcc)." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindGenUnitKind",
        comment: "Kind of wind generating unit.",
        values: &[
            EnumValueDef { id: "WindGenUnitKind.offshore", comment: "The wind generating unit is located offshore." },
            EnumValueDef { id: "WindGenUnitKind.onshore", comment: "The wind generating unit is located onshore." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindLookupTableFunctionKind",
        comment: "Function of the lookup table.",
        values: &[
            EnumValueDef { id: "WindLookupTableFunctionKind.prr", comment: "Power versus speed change (negative slip) lookup table (prr(deltaomega)). It is used for the rotor resistance control model, IEC 61400-27-1:2015, 5.6.5.3." },
            EnumValueDef { id: "WindLookupTableFunctionKind.omegap", comment: "Power vs. speed lookup table (omega(p)). It is used for the P control model type 3, IEC 61400-27-1:2015, 5.6.5.4." },
            EnumValueDef { id: "WindLookupTableFunctionKind.ipmax", comment: "Lookup table for voltage dependency of active current limits (ipmax(uWT)). It is used for the current limitation model, IEC 61400-27-1:2015, 5.6.5.8." },
            EnumValueDef { id: "WindLookupTableFunctionKind.iqmax", comment: "Lookup table for voltage dependency of reactive current limits (iqmax(uWT)). It is used for the current limitation model, IEC 61400-27-1:2015, 5.6.5.8." },
            EnumValueDef { id: "WindLookupTableFunctionKind.pwp", comment: "Power vs. frequency lookup table (pWPbias(f)). It is used for the wind power plant frequency and active power control model, IEC 61400-27-1:2015, Annex D." },
            EnumValueDef { id: "WindLookupTableFunctionKind.tcwdu", comment: "Crowbar duration versus voltage variation look-up table (TCW(du)). It is a case-dependent parameter. It is used for the type 3B generator set model, IEC 61400-27-1:2015, 5.6.3.3." },
            EnumValueDef { id: "WindLookupTableFunctionKind.tduwt", comment: "Lookup table to determine the duration of the power reduction after a voltage dip, depending on the size of the voltage dip (Td(uWT)). It is a type-dependent parameter. It is used for the pitch control power model, IEC 61400-27-1:2015, 5.6.5.1." },
            EnumValueDef { id: "WindLookupTableFunctionKind.qmaxp", comment: "Lookup table for active power dependency of reactive power maximum limit (qmaxp(p)). It is used for the QP and QU limitation model, IEC 61400-27-1:2015, 5.6.5.10." },
            EnumValueDef { id: "WindLookupTableFunctionKind.qminp", comment: "Lookup table for active power dependency of reactive power minimum limit (qminp(p)). It is used for the QP and QU limitation model, IEC 61400-27-1:2015, 5.6.5.10." },
            EnumValueDef { id: "WindLookupTableFunctionKind.qmaxu", comment: "Lookup table for voltage dependency of reactive power maximum limit (qmaxu(p)). It is used for the QP and QU limitation model, IEC 61400-27-1:2015, 5.6.5.10." },
            EnumValueDef { id: "WindLookupTableFunctionKind.qminu", comment: "Lookup table for voltage dependency of reactive power minimum limit (qminu(p)). It is used for the QP and QU limitation model, IEC 61400-27-1:2015, 5.6.5.10." },
            EnumValueDef { id: "WindLookupTableFunctionKind.tuover", comment: "Disconnection time versus over-voltage lookup table (Tuover(uWT)). It is used for the grid protection model, IEC 61400-27-1:2015, 5.6.6." },
            EnumValueDef { id: "WindLookupTableFunctionKind.tuunder", comment: "Disconnection time versus under-voltage lookup table (Tuunder(uWT)). It is used for the grid protection model, IEC 61400-27-1:2015, 5.6.6." },
            EnumValueDef { id: "WindLookupTableFunctionKind.tfover", comment: "Disconnection time versus over-frequency lookup table (Tfover(fWT)). It is used for the grid protection model, IEC 61400-27-1:2015, 5.6.6." },
            EnumValueDef { id: "WindLookupTableFunctionKind.tfunder", comment: "Disconnection time versus under-frequency lookup table (Tfunder(fWT)). It is used for the grid protection model, IEC 61400-27-1:2015, 5.6.6." },
            EnumValueDef { id: "WindLookupTableFunctionKind.qwp", comment: "Look up table for the UQ static mode (qWP(uerr)). It is used for the voltage and reactive power control model, IEC 61400-27-1:2015, Annex D." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindPlantQcontrolModeKind",
        comment: "Reactive power/voltage controller mode.",
        values: &[
            EnumValueDef { id: "WindPlantQcontrolModeKind.reactivePower", comment: "Reactive power reference." },
            EnumValueDef { id: "WindPlantQcontrolModeKind.powerFactor", comment: "Power factor reference." },
            EnumValueDef { id: "WindPlantQcontrolModeKind.uqStatic", comment: "UQ static." },
            EnumValueDef { id: "WindPlantQcontrolModeKind.voltageControl", comment: "Voltage control." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindQcontrolModeKind",
        comment: "General wind turbine Q control modes MqG.",
        values: &[
            EnumValueDef { id: "WindQcontrolModeKind.voltage", comment: "Voltage control (MqG equals 0)." },
            EnumValueDef { id: "WindQcontrolModeKind.reactivePower", comment: "Reactive power control (MqG equals 1)." },
            EnumValueDef { id: "WindQcontrolModeKind.openLoopReactivePower", comment: "Open loop reactive power control (only used with closed loop at plant level) (MqG equals 2)." },
            EnumValueDef { id: "WindQcontrolModeKind.powerFactor", comment: "Power factor control (MqG equals 3)." },
            EnumValueDef { id: "WindQcontrolModeKind.openLooppowerFactor", comment: "Open loop power factor control (MqG equals 4)." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindUVRTQcontrolModeKind",
        comment: "UVRT Q control modes MqUVRT.",
        values: &[
            EnumValueDef { id: "WindUVRTQcontrolModeKind.mode0", comment: "Voltage-dependent reactive current injection (MqUVRT equals 0)." },
            EnumValueDef { id: "WindUVRTQcontrolModeKind.mode1", comment: "Reactive current injection controlled as the pre-fault value plus an additional voltage dependent reactive current injection (MqUVRT equals 1)." },
            EnumValueDef { id: "WindUVRTQcontrolModeKind.mode2", comment: "Reactive current injection controlled as the pre-fault value plus an additional voltage-dependent reactive current injection during fault, and as the pre-fault value plus an additional constant reactive current injection post fault (MqUVRT equals 2)." },
        ],
    },
    EnumDef {
        ns: "http://iec.ch/TC57/CIM100#",
        local: "WindingConnection",
        comment: "Winding connection type.",
        values: &[
            EnumValueDef { id: "WindingConnection.D", comment: "Delta." },
            EnumValueDef { id: "WindingConnection.Y", comment: "Wye." },
            EnumValueDef { id: "WindingConnection.Z", comment: "ZigZag." },
            EnumValueDef { id: "WindingConnection.Yn", comment: "Wye, with neutral brought out for grounding." },
            EnumValueDef { id: "WindingConnection.Zn", comment: "ZigZag, with neutral brought out for grounding." },
            EnumValueDef { id: "WindingConnection.A", comment: "Autotransformer common winding." },
            EnumValueDef { id: "WindingConnection.I", comment: "Independent winding, for single-phase connections." },
        ],
    },
];

/// The `cgmes` family's schema.
pub static SCHEMA: Schema = Schema { classes: CLASSES, profiles: PROFILES, namespaces: NAMESPACES, enums: ENUMS };