-
Notifications
You must be signed in to change notification settings - Fork 3
/
CIM2UANodeset3.xsl
2125 lines (2063 loc) · 121 KB
/
CIM2UANodeset3.xsl
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
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cim="http://iec.ch/TC57/2012/CIM-schema-cim16#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:my="http://www.iec.ch/61850/2003/SCL" xmlns:fn="http://www.w3.org/2005/xpath-functions" exclude-result-prefixes="cim rdf xs fn">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<!--
Title:CID to UANodeset Stylesheet
Copyright © OPC Foundation, Inc., 2013. Released 2013-03-01 16:37
Authors: Denis Francesconi, Hydro-Québec
John Gillerman, GridCloudSystem, Inc.
Unless explicitly acquired and licensed from Licensor under another license,
the contents of this file are subject to the Reciprocal Community License ("RCL") Version 0.9,
or subsequent versions as allowed by the RCL, and You may not copy or use this file in either source code
or executable form, except in compliance with the terms and conditions of the RCL.
All software distributed under the RCL is provided strictly on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND LICENSOR HEREBY DISCLAIMS ALL SUCH WARRANTIES,
INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
QUIET ENJOYMENT, OR NON-INFRINGEMENT.
See the RCL for specific language governing rights and limitations under the RCL.
-->
<xsl:template match="/">
<UANodeSet xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd" xmlns:uax="http://opcfoundation.org/UA/2008/02/Types.xsd" xmlns:s1="http://sample.com/Instances" xmlns:s0="http://sample.com/Types">
<xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance" select="'http://opcfoundation.org/UA/2011/03/UANodeSet.xsd C:/Users/Administrator/Desktop/John/UANodeSet.xsd'"/>
<NamespaceUris>
<Uri>http://sample.com/Instances</Uri>
<Uri>http://sample.com/Types</Uri>
</NamespaceUris>
<Aliases>
<Alias Alias="Boolean">i=1</Alias>
<Alias Alias="SByte">i=2</Alias>
<Alias Alias="Byte">i=3</Alias>
<Alias Alias="Int16">i=4</Alias>
<Alias Alias="UInt16">i=5</Alias>
<Alias Alias="Int32">i=6</Alias>
<Alias Alias="UInt32">i=7</Alias>
<Alias Alias="Int64">i=8</Alias>
<Alias Alias="UInt64">i=9</Alias>
<Alias Alias="Float">i=10</Alias>
<Alias Alias="Double">i=11</Alias>
<Alias Alias="DateTime">i=13</Alias>
<Alias Alias="String">i=12</Alias>
<Alias Alias="Guid">i=14</Alias>
<Alias Alias="ByteString">i=15</Alias>
<Alias Alias="XmlElement">i=16</Alias>
<Alias Alias="NodeId">i=17</Alias>
<Alias Alias="ExpandedNodeId">i=18</Alias>
<Alias Alias="StatusCode">i=19</Alias>
<Alias Alias="QualifiedName">i=20</Alias>
<Alias Alias="LocalizedText">i=21</Alias>
<Alias Alias="Structure">i=22</Alias>
<Alias Alias="Number">i=26</Alias>
<Alias Alias="Integer">i=27</Alias>
<Alias Alias="UInteger">i=28</Alias>
<Alias Alias="HasChild">i=34</Alias>
<Alias Alias="Organizes">i=35</Alias>
<Alias Alias="HasEventSource">i=36</Alias>
<Alias Alias="HasModellingRule">i=37</Alias>
<Alias Alias="HasEncoding">i=38</Alias>
<Alias Alias="HasDescription">i=39</Alias>
<Alias Alias="HasTypeDefinition">i=40</Alias>
<Alias Alias="HasSubtype">i=45</Alias>
<Alias Alias="HasProperty">i=46</Alias>
<Alias Alias="HasComponent">i=47</Alias>
<Alias Alias="HasNotifier">i=48</Alias>
<Alias Alias="FolderType">i=58</Alias>
<Alias Alias="ObjectFolder">i=85</Alias>
<Alias Alias="TypeFolder">i=86</Alias>
<Alias Alias="ObjectTypes">i=88</Alias>
</Aliases>
<!-- CREATE data types (should match what is produced by CIMbat) -->
<!-- CREATE super types (should match what is produced by CIMbat) -->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Base CIM Class</xsl:attribute>
<xsl:attribute name="BrowseName">2:Base CIM Class</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 BaseCIM Class</xsl:element>
<xsl:element name="Description">IEC 61970 Base CIM Class</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">i=58</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Base CIM Property</xsl:attribute>
<xsl:attribute name="BrowseName">2:Base CIM Property</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 BaseCIM Property</xsl:element>
<xsl:element name="Description">IEC 61970 Base CIM Property</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">i=68</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Base CIM Data Variable</xsl:attribute>
<xsl:attribute name="BrowseName">2:Base CIM Data Variable</xsl:attribute>
<xsl:attribute name="DataType">i=12</xsl:attribute>
<xsl:attribute name="ValueRank">-2</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 BaseCIM Data Variable</xsl:element>
<xsl:element name="Description">IEC 61970 Base CIM Data Variable</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">i=63</Reference>
</References>
</UAVariableType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=Base CIM Reference</xsl:attribute>
<xsl:attribute name="BrowseName">2:Base CIM Reference</xsl:attribute>
<xsl:attribute name="IsAbstract">true</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Base CIM Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">i=32</Reference>
</References>
<xsl:element name="InverseName">IEC 61970 ReferencedBy</xsl:element>
</UAReferenceType>
<!-- CREATE Object and Variable Types (should match what is produced by CIMbat) -->
<!-- IdentifiedObject Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=IDO</xsl:attribute>
<xsl:attribute name="BrowseName">2:IDO</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Identified Object Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Identified Object Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Class</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=IdentifiedObject.aliasName</xsl:attribute>
<xsl:attribute name="BrowseName">2:IdentifiedObject.aliasName</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 IdentifiedObject.aliasName Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 IdentifiedObject.aliasName Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAVariableType>
<!-- Power System Resource Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=PSR</xsl:attribute>
<xsl:attribute name="BrowseName">2:PSR</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Power System Resource Object Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Power System Resource Object Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<!-- Season Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Se</xsl:attribute>
<xsl:attribute name="BrowseName">2:Se</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Season Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Season Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Season.startDate</xsl:attribute>
<xsl:attribute name="BrowseName">2:Season.startDate</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Season.startDate Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Switch.startDate Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Se</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Season.endDate</xsl:attribute>
<xsl:attribute name="BrowseName">2:Season.endDate</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Season.endDate Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Switch.endDate Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Se</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Season.name</xsl:attribute>
<xsl:attribute name="BrowseName">2:Season.name</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Season.name Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Switch.name Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Se</Reference>
</References>
</UAVariableType>
<!-- Create Season Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=Ses</xsl:attribute>
<xsl:attribute name="BrowseName">2:Ses</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Seasons</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Day Type Object Type -->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=DT</xsl:attribute>
<xsl:attribute name="BrowseName">2:DT</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Day Type Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Day Type Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<!-- Create Day Type Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=DTs</xsl:attribute>
<xsl:attribute name="BrowseName">2:DTs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Day Types</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Geographical Region Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=GR</xsl:attribute>
<xsl:attribute name="BrowseName">2:GR</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Geographical Region Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Geographical Region Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<!-- Create Geographical Region Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=GRs</xsl:attribute>
<xsl:attribute name="BrowseName">2:GRs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Geographical Regions</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Sub Geographical Region Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=SGR</xsl:attribute>
<xsl:attribute name="BrowseName">2:SGR</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Sub Geographical Region Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Sub Geographical Region Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=SubGeographicalRegion.Region</xsl:attribute>
<xsl:attribute name="BrowseName">2:SubGeographicalRegion.Region</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SubGeographicalRegion.Region Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">Region.SubGeographicalRegion</xsl:element>
</UAReferenceType>
<!-- Create Sub Geographical Region Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=SGRs</xsl:attribute>
<xsl:attribute name="BrowseName">2:SGRs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Sub Geographical Region</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Rotating Machine Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=RM</xsl:attribute>
<xsl:attribute name="BrowseName">2:RM</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Rotating Machine Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Rotating Machine Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=CE</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=RotatingMachine.GeneratingUnit</xsl:attribute>
<xsl:attribute name="BrowseName">2:RotatingMachine.GeneratingUnit</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 RotatingMachine.GeneratingUnit Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">GeneratingUnit.RotatingMachine</xsl:element>
</UAReferenceType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=RotatingMachine.ratedS</xsl:attribute>
<xsl:attribute name="BrowseName">2:RotatingMachine.ratedS</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 RotatingMachine.ratedS Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 RotatingMachine.ratedS Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=RM</Reference>
</References>
</UAVariableType>
<!-- Synchronous Machine Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=SM</xsl:attribute>
<xsl:attribute name="BrowseName">2:SM</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Synchronous Machine Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Synchronous Machine Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=RM</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.maxQ</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.maxQ</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.maxQ Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.maxQ Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.minQ</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.minQ</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.minQ Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.minQ Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.r</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.r</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.r Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.r Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.r0</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.r0</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.r0 Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.r0 Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.r2</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.r2</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.r2 Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.r2 Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.x</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.x</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.x Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.x Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.x0</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.x0</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.x0 Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.x0 Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.x2</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.x2</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.x2 Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.x2 Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.operatingMode</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.operatingMode</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.operatingMode Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.operatingMode Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.type</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.type</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.type Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.type Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=SynchronousMachine.referencePriority</xsl:attribute>
<xsl:attribute name="BrowseName">2:SynchronousMachine.referencePriority</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 SynchronousMachine.referencePriority Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 SynchronousMachine.referencePriority Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=SM</Reference>
</References>
</UAVariableType>
<!-- Create Synchronous Machine Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=SMs</xsl:attribute>
<xsl:attribute name="BrowseName">2:SMs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Synchronous Machines</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Generating Unit Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=GU</xsl:attribute>
<xsl:attribute name="BrowseName">2:GU</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Generating Unit Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Generating Unit Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=PSR</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=GeneratingUnit.genControlSource</xsl:attribute>
<xsl:attribute name="BrowseName">2:GeneratingUnit.genControlSource</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 GeneratingUnit.genControlSource Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 GeneratingUnit.genControlSource Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=GU</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=GeneratingUnit.initialP</xsl:attribute>
<xsl:attribute name="BrowseName">2:GeneratingUnit.initialP</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 GeneratingUnit.initialP Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 GeneratingUnit.initialP Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=GU</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=GeneratingUnit.nominalP</xsl:attribute>
<xsl:attribute name="BrowseName">2:GeneratingUnit.nominalP</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 GeneratingUnit.nominalP Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 GeneratingUnit.nominalP Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=GU</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=GeneratingUnit.maxOperatingP</xsl:attribute>
<xsl:attribute name="BrowseName">2:GeneratingUnit.maxOperatingP</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 GeneratingUnit.maxOperatingP Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 GeneratingUnit.maxOperatingP Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=GU</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=GeneratingUnit.minOperatingP</xsl:attribute>
<xsl:attribute name="BrowseName">2:GeneratingUnit.minOperatingP</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 GeneratingUnit.minOperatingP Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 GeneratingUnit.minOperatingP Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=GU</Reference>
</References>
</UAVariableType>
<!-- Hydro Generating Unit Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=HGU</xsl:attribute>
<xsl:attribute name="BrowseName">2:HGU</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Hydro Generating Unit Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Hydro Generating Unit Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=GU</Reference>
</References>
</UAObjectType>
<!-- Create Hydro Generating Unit Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=HGUs</xsl:attribute>
<xsl:attribute name="BrowseName">2:HGUs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Hydro Generating Units</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Base Voltage Level Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=BV</xsl:attribute>
<xsl:attribute name="BrowseName">2:BV</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Base Voltage Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Base Voltage Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=PSR</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=BaseVoltage.nominalVoltage</xsl:attribute>
<xsl:attribute name="BrowseName">2:BaseVoltage.nominalVoltage</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 BaseVoltage.nominalVoltage Property Type</xsl:element>
<xsl:element name="Description">IEC 61970BaseVoltage.nominalVoltage Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=BV</Reference>
</References>
</UAVariableType>
<!-- Create Base Voltage Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=BVs</xsl:attribute>
<xsl:attribute name="BrowseName">2:BVs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Base Voltages</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Line Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Li</xsl:attribute>
<xsl:attribute name="BrowseName">2:Li</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Line Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Line Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=CE</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=Line.Region</xsl:attribute>
<xsl:attribute name="BrowseName">2:Line.Region</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Line.Region Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">Region.Line</xsl:element>
</UAReferenceType>
<!-- Create Line Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=Lis</xsl:attribute>
<xsl:attribute name="BrowseName">2:Lis</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Lines</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Equipment Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Eq</xsl:attribute>
<xsl:attribute name="BrowseName">2:Eq</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Equipment Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Equipment Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=PSR</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=Equipment.EquipmentContainer</xsl:attribute>
<xsl:attribute name="BrowseName">2:Equipment.EquipmentContainer</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Equipment.EquipmentContainer Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">EquipmentContainer.Equipment</xsl:element>
</UAReferenceType>
<!-- Conducting Equipment Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=CE</xsl:attribute>
<xsl:attribute name="BrowseName">2:CE</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Conducting Equipment Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Conducting Equipment Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Eq</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=ConductingEquipment.BaseVoltage</xsl:attribute>
<xsl:attribute name="BrowseName">2:ConductingEquipment.BaseVoltage</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ConductingEquipment.BaseVoltage Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">BaseVoltage.ConductingEquipment</xsl:element>
</UAReferenceType>
<!-- Conductor Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Co</xsl:attribute>
<xsl:attribute name="BrowseName">2:Co</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Conductor Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Conductor Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=CE</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Conductor.length</xsl:attribute>
<xsl:attribute name="BrowseName">2:Conductor.length</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Conductor.length Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Conductor.length Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Co</Reference>
</References>
</UAVariableType>
<!-- AC Line Segment Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=LS</xsl:attribute>
<xsl:attribute name="BrowseName">2:LS</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 AC Line Segment Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 AC Line Segment Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Co</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.gch</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.gch</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.gch Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.gch Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.g0ch</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.g0ch</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.g0ch Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.g0ch Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.bch</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.bch</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.bch Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.bch Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.b0ch</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.b0ch</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.b0ch Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.b0ch Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.r</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.r</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.r Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.r Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.r0</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.r0</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.r0 Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.r0 Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.x</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.x</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.x Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.x Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ACLineSegment.x0</xsl:attribute>
<xsl:attribute name="BrowseName">2:ACLineSegment.x0</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ACLineSegment.x0 Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ACLineSegment.x0 Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=LS</Reference>
</References>
</UAVariableType>
<!-- Create AC Line Segment Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=LSs</xsl:attribute>
<xsl:attribute name="BrowseName">2:LSs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 AC Line Segments</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Busbar Section Object Type -->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=BBS</xsl:attribute>
<xsl:attribute name="BrowseName">2:BBS</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 BusbarSection Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 BusbarSection Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=CE</Reference>
</References>
</UAObjectType>
<!-- Create Busbar Section Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=BBSs</xsl:attribute>
<xsl:attribute name="BrowseName">2:BBSs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Busbar Sections</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Switch Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Sw</xsl:attribute>
<xsl:attribute name="BrowseName">2:Sw</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Switch Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Switch Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=CE</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Switch.ratedCurrent</xsl:attribute>
<xsl:attribute name="BrowseName">2:Switch.ratedCurrent</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Switch.ratedCurrent Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Switch.ratedCurrent Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Sw</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Switch.normallyOpen</xsl:attribute>
<xsl:attribute name="BrowseName">2:Switch.normallyOpen</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Switch.normallyOpen Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Switch.normallyOpen Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Sw</Reference>
</References>
</UAVariableType>
<!-- Breaker Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Br</xsl:attribute>
<xsl:attribute name="BrowseName">2:Br</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Breaker Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Breaker Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Sw</Reference>
</References>
</UAObjectType>
<!-- Create Breaker Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=Brs</xsl:attribute>
<xsl:attribute name="BrowseName">2:Brs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Breakers</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Connectivity Node Object Type -->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=CN</xsl:attribute>
<xsl:attribute name="BrowseName">2:CN</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Connectivity Node Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Connectivity Node Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=ConnectivityNode.ConnectivityNodeContainer</xsl:attribute>
<xsl:attribute name="BrowseName">2:ConnectivityNode.ConnectivityNodeContainer</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ConnectivityNode.ConnectivityNodeContainer Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">ConnectivityNodeContainer.ConnectivityNode</xsl:element>
</UAReferenceType>
<!-- Create Connectivity Node Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=CNs</xsl:attribute>
<xsl:attribute name="BrowseName">2:CNs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Connectivity Nodes</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Terminal Object Type -->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=Te</xsl:attribute>
<xsl:attribute name="BrowseName">2:Te</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Terminal Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Terminal Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=Terminal.ConductingEquipment</xsl:attribute>
<xsl:attribute name="BrowseName">2:Terminal.ConductingEquipment</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Terminal.ConductingEquipment Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">ConductingEquipment.Terminal</xsl:element>
</UAReferenceType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=Terminal.ConnectivityNode</xsl:attribute>
<xsl:attribute name="BrowseName">2:Terminal.ConnectivityNode</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Terminal.ConnectivityNode Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">ConnectivityNode.Terminal</xsl:element>
</UAReferenceType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=Terminal.sequenceNumber</xsl:attribute>
<xsl:attribute name="BrowseName">2:Terminal.sequenceNumber</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Terminal.sequenceNumber Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 Terminal.sequenceNumber Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=Te</Reference>
</References>
</UAVariableType>
<!-- Create Terminal Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=Tes</xsl:attribute>
<xsl:attribute name="BrowseName">2:Tes</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Terminals</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Operational Limit Type Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=OLT</xsl:attribute>
<xsl:attribute name="BrowseName">2:OLT</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Operational Limit Type Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Operational Limit Type Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=OperationalLimitType.direction</xsl:attribute>
<xsl:attribute name="BrowseName">2:OperationalLimitType.direction</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 OperationalLimitType.direction Property Type</xsl:element>
<xsl:element name="Description">IEC OperationalLimitType.direction Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=OLT</Reference>
</References>
</UAVariableType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=OperationalLimitType.acceptableDuration</xsl:attribute>
<xsl:attribute name="BrowseName">2:OperationalLimitType.acceptableDuration</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 OperationalLimitType.acceptableDuration Property Type</xsl:element>
<xsl:element name="Description">IEC OperationalLimitType.acceptableDuration Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=OLT</Reference>
</References>
</UAVariableType>
<!-- Create Operational Limit Type Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=OLTs</xsl:attribute>
<xsl:attribute name="BrowseName">2:OLTs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Operational Limit Types</xsl:element>
<References>
<Reference ReferenceType="Organizes" IsForward="false">i=85</Reference>
<Reference ReferenceType="HasTypeDefinition">i=61</Reference>
</References>
</UAObject>
<!-- Active (Real) Power Limit Object Type-->
<UAObjectType>
<xsl:attribute name="NodeId">ns=2;s=RPL</xsl:attribute>
<xsl:attribute name="BrowseName">2:RPL</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Active (Real) Power Limit Object Type</xsl:element>
<xsl:element name="Description">IEC 61970 Active (Real) Power Limit Object Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=IDO</Reference>
</References>
</UAObjectType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=ActivePowerLimit.OperationalLimitType</xsl:attribute>
<xsl:attribute name="BrowseName">2:ActivePowerLimit.OperationalLimitType</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ActivePowerLimit.OperationalLimitType Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">OperationalLimitType.ActivePowerLimit</xsl:element>
</UAReferenceType>
<UAReferenceType>
<xsl:attribute name="NodeId">ns=2;s=ActivePowerLimit.OperationalLimitSet</xsl:attribute>
<xsl:attribute name="BrowseName">2:ActivePowerLimit.OperationalLimitSet</xsl:attribute>
<xsl:attribute name="IsAbstract">false</xsl:attribute>
<xsl:attribute name="Symmetric">false</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ActivePowerLimit.OperationalLimitSet Reference</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Reference</Reference>
</References>
<xsl:element name="InverseName">OperationalLimitSet.ActivePowerLimit</xsl:element>
</UAReferenceType>
<UAVariableType>
<xsl:attribute name="NodeId">ns=2;s=ActivePowerLimit.value</xsl:attribute>
<xsl:attribute name="BrowseName">2:ActivePowerLimit.value</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 ActivePowerLimit.value Property Type</xsl:element>
<xsl:element name="Description">IEC 61970 ActivePowerLimit.value Property Type</xsl:element>
<References>
<Reference ReferenceType="HasSubtype" IsForward="false">ns=2;s=Base CIM Property</Reference>
<Reference ReferenceType="HasProperty" IsForward="false">ns=2;s=RM</Reference>
</References>
</UAVariableType>
<!-- Create Active (Real) Power Limit Objects Folder -->
<UAObject>
<xsl:attribute name="NodeId">ns=2;s=RPLs</xsl:attribute>
<xsl:attribute name="BrowseName">2:RPLs</xsl:attribute>
<xsl:element name="DisplayName">IEC 61970 Active (Real) Power Limits</xsl:element>
<References>